Php to flash

I have an error doing one of the tutorials on the website

trying to pass an ‘echoed’ data from PHP to FLASH array, Im sure its fine on PHP side, but in flash I got an error:

Error opening URL
“[images/pics/test/undefined](file:///C|/phpdev/www/vfourorg3/images/pics/testing/undefined)”

Could anyone help pls.


files = new Array(); 
lv = new LoadVars(); 
lv.onLoad = function() { 
fl = this.flashVar; 
files = fl.split(","); 
c = files.length-1; 
for (i=0; i<c; i++) { 
this.pArray = files*; // fill array with variables
} 
};
lV.load('http://localhost/test4.php');

this.pathToPics = "images/pics/test/"; //