Can I use version 3 of the Flex SDK?
AddThis Social Bookmark Button

Q.
When I use the Platformer Starter Kit with version 3 of the Flex SDK, I get an error like the following:

The specified source is not a GZIP file format file or data. If you are running on Flash Player 9, GZIP decompression is not supported. Make sure you used Flex SDK 4.0.0 or newer to compile your project.

Can I use the Kit with an SDK less than 4.0?

 

A.
Yes, you can use the Kit with a Flash 9 SDK.  For a bit of background, by default, Tiled saves space by compressing level data with gzip.  However, version 3 of the Flex SDK does not natively support decompression of gzip'd data, so the error you are seeing is what happens when the program tries to decompress data, but does not know how.

To work around the problem, you should disable gzip compression in Tiled.  Do this by going into the Tiled preferences and selecting to store tile layer data as Base64(uncompressed).

If you are using the older Java version of Tiled, please un-check the "Compress layer data (gzip)" box under the "Saving" tab.