# Help making a sound come after another sound

**URL:** https://forum.kirupa.com/t/help-making-a-sound-come-after-another-sound/205780
**Category:** flash
**Created:** [November 1, 2006, 10:26pm UTC](https://forum.kirupa.com/t/help-making-a-sound-come-after-another-sound/205780 "2006-11-01T22:26:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Darren\_E](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Darren\_E](https://forum.kirupa.com/u/Darren_E)
#### Post date: [November 1, 2006, 10:26pm UTC](https://forum.kirupa.com/t/help-making-a-sound-come-after-another-sound/205780/1 "2006-11-01T22:26:50Z")

</div>

I’m still in my ActionScript infancy and I need a bit of help- I’d like to be able to make a sound play followed by a different sound.

My script below shows “tiltout” wave play on (rollOut) but I would like 1 instance of (“mechwav”) to play following it.

The script following } else { works exactly like I want it to…I just need to figure out the CORRECT way to make an instance of “mechwav” play following “tiltout”

I know I’m overlooking something VERY simple but for a noob like me, it’s a little frustrating.

on (rollOut) {  
playBackwards( serv\_mc );  
sound = new Sound (this);  
if (serv\_mc.\_currentframe == serv\_mc.\_totalframes) {  
sound.attachSound(“tiltout”);  
sound.start (0,0);  
} else {  
sound.attachSound(“mechwav”);  
sound.start (0,2);  
}  
} on (release) {  
if (serv\_mc.\_currentframe == serv\_mc.\_totalframes) {  
gotoAndPlay(“Services2”);  
}  
}
