Never tried this but maybe use setInterval() when the button is pressed and then when that calls the function you do a clearInterval() to stop the setInterval().
setInterval(): http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=00001662.htm#wp4023423 clearInterval(): http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=00001270.htm#wp3945377 --- In [email protected], Krzysztof Szlapinski <[EMAIL PROTECTED]> wrote: > hi, > i've got this - probably simple - problem, I want to pause my > application for some time, and I cant find neither "pause" nor "wait" > nor "halt" or whatever function that can perform this task. > > here are the details: > I've got a label and a button, user clicks the button and the label text > changes after 2 seconds > > any ideas please > krzysiek ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

