# Sequencing Actions with Actionscript?

**URL:** <https://forum.kirupa.com/t/sequencing-actions-with-actionscript/171569>\
**Category:** flash\
**Created:** [December 6, 2005, 4:52pm UTC](https://forum.kirupa.com/t/sequencing-actions-with-actionscript/171569 "2005-12-06T16:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SAVAGER](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@SAVAGER](https://forum.kirupa.com/u/SAVAGER)\
**Post date:** [December 6, 2005, 4:52pm UTC](https://forum.kirupa.com/t/sequencing-actions-with-actionscript/171569/1 "2005-12-06T16:52:11Z")

</div>

I’m working on a site where I’m using an onRelease event handler.

Within the onrelease I have a couple different actions that need to happen. For example, when I click on a button I want an image to move up, then move to the right and then call gotoAndPlay (frame)

I can do all of these actions, but they all happen at once. Basically I just want the animation to happen first and then have it goto frame 20 when the animation is complete…

Anyone have any ideas on this?

thanks in advance…
