Home > air, ajax, tips & tricks > Adding Desktop functionality to Web Applications (My MAX Milan DW + AIR sample)

Adding Desktop functionality to Web Applications (My MAX Milan DW + AIR sample)

December 10th, 2008

One of my MAX Milan session was on how you develop AIR applications using Dreamweaver CS4. During this talk I’ve took a web application (actually I copy paste a sample of using the MSN Messenger JavaScript API) and add it some Desktop capabilities. So the little sample AIR MSN messenger now display notification when your friends will change their status message. The notification library I used is as3notificationlib done by Christian Cantrell so you can see how easy is to call Flash code from JavaScript inside the AIR runtime.

You can also test the msg.html (sandbox/msg.html) file inside a browser (doesn’t seems to work on Mozilla, or on my Mozilla). The code that pushes the notification in AIR is located at line 204 and is the only modification that I’ve done to the original MSN Messenger sample.

You can download the code from here.

Categories: air, ajax, tips & tricks Tags:
Comments are closed.