Hola, quiero ver si alguien me puede ayudar, mi problema es el siguiente: baje un .fla que carga mp3 mediante una lista.txt para reproducirlos, todo funciona muy bien pero cuando cargo ese .swf como archivo externo dentro de otra movie deja de funcionar no aparecen los nombres de las canciones y mucho menos se escuchan, se que tiene que ver con la ruta pero como voy empezando con actionscript no se donde hay que modificarle, si alguien me puede ayudar se lo agradeceré infinitamente.
El código es este:
Código:
this.onEnterFrame = function () {
sload = mySound.getBytesLoaded();
stotal = mySound.getBytesTotal();
percentload = (Math.round((sload/stotal) * 100)) + "%";
if (counter < 2) {
counter = counter + 1;
loadVariablesNum("flashmusic.txt", 0);
songtitle = musictitle.split(":");
count2 = 0;
songplaying = (count2+1) + " - " + songtitle[count2];
}
if (stopped!=true) {
mySoundDuration=Math.round(_root.mySound.duration/1000);
mySoundPosition=Math.round(_root.mySound.position/1000);
texttime = mySoundPosition;
timemin = 0;
if (texttime < 10) {
texttime = "0" + texttime;
}
while(texttime >= 60) {
texttime = texttime - 60;
timemin = timemin + 1;
if (texttime < 10) {
texttime = "0" + texttime;
}
}
}
timeformat = timemin + ":" + texttime;
//Reverse
if (REV==1 && mySoundPosition>0) {
_root.mySound.stop();
mySoundPosition=mySoundPosition-1;
_root.mySound.start(mySoundPosition,0);
}
revButton.onPress = function () {
REV=1;
mySoundPosition=Math.round(_root.mySound.position/1000);
//
}
revButton.onRelease = function () {
REV=0
}
//Fast Forward
if (FF==1 && mySound.position<mySound.duration) {
_root.mySound.stop();
mySoundPosition=mySoundPosition+1;
_root.mySound.start(mySoundPosition,0);
}
FFButton.onPress = function () {
FF=1;
mySoundPosition=Math.round(_root.mySound.position/1000);
}
FFButton.onRelease = function () {
FF=0
}
}
DESDE YA GRACIAS