Possible to load a array

from a external data source.
I.E. like from a .txt file?
I tried putting this in the external text file:
mytest = new Array(“dadada”)
it loaded, but not as a array, just as text. I am using LoadVars.
If anybodys knows how to do this, that would be great!

just posted this for something else.
in textfile/
var1=movie1%2Eswf%2C220%2C120%7Cmovie2%2Eswf%2C120 %2C220%7Cmovie3%2Eswf%2C220%2C220%7Cmovie4%2Eswf%2 C330%2C260%7Cmovie5%2Eswf%2C420%2C340%7Cmovie6%2Es wf%2C170%2C120

inflash/
lv = new LoadVars();
lv.onLoad = function() {
arr1 = lv.var1.split(“|”);
for (var n = 0; n != arr1.length; n++) {
arr1[n] = arr1[n].split(“,”);
}
};
lv.load(“mytext.txt”);

output/
Variable _level0.arr1 = [object #6, class ‘Array’] [
0:[object #7, class ‘Array’] [
0:“movie1.swf”,
1:“220”,
2:“120”
],
1:[object #8, class ‘Array’] [
0:“movie2.swf”,
1:“120”,
2:“220”
],
2:[object #9, class ‘Array’] [
0:“movie3.swf”,
1:“220”,
2:“220”
],
3:[object #10, class ‘Array’] [
0:“movie4.swf”,
1:“330”,
2:“260”
],
4:[object #11, class ‘Array’] [
0:“movie5.swf”,
1:“420”,
2:“340”
],
5:[object #12, class ‘Array’] [
0:“movie6.swf”,
1:“170”,
2:“120”
]
]

what if you want to save an array in that format to a text file so you can load it again later?

Search the forums for this topic, it’s been covered before.