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

前端 未结 6 1258
深忆病人
深忆病人 2020-12-16 19:05

I need some code in AS3 that will read a text file line by line and insert it into an array. Is this possible without having any special character?

sample.tx

6条回答
  •  再見小時候
    2020-12-16 19:30

    if you are using a real time recording, text is more fast to generate than others like .json or .xml. But xml and json are more easy to read and parse.

提交回复
热议问题