Creating your first application in Flash Builder

The following steps help you create an application that prints a simple "Hello World!" example on the screen.

Create an ActionScript Mobile AIR project

  1. In Adobe Flash Builder, on the File menu, click New > ActionScript Mobile Project.
  2. In the Project name field, type AIRHelloWorld.

    Screenshot of ActionScript Mobile AIR project creation screen

  3. Click Next.
  4. In the Target platforms section, clear the Apple iOS and Google Android check boxes.

    Screenshot of the ActionScript Mobile AIR project screen mobile settings

  5. Click Next.
  6. In the Native Extensions tab, add an ActionScript Native Extensions folder.

    when you add ActionScript Native Extensions to your project, you can access native platform features such as the sensors and network API.

    Screenshot of project wizard showing addition of AIR native extensions

    1. Click Add Folder.
    2. In the Add ANEs window, specify the location of the ActionScript native extensions.
      Operating System Default location for the ActionScript native extensions
      Windows (x64) \Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\frameworks\libs\qnx\ane\
      Windows (x86) \Program Files\Research In Motion\blackberry-tablet-sdk-3.0.0\frameworks\libs\qnx\ane\
      Mac /Applications/SDKs/Research In Motion/blackberry-tablet-sdk-3.0.0/frameworks/libs/qnx/ane/
    3. Click OK.
  7. Click Finish.
comments powered by Disqus