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 <[email protected]> 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