FORUMS: list search recent posts

jukebox streaming

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Hovenweep
jukebox streaming
on May 25, 2007 at 2:11:09 pm

I'm new to Flash and could use some help.

I'm creating a Flash Jukebox.

Everything works when I test it on my computer, but when I upload it plays the first two songs without waiting until the first song is finished. If you push stop, then play (which calls the same function) it works.

http://d187887.u31.nimbit.com/

It seems to be a problem with the downloading process.

Thanks so much.
I've attached the function below.

Ryan


function playTrack1(){
stopAllSounds();
var track1:Sound = new Sound();
track1.loadSound("mp3s/RichMansWorld.mp3", true);
changeTitle (title1Y);
playingTrack = 1;
star.onEnterFrame = function() {
if (track1.duration == track1.position){
stopAllSounds();
playTrack2();
{ delete star.onEnterFrame }
}
}
}

playTrack1();

Ryan Hovenweep
lumeneclipse.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]