Table of Contents

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

Download Flash Builder via Creative Cloud (or directly from here) and launch the installation program.

To all users of MacOS 10.13 (High Sierra): follow the instruction shown in this document to fix compatibility issues.

Updating the AIR SDK

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

So, in a nutshell, we made sure that the AIRSDK folder (hidden deep within the Flash Builder installation directory) contains the very latest AIR SDK.

Updating the Flash Player

Download the latest Flash Player files:

Flash Builder needs to know where to find the Flash Player:

Optional: adding Starling + Samples to your Workspace

Let Flash Builder know where Starling is installed:

Add the Starling library to your workspace:

Add the “Demo-Web” project to your workspace:

Add the “Demo-Mobile” project to your workspace:

Creating a Starling project

Your project is now correctly set up. You will need to add some source code, of course. For starters, you can use the code shown in the Hello World sample that's part of the Starling Manual.

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