[Papervision3D] MovieMaterial using a dynamic movieclip
Carlson, Jonathan David
jdcarlson at liberty.edu
Thu Jan 24 08:10:58 PST 2008
Hey guys, I've seen applying a MovieMaterial with a movieclip from the
library, but how do you do this with a dynamically created movieclip??
Example: I'm making a movieclip and then loading an image into it, I
then want to use this new movieclip as a MovieMaterial...
my_mc = new MovieClipLoader();
var image = this.createEmptyMovieClip("imageHolder",100);
var material:MovieMaterial = new MovieMaterial(image);
material.oneSide = false;
var plane:Plane = new Plane(material,0,0,10,10);
plane.x = (container._width /2);
plane.y = (container._height / 2)-110;
plane.z = 0;
why does this not work?? I'm been trying for a few hours now with no
Creative Web Developer
jdcarlson at liberty.edu <mailto:jdcarlson at liberty.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D