CITA(cancrexo @ 7-12-2008 - 07:01 AM)

Hola. El ejemplo (?) que adjuntas es para Flash y entiendo que no lo has hecho tu ¿verdad?

. Habrá que modificarlo para q funcione con Swishmax.
Te indiqué en mi anterior mensaje como empezar: o cargando los datos o cargando el sonido. Deberás aprender a hacer las 2 cosas. Paso a paso amigo.
Para cargar sonidos: busca en el foro información sobre el método
loadSoundPara el XML: puedes hacer una búsqueda del término
firstChild por ejemplo.
Empieza buscando información y si algo no te sale postea.

No te limites a maquetar un reproductor y a postearlo esperando que alguien te haga el trabajo.
Salu2
logre conseguir este codigo con el autor del reproductor y m dijo que solo tenia que cambiarle donde dice error e irme guiando por el
este es el codigo:
CODE
onFrame (1) {
mover = false;
mover = true;
_loc2._root = void(___ERROR__.startDrag(false,0,0,0,___ERROR__._height-___ERROR__._height));
mover = false;
"#ERROR#".onReleaseOutside = void(___ERROR__.stopDrag());
"#ERROR#".onRelease = _t0;
// if/while/for?? !mover
"#ERROR#"._y = ___ERROR__._y-(___ERROR__._y/(___ERROR__._height-___ERROR__._height))*(___ERROR__._height-___ERROR__._height);
onMouseMove._loc2 = _root;
// if/while/for?? !DatosCompletos
un_Sonido = new Array;
titulo_sonido = new Array;
lista_audio = new Array;
lista_audio = _loc3.firstChild.childNodes;
lista_total = lista_audio.length;
// if/while/for?? !(_loc2<lista_total)
"#ERROR#"._y = (inferior.Lista_de_audio.boton._y+_loc2*int(inferior.Lista_de_audio.boton._height))+_loc2;
"#ERROR#".txt = (checkDigits(_loc2+1)+". ")+"#ERROR#";
___ERROR__.cancion_boton.onPress = void(click_en_la_lista(this._parent.getDepth()+1));
_loc2 = (_loc2+1);
// if/while/for?? !(lista_total>14)
lista_de_sonidos = DatosCompletos;
lista_de_sonidos = anarking;
musica = "#ERROR#";
// if/while/for?? !(pausePos>0)
pausePos = 0;
Mi_Sonido = new Sound;
lista_de_sonidos = lista_de_sonidos+1;
Mi_Sonido.onSoundComplete = void(ReproducirSonido());
total = _loc2._parent._parent.Mi_Sonido.getBytesTotal();
geladen = _loc2._parent._parent.Mi_Sonido.getBytesLoaded();
// if/while/for?? !!(geladen==total)
_loc2._parent.load_display = Math.round((geladen*100)/total)+"% Loaded";
_loc2._xscale = Math.round((geladen*100)/total);
_loc2._xscale = 100;
display.indicador._visible = 1;
void("onEnterFrame")._loc2._parent = void("load_display");
// if/while/for?? _loc1<10
_loc1 = "0"+_loc1;
titulo.texto_del_titulo.autoSize = true;
i = ((checkDigits(lista_de_sonidos)+". ")+"#ERROR#")+" ";
titulo.texto_del_titulo.text = ((((((((((((((((((((((((((((((((((((((((((((((((((((((i+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)
+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i)+i
)+i)+i)+i)+i)+i)+i;
// if/while/for?? (titulo._x+titulo._width/2)+8<mascara_de_marquesina._x
titulo._x = (titulo._x-1);
titulo._x = mascara_de_marquesina._x;
publicidad.texto.autoSize = true;
j = choninho.es.tl.... simplemente choninho;
publicidad.texto.text = (((((((((((((j+j)+j)+j)+j)+j)+j)+j)+j)+j)+j)+j)+j)+j)+j;
// if/while/for?? (publicidad._x+publicidad._width/2)+8<mascara_de_publicidad._x
publicidad._x = (publicidad._x-1);
publicidad._x = mascara_de_publicidad._x;
_root.menu = miMenu;
miMenu.customItems._x = i1;
miMenu.customItems._yscale = i4;
stop();
volume = 100;
adictosvip_xml = new XML;
adictosvip_xml.ignoreWhite = true;
adictosvip_xml.onLoad = LeerDatos;
dur = int(Mi_Sonido.duration/1000);
pos = int(Mi_Sonido.position/1000);
playTime = {};
playTime.minutes = int(pos/60);
playTime.seconds = int(pos%60);
playTime.total = (checkDigits(playTime.minutes)+":")+checkDigits(playTime.seconds);
trackTime = {};
trackTime.minutes = int(dur/60);
trackTime.seconds = int(dur%60);
trackTime.total = (checkDigits(trackTime.minutes)+":")+checkDigits(trackTime.seconds);
// if/while/for?? tiempo.load_display==NULL
barra.display = barra.load_display;
tiempo.display = (playTime.total+" - ")+trackTime.total;
// if/while/for?? !!(barra.trackDrag==true)
prozent = (pos*100)/dur;
barra.track_play._xscale = prozent;
void(adictosvip_xml.load("mega.swf")).this = onEnterFrame;
_loc2._parent.trackDrag = true;
perc = (_loc2._parent._xmouse-_loc2._parent.track_back._x)/_loc2._parent.track_back._width;
max = _loc2._parent.track_load._width/_loc2._parent.track_back._width;
// if/while/for?? perc>max
perc = max;
// if/while/for?? 0
perc = 1;
_loc2._width = _loc2._parent.track_back._width*perc;
_loc2._parent._parent.pausePos = (perc*_loc2._parent._parent.Mi_Sonido.duration)/1000;
void(perc<1).NULL = void(0);
this.NULL = void(_t0);
this._parent.trackDrag = false;
this._parent.track_play.void("onEnterFrame") = void(ReproducirSonido());
barra.track_back.onReleaseOutside = _t0;
perc = (_xmouse-vol_back._x)/vol_back._width;
// if/while/for?? 0
perc = 1;
// if/while/for?? 0
perc = 0;
this._width = vol_back._width*perc;
volume = Math.round(perc*100);
indicador_de_volumen.text = volume;
display.indicador._yscale = volume;
NULL.void(_t0) = void(Mi_Sonido.setVolume(volume));
NULL.void(_t0) = void(perc<5);
onReleaseOutside.vol_front = void("onEnterFrame");
onRelease.vol_back = _t0;
display.btn_play.onRelease = void(ReproducirSonido());
// if/while/for?? pausePos>0
pausePos = Mi_Sonido.position/1000;
pausePos = 0;
onRelease.void(Mi_Sonido.stop()) = void(Mi_Sonido.start(pausePos,0));
// if/while/for?? lista_de_sonidos==lista_total
lista_de_sonidos = (lista_de_sonidos+1);
lista_de_sonidos = 1;
void(_t0).void(Mi_Sonido.stop()) = void(ReproducirSonido());
// if/while/for?? lista_de_sonidos==1
lista_de_sonidos = (lista_de_sonidos-1);
lista_de_sonidos = lista_total;
void(_t0).void(Mi_Sonido.stop()) = void(ReproducirSonido());
}