AIR Notifier

Building applications with AIR is real fun and what could be more interesting when you install it on desktop and see it running. In last few months, I have seen many applications built using Adobe AIR. Nice, soft look and feel, great functionality, quite handy are some of the words I will use to describe those applications.

Well how can I keep myself from building one on this buzzing technology and so I started one. I found that building application in Flex and AIR is not so different (apart from configuration and few more added AIR API’s). The journey was so far good but when I started looking for creating a notifier that can have a pleasant look and feel and with some flashy effects, I really struggled to find options.

It wasn’t that bad, I found quite a few good reference sites but unfortunately none of them met my expectations. But when I saw twhirl with its awesome notification display, my fingers started googling again to find how can I get something like the one I can see now on my desktop.

Overall I liked the appearance of twhirl and the way stuffs are managed into it. The most interesting part was twhirl notifier. It pops up when you receive a message and it goes like whosshhh. After crawling through various sites and reading many source codes, I found an interesting project on Google Code – Bamboo notifier. Getting deeper into the source code, helped me to understand how Bamboo displays notification and hurrayy thats what I was looking for. No additional SWC, everything built using Adobe AIR APIs.

I used similar concept and on top of that using Flex Effects, I finally achieved what I was looking for.

Well not to stretch any more, here is the code snippet that might help you to built your own notifier.
There are two files,
1. One that is used as popup. (Notification.mxml)
2. Used to display popup. (Client.mxml)




For your reference, I am attaching Flex project with this post. Click here to download.

Hope this will help you to kickstart building your own Notifier.
So keep airing and notifying 🙂

By Carbon Rider

Hi this is Yogesh, welcome to my world. Being passionate about learning new technologies and building frameworks, I end up spending most of my time in front of computer. But over last few months, I realised apart from being good coder and designer (Yes I am) I have something hidden in me. And thats called ART.

5 replies on “AIR Notifier”

This was a really quality post…

Effortlessly, the article is really the greatest on this precious subject. I fit in with your decisions and will thirstily appear forward to study your next updates. Just saying tnx will not just be sufficient, for your brilliant lucidity as part of yo…

When clicking on the red Close button in the notification window, I am getting this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.controls::Button/mouseDownHandler()[E:\dev\4.y\frameworks\projects\mx\src\mx\controls\]
Please please suggest how to resolve this, or atleast what might be causing it. I have your code as it is from above! Thanks CarbonRider 🙂

Leave a Reply