Create PNG icons for AIR application by Adobe Illustrator Script

If you’re an AIR developer and a graphic designer using Adobe illustrator to create icons, you’ve probably faced maddening problem of resizing icons to 128X128, 114X114, 72X72 ,… pixel and saving them into different PNG files 😕 . Therefore I developed this Script to help you out in this situation! 😉

read more…

Repository: AI Scripts onGithub
Programming Language: Adobe Illustrator JavaScript

AppMenu class

Menus are one of the most important methods to create better user experience and integrating with OS. And AIR platform supports both windows menu (on Windows) and application menu (on Mac OS) very well. The downside is implementing menus through the Action Script is too complex. You have to create NativeMenu instance, then attach NativeMenuItems and then do it again and and again to create simple menus. So I’ve developed “AppMenu” class which converts well-formed XML data to every type of menu that you want.
read more…

Repository: AppMenu on Github
Programming Language: Action Script 3.0

SType action script library

It’s been always painful for me to create instances, assign their properties and add event handlers and do it over and over again in many lines! And the final code is always messy and hard to read. So I have developed a library called SType (for super type!) which does all three steps (create, assign, handle) in one line of code. SType uses AS3 Signal library have been developed by Robert Penner.

read more…

Repository: Stypes onGithub
Programming Language: Action Script 3.0
Runtime: Adobe AIR

Add update functionality
to an AIR application

One of the greatest features of Adobe AIR platform is its update capability. You can embed update functionality in every AIR application so easy and be sure that all of you users will run latest and bug free version of you application. The great thing about this is that it’s free to developer up to include this functionality in anyway that they like.

To accomplish an update process, generaly these steps must be done:

1.Check for update to see whether a newer version is available or not.

2.Download update file from server, if update is necessary.

3.Write Downloaded file in temporary location on users hard drive.

4.Call update function of Updater class and AIR will handle the rest of update process.

read more…