I'm try to populate an array with an external text file for use in the slideshow code in my Previous post.
This is what I tried....
I have a text file named "image.txt" with a var called "images" in the text file.
In the _root timeline I have the following:
In my slideshow movieClip I have the Slideshow code, but I changed it so the previous array, which was:
pics=["image1.jpg", "image2.jpg", "image3.jpg"]
is now this:
pics = _root.images.split(",");
but after doing this, the slideshow doesn't work and the "pics" variable comes up "undefined".
Can anyone tell me why? I thought that "whatever.split(","); would create an Array similar to the hand coded one above.