# Question about preloader and transtition

**URL:** <https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092>\
**Category:** Uncategorized\
**Created:** [August 11, 2004, 11:49am UTC](https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092 "2004-08-11T11:49:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![skinzz](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@skinzz](https://forum.kirupa.com/u/skinzz)\
**Post date:** [August 11, 2004, 11:49am UTC](https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092/1 "2004-08-11T11:49:42Z")

</div>

Hi,

I’m working on the 'Preloader and Transition for Dynamic Files ! It’s just the thing I’m looking for ! Now I first did the tutorial with the partial source given. Figured it out a bit !

[http://www.kirupa.com/developer/mx/preloader\_transition.htm](http://www.kirupa.com/developer/mx/preloader_transition.htm)

But I’ve got a question :

I named my buttons b1 , b2, b3 for convenience, but they are situated in an mc on the main timeline? So how do I have to call the button in the mc.

In the tutorial it is like :

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

How do i have to do this ?  
thank you

---

<div class="post-metadata">

**Author:** ![skinzz](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@skinzz](https://forum.kirupa.com/u/skinzz)\
**Post date:** [August 11, 2004, 5:46pm UTC](https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092/2 "2004-08-11T17:46:11Z")

</div>

Please someone ? I need some help on this one . Here is the link so you can see what’s going on …

---

<div class="post-metadata">

**Author:** ![Fred\_silb](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@Fred\_silb](https://forum.kirupa.com/u/Fred_silb)\
**Post date:** [August 11, 2004, 6:25pm UTC](https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092/3 "2004-08-11T18:25:04Z")

</div>

You need to give it an hinstance name to the MC and then call it like this:

MC= MCTest

\_root.MCTest.b1.onRelease=function(){  
etc

---

<div class="post-metadata">

**Author:** ![terrible\_flash](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@terrible\_flash](https://forum.kirupa.com/u/terrible_flash)\
**Post date:** [August 12, 2004, 8:11am UTC](https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092/4 "2004-08-12T08:11:31Z")

</div>

i am using the same transitions and preloader and one of the .swf files that i am using has a functional menu but then i published the file , all the functions in the swf file isnt working. why that? the swf file works fine alone, but then it is input into the transition, it doenst work.

---

<div class="post-metadata">

**Author:** ![terrible\_flash](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@terrible\_flash](https://forum.kirupa.com/u/terrible_flash)\
**Post date:** [August 12, 2004, 8:50am UTC](https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092/5 "2004-08-12T08:50:51Z")

</div>

> [@terrible@flash](#):
>
> i am using the same transitions and preloader and one of the .swf files that i am using has a functional menu but then i published the file , all the functions in the swf file isnt working. why that? the swf file works fine alone, but then it is input into the transition, it doenst work.

i think the qn that i am really concern about is loading external movie clips. why is the movieclip works well as an independent .swf file but when the codes in transition calls it, the movie clip cant play!!!argh!!!

there is nothing to stop it from working. do i have to add a \_root or \_parent??

---

<div class="post-metadata">

**Author:** ![Gupps](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@Gupps](https://forum.kirupa.com/u/Gupps)\
**Post date:** [August 12, 2004, 11:50am UTC](https://forum.kirupa.com/t/question-about-preloader-and-transtition/119092/6 "2004-08-12T11:50:57Z")

</div>

yeah i suggest you try using \_root if that doesn’t work try \_parent there is another post that newhopekenny is helping us understand what is the correct pathing issue do a search
