Adobe Flash Builder

This document aims to help you set up Flash Builder to use with Starling for desktop and mobile development.

If you find an error or a missing step, or if you have some other suggestion that might make things clearer for beginners, please help us out by enhancing this document! Just hit one of the Edit buttons and write away.

General Setup

Flash Builder contains an outdated version of the AIR SDK that doesn't work with Starling 2. Update to the latest version immediately.

  • Download the latest AIR SDK from here.
  • Make Flash Builder use the new version by following the instructions shown in this document.
    • Note: Instead of the terminal commands shown in this document, you can also simply mount the dmg file by double-clicking it and copying the contents with the Finder.

Creating a Starling project

  • Download Starling and move it to a directory you won't accidentally delete later.
  • Create a new Project in Flash Builder:
    • Click on “File — New — ActionScript Project” for a browser app.
    • Click on “File — New — ActionScript Mobile Project” for a mobile app.
  • Choose a name and location, then click on “Next”.
  • In the “Source Path” tab, click “Add Folder” and choose the folder “starling/src” inside the Starling directory.
  • Click on “Finish”.

Your project is now correctly set up. You will need to add some source code, of course. To do that, scroll to the bottom of this page and continue to the next section.

To test the performance of Starling, always make a release build. To do that, click on “Project - Export Release Build” and test the resulting SWF in a release Flash Player (i.e. the Projector).
  manual/adobe_flash_builder.txt · Last modified: 2016/12/23 09:55 by daniel
 
Powered by DokuWiki