# Sound issues

**URL:** <https://forum.kirupa.com/t/sound-issues/224743>\
**Category:** Uncategorized\
**Created:** [May 5, 2007, 12:09am UTC](https://forum.kirupa.com/t/sound-issues/224743 "2007-05-05T00:09:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AngelX](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AngelX](https://forum.kirupa.com/u/AngelX)\
**Post date:** [May 5, 2007, 12:09am UTC](https://forum.kirupa.com/t/sound-issues/224743/1 "2007-05-05T00:09:58Z")

</div>

Morning All,

This is where I am having a problem. I load a sound file and it runs for the expected time (ie my movie is 4 seconds long, the sound runs for 4 seconds). What I am trying to do is have a button on my movie so that I can skip the movie, this in effect should stop the sound from playing.

This is the code on my animation that loads the sound:

```auto
onClipEvent(load) {
IntroSound = new Sound(this);
IntroSound.attachSound("intro.mp3");
IntroSound.start(0, 1);
}

```

And it works perfectly, this is what I have put on my my button to skip through the movie:

```auto
on(release) {
    gotoAndPlay("IntroMovie");
    IntroSound.stop("intro.mp3");
}

```

Skipping to the next movie isn’t an issue. My problem is that the sound keeps playing into the IntroMovie frames, the sound runs the full 4 seconds. I have tested it with the IntroSound.stop("") above the gotoAndPlay, yet it makes no difference.

What am I missing?

Thanks.
