# Timing in AS3

**URL:** <https://forum.kirupa.com/t/timing-in-as3/298967>\
**Category:** Uncategorized\
**Created:** [October 27, 2009, 7:44pm UTC](https://forum.kirupa.com/t/timing-in-as3/298967 "2009-10-27T19:44:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tapies](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tapies](https://forum.kirupa.com/u/tapies)\
**Post date:** [October 27, 2009, 7:44pm UTC](https://forum.kirupa.com/t/timing-in-as3/298967/1 "2009-10-27T19:44:29Z")

</div>

Hello,

I am new in Flash and Actionscript. I would like to know how to manage timing in AS3.

Let say I have some functions in a code and all of them trigger an animation.

A) I would like to run the functions one by one, [COLOR=Blue]but next function must not be triggered before the animation of the previous one is completed [/COLOR]

B) I would like to run the functions one by one, [COLOR=Blue]but next function must be triggered certain time after the animation of the previous one is completed[/COLOR]

Please could you advise how to deal with that smartly? (I have some ideas, but I don’t see them too elegant.)

Thanks a lot,  
T.
