PDA

View Full Version : How to make prev next pause play buttons for Mp3s...


MikeC
03-08-2006, 04:09 AM
Hi,

I'm sooooooooo new to Flash & I just want to know how to create those buttons (prev, next, pause, play) along with dynamic texts for the mp3s just like the ones you see on www.linkinpark.com/site.php ,.

I just want to know the the details & codes for creating the EXACT buttons & text for the mp3s. I have approx. 8~10 mp3s that I want to put on this exact player (or buttons).

Also, how the 1st mp3 ends and then jumps into the next song without pressing next buttons (just like the website).

I tried cowfly.org's attachsound method and it worked fine but it didnt give u the instructions of how to create "prev & next" buttons...

Again I'm really new to this so if someone can explain it step by step that would be perfect. Again thank you for your time,

thanx a bunch!

Mike

guiltfilter
03-15-2006, 02:09 AM
Give your sound a Linkage ID of audio1 and then place your actions on frame 1.

stop();
var my_sound01 = new Sound();
my_sound01.attachSound("audio1");
my_sound01.onSoundComplete = function() {
_root.nextFrame();
trace("my sound has completed");
};
my_sound.start();


Have your next frame do the same but with a new sound and so on.