segunda-feira, 13 de junho de 2011

Contador Flex

Contador para flex

private function init():void{
                time = new Timer(1000,0);
                time.addEventListener(TimerEvent.TIMER,timeHandler);
                time.start();
               
            }
           
            private function timeHandler(ev:TimerEvent):void{
                count ++;
                dynamicText.text = String(count);
            }



Vitor Yudi Hansen