A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: unload movie problem

  1. #1
    Junior Member
    Join Date
    Mar 2006
    Posts
    5

    unload movie problem

    Hi everybody

    I wonder if there is script that could unload that movie that I am in.
    My main movie is in level 5 and the rest of my main navigatonbuttons are in level 10. So if i am in home.swf and are klicking on news.swf, the home swf must unload because the movieclip that are playing before the new ones to enter is not working. If I put an invisible button on top of the original on home.swf, and put action loadmovie.swf then I have to click twice on the newsbutton until news.swf is playing.

    I need the same thing to happen to every single one of the other buttons in the row. The movieclipe is the name of every". swf" that is going to small pieces.

    Is there anybody that got a good idea how to make this work?

    Thanks.

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    use -
    myMovieClip.unloadMovie()
    // removes the contents of a movie clip instance.
    or
    unloadMovieNum(level)
    // removes a loaded movie from a level of the Flash Player

  3. #3
    Junior Member
    Join Date
    Mar 2006
    Posts
    5
    Thanks.
    I´ll try

    Håkan

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