Question about preloader and transtition

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

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

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

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

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??

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