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.
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.