# New sound

**URL:** <https://forum.kirupa.com/t/new-sound/16243>\
**Category:** design\
**Created:** [March 22, 2003, 7:10pm UTC](https://forum.kirupa.com/t/new-sound/16243 "2003-03-22T19:10:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatmammal](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@fatmammal](https://forum.kirupa.com/u/fatmammal)\
**Post date:** [March 22, 2003, 7:10pm UTC](https://forum.kirupa.com/t/new-sound/16243/1 "2003-03-22T19:10:56Z")

</div>

I have my mp3’s setup on 2 keyframes… one mp3 on keyframe 1 the next on keyframe 2. I am using this code on the keyframes

1. mySound = new Sound();  
mySound.loadSound(“firstsong.mp3”, true);
2. mySound = new Sound();  
mySound.loadSound(“othersong.mp3”, true);

Is there a way to make the code trigger to goto keyframe 2 and start up the streaming of that song… after the first song is done?

thanks  
joel

---

<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 22, 2003, 10:08pm UTC](https://forum.kirupa.com/t/new-sound/16243/2 "2003-03-22T22:08:25Z")

</div>

```auto
mySound.onSoundComplete = function() {
	do whatever you want;
}

```

😉 =)
