[Papervision3D] targeting instances within a MovieMaterial texture
tamarin
shariff at tamarin.co.uk
Thu Mar 26 07:28:39 PST 2009
Hi
I'm trying to set a movieclip up as a plane texture and then target
instances within the movieclip. Ideally I'd like to load a bitmap into a
loader_mc container within the movieclip and then overlay it with a dynamic
textfield.
This is a snippet of the code I'm working on. I'm pretty new to AS3 and PV
and could do with a little help moving on from here.
var gMovie:CustomMovieClipClass = new CustomMovieClipClass();
var mam:MovieMaterial = new MovieMaterial(gMovie, true);
mam.oneSide = false;
mam.smooth = true;
mam.interactive = true;
//
p=new Plane(mam,titleSize,titleSize,1,1);
//
p.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, objectPressHandler
);
p.addEventListener(InteractiveScene3DEvent.OBJECT_OVER, objectOverHandler );
p.addEventListener(InteractiveScene3DEvent.OBJECT_OUT, objectOutHandler );
//
// I want to be able to target loader_mc which lives inside gMovie
Thanks
Shariff
--
View this message in context: http://www.nabble.com/targeting-instances-within-a-MovieMaterial-texture-tp22724325p22724325.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list