Building the Spry Photo Gallery as an AIR application
In order to build the Photo Gallery Demo as an AIR application you need to do the following:
INSTALL REQUIRED FILES
- download the AIR platform and the Dreamweaver AIR extension from Adobe Labs
- install the AIR platform and then the AIR Dreamweaver extension, as instructed on the download page
CREATE A SITE
- start Dreamweaver
- define a site having the root folder identical to your Spry folder
- in menu, go to Comamnds -> Air Application settings dialog
FILLING "Air Application settings" dialog
Enter all the required data in this dialog:
- File Name: a descriptive name, like Photo Gallery Demo
- ID: you can use PhotoGalleryDemo
- Initial content: demos/gallery/index-air.html
- Window size: width=1024, height=600 (optimum size)
- Included files:
- demos/gallery/index-air.html (automatically put when you select it above as Initial Content)
- demos/gallery/gallery.js
- Included folders:
- css/
- demos/gallery/galleries/
- demos/images/
- includes/
- Digital signature:
- click the Set button
- select the "Sign the AIR package with a digital certificate" radio button
- then click Create button to create a certificate
- save it on your hard drive
- click OK twice to return to the main Air Application settings dialog
- choose a destination for the AIR file
- click "Create AIR file" button in the upper right corner
- install and run the application
Filling this dialog will generate an application.xml file at the root folder, that you can reuse later.
Copyright © 2008. Adobe Systems Incorporated. All rights reserved.