Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7398199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:50:29+00:00 2026-05-29T03:50:29+00:00

How does one get a project setup in Flash Builder 4 with Adobe AIR

  • 0

How does one get a project setup in Flash Builder 4 with Adobe AIR 3 that uses Stage3D?

Whenever I add “-swf-version=13” to the compiler options, I get the following error:

Process terminated unexpectedly.

error while loading initial content

Launch command details:  "/Applications/Adobe Flash Builder 4/sdks/4.5.1.21328/bin/adl" -runtime "/Applications/Adobe Flash Builder 4/sdks/4.5.1.21328/runtimes/air/mac" "/Users/joverton/Documents/Prototyping and Testing/Virtual Library AIR/bin-debug/Main-app.xml" "/Users/joverton/Documents/Prototyping and Testing/Virtual Library AIR/bin-debug" 

I have gpu mode enabled in my App.xml file, and am using the newest Flex SDK (4.6).

Similar question was asked here:

AIR 3.0 and Stage3D

but the solution is no longer valid! The link in the accepted answer just annoyingly redirects to the home page, and you can’t even get to it by looking at Google’s cached version of the page.

Also here:

http://www.dreaminginflash.com/2011/10/12/adobe-flex-adobe-air-3-alternativa-3d-real-3d-engine/

does not work for me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T03:50:29+00:00Added an answer on May 29, 2026 at 3:50 am

    Got it! The solution turned out to be building from the command line, rather than using Flash Builder (4, can’t speak for 4.5/6). Here is the sequence of commands:

    I. axmlc compile the application (Main.as) file, with all the correct options:

    $FLEX_4.6_SDK/bin/amxmlc -static-link-runtime-shared-libraries=true
    -library-path+=’$ALTERNATIVA/Alternativa3D.swc’ -debug=true -swf-version=13 -load-config $FLEX_4.6_SDK/frameworks/air-config.xml — Main.as

    (where $FLEX_4.6_SDK and $ALTERNATIVA are the locations of the Flex SDK and Alternativa3D SWC, naturally)

    II. adl run the application

    $FLEX_4.6_SDK/bin/adl Main-app.xml
    

    which for convenience I setup in my .bash_profile like so:

    alias run_virtual_library="cd '/Users/joverton/Documents/Prototyping and Testing/Virtual Library/src/' && /Applications/Adobe\ Flash\ Builder\ 4/sdks/4.6/bin/amxmlc -static-link-runtime-shared-libraries=true -library-path+='/Users/joverton/Documents/Libraries & Tools/Alternativa3D/Alternativa3D_8.17.0/Alternativa3D.swc' -debug=true -swf-version=13 -load-config /Applications/Adobe\ Flash\ Builder\ 4/sdks/4.6/frameworks/air-config.xml -- Main.as && '/Applications/Adobe Flash Builder 4/sdks/4.6/bin/adl' Main-app.xml &"
    

    Note that in my AIR application descriptor file I set the renderMode to “gpu”, but “direct” will also work. Also, in the amxmlc command you needn’t set the debug compiler option to true; I only do for the sake of testing.

    EDIT: Additional note is that – because I was building from the command line rather than from Flash Builder – I had to explicitly set the value of in my AIR Descriptor file (in this case to “Main.swf”), else I received “content not found” errors when trying to run the application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does any one know if its possible to animate app.current.mainwindow.width so that you get
How does one get a list of running applications as shown in the "Applications"
does any one know how to get the current motherboard, processor or HD temperature
How does one go about authoring a Regular Expression that matches against all strings
How does one invoke a groovy method that prints to stdout, appending the output
How do you correctly setup a solution (C#) that has: Web App Project -
I have a an installer that is created from a setup project and built
When I try to build my setup project, I get the following error: An
does one perform better over the other in terms of indexing/quering etc ? e.g.
How does one go about referencing a class's static properties in xaml? In other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.