# Follow Kennybellew tuts, still cant get it working

**URL:** <https://forum.kirupa.com/t/follow-kennybellew-tuts-still-cant-get-it-working/132530>\
**Category:** Uncategorized\
**Created:** [December 29, 2004, 4:48pm UTC](https://forum.kirupa.com/t/follow-kennybellew-tuts-still-cant-get-it-working/132530 "2004-12-29T16:48:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatnslow](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@fatnslow](https://forum.kirupa.com/u/fatnslow)\
**Post date:** [December 29, 2004, 4:48pm UTC](https://forum.kirupa.com/t/follow-kennybellew-tuts-still-cant-get-it-working/132530/1 "2004-12-29T16:48:28Z")

</div>

Hey, I have tried putting together an simple audio player by following the [kenneybellew.com](http://kenneybellew.com) tutorials, but cant get it to work right. The song starts when it has finished streaming alittle of the mp3, and the off/pause button works, but I cant get it to start/play again from the pause position…

Can anyone help?

Heres the AS:

```auto
 //Load myMusic, load mp3
myMusic = new Sound(myMusicMc);
myMusic.loadSound(" **** _the_world.mp3", true);
playing = true;
//Repeat
myMusic.onSoundComplete = function() { 
trace("MyMusic has completed");
playing = true;
myMusic.start()
}
//Hiding Play button
play_btn._visible = 0;
//Controlls; on/start, pause/off
play_btn.onRelease = function() {
if (playing != true) {
playing = true;
pause_btn._visible = 1;
play_btn._visible = 0
trace ("Play button pressed")
myMusic.start(myMusicPosition, 0);
}
};
pause_btn.onRelease = function() {
if (playing = true) {
playing = false;
pause_btn._visible = 0
play_btn._visible = 1
trace ("Pause/off button pressed");
myMusicPosition = myMusic.position/1000;
myMusic.stop();
}
};

```

I know the as may be set up alittle clumsy, but not an great actionscripter…

Thanks,  
fatnslow
