Thursday, February 12, 2009

alpha not working gotcha papervision 2.0

Ever try to work with the alpha property in Papervision 2.0 and you're just banging your head against the wall, frustrated as to why it doesn't work?

try:
DisplayObject3D.useOwnContainer = true;

I hope this saves someone else some time, as it took me quite a while to figure this one out...the documentation is still a little few and far between for Papervision, but it's coming along....

Happy flashing.

3 comments:

Anonymous said...

Thanks Shane, saved me a bunch of time and head-scratching :)

cheers

Paul

zeedub said...

Thanks for the info, problem solved.

Volker said...

Really nice, but it doesnt work on collada files.

so lucky to found this,
and than it doesnt work on
collada files.