# Unload issue with flash component

**URL:** https://forum.kirupa.com/t/unload-issue-with-flash-component/90739
**Category:** Uncategorized
**Created:** [May 20, 2005, 8:08am UTC](https://forum.kirupa.com/t/unload-issue-with-flash-component/90739 "2005-05-20T08:08:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![worm](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/worm/32/235_2.png) [@worm](https://forum.kirupa.com/u/worm)
#### Post date: [May 20, 2005, 8:08am UTC](https://forum.kirupa.com/t/unload-issue-with-flash-component/90739/1 "2005-05-20T08:08:17Z")

</div>

I’m using a flash component (Media Playback) to play some videos on my site. How it works is when a user clicks a particular button, it creates an empty movieclip which loads an external swf with the Video (flash component and all).  
The problem is whenever i try to unload it to play another movie clip by clicking another button with the following code

```auto

on (release) {
	mov5.unloadMovie("bb2.swf");
	createEmptyMovieClip("mov6", 1);
	mov6.loadMovie("bb.swf");
	mov6._x="131";
	mov6._y="-13";
}

```

I run into problems. The other movie loads but the original one being played doesnt unload. Anybody have any idea what I’m doing wrong?
