Description
I used Adobe Flash CS3 with the Air update to create the grunge style clock. I programmed it using Action Script 3. To produce the special effects fireworks I used After Effects CS3 to produce the firework then exported the video with the alpha channel as an FLV. It gets the time from the system clock on your computer using the date class in flash and checks it using the timer class. I also made a custom 5 minute and 1 minute timer for the user’s convenience. The reset timer will stop and reset the minute timers to zero. As well it also allows you click it several times to shoot out multiple fireworks in quick succession. For improved animations I used “Tween Lite” for tweening the movie clips. I embedded audio clips to enhance the timer.I listed below some of the key classes I used for Air in creating a desktop application.
- stage.nativeWindow.close();
- stage.nativeWindow.minimize();
- drag feature and drop.
- transparent bg of air widget and drop shadow
Once the close button is pressed, the desktop application is shut down.
Once the minimize button is pressed, the desktop application is minimized to the computer’s task bar.
Once you click on the application, the drag and drop feature is enabled allowing the user to move the clock where the user chooses fit.
I used transparent window style for the air widget. So you can have the clock over top other window applications. I also added a drop shadow to the clock for an addition visual element.