I can't do this, cause it's a movieClip, so "addOnMouseOver" for
exemple return error when not assign on a object3d
thank for your suggest.
But the really thing taht i don't understand is why this work on a
plan and not on a collada ....

On 10 juil, 13:36, Michael Iv <explomas...@gmail.com> wrote:
> Have you tried Mouse3DEvent (not sure about the syntax bu it goes something
> like this ) because sometimes it helps
>
> On Fri, Jul 10, 2009 at 1:46 PM, Away3D <web...@gmail.com> wrote:
>
> > Hello,
> > I'm looking for a way to have mouseEvent on a movie material...
>
> > i create a movieClip and set his link property to action Script
>
> > then i create my material:
>
> > var urgenceMovie:MovieClip = new UrgenceMaterial() as MovieClip;
> > var urgenceMat:MovieMaterial = new MovieMaterial(urgenceMovie
> > {autoUpdate:true,precision:8,smooth:false,interactive:true,
> > transparent:true})
>
> > urgenceMovie.addEventListener(MouseEvent.MOUSE_OVER, over);
> > urgenceMovie.buttonMode =true
>
> > when i apply it to a plan i have the MouseOver event
> > var myPlane:Plane = new Plane({width:500, height:
> > 500,material:urgenceMat});
>
> > But whan i apply it on a collada file i havent no more event. My movie
> > Material appear well on my collada, but no interaction...
> > var room = Collada.load("floor0.dae",{materials:
> > {urgenceID:urgenceMat,},autoLoadTextures : false,scaling:0.005});
>
> > can you help me ?
> > thanks

Reply via email to