My game stores levels in large strings. Not very long, the length is about half my desktop on a 1080p screen. Flash can handle it fine, but when I do something like
var levels:Array = ["Large String
gets broken up because of the len
gth"];
Flash IDE tells me that I will need to end the string literal before a new line. I can’t, since it’s too long. (For the IDE, not flash enviroment)
How should I store the string?
You could also embed the text files in your app in much the same way you would embed a Bitmap.
Note: a mimeType of ‘text/plain’ does not go down well with the compiler hence the octet-stream.