# Preloader and Transition for Dynamic Files

**URL:** https://forum.kirupa.com/t/preloader-and-transition-for-dynamic-files/45743
**Category:** Uncategorized
**Created:** [March 17, 2004, 6:28pm UTC](https://forum.kirupa.com/t/preloader-and-transition-for-dynamic-files/45743 "2004-03-17T18:28:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jenwhitie](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@jenwhitie](https://forum.kirupa.com/u/jenwhitie)
#### Post date: [March 17, 2004, 6:28pm UTC](https://forum.kirupa.com/t/preloader-and-transition-for-dynamic-files/45743/1 "2004-03-17T18:28:24Z")

</div>

I used this tutorial, and It works ok. My problem is that my buttons are in a dropdown menu. I tried using the relitave path to the buttons, but no luck.

The path to my button is; \_root.weddings.santaFe

I put it here:  
\_root.weddings.santaFe.onRelease = function() {  
if (\_root.section != “santaFe.swf”) {  
\_root.section = “santaFe.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};

And it didn’t work.

The only way that I could get the movie (santaFe.swf) to load was to have it load when \_root.weddings was pushed.

am I missing something with the path?
