Actionscript 3, read file text at compile time? -
Flash by inserting the contents of a text file into a string, or at least it .swf, then download it to the user do not require?
solution:
[embed (source = "ExampleText.txt ", MimeType =" app / octet-stream ")) protected var pscene: class; Var tmp: bitere = new pscene (); Results = tmp.readMultiByte (tmp.bytes available, tmp.endian);
I was briefly able to understand how to read data from a byte array.
Comments
Post a Comment