A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Unloading Multiple MC's in AS2

  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    19

    Unloading Multiple MC's in AS2

    AS2. So I have several buttons that load external swfs into their own movie clips, but each movie clip needs to close before the next one is loaded. When I tried doing this:

    on (release)
    {
    fnShowTab(4);
    unloadMovie("emptymc", "mcprint");
    }

    It just says 'Wrong number of parameters; unloadMovie requires exactly 1'

    Is there a way around this?

    Thanks!

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    where emptymc is the instance name of the movieclip -

    emptymc.unloadMovie();

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