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