[Papervision3D] Adding a movieclip as a plane

Gordon Everett gordee at hotmail.co.uk
Fri Mar 13 01:50:08 PST 2009



If your MovieClip is in the library then you should use MovieAssetMaterial.

I believe the MovieMaterial is used for referencing a Movieclip that is on the stage.



MovieAssetMaterial(linkageID:String
= "", transparent:Boolean = false, animated:Boolean = false,
createUnique:Boolean = false, precise:Boolean = false)
Regards
Gordon Everett
 
My preferred email address: gordon.everett2 at gmail.com

 My Blog: http://flashgordonmedia.blogspot.com/

 







> From: ross at welovethedesign.com
> To: papervision3d at osflash.org
> Date: Fri, 13 Mar 2009 02:56:07 +0000
> Subject: [Papervision3D] Adding a movieclip as a plane
> 
> Is it possible to add a movieclip, with basic 2d animation (a ball  
> bouncing tween for example) as a plane in PV3D
> 
> 
> var material:MovieMaterial = new MovieMaterial(Bfc, true, true);
> material.interactive = true ;
> material.oneSide = false;
> material.smooth = true;
> var myplane:Plane = new Plane(material, 250, 250, 10, 10);
> 
> universe.addChild(myplane);
> 
> I have tried to add it but get an error, it is exported for  
> actionscriptas Bfc
> 
> 1120: Access of undefined property Bfc.
> 
> Thanks.
> 
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org

_________________________________________________________________
View your Twitter and Flickr updates from one place – Learn more!
http://clk.atdmt.com/UKM/go/137984870/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090313/847dfb95/attachment.html>


More information about the Papervision3D mailing list