# MP3 Player Button Issues

**URL:** <https://forum.kirupa.com/t/mp3-player-button-issues/291075>\
**Category:** flash\
**Created:** [June 24, 2009, 11:44am UTC](https://forum.kirupa.com/t/mp3-player-button-issues/291075 "2009-06-24T11:44:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![malax](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@malax](https://forum.kirupa.com/u/malax)\
**Post date:** [June 24, 2009, 11:44am UTC](https://forum.kirupa.com/t/mp3-player-button-issues/291075/1 "2009-06-24T11:44:24Z")

</div>

Hi, I’ve made a very basic mp3 player with simple play and stop buttons and it works just fine. However I have noticed that when you click play again while the song is playing it plays the song again from the start over the top. Same if you click it 3 times 4 etcetc. I have no idea how to disable the button while the song is playing/until the user clicks stop. This is the code I have on the play button:  
on (release) {  
weddingSound = new Sound(this);  
weddingSound.attachSound(“wedding”);  
weddingSound.start(0, 99);  
}  
This is the final part of a website I built and the owner is holding out on payment until this is done, so any help is greatly appreciated!!  
Thanks
