# Action Script for transition

**URL:** <https://forum.kirupa.com/t/action-script-for-transition/223936>\
**Category:** flash\
**Created:** [April 26, 2007, 11:01pm UTC](https://forum.kirupa.com/t/action-script-for-transition/223936 "2007-04-26T23:01:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccwaite8](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@ccwaite8](https://forum.kirupa.com/u/ccwaite8)\
**Post date:** [April 26, 2007, 11:01pm UTC](https://forum.kirupa.com/t/action-script-for-transition/223936/1 "2007-04-26T23:01:23Z")

</div>

I have a transition that I want to use when you click on one of the navigation buttons (the transition is the same for all four buttons), once clicked I would like to gotoAndPlay the transition, then gotoAndPlay the page of the button clicked (ex. portfolio for the portfolio button).

Not sure of how i would do this. Any thoughts would be greatly appreciated.

Thanks in advanced
