Parsing External Array Data when scripted insided external swf

I am using this method for loading external data:
http://www.kirupa.com/developer/mx2004/external_array.htm


files = new Array();
lv = new LoadVars();
lv.onLoad = function() {
  fl = this.filelist;
  files = fl.split(",");
  c = files.length-1;
  for (i=0; i<c; i++) {
    trace(files*);
  }
};
lv.load("http://www.kirupa.com/developer/mx2004/pg/files.php");

It has always worked fine for me, when the script is within just a root movieclip.

But when I try to put the scripting with an externally loaded swf to a sub-layer, the problem begins.

I think it has something to do with the this.filelist line. I have tried looking for into why “this” is specified in the first place. Or am I on the wrong track as to why the external data does not parse.

Please help.

Ron