Can a preloader cause an animation not to work?

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?

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

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?

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?

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!

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

what are you, magic or something? It works!:stuck_out_tongue:

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:

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 :slight_smile:

Glad everything works now :slight_smile: