Posted on 7:53 AM by Author and filed under
AIR
The newline character in Flash is "/n" but its not working when we write to text file using FileStream in Adobe Air.
MyFileStream.writeUTFBytes("Some text here"+"\r\n");
MyFileStream.writeUTFBytes("I am in new line");
This works :)
Thx a lot!
Post a Comment