If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.
List of issues#742 Can't edit frames
Author: Zizi17
Date created:
Type: bug
Visibility: Everybody
Assigned to: honfika
Labels: ExternalLinkTags
State: closed
When i raw edit the frames and i edit anything at them then save,the swf doesn't works
after this,it gives me a black screen at everything including frames ,shapes,and the swf.
How do you edit the frame? please attach your swf, and specify the steps you tried to do
with FFDec.
1.I raw edit the definesprite tag,i edit anything then save and gives me black screen at
everything,including frames
try to edit definesprite right click on it then modify anything then save.
startrekuniverse.swf (3,198 KiB)
Please specify "anything".
I tried to edit DefineSprite (37)/Subtags 0/playback sound rate, and everythhing seems to
work in the modified file.
Btw: DefineSprite tags has not too much properties, they have only spriteid and
framecount. If you modify the spriteId with raw edit, then you should modify all the
referencing tags.
just try to raw edit definesprite do nothing then save it it gets me black screen
its definesprite 709 try to edit it do nothing then save
also after save i get Jtree unresolved, and sport :basket food:ravioli wtf is this also
look at this error
07/12/2014 18:59:02 SEVERE Error during tag reading
com.jpexs.decompiler.flash.EndOfStreamException: Premature end of the stream reached
at com.jpexs.decompiler.flash.SWFInputStream.readNoBitReset(SWFInputStream.java:437)
at com.jpexs.decompiler.flash.SWFInputStream.readEx(SWFInputStream.java:424)
at com.jpexs.decompiler.flash.SWFInputStream.readUI8(SWFInputStream.java:451)
at com.jpexs.decompiler.flash.SWFInputStream.readFILTER(SWFInputStream.java:2231)
at com.jpexs.decompiler.flash.SWFInputStream.readFILTERLIST(SWFInputStream.java:2216)
at com.jpexs.decompiler.flash.tags.PlaceObject4Tag.<init>(PlaceObject4Tag.java:360)
at com.jpexs.decompiler.flash.SWFInputStream.resolveTag(SWFInputStream.java:1393)
at com.jpexs.decompiler.flash.SWFInputStream.readTag(SWFInputStream.java:1491)
at com.jpexs.decompiler.flash.SWFInputStream.readTagList(SWFInputStream.java:1052)
at com.jpexs.decompiler.flash.tags.DefineSpriteTag.<init>(DefineSpriteTag.java:218)
at com.jpexs.decompiler.flash.SWFInputStream.resolveTag(SWFInputStream.java:1266)
at
com.jpexs.decompiler.flash.gui.GenericTagTreePanel.setEditMode(GenericTagTreePanel.java:66
9)
at com.jpexs.decompiler.flash.gui.PreviewPanel.actionPerformed(PreviewPanel.java:977)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at
org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseReleased(RolloverBu
ttonListener.java:124)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(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$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.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$1.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)
also take a look to this picture after i edited definesprite 709
http://postimg.org/image/l1elk8o8t/
I can't reproduce the problem, i tried to edit and save DevineSprite 709. I attached the
result.
aa.swf (3,200 KiB)
Assigned: → honfika
You changed something, because i can see 165 frames in this tag, in your screenshot there
are only 2 frames. So it is not enouh to edit and save it. Please specify all steps.
Ok, I think i found the problem, but it is not enough to only edit/save the tag. Next time
please be more specific. I'll fix it soon.
Fixed. Please try the latest nightly build.
State: new→upgraded
State: upgraded→closed