Two corrections... The event handler
argument type would be TimerEvent, not TimerEventType, and you'd start with
timer with timer.start() rather than Timer.start() because start() is an
instance method. I posted a working example of using Timer
earlier today. - Gordon From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Hi,
Using
Timer class is simple: import
flash.util.Timer; var
timer:Timer = new Timer(500); private
function handleTimerEvent(event:TimerEventType)
if(condition) Timer.start();
FlexBuilder
2 comes with help. FYI, I am copying pasting Timer class documentation below:
-abdul
flash.util
public
class Timer Click here to view the Examples
Property Summary
repeatCount Property running Property Characteristic
Description
flash.events.TimerEvent start Method stop Method Example package {
public class TimerExample extends Sprite {
public
function TimerExample() {
public
function onTimer(event:TimerEvent):Void {
-----Original
Message----- Can
someone point me to where I can get info on the Timer Class. The
------------------------
Yahoo! Groups Sponsor --------------------~--> --
<*>
To visit your group on the web, go to: <*>
To unsubscribe from this group, send an email to: <*>
Your use of Yahoo! Groups is subject to:
|
Title: RE: [flexcoders] Timers