Hi,
You can either use the timer class or the timing functions given below

Timing functions in the flash.utils package

ActionScript 3.0 contains a number of timing functions similar to those that
were available in ActionScript 2.0. These functions are provided as
package-level functions in the flash.utils package, and they operate just as
they did in ActionScript 2.0.

Function

Description

clearInterval(id:uint):void

Cancels a specified setInterval() call.

clearTimeout(id:uint):void

Cancels a specified setTimeout() call.

getTimer():int

Returns the number of milliseconds that have elapsed since Adobe® Flash®
Player or Adobe® AIR™ was initialized.

setInterval(closure:Function, delay:Number, ... arguments):uint

Runs a function at a specified interval (in milliseconds).

setTimeout(closure:Function, delay:Number, ... arguments):uint


Regards

Sampath

Runs a specified function after a specified delay (in milliseconds).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to