I think you mean something like the setInterval() of as2. That is replaced by the timer class in as3. I haven't used it yet, but when you know what to look for things should be easier already.
Good luck. Sonja Duijvesteijn > Hi Folks: > I'm animating the dealing of a deck of cards. The animation is not a > problem thanks to excellent AS3 methods! What the issue is is I'd > like to deal each card individually. What currently happens is I put > everything in a loop and animate the cards moving from point A to > point B. However, the end result is all the cards moving in unison > from point A to point B. Is there a "Yield" facility in AS3 > where I > can yield control to the Flash player while I'm looping through > rendering each card? I know in C++ and VB you can yield control to > the O/S and I realize we're in a different situation here but is > there something like that in AS3 and Flex? The pseudo code might be > as follows: > > Create (Embed) Bitmaps > Create card bitmap classes > While (isPlaying) > { > /* Yield */ > render card(i) > moveTo (positionXY) > i++ > } > > I hope this makes sense...:-) > > Cheers, > Dave > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > SPONSORED LINKS > Web site design development > Computer software development > Software design and development > Macromedia flex > Software development best practice > YAHOO! GROUPS LINKS > Visit your group "flexcoders" on the web. > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > -- 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/