A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Unload or remove external swf

  1. #1
    Member
    Join Date
    May 2007
    Location
    London
    Posts
    53

    Unload or remove external swf

    Hi.

    I have a button in a MC that uploads a external swf into a different MC. I then want to click on the external swf or the MC it is in (not sure how it is done) to remove it? I have attached the file so you can see what i mean because i'm not very good at explaining myself.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Location
    IT
    Posts
    213
    on (release) {
    unloadMovie(this);
    }

    Is it that you mean?

    giano

  3. #3
    Member
    Join Date
    May 2007
    Location
    London
    Posts
    53
    where do i put that code?

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Location
    IT
    Posts
    213
    unloadMovie(this);

    instead of

    unloadMovie("dog");

  5. #5
    Member
    Join Date
    May 2007
    Location
    London
    Posts
    53
    tried that and it also doesn't work. It must be something to do with the fact that it is within a MC?

  6. #6
    Senior Member
    Join Date
    Jan 2001
    Location
    IT
    Posts
    213
    What version of Flash r u using?

  7. #7
    Senior Member
    Join Date
    Jan 2001
    Location
    IT
    Posts
    213
    well it works for me...have a look to the attachment
    Attached Files Attached Files

  8. #8
    Member
    Join Date
    May 2007
    Location
    London
    Posts
    53
    thanks heaps you're a star!

  9. #9
    Senior Member
    Join Date
    Jan 2001
    Location
    IT
    Posts
    213
    you're welcome!

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