# \[FMX\] - Preloader Help

**URL:** <https://forum.kirupa.com/t/fmx-preloader-help/15529>\
**Category:** flash\
**Created:** [March 15, 2003, 6:11am UTC](https://forum.kirupa.com/t/fmx-preloader-help/15529 "2003-03-15T06:11:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rahil/32/180_2.png) [@Rahil](https://forum.kirupa.com/u/Rahil)\
**Post date:** [March 15, 2003, 6:11am UTC](https://forum.kirupa.com/t/fmx-preloader-help/15529/1 "2003-03-15T06:11:32Z")

</div>

I’m just playing around right now; getting ready for when i’m gonna have to make a real flash intro. I’m using kirupa’s actionscript for the percentage preloader + loading bar. Heres the timeline:

Frame 1 - loading bar actionscript (AS)  
Frame 2 - this.gotoAndPlay(1);  
Frame 3 - stop();

Now in frame 3, i have a “Click here to play” link. Here is the link’s AS:

on (press) {play();

Now, everything works fine, untill i get to the “on press, play” part. I think because the movie has stopped, the AS is disabled or something.

Is there anyway to have a “Click here to play” link?

---

<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:** [March 15, 2003, 10:38am UTC](https://forum.kirupa.com/t/fmx-preloader-help/15529/2 "2003-03-15T10:38:30Z")

</div>

> on (press) {play();

this might woork if it looked like this :

on(press){  
play();  
};

Cheers

SteveD

---

<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:** [March 15, 2003, 6:38pm UTC](https://forum.kirupa.com/t/fmx-preloader-help/15529/3 "2003-03-15T18:38:15Z")

</div>

The AS you gave me for the “Play” button doesn’t work. It says theres a syntax error. Does anyone know how to make a play button after a preloader?

---

<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:** [March 15, 2003, 9:50pm UTC](https://forum.kirupa.com/t/fmx-preloader-help/15529/4 "2003-03-15T21:50:09Z")

</div>

Hi,  
yeah, just a small typo, would of thought you could have seen that - it should be this, can you spot the difference :

on(press){  
play();  
}

Cheers

SteveD

---

<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:** [March 16, 2003, 1:04am UTC](https://forum.kirupa.com/t/fmx-preloader-help/15529/5 "2003-03-16T01:04:25Z")

</div>

Lol, sorry, i r newb. And yes, that works, thanks alot. 🙂
