Hello. Sorry first for my question in german...here is the problem in
english...

I have a problem concerning a plane in my project.

I have created a MovieClip, which contains a TextField. This MovieClip
I added to my Plane as the MovieMaterial. Now I have a MouseOver3D
Event on my Plane and the problem is, that this event is only fired,
when the mouse is exactly on the text. If the mouse is for example,
between two characters, the event isn't fired. The event is thus just
fired, when the mouse is on the TextField (Material), but I have set
the Listener on the Plane...???? Have I to set a background or
something like that to the plane, it seems that the plane is
transparent or so...

Thanks a lot for any advise!

Regards Joe

p.s: Here is the code...

[code]

//Bestimmung der Position (3D)
var txtPos:Number3D = new Number3D(15, 14, 1999);

var plane:Plane = new Plane();
plane.yUp = false;
//Create MovieMaterial for the plane of the MovieClip which contains
the question
var pMaterial:MovieMaterial = new
MovieMaterial(actMessage.frageMovieClip);
pMaterial.smooth = true;

//configure the plane...
plane.width = actMessage.textField.width;
plane.height = actMessage.textField.height;
plane.material = pMaterial;
plane.position = txtPos;
plane.visible = true;

//...and add the plane to the scene
_view.scene.addChild(plane);

//EventListening Plane
plane.addOnMouseDown(mouseDownHandler);
plane.addOnMouseOver(mouseOverHandler);
plane.addOnMouseOut(mouseOutHandler);

[/code]

Reply via email to