views:

27

answers:

0

Hi here,

I'm using BasicView to setup my PV3D scene, and the scene itself works fine (3d carousel of movie posters) but the InteractiveScene3DEvent is not firing when a poster is clicked or moused over.

I set my viewport to interactive... twice.

view = new BasicView(stage.stageWidth,stage.stageHeight,true,true);
view.viewport.buttonMode = true;
view.viewport.interactive = true;

And here is the part of the loop where it the event listener is added.

var mm:filmsPoster = new filmsPoster();
mm.loadIMG(image);

var mat:MovieMaterial = new MovieMaterial(mm);
mat.interactive = true;
mat.animated = true;
mat.smooth = true;
mat.doubleSided = true;
mat.name = filmName;
mat.addEventListener(InteractiveScene3DEvent.OBJECT_CLICK, posterClick);