# AS3 Movieclip and Main timeline trouble

**URL:** <https://forum.kirupa.com/t/as3-movieclip-and-main-timeline-trouble/323021>\
**Category:** flash\
**Created:** [June 14, 2011, 5:08am UTC](https://forum.kirupa.com/t/as3-movieclip-and-main-timeline-trouble/323021 "2011-06-14T05:08:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nuwa](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Post date:** [June 14, 2011, 5:08am UTC](https://forum.kirupa.com/t/as3-movieclip-and-main-timeline-trouble/323021/1 "2011-06-14T05:08:56Z")

</div>

Hi all… im new here.  
im having some AS3 trouble and was hoping you guys may know the answer.  
im doing a sort of a website thingi on flash for one of my college projects.

i have the main menu buttons in the main timeline and the contents of every page inside movieclips. there is one movieclip which triggers a sound clip. what i want to do is to make that sound stop when someone navigates away from the page (that is for the sound to stop when a button in the main timeline is clicked)

anyone knows how to do it?
