JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#1332 Image not appearing
Author: user idk
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

I added a PNG image to my SWF file, but it does not appear when I try to view it. I've added the SWF file to this post, so hopefully someone can find out what's wrong. This is the error I get: 30/12/2016 13:10:37 SEVERE Uncaught exception in thread: AWT-EventQueue-0 java.lang.IllegalArgumentException: Width (326) and height (-8) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at java.awt.GraphicsConfiguration.createCompatibleImage(Unknown Source) at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source) at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at java.awt.GraphicsConfiguration.createCompatibleVolatileImage(Unknown Source) at java.awt.GraphicsConfiguration.createCompatibleVolatileImage(Unknown Source) at com.jpexs.decompiler.flash.gui.View.createRenderImage(View.java:757) at com.jpexs.decompiler.flash.gui.ImagePanel$IconPanel$1.componentResized(ImagePanel.java:247 ) at java.awt.Component.processComponentEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
developer
Which version do you have? I tried it with the latest nightly and can't see any problem. But it should be also ok in the latest stable (10.0)
State: new→upgraded
user
I think I'm using version 9. I'll update now. Thanks!
user
I updated to version 10, and the problem is still occurring. I'm using the latest Flash player as well.
developer
Ok, then please explain how did you create this swf file. Also please aattach the original SWF file and write all the steps you did.
State: upgraded→returned
developer
Sprites cannot contain images directly, you have to put the image to Shape tags and use the shapes in sprites.
developer
Now the image tag is also not visible with the internal viewer.
State: returned→upgraded
admin
State: upgraded→closed
admin
Actually - there is a way how to place Image tag directly to stage. The file must be AS3 (FileAttributes as3 flag set to true), and you must add it via PlaceObject3 or PlaceObject4 and set its placeFlagHasImage attribute to true. For these cases, I modified the internal viewer to show image tags in nightly 1856.