Songs don't play in playlist... Why?

Hello,

I have an XML MP3 player that has a pop-up list of songs. The song is supposed to play when you click on a song in the list, but it doesn’t work. This feature does work when the playlist is OUTSIDE the pop-up box. (See original.fla). I’m thinking that it has to do with the actionscript on the playlistItem mc, but I am not sure. I’ve tried a variety of ways to get it to work and have struggled with this for many hours with no answer. :puzzle:

Could someone take a look at my player and tell me what is wrong with it? Why won’t the songs play in the playlist??

I’ll attach the zip file with the original.fla (working playlist outside the box) and the playerhelp.fla (playlist inside the box, but playlist doesn’t work).

Thanks so much for your help!!

I haven’t received any response from this posting and thought I’d post it again. If anyone could give me some idea, I would greatly appreciate it!

I’m thinking that the problem may have to do with the _parent coding on the PlaylistItem MC.

The main player’s code is:

//For Player MC:
music = new Sound(this);

songNum = 0;
numTracks = songInfo.content.length;

//attacher: attaches the playlist movies, select() is called here
for (i=0; i<numTracks; i++) {
        songInfo.content*.songNum = i;
        menuRise.mc.playlist_mc.target_mc.attachMovie("playlistItem", "item"+i, (i+1), songInfo.content*);
        menuRise.mc.playlist_mc.target_mc["item"+i]._y = i*18;
        if (menuRise.mc.playlist_mc.target_mc["item"+i].title == songInfo.content[songNum].title) {
                menuRise.mc.playlist_mc.target_mc["item"+i].gotoAndStop(2);
        } else {
                menuRise.mc.playlist_mc.target_mc["item"+i].gotoAndStop(1);

The PlaylistItems MC’s code is

//PlaylistItem MC
listButton_mc.onRelease = function() {
        //trace(this._parent)
        _parent._parent._parent.loading = true;
        _parent._parent._parent.playing = false;
        _parent._parent._parent.paused = false;
        _parent._parent._parent.songNum = songNum;
        _parent._parent._parent.music.loadSound(_parent._parent._parent.songInfo.content[songNum].path, false);
};
stop();

I’ve tried adding more parents, less parents, or no parents. It [U]does not[/U] work. If the PlaylistItem MC is outside the pop-up menu, it will work (meaning that when you click on an item on the list, it will stop the current song and start the song you’ve selected).

What can I do?? I wish so much that someone would help me with this!!

Thanks!