# Need help to unload movie,, when goto frame

**URL:** https://forum.kirupa.com/t/need-help-to-unload-movie-when-goto-frame/312344
**Category:** Uncategorized
**Created:** [July 31, 2010, 3:37pm UTC](https://forum.kirupa.com/t/need-help-to-unload-movie-when-goto-frame/312344 "2010-07-31T15:37:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![harianna](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@harianna](https://forum.kirupa.com/u/harianna)
#### Post date: [July 31, 2010, 3:37pm UTC](https://forum.kirupa.com/t/need-help-to-unload-movie-when-goto-frame/312344/1 "2010-07-31T15:37:12Z")

</div>

hi.

i want to make an presentation, for which… at frame i click a button on frame 9 it goes to frame 10 and plays… like my script on frame 10 is below

this.createEmptyMovieClip(“coalzoom”,5);  
coalzoom.\_x = 80;  
coalzoom.\_y = 60;  
coalzoom.onEnterFrame = spaceLoad;  
function spaceLoad()  
{  
coalzoom.loadMovie(‘swfs/coal2.swf’);  
deletethis.onEnterFrame;  
}  
stop();

and when i click another button to go frame 1 from the same page at 10, placed beside the loading external swf , it goes, but the loaded external swf file is not going , or the external file not cleaning, not removing.

anybody… please help…

[rapidshare.com/files/410201822/flash\_test.rar](http://rapidshare.com/files/410201822/flash_test.rar) here is the fla files,
