Cant unload
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Cant unload

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    2

    Red face Cant unload

    im so noob and I need help plz

    my poor programing is this..

    loadMovie("portfolio.swf", 9);

    it works fine but when I try to unload that it doesn't happens

    I did this..

    on (press) {play();

    unloadMovie("portfolio.swf");

    }


    but nothing happens, do I need to add the level? or add .this?

    plz help..

  2. #2
    Senior Member
    Join Date
    May 2002
    Posts
    1,017
    if you are loading into a level (ie 9) you need to use loadMovieNum:

    loadMovieNum("portfolio.swf", 9);

    To unlaod it use unloadMovieNum:

    unloadMovieNum(9);
    while (2+2 == 4) {
    drink ("bourbon");
    }
    gotoAndStop("bed");

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

Poll by Flashkit.com