Checklist for using Stage3D in AIR 3

  • Make sure you’ve overlaid the AIR 3 SDK onto your Flex SDK. For compiler errors
  • Set -swf-version=13 in the compiler args For “Error #1014 Class could not be found.” runtime errors
  • This step depends on how you’re creating the window that contains Stage3D content. Fixes “Context3D unavailable” runtime errors in the release version of AIR
    • If you’re using the initial window, set application->initialWindow->renderMode to direct in your application.xml
    • If you’re creating the window at runtime, set nativeWindowInitOptions.renderMode = NativeWindowRenderMode.DIRECT when creating the NativeWindow
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s