# Delayed action

**URL:** <https://forum.kirupa.com/t/delayed-action/142580>\
**Category:** Uncategorized\
**Created:** [March 30, 2005, 12:08am UTC](https://forum.kirupa.com/t/delayed-action/142580 "2005-03-30T00:08:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonbid](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonbid](https://forum.kirupa.com/u/jonbid)\
**Post date:** [March 30, 2005, 12:08am UTC](https://forum.kirupa.com/t/delayed-action/142580/1 "2005-03-30T00:08:04Z")

</div>

:moustache i have 4 buttons in a flash document, when one button is clicked, it plays a short section of timeline in the same scene, before moving to another scene, depending on what button was clicked.

That is what SHOULD happen…

does anybody know how i go about this?

i think it should be along the lines of:  
a variable is set when the button is clicked… maybe “portfoliopage” is set to true. Then at the end of the desired animation if"portfoliopage"=true {goto"other scene"}

i havent the nouse to get it right an i have bin thru the help a number of times, maybe its too late an i am missing somethin?

any ideas?
