14 Replies Latest reply on Jul 13, 2006 8:52 AM by kglad

    Loading an Array of filenames from a text file

    Thatnickname Level 1
      Hello all

      I have a random picture flash animation that works with one frame only. The principle is that it loads files from an Array of filenames that is staticly filled out into an empty Clip object on the timeline. Works out great!

      But the problem I have is that I have to make it dynamic. The customer must be able to add files as he wants through a system that works with text files (and I can't modify that system). So basically, he would upload the files and the system would add the new filename to a textfile from which the animation would add it to the array.

      My question is how can I fill an array from a text file?

      Thank you!