sushihangover / as3-commons

Automatically exported from code.google.com/p/as3-commons
1 stars 0 forks source link

File is broken after re-saving it #128

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This file:
http://www.sendspace.com/file/ad8xps

became broken (shows white blank screen in FP) after this:

var rawSWFFile:ByteArray = new ByteArray();
FileIO.readFile(targetFile, rawSWFFile);

var io:SWFFileIO = new SWFFileIO();
var swfFile:SWFFile = io.read(rawSWFFile);

var savedFile:ByteArray = new ByteArray();
io.write(savedFile,swfFile);
FileIO.saveFile(targetFile, savedFile);

Original issue reported on code.google.com by dmitry....@gmail.com on 14 Oct 2012 at 1:36

GoogleCodeExporter commented 8 years ago

Original comment by ihatelivelyids on 14 Oct 2012 at 2:59

GoogleCodeExporter commented 8 years ago
Hey there, could you also post the sources that produced this file?
Thanks!

Original comment by ihatelivelyids on 14 Oct 2012 at 3:27

GoogleCodeExporter commented 8 years ago
In fact this happened with absolutely any files I tried to read and write 
without changes.

Original comment by dmitry....@gmail.com on 14 Oct 2012 at 4:37