Monday, May 11, 2009

Adobe AIR for Facebook

Getting ready with the IDE, plug-in and SDK

1. Download Aptana IDE for AIR (Adobe also provides extensions so you can build AIR applications directly from Adobe Flex Builder™ 3, Dreamweaver® CS3, and Flash CS3 Professional).

http://www.aptana.com/air

2. Update Aptana (Build: 1.2.6.024313) with the Adobe AIR plug-in.

2.1.  From the Help menu, select Software Updates -> Find and Install... to open an Install/Update pop-up window.
2.2. On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.
2.3. On the Updates window, check the box next to the name of the plug-in “Aptana: Support for Adobe AIR”, and click the Next button.
2.4. Choose the option to accept the terms of the license agreement, and click the Next button.
2.5. Click the Finish button.
2.6. Click the Install All button.

3. Download Adobe AIR SDK and unzip it.

http://www.adobe.com/go/getairsdk/

4. Configure Aptana to use the SDK.

4.1.  From the Window menu in Aptana, select Preferences... to open a Preferences window.
4.2. On the tree on the left side of the Preferences window, expand Aptana and select AIR SDKs to go to the AIR SDKs screen.
4.3. Add the AIR SDK:
- 4.3.1. On the AIR SDKs screen, click the Add... button to open an Add AIR SDK pop-up window.
- 4.3.2. In the AIR SDK Directory field, browse to the top-level directory where your AIR SDK is installed.
- 4.3.3. In the AIR SDK Name field, type a name for your SDK. 
- 4.3.4. Click the OK button to add the SDK.
4.4. Click OK.

Start a new project

http://www.aptana.com/docs/index.php/Creating_an_AIR_project

Comparison of Javascript libaries

http://wiki.freaks-unidos.net/javascript-libraries

Running a project

http://www.aptana.com/docs/index.php/Running_an_AIR_application

Generate Own Digital Certificate (untrusted)

1.  From the Window menu in Aptana, select Preferences... to open a Preferences window.
2. On the tree on the left side of the Preferences window, expand Aptana and select AIR Certificates to go to the AIR Certificates screen.
3. Add the certificate:

image

Exporting

http://www.aptana.com/docs/index.php/Exporting_an_AIR_project

Running the application

Click on the *.AIR file and start the installation.

That’s all for now.

0 comments: