# Preloader Transition for Dynamic Files Tut

**URL:** https://forum.kirupa.com/t/preloader-transition-for-dynamic-files-tut/77829
**Category:** flash
**Created:** [January 30, 2005, 7:09pm UTC](https://forum.kirupa.com/t/preloader-transition-for-dynamic-files-tut/77829 "2005-01-30T19:09:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pacno](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pacno](https://forum.kirupa.com/u/pacno)
#### Post date: [January 30, 2005, 7:09pm UTC](https://forum.kirupa.com/t/preloader-transition-for-dynamic-files-tut/77829/1 "2005-01-30T19:09:52Z")

</div>

Hi,  
I used the tutorial “Preloader and Transition for Dynamic Files” by Claudio  
[http://www.kirupa.com/developer/mx/preloader\_transition.htm](http://www.kirupa.com/developer/mx/preloader_transition.htm)  
for a project - it works really very fine.  
Now I have just one problem:  
I have to load the whole site.swf into a movieclipholder and now I don’t find  
the paths anymore. An example:  
That movieclip I use to load the site into is called “siteMC”  
The code on the buttons are:

b1.onRelease = function() {  
if (\_root.section != “profile.swf”) {  
\_root.section = “profile.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b2.onRelease = function() {  
if (\_root.section != “gallery.swf”) {  
\_root.section = “gallery.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b3.onRelease = function() {  
if (\_root.section != “photos.swf”) {  
\_root.section = “photos.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};

So I change the paths to: “\_root.siteMC.section = gallery.swf” and so on.  
That works also. But now, there is a script in the 1. frame of the transition movieclip that executes the loading of the first content swf:  
“\_root.section = “profile.swf”;”

Here I tried everything from “\_root.siteMC.section” “\_parent.siteMC.section”  
and so on - nothing happens.  
Do anybody know what I have to code here so I can load the first swf or maybe some other solution?
