• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

stage3d don't work!

New Here ,
May 07, 2012 May 07, 2012

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!!!


TOPICS
ActionScript

Views

592

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 07, 2012 May 07, 2012

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines