Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Posts
    6

    Need help with ActionScript?

    I had to import a swf movie using loadmovie with actionscript. Except I have it at the end of my and it keeps playing when the movie ends. How do I unload the movie.

  2. #2
    Join Date
    Oct 2002
    Location
    Leicester, UK
    Posts
    3,335
    You use use unloadMovie().

    Code:
    loadMovie("myFile.swf", "_root.myMovie");
    .
    .
    .
    unloadMovie("_root.myMovie");
    Last edited by keithathaide; 07-18-2003 at 03:22 AM.
    Forget the username, call me Keith

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    201
    give it an instance name and check to see if it is at the last frame, write a function to unload it when it reaches that frame.

  4. #4
    Join Date
    Jan 2003
    Location
    beyond space and time
    Posts
    939
    if your loading a movie why dont you just put a stop frame on the last frame of the MC your loading

Posting Permissions

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