# Question on one of Pom's tutorials (please help)

**URL:** https://forum.kirupa.com/t/question-on-one-of-poms-tutorials-please-help/40084
**Category:** flash
**Created:** [January 14, 2004, 2:31pm UTC](https://forum.kirupa.com/t/question-on-one-of-poms-tutorials-please-help/40084 "2004-01-14T14:31:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![enterspacecapsu](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@enterspacecapsu](https://forum.kirupa.com/u/enterspacecapsu)
#### Post date: [January 14, 2004, 2:31pm UTC](https://forum.kirupa.com/t/question-on-one-of-poms-tutorials-please-help/40084/1 "2004-01-14T14:31:43Z")

</div>

hey guys in kinda in a sticky situation on Pom’s tutorial on “Loading Techniques” link ([kirupa.com - Loading Techniques: Flash 5 & Flash MX](http://www.kirupa.com/developer/mx/loading.htm))

It involves making a button with instance name “but” and then adding an actionscript in another layer that goes liek this:

> 

but.onPress = function (){  
\_root.createEmptymovieClip(“container”, 1);  
loadMovie(“loaded.swf”, “container”);  
container.\_x = 150 ;  
container.\_y = 20 ;  
}

i had a go at this concept, and it worked great…perfect…  
Except for one thing, im trying to find a way to UNLOAD this loaded.swf movie that was just loaded…I need a code for this to make my flash site so if anyone can please post an answer, id be really much appreciated.

thanks in advance.😛

[COLOR=royalblue](edit: sorry, i accidentally overlooked the flash actionscript catergorey where i was supposed to post this, sorry)[/COLOR]
