# Playing Sounds using ActionScript

**URL:** <https://forum.kirupa.com/t/playing-sounds-using-actionscript/206397>\
**Category:** flash\
**Created:** [November 7, 2006, 8:55pm UTC](https://forum.kirupa.com/t/playing-sounds-using-actionscript/206397 "2006-11-07T20:55:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lobo\_](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@Lobo\_](https://forum.kirupa.com/u/Lobo_)\
**Post date:** [November 7, 2006, 8:55pm UTC](https://forum.kirupa.com/t/playing-sounds-using-actionscript/206397/1 "2006-11-07T20:55:22Z")

</div>

Hi,

I found this tutorial ([http://www.kirupa.com/developer/actionscript/sound.htm](http://www.kirupa.com/developer/actionscript/sound.htm)) and is great but I want to play an intro 1 time and after the intro music is over play my loop. How can I achive this?

```auto
on (release) {
   kirupaSound = new Sound(this);
   kirupaSound.attachSound("coolsound");
   kirupaSound.start(0, 99);
}

```

Thank you on advance.:thumb:  
Lobo
