[Papervision3D] changing texture in a cube

mgnm pawel at piotrzkowski.com
Wed Oct 17 05:04:00 PDT 2007



Hi,

Maybe this will help:

change the MovieClip you're using for texture (go to different frame or do
something else) and then

var materials:MaterialsList = cube.materials;
MovieMaterial ( materials.getMaterialByName ( 'front' ) ).updateBitmap();

This ofcourse helps for MCs that you have on stage, not in the library so
maybe you should reorganize your project.

Pawel
-- 
View this message in context: http://www.nabble.com/changing-texture-in-a-cube-tf4369451.html#a13252266
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list