You definitely want to use Timer here. When you create a timer you can set the
interval for the timer and you can set the number of times you want the timer
to execute. Using your example you'd get something like:
myTimer = new Timer(5000, 3);
This will create a timer that executes every 5
Here is a simple example:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
creationComplete=onCreationComplete()
mx:Script
![CDATA[
private var labelTimer:Timer;
private var messages:Array = [
/ Pause between script executions
Here is a simple example:
?xml version=1.0 encoding=utf- 8?
mx:Application xmlns:mx=http: //www.adobe. com/2006/ mxml layout=vertical
creationComplete= onCreationCompl ete()
mx:Script
![CDATA[
private var labelTimer:Timer
October, 2009 2:07:16
Subject: [flexcoders] Re: Delay / Pause between script executions
Here is a simple example:
?xml version=1.0 encoding=utf- 8?
mx:Application xmlns:mx=http: //www.adobe. com/2006/ mxml layout=vertical
creationComplete= onCreationCompl ete()
mx:Script
the timer once all the messages have been
displayed?
Thanks.
Angelo
From: valdhor valdhorli...@...
To: flexcoders@yahoogroups.com
Sent: Saturday, 24 October, 2009 2:07:16
Subject: [flexcoders] Re: Delay / Pause between script executions
Here is a simple
Hi Steve,
That got it quick and easy. Thanks a lot. Marking as solved.
Regards,
Angelo
From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Saturday, 24 October, 2009 4:11:35
Subject: [flexcoders] Re: Delay / Pause between script
6 matches
Mail list logo