2 column xml list

roleiflex
Thu, 20 Jul 2006 01:30:07 +0000

Hi,
any idea or suggestions on how I can create an xml based list with 2 columns? for example i would like to have a list of tracks for an audio player, in this list i would like to have the track names and the time appear and each column aligned vertically evenly, much like 2 columns in a html table.

I have the list of track names working and can add the times by putting space after the trackname (in my actionscript string) but i cannot align the times evenly.

here is the function that does that::

function setPlaylistwahl() {
playchoice.playliste = “”;
for (var j=1; j <= aPath.length; j++) {
playchoice.playliste += “"+j+". "+songTitel[(j-1)].substr(0,25)+" “+songTime[(j-1)].substr(0,25)+” ";
}
}

Any help would be much appreciated.

Read full topic