updated imageInfoSwf to handle asynchronous zlib.inflate method

The previous version was calling zlib.inflate synchronously which doesn't seem to work. I added some callbacks to get it working again.