# Preloaders as Transitions...Best practices

**URL:** <https://forum.kirupa.com/t/preloaders-as-transitions-best-practices/190295>\
**Category:** Uncategorized\
**Created:** [June 10, 2006, 3:50am UTC](https://forum.kirupa.com/t/preloaders-as-transitions-best-practices/190295 "2006-06-10T03:50:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![insultcomidog](https://avatars.discourse-cdn.com/v4/letter/i/ac91a4/32.png) [@insultcomidog](https://forum.kirupa.com/u/insultcomidog)\
**Post date:** [June 10, 2006, 3:50am UTC](https://forum.kirupa.com/t/preloaders-as-transitions-best-practices/190295/1 "2006-06-10T03:50:12Z")

</div>

When using preloaders as transitions between external swfs, what is the best way to load them into at container clip in the main movie?

Is it simply?

on (press) {  
containermc.loadMovie(“clip.swf”);  
}

Here’s why I ask…

I designed a site where external movies are dynamically loaded into a main movie that has buttons for navigation.

I used this tutorial and everything worked perfectly:  
[http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm)

I got fancy and changed the preloaders of my external movies, from a standard bar preloader to an advanced preloader with tweens using this tutorial:  
[http://www.kirupa.com/developer/actionscript/tween\_as\_preloader.htm](http://www.kirupa.com/developer/actionscript/tween_as_preloader.htm)

I usually keep all my content in the main timeline, but this tutorial suggested putting the preloader in a seperate scene.

Changing the preloaders has now made the navigation I built from the first tutorial slightly buggy. If I press a button while the movie is in transition, buttons in the main movie stop working and I have to click several buttons in no particular order to get the external swfs loading again…T

It’s probably just a matter of modifying the AS I used from the first tutorial ([http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm)) to allow for the scene I added for the advanced preloader. Unfortunately my AS skills are limited…

I’d appreciate any input, this navigation bug is annoying…
