RE: [flexcoders] sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread Gregor Kiddie
Of sailorsea21 Sent: 06 November 2008 14:06 To: flexcoders@yahoogroups.com Subject: [flexcoders] sailorsea21 - How to stop a timer that is in a private function? Hi everyone, I have the following timer: private function initTimer():void { var myTimer:Timer = new Timer(3); myTimer.addEventListe

[flexcoders] sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread sailorsea21
Hi everyone, I have the following timer: private function initTimer():void { var myTimer:Timer = new Timer(3); myTimer.addEventListener(TimerEvent.TIMER, updateData); myTimer.start(); } How can I stop the following timer? Can it be stopped using another function? Thanks. -David