ciao a tutti ragazzi.
Ho un problema. ho trovato un tutorial per costruire un sound player mp3. questo player lo carico in un mc.vuoto e me lo carica, solo che al momento del caricamento dice che non mi trova la playlist su http://ecc eppure la playlist c'e, come mai?

nel file xml ho questo:
<?xml version="1.0" encoding="iso-8859-1" ?>
<playlist version="1" xmlns = "http://danil-d.com/ns/0/">
<extensions>
</extensions>
<trackList>
<track>
<title>Dawn of Souls :: Reminiscent mix</title>
<location>track1.mp3</location>
</track>
<track>
<title>She's Only Leaving :: Gothpixie :: Effervescence</title>
<location>track2.mp3</location>
<info>http://www.danil-d.com/</info>
</track>
<track>
<title>GothPixie and Amy : Things your in-car satnav should never say : Live studio feeds 2005</title>
<location>track3.mp3</location>
<info>http://www.danil-d.com/</info>
</track>
</trackList>
</playlist>

nelle actions del fla ho questo che continua nel messaggio successivo
visto i pochi caratteri a disposizione:


function displayFlip()
{
PS_displayLine = !PS_displayLine;
} // End of the function
function forceSingleTrack()
{
bt_next.onRelease = null;
mc_next.gotoAndStop("next_g");
mc_prev.gotoAndStop("prev_g");
bt_prev.onRelease = null;
bt_loop.onRelease = null;
mc_looping._alpha = 100;
PS_looping = true;
} // End of the function
function disableMe(msg)
{
PS_xTitle = msg;
bt_next.onRelease = null;
bt_prev.onRelease = null;
bt_pause.onRelease = null;
bt_play.onRelease = null;
mc_play.gotoAndStop("play_g");
mc_prev.gotoAndStop("prev_g");
mc_next.gotoAndStop("next_g");
PS_xOFx = "0" + lblOF + "0";
} // End of the function
function doPause(bool)
{
if (bool)
{
mc_play.gotoAndStop("pause");
mc_paused._alpha = 0;
PS_paused = false;
}
else
{
mc_play.gotoAndStop("play_b");
mc_paused._alpha = 100;
PS_paused = true;
} // end if
} // End of the function
function setTransportButtons()
{
if (PS_numTracks > 1)
{
mc_next.gotoAndStop("next_b");
mc_prev.gotoAndStop("prev_b");
}
else
{
mc_next.gotoAndStop("next_g");
mc_prev.gotoAndStop("prev_g");
} // end if
} // End of the function
function prepareUI()
{
PS_xOFx = "1" + lblOF + PS_numTracks;
if (PS_autoStart)
{
PS_stopped = false;
PS_paused = false;
nextTrack(0);
PS_firstPlay = false;
mc_play.gotoAndStop("pause");
}
else
{
PS_xTitle = lblStart;
PS_firstPlay = true;
mc_play.gotoAndStop("play_b");
} // end if
} // End of the function
function updateDisplay()
{
PS_xOFx = lblTRACK + (PS_currentTrack + 1) + lblOF + PS_playlist.length;
PS_xTitle = PS_tracks[PS_playlist[PS_currentTrack]].ttitle;
PS_xInfo = PS_tracks[PS_playlist[PS_currentTrack]].info;
PS_mct_offset = 0;
if (PS_xInfo != "")
{
bt_url.onRelease = function ()
{
getURL(PS_xInfo, "_blank");
};
}
else
{
bt_url.onRelease = null;
} // end if
} // End of the function
function convertTime(tme)
{
var lzm = "";
var lzs = "";
var _l2 = Math.round(tme / 1000);
var _l1 = Math.floor(_l2 / 60);
var _l3 = _l2 - _l1 * 60;
if (_l3 < 10)
{
lzs = "0";
} // end if
if (_l1 < 10)
{
lzm = "0";
} // end if
var formattedtime = lzm + _l1 + ":" + lzs + _l3;
return (formattedtime);
} // End of the function
function makeplaylist()
{
var _l1;
PS_playlist = [];
_l1 = 1;
while (_l1 <= PS_numTracks)
{
if (PS_tracks[_l1].playable)
{
PS_playlist.push(_l1);
} // end if
++_l1;
} // end while
setTransportButtons();
} // End of the function
function Track(id, ttitle, link, info, image)
{
var _l1 = this;
_l1.id = id;
_l1.ttitle = ttitle;
_l1.link = link;
_l1.info = info;
_l1.image = image;
_l1.playable = true;
_l1.playpos = 0;
} // End of the function
function processXML(success)
{
var _l2;
var _l1;
var k;
var numTR;
var numNode1;
var numNode2;
var listTAG;
var trackTAG;
var link;
var ttitle;
var imglink;
var param;
var thisNodeN;
var _l3;
PS_numTracks = 0;
if (success && this.status == 0 && this.firstChild.nodeName.toLowerCase() == "playlist")
{
numNode1 = this.firstChild.childNodes.length;
for (k = 0; k <= numNode1; k++)
{
listTAG = this.firstChild.childNodes[k];
if (listTAG.nodeName.toLowerCase() == "extension")
{
numTR = listTAG.childNodes.length;
_l2 = 0;
while (_l2 <= numTR)
{
param = listTAG.childNodes[_l2].nodeName.toLowerCase();
if (param == "autoplay" || param == "autostart")
{
PS_autoStart = true;
}
else if (param == "random")
{
PS_shuffle = true;
} // end if
++_l2;
} // end while
continue;
} // end if
if (listTAG.nodeName.toLowerCase() == "tracklist")
{
numTR = listTAG.childNodes.length;
_l2 = 0;
while (_l2 <= numTR)
{
if (listTAG.childNodes[_l2].nodeName.toLowerCase() == "track")
{
trackTAG = listTAG.childNodes[_l2];
numNode2 = 0;
ttitle = "";
info = "";
imglink = "";
_l1 = 0;
while (_l1 < trackTAG.childNodes.length)
{
if (trackTAG.childNodes[_l1].nodeName != null)
{
thisNodeN = trackTAG.childNodes[_l1].nodeName.toLowerCase();
_l3 = trackTAG.childNodes[_l1].firstChild.nodeValue;
if (thisNodeN == "title")
{
++numNode2;
ttitle = _l3;
}
else if (thisNodeN == "location")
{
++numNode2;
link = _l3;
}
else if (thisNodeN == "info")
{
info = _l3;
}
else if (thisnodeN == "image")
{
imglink = _l3;
} // end if
} // end if
++_l1;
} // end while
if (numNode2 == 2)
{
++PS_numTracks;
var tmpTrack = new Track(numTracks, ttitle, link, info, imglink);
PS_tracks.push(tmpTrack);
delete tmpTrack;
} // end if
} // end if
++_l2;
} // end while
} // end if
} // end of for
if (PS_numTracks > 0)
{
if (PS_shuffle)
{
randomizeTracks();
} // end if
makeplaylist();
prepareUI();
}
else
{
disableMe(lblBadXML);
} // end if
}
else
{
disableMe(lblNoXML + PS_baseURL);
} // end if
} // End of the function
function nextTrack(flag)
{
var _l1 = PS_playlist.length;
var _l2 = 0;
var _l3 = _l1 - 1;
if (PS_currentTrack == _l1 - 1 && PS_shuffle)
{
randomizeTracks();
} // end if
makeplaylist();
if (_l1 == 0)
{
disableMe(lblBadXML);
}
else if (_l1 > 1)
{
if (flag == -1)
{
_l3 = 0;
_l2 = _l1 - 1;
} // end if
if (PS_currentTrack == _l3)
{
PS_currentTrack = _l2;
}
else
{
PS_currentTrack = PS_currentTrack + flag;
} // end if
if (PS_currentTrack == _l1 && flag == 0)
{
PS_currentTrack = 0;
} // end if
sound1.stop();
delete sound1;
startPlaying();
}
else
{
PS_shuffle = false;
PS_currentTrack = 0;
startPlaying();
} // end if
} // End of the function
function sortTracks(a, b)
{
if (a.playpos < b.playpos)
{
return (-1);
}
else if (a.playpos > b.playpos)
{
return (1);
}
else
{
return (0);
} // end if
} // End of the function
function randomizeTracks()
{
var _l1;
_l1 = 1;
while (_l1 <= PS_numTracks)
{