Technically it is triggered via both ENTER_FRAME and RENDER. Actionscript is single-threaded and all script that is supposed to run runs without interruption, but sometimes you want to run something after the script runs The entire invalidation system uses callLater.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Sunday, August 10, 2008 9:15 PM To: [email protected] Subject: Re: [flexcoders] callLater function? It's to call a function on the next frame. It's triggered via the ENTER_FRAME event, and you normally use it to put off some work until something else has happened, such as bindings being updated, or another event propagating through the display list. Often if you're using it you should have a look at your flow, you might be using a binding where you shouldn't be, or vice versa :) -Josh On Mon, Aug 11, 2008 at 2:06 PM, markflex2007 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi, I am confusing how to use callLater and when I have to use it. Please give me a demo so I can know the idea. Thanks Mark ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups Links (Yahoo! ID required) mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

