JavaScript AIR Samples Updated

Adobe AIR continues to march forward, and at MAX 2007 AIR Beta 2 was released. To accompany this release came new versions of tooling to include Flash CS3, Flex Builder 3 Beta 2, Dreamweaver CS3 (including a new version of Spry), and Aptana’s AIR plug-in. Part of the requirement for the Aptana team was a Beta 2 set of JavaScript-based AIR samples. My Beta 1 samples shipped with the previous version, and I’ve updated those samples for Beta 2.

The Beta 2 version of the samples have been shipping with the Aptana AIR plug-in since MAX, but you can now also download them separately.

These samples have been a labor of love. I originally created them for the JavaScript AIR Pocket Guide, and although dated, is still a good reference, and is publicly available in PDF format (for free). I added to them based on my own playing around, and then shared them with the public via my blog, and the Aptana team directly. Driven largely by customer questions on the AIR forums, and one-on-one meetings, there are now almost 45 samples, including more full applications.

Revisiting 35+ samples for Beta 2 required a substantial amount of focus and time. As the next release of AIR hits the stands, I’m sure I’ll be required to find the time to update them once more. The good news is that I’m working on an easier way to share the samples, and allow for the community to get involved. I envision a place in the near future where you can add your own samples, comment on existing samples, and even rate them. Stay tuned!

In the meantime, here’s the list of samples:

  • Read a Text File Synchronously
  • Read a Text File Asynchronously
  • Reading XML Data (using XMLHttpRequest)
  • Writing a Text File
  • Creating a Temporary File
  • Uploading a File in the Background
  • Creating a New Window
  • Creating a New Native Window
  • Creating a Full Screen Window
  • Creating Customized Chrome
  • Adding Custom Window Controls
  • Meebo Window
  • Digg iPhone
  • Selecting a File
  • Selecting Multiple Files
  • Selecting a Directory
  • Connectivity to an HTTP Server
  • Connectivity to a Jabber Server
  • Dragging Text Into an Application
  • Dragging an Image Into an Application
  • Dragging Files Into an Application
  • Dragging From an Application to the Desktop
  • Putting Files on the Clipboard
  • Connecting to a Database
  • Creating Database Tables
  • Storing Data in a Database
  • Accessing Data in a Database
  • Database Concepts Applied
  • Full Database CRUD
  • Using a JavaScript Encoder
  • Using an ActionScript Encoder
  • Playing a Sound
  • Scaling an Image
  • Determining Image Dimensions
  • Extracting EXIF Thumbnail
  • MapCache (Yahoo! Maps)
  • Flash Filters (Script Bridge)
  • Stopwatch (Using Flash Assets from JavaScript)
  • Flash Remoting (Script Bridge)
  • Encrypted Local Store
  • Video Player (Flash Over HTML)

WordPress database error: [Can't open file: 'wp_comments.MYI' (errno: 145)]
SELECT * FROM wp_comments WHERE comment_post_ID = '126' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply