Flash mp3 player help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deadliam
    New Member
    • Sep 2007
    • 1

    Flash mp3 player help!

    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

    Code:
    on ({
    sound.start(cue);
    }
    For the pause button I use

    Code:
    on(release){
    cue=Math.round (sound.position/1000);
    sound.stop();
    }
    For the stop button I use

    Code:
    on(press){
    stopAllSounds();
    cue=0;
    }
    And the track loading bit I use

    Code:
    sound=new Sound();
    sound.loadSound("mymusic.mp3");
    stop();
    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
Working...