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.
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
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:
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