[flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread seanmcmonahan
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

[flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread valdhor
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 = [

Re: [flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread Angelo Anolin
/ 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

Re: [flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread Rick Winscot
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

[flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread valdhor
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

[SOLVED] - [flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread Angelo Anolin
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