My First AIR app - Micon
Hi
UPDATE: I've added a close button, MICON V1.1 is avaliable, same link as before.
In case you get bored reading this, download the app first :). I've called it MICON, and its a application that allows you to extract system icons used for a file/folder, and save them as a transparent png. Download it here.
Screenshot:
![]()
I've used this application as an opportunity to cover aspects of AIR I was interested in. I've implemented custom chrome(transparent), resizing, drag n drop (to and from desktop), fileSystem access amongst other things. I've also implemented multiple windows, just to test performance, and it is amazingly easy, fast, and light on system resources. (I've taken this out, since it's not needed in MICON). I have only tested the app in Windows, so I would be interested to get feedback from Macintosh users.
This is my first official ascoza post, as well as my first AIR application. I've been postponing getting my hands dirty in AS3, mainly because it looked like a massive jump from AS2. It is a big jump, but not as radical as I expected. For those of you out there, contemplating migrating to AS3, I can definitely recommend it. If you are used to implementing 3rd party libraries, it will be easy to pick up AS3. A lot has changed yes, but the documentation is very good, and there are decent samples to work from.
Once I've cleaned up the code, I will release the source. I also plan on updating the application, to add more functionality to it (post suggestions - even it's just related to the current version [1.0] ). I am not sure how hardcore the .ico file format it, but if it's something I can get my head around, I would like to the ablility to package icon files from png's. I don't have much experience with binary data, so I'm not sure how long this will take me. Maybe there is allready a kind of iconEncoder actionscript library (pls let me know if you know of one).
You will need to install Adobe AIR beta.
September 17th, 2007 at 4:08 pm
Love the app! Would be cool if there was a close button
September 26th, 2007 at 5:55 am
Hey hi that’s just a great app it worth using it
September 26th, 2007 at 8:42 am
I’ve updated the app…with a close button.
October 19th, 2008 at 11:34 pm
Hi, I got to this post while looking for a way to extract the icons of a file dragged from the desktop to an air app.
Your app seems great!
would you mind sharing some of the source, or at least the part where you extract the file icon and display it on the stage? That would be very helpful.
Thanks!