Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! Please, important! Help on music not playing on Full Flash site.

Status
Not open for further replies.

BlazinVES

Technical User
Aug 30, 2006
6
US
When I preview the site in Flash, the music plays great and everything. When we uploaded everything to the net, the music player doesnt work. We uploaded the "song" folder with the songs, but still nothing.

Here is the website :
Also, here is the action script code: i=0;
sonando="false";
listaCanciones= new Array("songs/1.mp3","songs/2.mp3","songs/3.mp3","songs/4.mp3","songs/5.mp3","songs/6.mp3");
sonarCancion();
equal_mc.gotoAndPlay("play");
equal1_mc.gotoAndPlay("play");
equal2_mc.gotoAndPlay("play");

function sonarCancion(){
if (sonando=="false"){
song.stop();
song=new Sound();
song.loadSound (listaCanciones,true);
song.setVolume(10);
song.onSoundComplete=function(){
song.loadSound (listaCanciones,true);
song.setVolume(10);
}
equal_mc.gotoAndPlay("play");
equal1_mc.gotoAndPlay("play");
equal2_mc.gotoAndPlay("play");
sonando="true";
} else {
song.stop();
sonando="false";
}
}
function pararCancion(){
song.stop();
sonando="false";
equal_mc.gotoAndPlay("stop");
equal1_mc.gotoAndPlay("stop");
equal2_mc.gotoAndPlay("stop");
}
function siguienteCancion(){
if (i<(listaCanciones.length-1)){
i++;
}else {
i=0;
}
sonando="false";
sonarCancion();
}
function anteriorCancion(){
if (i>0){
i--;
}else{
i=listaCanciones.length-1;
}
sonando="false";
sonarCancion();
}


Help is much appreciated as we have a deadline to fully launch the site.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top