A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: external text loading into array ???

  1. #1

    external text loading into array ???

    i know i've seen it somewhere, you can load text from a file directly into an array

    so somthing like this...


    loadVariables(bla bla bla)

    text file:
    &array1=value11,value12,value13&array2=value21,val ue22,value23

    and then use it in flash:
    if (array1[1] == value12)
    ...

    etc

    Can this be done ??

  2. #2
    ah ha


    its

    array1 = array1.split(",");
    array1[0];
    array2[1];
    array3[2];

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center