[Papervision3D] Interactive MovieMaterial
pierot
pieter.michels at gmail.com
Wed Jul 9 04:31:48 PDT 2008
I've been searching this forum for a while and I couldn't find a answer to my
problem.
I have this coverflow where I user planes with interactive materials on it
for displaying. The materials are actually sprites with content, button,
etc.
I have no clue how to assign buttonMode to certain areas (a button) of the
material (which is a sprite) instead of buttonMode on the viewport which
places a hand cursor on the coverflow as a whole.
some code to clarify:
--------------------------------------------------------------------------------
var planeMaterial:MovieMaterial = new
MovieMaterial(_coverFlowData[_currentIndex] as Sprite, true, true);
planeMaterial.smooth = true;
planeMaterial.interactive = true;
var plane:Plane = new Plane(planeMaterial, newWidth, newHeight, 6, 6);
_scene.addChild(plane);
--------------------------------------------------------------------------------
I have the feeling I should not use a material but in that case: how should
I handle the planes and sprite?
Thanks in advance
--
View this message in context: http://www.nabble.com/Interactive-MovieMaterial-tp18356034p18356034.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list