I've been compiling my Papervision3D actionscript project using mxmlc using the following command line parameter:
mxmlc.exe -static-link-runtime-shared-libraries=true source.as
The following error is displayed:
java.util.zip.ZipException: invalid block type
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.awt.image.PNGImageDecoder.produceImage(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)
The software runs fine in Flash CS3 without embed commands:
[Embed(source="/Textures/Texture.png")]
private var TextureClass:Class;
etc., but I do need the assets embedded.
Building in Flash Develop gets the same error of course, and won't produce a .swf. However it still says the .swf size is/would be 25MB.
I haven't compiled many projects in mxmlc (or Flash Develop) but my last one was fine with all embedded assets showing.
HELP! Have you seen this error? How can I get rid of it?
I would offer a bounty on this one, but my score is too low. :/