# Sound fustration in key frame!

**URL:** <https://forum.kirupa.com/t/sound-fustration-in-key-frame/15927>\
**Category:** Uncategorized\
**Created:** [March 19, 2003, 2:57pm UTC](https://forum.kirupa.com/t/sound-fustration-in-key-frame/15927 "2003-03-19T14:57:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LOUIS](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@LOUIS](https://forum.kirupa.com/u/LOUIS)\
**Post date:** [March 19, 2003, 2:57pm UTC](https://forum.kirupa.com/t/sound-fustration-in-key-frame/15927/1 "2003-03-19T14:57:53Z")

</div>

Hi does any one know if i can place a whole mp3 in one keyframe when the play head stops at it will play… when the playhead moves to another keyframe and stops… the first sound will stop and a new one situated on that keyframe will play.

if this is not clear let me explain the project…

ther are four places to visit (in my movie) the garden, the stairway, the hallway. each is sat on a single keyframe… the user simply jumps to each keyframe (gotoAndStop (“garden”); for example i want a mp3 to play in each of the diffrent keyframe areas . i have found that when i place an mp3 in a frame, upon entry of the frame it plays perfectly… but when i go to another frame it still plays…arrrrrrrgh

:hat:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 19, 2003, 3:22pm UTC](https://forum.kirupa.com/t/sound-fustration-in-key-frame/15927/2 "2003-03-19T15:22:06Z")

</div>

read the previous thread :sigh:

and you can load them dynamically too 😉

```auto
// first frame
mySound = new Sound();
// garden frame
mySound.stop();
mySound.loadSound("gardenSound.mp3", true);
// stairway frame
mySound.stop();
mySound.loadSound("stairwaySound.mp3", true);
// hallway frame
mySound.stop();
mySound.loadSound("hallwaySound.mp3", true);

```

=)
