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:
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);
}