# mp3 player question

**URL:** <https://forum.kirupa.com/t/mp3-player-question/49022>\
**Category:** Uncategorized\
**Created:** [April 19, 2004, 10:21am UTC](https://forum.kirupa.com/t/mp3-player-question/49022 "2004-04-19T10:21:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macneilslt](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@macneilslt](https://forum.kirupa.com/u/macneilslt)\
**Post date:** [April 19, 2004, 10:21am UTC](https://forum.kirupa.com/t/mp3-player-question/49022/1 "2004-04-19T10:21:41Z")

</div>

I’m working on making a streaming mp3 player for my site…  
i’m at the very basic stage, with only a play/pause button, but i have a problem…my play button works when i start the song, then if i pause the song, it won’t start to play again. Here is my AS so far:

```auto

mySound = new Sound();
mySound.loadSound("track04.mp3",true);

pauseButton.onPress = function() {
	cue = Math.round(mySound.position/1000);
	mySound.stop();
}

playButton.onPress = function() {
	mySound.start(cue,1);
}

```
