Flex 3 is Here
February 25th, 2008The ultimate Flex has landed (well, at least until Flex 4)
Congratulations to the Flex team for producing an amazing new API for Flex 3. The upgrades to both the Flex Framework as well as Flex Builder are huge.
The ultimate Flex has landed (well, at least until Flex 4)
Congratulations to the Flex team for producing an amazing new API for Flex 3. The upgrades to both the Flex Framework as well as Flex Builder are huge.
Drag and Drop from the desktop to an AIR application is one of the new features of AIR.
Basically, I add the event listeners to the application to handle the drag events. Then when a file is dropped onto the application, I check the file extension and then handle it if is an image file or throw an alert if not. You can certainly update the switch statement to handle additional file extensions differently.
Read the rest of this entry »
Bridging 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. Read the rest of this entry »
The 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: Read the rest of this entry »
I 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:
