Basically, im reading xml into an array to create 2 internal arrays (location and videofile) within the array (location and videofile) but when i try to read in from the first array at a certain selection into the second array it is just coming up "undefined".
heres the code for parsing in the xml to the first array:
function displayFiles(param)
{
filelist_xml = new XML();
filelist_xml.ignoreWhite = true;
filelist_xml.onLoad = function(success)
{
if (success)
{
var startTime = getTimer();
var files_xml = filelist_xml.firstChild;
for (var i = 0; i < files_xml.childNodes.length; i++)
{
var fileData = new Object();
for (var j = 0; j < files_xml.childNodes[i].childNodes.length; j++)
{
fileData[files_xml.childNodes[i].childNodes[j].nodeName] = files_xml.childNodes[i].childNodes[j].firstChild.nodeValue;
}
filelist_arr.push(fileData);
DislpayFilesArray.push(fileData);
}