If you really want to lock up your app for 5 seconds, do this:

 

Var t:int = getTimer() + 5000;

While (getTimer < t);

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, October 29, 2007 11:48 AM
To: [email protected]
Subject: Re: [flexcoders] How do I pause

 

There no example of how to make a pause effect in actionscript here
http://livedocs.adobe.com/flex/201/langref/mx/effects/Pause.html
<http://livedocs.adobe.com/flex/201/langref/mx/effects/Pause.html> 
so I am pretty much at a loss on how to proceed.

I guess I have to make a custom effect trigger like this, but I'm having

a really hard time with it.
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel
p.htm?context=LiveDocs_Book_Parts&file=createeffects_154_15.html
<http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhe
lp.htm?context=LiveDocs_Book_Parts&file=createeffects_154_15.html> 

Alex Harui wrote:
>
> Pause effect?
>
> 
>
> ----------------------------------------------------------
>
> *From:* [email protected]
<mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] 
> *On Behalf Of [EMAIL PROTECTED] <mailto:%2Ainfo1%40reenie.org> 
> *Sent:* Monday, October 29, 2007 12:23 AM
> *To:* [email protected] <mailto:flexcoders%40yahoogroups.com>

> *Subject:* [flexcoders] How do I pause
>
> 
>
> My movie changes states when the user hits a button, but I want it to
> pause for 5 seconds. How do I do that ? I see something about pausing
a
> sequence in the documentation. do I have to create a sequence first ?
>
> 

 

Reply via email to