Re: [flexcoders] A way to Timer

2007-12-12 Thread Igor Costa
Try to use this code. i used that to create a cutdown timer for flash cs3 , so will give you an idea on how to do that. this.onEnterFrame = function() { var hoje:Date = new Date(); var anoAtual:Number = hoje.getFullYear(); var horaAtual:Number = hoje.getTime(); var

[flexcoders] A way to Timer

2007-12-10 Thread markcavins
Hello, I have a very functional timer here that I am using but I would like to get some advice on how to make it better. Code: private function getDaysUntil():void { // creates a new five-minute Timer var minuteTimer:Timer = new Timer(1000, 300); // designates listeners for the interval and