A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Weird unload level problem....

  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    87

    Weird unload level problem....

    Hi
    I have load outside swf with loadMovieNum("outMc", 5); in _level5. and _level6.
    In the _level5 swf i have this script
    code:

    loadMovieNum("outMc5", 6);


    that loads the outside swf in _level6.
    So in total i have 3 swf in my movie.. the main movie the swf loaded in lv5 and the swf loaded in lv6.

    In _level5 i have a button "home" with this script
    code:
     
    on (release) {
    _level0.gotoAndPlay(250);
    }



    on _level0 frame 250 i have this script
    code:

    unloadMovieNum(5);
    unloadMovieNum(6);



    All work perfect, BUT if i press the button "home" when _level6 mc is preloading, the root just play on AND on ,ignoring all the actions and stop actions.
    If i press the button "home" after the _level6 mc preloader is done all work perfect.
    Working on this problem over an week now,trying all i could think of ,but cant make it work.
    If u have any ideea pls help me couse my stupid brain cant fiind any good solutions.

    Thank You
    Last edited by maydays; 07-06-2005 at 05:03 AM.

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    87
    here is the problem description again, this time with an example.

    i have this action on stage at frame 60
    code:

    loadMovieNum("web.swf", 6);
    stop();



    this action on a button
    code:

    on (release) {
    unloadMovieNum(6);
    }


    if u try to press the button while the movie is preloading the _root for some reason starts to play.

    here is the example: link
    try to hit the button when mc is preloading
    after mc finished preloading the action from button works ok

    here are the flas :FLA

    Please take a look and tell me what do u think ,cause' i have no idea why this is happening

    thank you.

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