# Time Delayed Button Actions?

**URL:** <https://forum.kirupa.com/t/time-delayed-button-actions/214839>\
**Category:** Uncategorized\
**Created:** [February 1, 2007, 12:35pm UTC](https://forum.kirupa.com/t/time-delayed-button-actions/214839 "2007-02-01T12:35:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mafness](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@mafness](https://forum.kirupa.com/u/mafness)\
**Post date:** [February 1, 2007, 12:35pm UTC](https://forum.kirupa.com/t/time-delayed-button-actions/214839/1 "2007-02-01T12:35:28Z")

</div>

Can anyone help me out here… Im only a moderate flash expert, and Im always looking to learn some more… so anything anyone can recomend here would be appreciated…

Im looking for a script that puts a delay between actions

eg:  
**(ACTION 1)**  
b4.onRelease = function() {  
if (\_root.section != “[http://www.url.com/photos.swf](http://www.url.com/photos.swf)”) {  
\_root.section = “[http://www.url.com/photos.swf](http://www.url.com/photos.swf)”;  
\_root.transition.gotoAndPlay(“closing”);

**(ACTION 2)**  
\*\*this action controls the size of a container box  
\*\* wmodifier=300;  
hmodifier=325;

What Im looking to do, is play the transition movie, and THEN re size the box… any thoughts?
