# Dynamic Files and Transitions for blank\_mc within blank\_mc

**URL:** <https://forum.kirupa.com/t/dynamic-files-and-transitions-for-blank-mc-within-blank-mc/29365>\
**Category:** flash\
**Created:** [August 26, 2003, 12:44am UTC](https://forum.kirupa.com/t/dynamic-files-and-transitions-for-blank-mc-within-blank-mc/29365 "2003-08-26T00:44:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![labgraphics](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@labgraphics](https://forum.kirupa.com/u/labgraphics)\
**Post date:** [August 26, 2003, 12:44am UTC](https://forum.kirupa.com/t/dynamic-files-and-transitions-for-blank-mc-within-blank-mc/29365/1 "2003-08-26T00:44:57Z")

</div>

I am working on a site and was looking for a better transition between movies that were linked to the same blank\_mc (my current method works fine, but I liked the smooth transition found in your tutorial). I looked at your tutorial for dynamic files and transitions. It works great. However, it only seems to work when I test the scene itself. When I test the whole movie it does not function.

I have three levels. The first level is the main movie with the main buttons. All of these buttons are linked to a blank\_mc. One movie in particular has another blank\_mc that the submenu buttons refer to. I used the tutorial for this movie. What I realized was, the \_root command is conflicting with the \_root command in the main movie.

This is the actionscript used for the main buttons on level 0 of the site.  
on (release) {  
loadMovie(“star\_services.swf”, \_root.blank\_mc);  
}

In regards to the actionscript for the newly revised movie, I have followed the tutorial to the t.

How can I avoid this? Is there another command I can use?

I am a graphic designer who has broken into the webdesign realm. I taught myself html, dhtml, javascript and flash mx with the use of actionscript. I am still shaky when it comes to understanding the math in actionscript. I have learned much from your tutorials primarily due to the sections in which you explain the meaning of the code line by line. I have yet to find this on any other site.

Can you help me with this dilemma?  
The following is the tutorial I referenced.  
[http://www.kirupa.com/developer/mx/preloader\_transition.htm](http://www.kirupa.com/developer/mx/preloader_transition.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 2:40am UTC](https://forum.kirupa.com/t/dynamic-files-and-transitions-for-blank-mc-within-blank-mc/29365/2 "2003-08-26T02:40:28Z")

</div>

Wait im geting confused… are you using my method to load into level instead of targeting an empty movie clip?

And about your submenu problem, can you detail it more?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 6:39am UTC](https://forum.kirupa.com/t/dynamic-files-and-transitions-for-blank-mc-within-blank-mc/29365/3 "2003-08-26T06:39:40Z")

</div>

Claudio,

First, thankyou for a quick response.

Yes, I referenced your tutorial because I am trying to learn more about file management and bring my flash movie size down some. I have transitioned from movie clip to movie clip just using frames. I have also transitioned using an empty mc as a target. I really liked the method in your tutorial and thought I would give it a try.

(by the way, you lay your tutorials out very well - you are a good teacher)

The problem I was running into was that my main timeline in which my main buttons (home, services, about us, contact us) are located use a \_root command, because I am using a blank\_mc as a target for the main movies (home.swf, services.swf, about\_us.swf, contact\_us.swf).

I implemented your tutorial in one of the services movie where I have another menu containing 7 buttons. I used the transition tutorial here in order to transition from one movie to another. It works when I test the scene for the services\_mc. But when I test the whole movie it does not work.

The code I provided earlier was the code I used for the main buttons.

Have I confused you more?

Sorry if I have done so, I can’t think of a better way to state it.
