Plane Material - Html Text with Links

2 messages Options
Embed this post
Permalink
UKLA

Plane Material - Html Text with Links

Reply Threaded More More options
Print post
Permalink
I have been driving myself crazy for over a week now. Please advise!

Ok, I have plane created with MovieMaterial. The MovieMaterial is a MovieClip that contains an html text field with links. But the links won't work. The MovieClip also contains a button that is able to dispatch events successfully.

Using GW / AS3.

///////// Code Snippet

// This is the MovieClip that contains html text and a single button (just to test event dispatch).
var sub:Sub = new Sub();
sub.smoothing=true;
sub.mouseChildren=true;
sub.buttonMode = true;
sub.mouseEnabled = true;

// This is the MovieMaterial made with MovieClip above.
var mat:MovieMaterial = new MovieMaterial(sub);
mat.interactive = true;
mat.smooth = true;
mat.animated = true;

// This is the Plane made with MovieMaterial above.
var plane:Plane = new Plane(mat,300,100,3,3);
scene.addChild(plane);


I have seen many other questions regarding this topic but I have found no solution.

nickgs

Re: Plane Material - Html Text with Links

Reply Threaded More More options
Print post
Permalink
Hi all,

Has the below been resolved? I am most likely going to be spending some time on this very soon.

Is it possible to have links in a text field that is in a MovieClip which is used as a material on a Plane?

Thanks!

Nick  


UKLA wrote:
I have been driving myself crazy for over a week now. Please advise!

Ok, I have plane created with MovieMaterial. The MovieMaterial is a MovieClip that contains an html text field with links. But the links won't work. The MovieClip also contains a button that is able to dispatch events successfully.

Using GW / AS3.

///////// Code Snippet

// This is the MovieClip that contains html text and a single button (just to test event dispatch).
var sub:Sub = new Sub();
sub.smoothing=true;
sub.mouseChildren=true;
sub.buttonMode = true;
sub.mouseEnabled = true;

// This is the MovieMaterial made with MovieClip above.
var mat:MovieMaterial = new MovieMaterial(sub);
mat.interactive = true;
mat.smooth = true;
mat.animated = true;

// This is the Plane made with MovieMaterial above.
var plane:Plane = new Plane(mat,300,100,3,3);
scene.addChild(plane);


I have seen many other questions regarding this topic but I have found no solution.