# Embedded clip won't unload

**URL:** <https://forum.kirupa.com/t/embedded-clip-wont-unload/296987>\
**Category:** Uncategorized\
**Created:** [September 23, 2009, 8:14pm UTC](https://forum.kirupa.com/t/embedded-clip-wont-unload/296987 "2009-09-23T20:14:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Numinus](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@Numinus](https://forum.kirupa.com/u/Numinus)\
**Post date:** [September 23, 2009, 8:14pm UTC](https://forum.kirupa.com/t/embedded-clip-wont-unload/296987/1 "2009-09-23T20:14:44Z")

</div>

So i have a button that when clicked loads a site address (a youtube video) into a target movieclip. Anther button that should unload it doesn’t work. The video goes away, but you can still hear the sound, and it cause slowness and other loading problems.

;(;(;(;(;(;(

Here’s the code:

//// video player ////  
vIdeoplayer.cLoseVideo.onRelease = function(){  
trace (“Unload”);  
vIdeoplayer.\_x = 815;  
vIdeoplayer.targetie.unloadMovie();  
}  
//// video player ////

//// portaworld ////  
videothumbs.captionie.portaworldPLay.onRelease = function(){  
trace (“Playing”);  
vIdeoplayer.\_x = 0;  
vIdeoplayer.targetie.loadMovie (“[http://www.youtube.com/v/GD21Rpf2pgM](http://www.youtube.com/v/GD21Rpf2pgM)”, this);  
}  
//// portaworld ////

HELP!!! ME PLEASE!!!
