Archive for February 25th, 2008
« Previous Entries Next Entries »AIR ActionScript / JavaScript Bridge
Monday, February 25th, 2008Bridging between JavaScript and ActionScript is very easy with AIR. The following example will show how to call JavaScript functions from ActionScript and vice-versa. Special thanks to Oliver Merk of New Toronto Group for his contributions towards this example when it was an Apollo sample.
AIR HTML Control
Monday, February 25th, 2008The AIR HTML control is something that is unique to AIR and is very easy to integrate into your application. It can be used to simply load in an external html file by location as shown here:
Create Images with AIR and JPEGEncoder
Monday, February 25th, 2008I have had requests on how to take snap shot and save it to disk. So here is a vary basic example that takes a picture of itself and saves it to disk using the file name provided. Here is the guts of the function that saves the image:
File and FileStream within AIR
Monday, February 25th, 2008Local access to the file system is what separates AIR from browser based Flex/Flash. This simple sample demonstrates how to read and write files to the local file system.
AIR FileSystem Components
Monday, February 25th, 2008The FileSystem components are a new set of components specific to AIR which allow for easy access for browsing the file system. The example below defines the 4 files system components and points them to the systems desktop.
« Previous Entries Next Entries »





