# Loading an External array

**URL:** <https://forum.kirupa.com/t/loading-an-external-array/244288>\
**Category:** flash\
**Created:** [November 15, 2007, 10:44pm UTC](https://forum.kirupa.com/t/loading-an-external-array/244288 "2007-11-15T22:44:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Dachuk](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Mike\_Dachuk](https://forum.kirupa.com/u/Mike_Dachuk)\
**Post date:** [November 15, 2007, 10:44pm UTC](https://forum.kirupa.com/t/loading-an-external-array/244288/1 "2007-11-15T22:44:54Z")

</div>

I’ve figured it out. Thank You

* * *

[http://www.kirupa.com/developer/mx2004/external\_array.htm](http://www.kirupa.com/developer/mx2004/external_array.htm)

I am trying to use this to load an array. As it turns out it will only be a single variable. It doesn’t seem to be working for me.

Here is my actionscript…

files = new Array();  
lv = new LoadVars();  
lv.onLoad = function() {  
fl = this.transIDNum;  
files = fl.split(",");  
c = files.length-1;  
strMyTrans.text = file[0];  
}  
lv.load(“[http://www4.yontrack.com/hospice/getdetails4.asp?theQual=3](http://www4.yontrack.com/hospice/getdetails4.asp?theQual=3)”);

Is it not workign properly because there is only one item in the string?

Thanks

Mike

* * *
