[Papervision3D] Changing cube front MovieMaterial?

|Mirko msabljic at gmail.com
Fri Dec 26 09:36:00 PST 2008


Hi,

I tried to change cube's front material which is the MovieMaterial with the
following code:

cube.replaceMaterialByName(new MovieMaterial(my_mc), "front");

But nothing happened, however if i try the same way to set the ColorMaterial
as "front" material then it works:

cube.replaceMaterialByName(new ColorMaterial(0xFFFFFF), "front");

Can someone explain it to me how to change MovieMaterial and why this method
works with ColorMaterial but not with MovieMaterial?


Thank in advance,
best regards
-- 
View this message in context: http://www.nabble.com/Changing-cube-front-MovieMaterial--tp21176268p21176268.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list