# How to stop sound in external swf?

**URL:** <https://forum.kirupa.com/t/how-to-stop-sound-in-external-swf/277396>\
**Category:** Uncategorized\
**Created:** [December 11, 2008, 2:36pm UTC](https://forum.kirupa.com/t/how-to-stop-sound-in-external-swf/277396 "2008-12-11T14:36:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaa](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@kaa](https://forum.kirupa.com/u/kaa)\
**Post date:** [December 11, 2008, 2:36pm UTC](https://forum.kirupa.com/t/how-to-stop-sound-in-external-swf/277396/1 "2008-12-11T14:36:35Z")

</div>

hi  
i have cs4 and using as3, i loading videos by code

var thisRequest:URLRequest = new URLRequest(“content/tutorials/camcad\_update/viewer.swf”);  
var thisLoader:Loader = new Loader();  
thisLoader.x=300;  
thisLoader.y=270;  
stage.addChild(thisLoader);  
thisLoader.load(thisRequest);

but i want to play it only in this place,this frame,everywhere else i want to unload it, how to unload it when user will leave this area?..

i have problem with unloadandstop function to, it is working only once in project, i mean if you go back to the same video the the unloadandstop function didnt work,and i dont have video but i still have sound from it  
is there any solution for this?  
thanks you for help  
regards
