# Can a preloader cause an animation not to work?

**URL:** https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756
**Category:** Uncategorized
**Created:** [June 8, 2003, 4:17am UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756 "2003-06-08T04:17:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [June 8, 2003, 4:17am UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/1 "2003-06-08T04:17:40Z")

</div>

Okay, let’s see if I can make this comprehensible. I have a template with an xml dynamic menu. When a button is pushed two movie clips are loaded: 1) a main clip, which has a Kirupa designed preloader taking up the first two frames and 2) a movie clip that contains “controls” (interactivity or animation) for the main clip.

All worked great until I added the preloader. Now both movie clips load but the controls no longer act correctly. Do I have to tell the controls to jump to the third frame of the main clip or something because the preloader takes up the first two frames?

Does any of this make sense?

---

<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: [June 8, 2003, 5:07am UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/2 "2003-06-08T05:07:01Z")

</div>

Do you have a stop() action to keep your frames from looping repeatedly?

---

<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: [June 8, 2003, 4:09pm UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/3 "2003-06-08T16:09:02Z")

</div>

I didn’t, no. But I just added one (to the third frame of every layer?) and same thing. Is the stop(); action only supposed to be on some layers or all of them?

---

<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: [June 8, 2003, 6:36pm UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/4 "2003-06-08T18:36:27Z")

</div>

The stop action is just supposed to be on 1 frame on 1 layer. It will stop the timeline as soon as that frame is hit. The timeline being all layers.

Can you post your file?

---

<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: [June 8, 2003, 7:08pm UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/5 "2003-06-08T19:08:38Z")

</div>

Posted at:

www.humboldt.edu/~mgk9/template.zip

It’s kind of big, sorry. The template.fla is the main one (obviously) and the others work off that. I only posted one sample of what I’m doing. Open the template then on the menu click on “Physical” and then “Earthquakes”. You’ll see “earthquakesC” in the folder - that is the “controls” for interactivity. The preloader is on the “earthquakes” swf.

I tried on a different version removing all the stop’s except one and it still didn’t work . . .

Thanks for any help!

---

<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: [June 8, 2003, 10:08pm UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/6 "2003-06-08T22:08:16Z")

</div>

Ok, the problem was within your checkbox code. I don’t see how it was possible for the preloader to effect this since your checkbox coding was way off when it came to targeting and writing it out.

Here is the updated files (earthquakeC.fla is the only one I edited to make it work) for you to check out.

[www.lostinbeta.com/kirupa/fixedTemplate.zip](http://www.lostinbeta.com/kirupa/fixedTemplate.zip)

---

<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: [June 9, 2003, 5:02am UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/7 "2003-06-09T05:02:26Z")

</div>

what are you, magic or something? It works!😛

Thanks for simplifying and cleaning up my code. That was some of the first action scripting I’ve ever done so it definitely needed to be “modernized”.

You are awesome!:thumb:

---

<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: [June 9, 2003, 5:08am UTC](https://forum.kirupa.com/t/can-a-preloader-cause-an-animation-not-to-work/22756/8 "2003-06-09T05:08:14Z")

</div>

LOL, nope sorry, no puffy magic dragon fingers here my friend, just a pinch of AS knowledge, a dash of fixer-uppers, a smidgen of trace() and voila I was able to locate and fix the problems of the script 🙂

Glad everything works now 🙂
