There is some way to make the flash put the content of one text file in a string, or at least put it in the .swf, so the user don't need to download it?Answer1:
[Embed(source = "ExampleText.txt", mimeType = "application/octet-stream")] protected var pscene:Class; var tmp:ByteArray = new pscene(); result = tmp.readMultiByte(tmp.bytesAvailable, tmp.endian);
It took me a while to understand how to read the data from the Byte Array.Answer2:
I've always used a pre-compile step to populate a template. It's pretty easy to make a class that has a string to be populated before compilation.
Ant can do this pretty easily. Check out the <a href="http://ant.apache.org/manual/Tasks/replace.html" rel="nofollow">