Categories Displayed in Flash

Flash: FDT and AIR 1.0

Recently upgraded from FDT Professional to FDT Enterprise. I was excited to see that AIR is now supported. Of course it's been out for several months, just haven't paid any attention to it. Updating since a few things have changed since AIR went 1.0

  1. Download + Install the AIR runtime (now released)
  2. Download the Flex SDK (now open sourced),
  3. unzip the Flex SDK to someplace reasonable e.g. C:\CodeProjects\AS3.0\Flex3.0.0.47\
  4. Go to 'Window>Preferences' then click on the 'AS3 Core Libraries' Tab, then the 'Add' button
    FDT Linked Libraries after adding Path VariableFDT Path Variable
  5. This will get you to the Define a New Path Variable
  6. Choosing Core Library you’ve just created
  7. Finally you'll want to update the Core Library for the package you are using via right clicking over the project and selecting 'properties' then the 'Change Core Library' button on the bottom right:
  8. Update FDT Core Project Library
  9. After you select the Core Library you created earlier, it will update and rebuild all the projects, and here's what it will look like after:Updated Core Libraries
  10. I typically add the CS3CoreComponents too, as I do lots of project that are Flash First instead of Flex Based.
  11. Past that follow the instructions starting with step 5. on adding the sample AIR resources folder,
  12. download and replace the HelloWorld Application Descriptor, else you will get a series of errors like here
  13. modify the HelloWorld to match whatever you are using.
  14. Open up the Build_AIR.xml for editing
  15. change the 'sdk_dir' to point to the Flex3 path on your harddrive you downloaded earlier,
  16. change the 'app_name' to whatever you called your app, e.g.
  17. Then follow steps 8 and on, to build the swf and package it for AIR, if successful, you should then get something that looks like this. Congratulations!.
    Building the AIR file with ANT and Successful Output.

If your curious about what else has changed since the original article check the devnet.

Add a Comment:

You must be logged in to post a comment.