Buttons in externally loaded MC's triggering actions in the main MC?

Hi guys,

using this tut again:

http://www.kirupa.com/developer/mx/preloader_transition.htm

I have the main MC loading in an external MC which contains a button.

When the button in the external MC is pressed, I want it to load in another external movie via the main MC, so it plays the transition MC again?

This is the AS that controls the buttons in the main MC. Do I just need to specify something extra in this?


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

Hope that makes sense!

Thanks

can anyone help with this?

anyone at all?

I’m still trying to get this thing working.

I thought it’d be fairly staight forward…

I just need to get a button in the externally loaded MC to trigger the preloader and play another external MC in the main MC. Replacing the MC with the button.

Any help at all is appreciated.

Thanks

well…

I still haven’t got this button AS sussed but I have managed a work around.

Baiscally, I’ve copied the contents MC, Transition MC and the AS from the main movie, and pasted them into the external MC.

So now when the button is pressed on the external MC, it loads the new movie into itself, using its own transition. It just looks as though it’s using the main MC’s transition!!!

Simple really, not ideal, but it works.