# Concept question. Can you think of a reason why

**URL:** <https://forum.kirupa.com/t/concept-question-can-you-think-of-a-reason-why/320686>\
**Category:** Uncategorized\
**Created:** [March 30, 2011, 11:26am UTC](https://forum.kirupa.com/t/concept-question-can-you-think-of-a-reason-why/320686 "2011-03-30T11:26:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichGags](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/richgags/32/685_2.png) [@RichGags](https://forum.kirupa.com/u/RichGags)\
**Post date:** [March 30, 2011, 11:26am UTC](https://forum.kirupa.com/t/concept-question-can-you-think-of-a-reason-why/320686/1 "2011-03-30T11:26:32Z")

</div>

I have an XML site that has 6 pages. All SWFs loaded into a main swf. On one of the pages I put a music player. Works great. Problem is, when I leave that page and go to another one, the music continues to play. Its like the SWF does not get unloaded completely. If I try to go back to that page, another instance is created and 2 songs are now playing!

Why is this happening? How would I ensure it gets unloaded whenever a new one is loaded?

Thanks.  
Rich
