Flash = newArray

To make an array in AS you go like

flash = newArray(Flash is cool!",“Flash is my favourite program”,"Flash rules)

and “flash” becomes the name of your array.

I am loading an array from an out side txt. file like this

file = new LoadVars();
file.load(“http://file.txt”);

What is the name of my array?

I would think it is called “file” but I run

myarraylength = file.length;
trace(file.length);

and I get undefind in the output window.

A loadVars object is an object, not an array. You’ll have to parse the data into an array to get one. I believe Supra gave you an example in your last post.

pom :cyclops: