Hello. 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] [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] [/code] On 10 Jan., 14:43, Michael Iv <[email protected]> wrote: > Joe wir sprechen normalwise English here ;) Konnen see ubersetzen bitte ? > > 2011/1/10 Joe <[email protected]> > > > Hallo zusammen. Ich habe ein Problem mit meiner Plane. > > Ich habe einen MovieClip erstellt, welcher ein TextField beinhaltet. > > Dieser MovieClip adde ich als MovieMaterial zu einer Plane. Wenn ich > > jetzt einen MouseOver3DEventListener auf die Plane setze, reagiert > > dieser nur, wenn ich mich genau auf dem Text befinde. Bewege ich meine > > Maus in eine Lücke zwischen zwei Buchstaben, wird der Event nicht > > gefeuert. > > Der Event reagiert so, als ob er auf dem TextField liegt, er ist aber > > definitiv auf der Plane. > > Wie bekomme ich es hin, dass die Plane als Fläche wahrgenommen wird > > und nicht nur als TextField? > > > Danke schon mal für jede Antwort... > > Gruß > > Joe > > -- > Michael Ivanov ,Programmer > Neurotech Solutions Ltd. > Flex|Air |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.net > Tel:054-4962254 > [email protected] > [email protected]
