Hi im trying to make a mp3 player in flash 8. I have got the player working with buttons etc just I want to make it autoplay... I will post my actionscript below, thanks Liam.
For the play button I use
For the pause button I use
For the stop button I use
And the track loading bit I use
Any help in making the track autoplay will be great, I don't mind if I have to start it all again im pretty new to all this. Thanks again
For the play button I use
Code:
on ({
sound.start(cue);
}
Code:
on(release){
cue=Math.round (sound.position/1000);
sound.stop();
}
Code:
on(press){
stopAllSounds();
cue=0;
}
Code:
sound=new Sound();
sound.loadSound("mymusic.mp3");
stop();