# Unload .swf button and rollover sound button problems

**URL:** <https://forum.kirupa.com/t/unload-swf-button-and-rollover-sound-button-problems/314406>\
**Category:** flash\
**Created:** [September 28, 2010, 4:10am UTC](https://forum.kirupa.com/t/unload-swf-button-and-rollover-sound-button-problems/314406 "2010-09-28T04:10:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hackezkk](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@Hackezkk](https://forum.kirupa.com/u/Hackezkk)\
**Post date:** [September 28, 2010, 4:10am UTC](https://forum.kirupa.com/t/unload-swf-button-and-rollover-sound-button-problems/314406/1 "2010-09-28T04:10:00Z")

</div>

Hi there…i got two problems actually…

one…how to use unload movie code in as 3? it is like this

![](http://img28.imageshack.us/img28/5404/flashunload.jpg)  
When user click button on main.swf, pop up.swf will be load. then user click X button, i want to pop up.swf unload from main.swf…How?

One more…  
When the mouse cursor roll over the button, one sound will play.after user leave the button area…how to stop the sound? because if the sound is too long, the sound seems to play till the sound duration finish…  
 ![](http://img197.imageshack.us/img197/8596/flashbutton.jpg)
