# Sound problem

**URL:** https://forum.kirupa.com/t/sound-problem/267358
**Category:** Uncategorized
**Created:** [July 31, 2008, 4:47am UTC](https://forum.kirupa.com/t/sound-problem/267358 "2008-07-31T04:47:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Brutium](https://avatars.discourse-cdn.com/v4/letter/b/c6cbf5/32.png) [@Brutium](https://forum.kirupa.com/u/Brutium)
#### Post date: [July 31, 2008, 4:47am UTC](https://forum.kirupa.com/t/sound-problem/267358/1 "2008-07-31T04:47:54Z")

</div>

[FONT=Arial][SIZE=2]Hello everyone![/SIZE][/FONT]

[FONT=Arial]I hope someone will help me. I am trying to play a sound clip using actionscript 2 the code I am using is attached to a button and the code I used is the following.[/FONT]

on (release) {  
mysound = new Sound(this);  
mysound.attachSound(“titleofsoundclip”);  
mysound.start(0, 99);  
}

My problem is that the sound clip loops and I do not want it to do so. I have other animations going on on the stage. I tried to place the stop(); command but I do not seem to be able to make it stop after my sound has played once.

Any suggestions?

Thanks

Brutium
