# \[Flash 8\] How do I get rid of a movieclip when I return to the keyframe a second time

**URL:** <https://forum.kirupa.com/t/flash-8-how-do-i-get-rid-of-a-movieclip-when-i-return-to-the-keyframe-a-second-time/249336>\
**Category:** flash\
**Created:** [January 17, 2008, 5:24pm UTC](https://forum.kirupa.com/t/flash-8-how-do-i-get-rid-of-a-movieclip-when-i-return-to-the-keyframe-a-second-time/249336 "2008-01-17T17:24:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjengvall](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@cjengvall](https://forum.kirupa.com/u/cjengvall)\
**Post date:** [January 17, 2008, 5:24pm UTC](https://forum.kirupa.com/t/flash-8-how-do-i-get-rid-of-a-movieclip-when-i-return-to-the-keyframe-a-second-time/249336/1 "2008-01-17T17:24:06Z")

</div>

I have a big Flash project that I want to update with a sort of “Breaking news”-pop up.

I load my pop-up in a movieclip “Target\_MC” simply by adding the action script:

loadMovie(“extra.swf”, Target\_MC);

In my “extra.swf”-file I have a close-button with the action script:

on (release) {

unloadMovie(\_root.Target\_MC);

This works out fine. The thing is that the keyframe where I have the first action script is a place you come back to many times. ANd every time this extra.swf-file pops up… anyoing!

Is there a way to say that the movieclip “extra.swf” should just load once? or not repeat? or disapear the second time?
