# Adding a delay before script is run?

**URL:** <https://forum.kirupa.com/t/adding-a-delay-before-script-is-run/313873>\
**Category:** flash\
**Created:** [September 12, 2010, 8:39pm UTC](https://forum.kirupa.com/t/adding-a-delay-before-script-is-run/313873 "2010-09-12T20:39:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SplashKhat](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@SplashKhat](https://forum.kirupa.com/u/SplashKhat)\
**Post date:** [September 12, 2010, 8:39pm UTC](https://forum.kirupa.com/t/adding-a-delay-before-script-is-run/313873/1 "2010-09-12T20:39:29Z")

</div>

I have a button array, On mouse event the Timeline will advance to a scene label. On the new scene the button array is modified and redeployed.

What I want to add is for the Button array to play a predefined animation of some sort before the timeline is advanced to the next scene.

Can someone show me if it’s easily possible?
