# Script to make my flash file autorun

**URL:** <https://forum.kirupa.com/t/script-to-make-my-flash-file-autorun/24925>\
**Category:** Uncategorized\
**Created:** [July 7, 2003, 10:29am UTC](https://forum.kirupa.com/t/script-to-make-my-flash-file-autorun/24925 "2003-07-07T10:29:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliadon](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@aliadon](https://forum.kirupa.com/u/aliadon)\
**Post date:** [July 7, 2003, 10:29am UTC](https://forum.kirupa.com/t/script-to-make-my-flash-file-autorun/24925/1 "2003-07-07T10:29:07Z")

</div>

hi, i got a few swf file and controlled by mainmovie.  
in my 2nd file i have something like this  
this is the frame label

|text1 |text2 |text3

how do i make my movie continously run from my mainmovie to text1 to text2 to text3 and back to my mainmovie.

fyi i want to set timing like 1 minit per section.

pls help

a li

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2003, 3:25pm UTC](https://forum.kirupa.com/t/script-to-make-my-flash-file-autorun/24925/2 "2003-07-07T15:25:10Z")

</div>

setInterval should help and make sure to pass a parameter  
like 0 for text1, 1 for text2  
and inside the fns use gotoAndPlay(1(or what ever)  
see  
[http://www.umbc.edu/interactive/fla...p?p=setInterval](http://www.umbc.edu/interactive/fla...p?p=setInterval)  
for deeper explanation

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 8, 2003, 3:43am UTC](https://forum.kirupa.com/t/script-to-make-my-flash-file-autorun/24925/3 "2003-07-08T03:43:16Z")

</div>

can you explain further…
