My 1st air app

[FONT=Times New Roman][SIZE=3]Ok…[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]This little Adobe air app represents my very first try at air, and a AS2 to AS3 conversion.[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]Wasn’t too hard to grasp. Been shying away from as3, but now seemed like a good time to start at least trying. Who knows…I may find a use for this knowledge.[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]Took one of my old SWiSHMax clocks written in an earler version of AS, and ported it into flash cs4, and AS3 , and exported this useless thing. Cool, huh? LOL[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]The clock script:[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]

var mil:Number;
var s:Number;
var ss:Number;
var m:Number;
var mm:Number;
var h:Number;
var hh:Number;
var secondshand:MovieClip;
var minutshand:MovieClip;
var hourshand:MovieClip;
this.addEventListener(Event.ENTER_FRAME,EnterFrame );
function EnterFrame(event:Event):void {
//this.onEnterFrame = function() {
   var time:Date= new Date();
   mil = time.getMilliseconds();
   s = time.getSeconds();
   ss = int(s*6+(mil/(1000/6)));
   secondshand.rotation = ss;
   m = time.getMinutes();
   mm = m*6+(s/10);
   minutshand.rotation = mm;
   h = time.getHours();
   hh = h*30+(m/2);
   hourshand.rotation = hh;
};
stop();

[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]The main timeline script:[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]

myClock.addEventListener(MouseEvent.MOUSE_DOWN, movWin);
closeBtn.addEventListener(MouseEvent.CLICK, onCloseWindow);
function movWin(e:Event):void{
 stage.nativeWindow.startMove();
}
function onCloseWindow(event:MouseEvent):void{ 
 this.stage.nativeWindow.close();
}
stop();

[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]What do you think?[/SIZE][/FONT]