# I need help to stop my movie when I click on different sound button

**URL:** https://forum.kirupa.com/t/i-need-help-to-stop-my-movie-when-i-click-on-different-sound-button/234822
**Category:** flash
**Created:** [August 6, 2007, 2:03pm UTC](https://forum.kirupa.com/t/i-need-help-to-stop-my-movie-when-i-click-on-different-sound-button/234822 "2007-08-06T14:03:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oavs](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/oavs/32/1847_2.png) [@oavs](https://forum.kirupa.com/u/oavs)
#### Post date: [August 6, 2007, 2:03pm UTC](https://forum.kirupa.com/t/i-need-help-to-stop-my-movie-when-i-click-on-different-sound-button/234822/1 "2007-08-06T14:03:11Z")

</div>

Hi

First of all I am no expert so I need step by step info please.

I have a flash animation with three different icons which play individual audios.

In one of the movies called ‘bird’ that I want to stop, I have in the first frame following code.

```auto
x = new Sound();
x.loadSound("mp3/cocky.mp3", true);

```

which works fine.

This movie ‘bird’ is then inside another movie called ‘container’ , any everything then sits in one scene.

In the movie ‘container’ I have three buttons which play individual sounds using same ‘x.loadSound("…’ method.

You first see and hear the animation of the ‘bird’ and it’s sound playing straight away. After a 30 sec sound and the animation stops.

All working so far fine up to this point…  
But What I need is , when the user clicks on one of the other buttons to play the sound WHILE the ‘bird’ is still playing, I want to stop the 'bird ’ animation.

At the moment it stops the sound of the ‘bird’ but NOT the ‘bird’ animation. Naturally If I wait 30 sec ‘bird’ animation stops and no problems there after. Only if and when user clicks before the 'bird ’ animation is the problem.

I know I went explained the way I understand it and hope you do too .

I could send the fla file but its 2.6mb. Please ask if you think you could help.

Can anyone help please?

Thanks in advance  
Don’t forget I am a novus flasher 🙂
