read object from compressed file that generate from actionscript3
- by Last Chance
I have made a simple game Map Editor, and I want to save a array that contain map tile info to a file, as below:
var arr:Array = [.....2d tile info in it...];
var ba:ByteArray = new ByteArray();
ba.writeObject(arr);
ba.compress();
var file:File = new File();
file.save(ba);
now I had successful save a compressed object to a file.
now the problem is my server side need to read this file and decompress get the arr out from file, then convert it as python list.
is that prossible?