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#870 Editing shapeBounds
Author: yoburg
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Shapes
State: closed
I replaced some images in swf file but some of them are bigger than original and
shapebounds cuts them.
To reproduce it: Select shape -> Raw edit. Press save. You don't even have to actually
edit anything the result is the same.
I expected to see uncut image in test movie.
Instead I got 3 instances of this error in log.
com.jpexs.decompiler.flash.EndOfStreamException: Premature end of the stream reached
at com.jpexs.decompiler.flash.SWFInputStream.readNoBitReset(SWFInputStream.java:436)
at com.jpexs.decompiler.flash.SWFInputStream.readUBInternal(SWFInputStream.java:845)
at com.jpexs.decompiler.flash.SWFInputStream.readUB(SWFInputStream.java:827)
at com.jpexs.decompiler.flash.tags.FileAttributesTag.<init>(FileAttributesTag.java:54)
at com.jpexs.decompiler.flash.SWFInputStream.resolveTag(SWFInputStream.java:1293)
at
com.jpexs.decompiler.flash.SWFInputStream$TagResolutionTask.call(SWFInputStream.java:980)
at
com.jpexs.decompiler.flash.SWFInputStream$TagResolutionTask.call(SWFInputStream.java:960)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Im using JPEXS 2.1.4, Win7 x64
Attached screenshot of my log.
Безымянный.png (63 KiB)
Please attach your SWF, too, otherwise we can't reproduce the problem.
And why not you resize your image to the appropriate size? I think this is not a bug.
The exception is maybe a bug, or your swf is obfuscated, and contains invalid tags. If you
attach your file we will check it.
I'm trying to translate drawn text in this swf. Replacing images goes well but i can't
change shapes' bounds.
Attaching file here is broken.
http://www.mediafire.com/download/m33lmx3m0p23yj7/Enter2.swf
I think this is the problem: "Im using JPEXS 2.1.4, Win7 x64"
the latest version is 5.0.2, and i can't see any inceptoin with it.
Why are you using so old version? Pleaes try the latest one.
State: new→upgraded
*exception
Thank you, newest version works perfectly fine. Just didn't expect you to publish that
much new versions in just half a year =)
State: upgraded→closed
Adding the SWF file here so the issue tracker does not depend on external site.
Enter2.swf (7,243 KiB)