Reading the text file line by line and push to an array in AS3

Posted by vineth on Stack Overflow See other posts from Stack Overflow or by vineth
Published on 2009-05-20T13:49:10Z Indexed on 2010/06/02 7:44 UTC
Read the original article Hit count: 211

Filed under:
|

Hi,

I need code is as3 to reading a text file line by line and insert in to an array using AS3. is it possible to do it with out having any special character.

sample.txt

    Car
    van
    scooter
    bike

I need to read the file and insert in to array like...Array[0]=car,Array[1]=car.....

Thanks In advance

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3