A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Controlling movieclips in loaded levels?!

  1. #1
    Senior Member
    Join Date
    Jan 2001
    Posts
    136

    Controlling movieclips in loaded levels?!

    Hi.
    Here is the example, I have interface with buttons..every button has a submenu with 4 buttons. As I click one of the submenu buttons it should load external *.swf to a leveln. Even more, every submenu button must direct to a different frame in that loaded leveln *.swf.
    My problem is that if I am trying to make the loaded movie to go to frame 2...I just cant get it work.
    Here is the AS I have assigned to a button what has to load an external *.swf to level 4 and open frame 1 in buttonbar movie clip.

    on (press) {
    loadMovieNum("5.1.swf", 4);
    _level4.buttonbar.gotoAndStop(1);
    }

    With that I am having no problems. Problems occur when I am adding a script for second button.

    on (press) {
    loadMovieNum("5.1.swf", 4);
    _level4.buttonbar.gotoAndStop(2);
    }

    This should load *.swf called 5.1 to level 4 and stop in a second frame in bottonbar movieclip.
    But with this script, it aint working. It goes to 1'th frame in buttonbar and stops there, but I want it to go to 2'd frame and stop there. So I am suspecting that here is something wrong with AS.
    Any ideas...any help would be greatly apprecciated. Thank you for ur time
    Last edited by Tautz; 09-11-2003 at 09:14 PM.
    It is not our abilities what we truly are, but the choices we make...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center