Avg. Rating 4.0

Problem

If you need a quick AIR or Flex 3 API documentation peek, it can be a challenge finding or downloading the docs - especially if your on a flight and the internet connection does not work well at 550 mph and 35,000 feet. :-)

Solution

Create your own AIR application that contains the AIR and Flex 3 API - independent of your internet connectivity.

Detailed explanation

To create your own AIR application, containing the latest AIR/Flex API documentation, follow these steps:

  1. Download the latest AIR SDK

    Extract the entire zip to a folder of your choice, preserving the internal folder structure found in the zip archive (e.g. C:\Program Files\AIRSDK works well on Windows)

    Add to your PATH environment variable by pointing to the ' bin ' folder of the AIR SDK (e.g. [AIRSDKInstallFolder]/bin ), so the ' adt ' and ' adl ' can be run from a command prompt.

    For help with this step, consult: Help me with the AIR SDK

  2. Download the AIR help documentation zip archive

    Extract the entire zip to a folder of your choice, preserving the internal folder structure found in the zip archive (e.g. C:\AIRFlex3API works well on Windows)

    You should copy all the files and sub-folders inside the ' langref ' folder created during the extraction and move them up one folder level (e.g. move from C:\AIRFlex3API\langref to simply, C:\AIRFlex3API ). If you saved the help documents elsewhere, you should simply copy all of the files and sub-folders inside the [AIRHelpInstallFolder]/langref folder created during the extraction and move them to C:\AIRFlex3API .

  3. Create the AIR application's descriptor file - in this case, AIRFLEX3API-app.xml , like this:

     

    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/1.5">
      <id>info.airination.air.AIRFlex3API</id>
      <version>1.5</version>
      <filename>AIRFlex3API</filename>
      <initialWindow>
        <content>index.html</content>
        <visible>true</visible>
        <width>900</width>
        <height>700</height>
        <x>40</x>
        <y>20</y>
      </initialWindow>
        <icon>
           
    <image16x16>images/airicon16x16.png</image16x16>
           
    <image32x32>images/airicon32x32.png</image32x32>
           
    <image48x48>images/airicon48x48.png</image48x48>
           
    <image128x128>images/airicon128x128.png</image128x128>
        </icon>
    </application>
     
      

     

    Save the AIRFLEX3API-app.xml to the C:\AIRFlex3API folder.

  4. Either create your own four icons for use in the descriptor file (pay attention to the icon file names and storage location), or you can download these from the * icons link

    * This zip archive also includes an example AIRFLEX3API-app.xml and the ADT commands used to create this AIR application.

    Extract or copy the four image icons to the C:\AIRFlex3API\images * sub-folder.

    * There will be other images found in this folder, from the langref\images sub-folder, extracted in an earlier step.

  5. Run the following commands from a command prompt:

    cd\

    cd AIRFLEX3API

    adt -certificate -cn "AIR Development Services, Inc." 2048-RSA myCert.pfx tyairin24

    adt -package -storetype pkcs12 -keystore myCert.pfx -tsa none "AIRFLEX3API.air" AIRFLEX3API-app.xml .

    tyairin24

    This will create the AIRFLEX3API.air file

  6. Install the AIR application, and you will have the latest AIR/Flex 3 API documentation - no longer dependent on your internet connectivity.

 

AIRFlex3API.zip
[AIR application icons, application descriptor, and ADT comands]
AIRFlex3APIScrMed.jpg
ADTCommands.jpg

+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes