Decision:
[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 figure out how to read data from an array of bytes.
user216441
source
share