Call: (209) 560-6611

Notes for creating a mobile app using Starling

Date: January 18, 2015 Author: ang Category: Tutorials Tags: , Comments: 0

Below are some notes on the steps it takes to create a mobile app using the Starling framework. In this example I will use Windows and Flash Build.

  1. Install Firefox web browser. Install PlayerGlobal (.swc) and the current Flash player content debugger from the adobe website for FireFox web browser. Set Firefox as your default browser. Here are video instructions on how to install these components: http://youtu.be/RTvhZ8wbJaQ?t=4m34s, just keep in mind that the video is slightly out dated and improvising may be required.

    Note: There is no Flash Player debugger from Chrome. If you insist on using Chrome as your default web browers, then Flash Builder will try to Chrome's regular Flash player to debug which thi throw an error. You can still use the FireFox Flash Debugger and have Chrome set to your default browser, just disable the Flash Player in Chrome (How to disable Flash player in Chrome). This will make Flash builder open FireFox's Flash Player Debugger despite the fact that it's not set as the default browser.

  2. Create your main project class. Here is a main project class example using Starling.
     

  3. Right mouse click on your peoject in the 'Package Explorer' panel of Flash Builder and select 'Properties'.
  4. Select the 'Library Path' option then select the 'Source path' tab. 
  5. Click 'Add Folder and create a path to the Starling 'src' folder. Example:  Starling\Gamua-Starling_Framework\starling\src
  6. Click the 'ActionScript Compiler' option and add this text '-swf-version=13' to the end of '-local en_US'. Click 'Apply and 'OK'.
  7. Create the 'Game' class. Here's an example. 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Before you post, please prove you are sentient.

What is 9 multiplied by 2?

Before you post, please prove you are sentient.

what is 5 in addition to 2?