Copy link to clipboard
Copied
hello i've downloaded flash pro CS6
i want to test 3d stage...
i added:
import flash.display.Stage3D;
var stage3d = new Stage3D();
at the first fotogram but it get error:
Unable to instantiate the class Stage3D$
i don't know why it don't work! i set as3 and flash player 11.2!!!
same problem on flash pro CS5.5!!!
Copy link to clipboard
Copied
that's not how to instantiate a Stage3D instance. use:
var stage3d:Stage3D = stage.stage3Ds[0];
p.s. you might want to read about Stage3D: http://www.adobe.com/devnet/flashplayer/articles/how-stage3d-works.html