dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Load /unload movie

  1. #1
    Junior Member
    Join Date
    Jan 2003
    Posts
    14

    Load /unload movie

    If I load an swf into a MC, and then want another one to load in that same MC, should I unload the first one first, or is there no difference? Ive tried to unload the movie already there, but I cannot seem to get it right. Ive tried it like this(on a button)

    on(release){
    _root.contents.unloadMovie("portfolio.swf");
    }

    Am I all wrong or what??

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Loading a new external movie in the same container clip will automatically remove the previous one. No need to unload it.

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