Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File is broken after re-saving it #128

Open
GoogleCodeExporter opened this issue Mar 13, 2016 · 3 comments
Open

File is broken after re-saving it #128

GoogleCodeExporter opened this issue Mar 13, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 14 Oct 2012 at 1:36

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

In fact this happened with absolutely any files I tried to read and write 
without changes.

Original comment by [email protected] on 14 Oct 2012 at 4:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant