JPEXS Free Flash Decompiler Issue Tracker

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

: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#1231 Edit buttons size
Author: user megalol
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: upgraded Help

Is it possible in FFDec? I saw some weird parameters in raw edit but didn't found any size values. If not then please change type of issue to feature one.
developer
Button consists of characters (shapes, sprites, texts, images, morphshapes) You should edit those characters. - Raw edit a button tag - Open characters - Open a BUTTONRECORD - Here you can see thew characterId find that character and edit it.
State: new→upgraded
user
Sorry but I still didn't understand completely. What then after detecting characterId? I tried to edit DefineShape but without desirable effect. I think that it's too difficult to use. So if possible please make it easier. In Adobe Flash Pro it can be done with 1 mouse click. Btw in basic tag info I saw bounds parameters (which shows button size) so is it possible to edit this parameter directly?
developer
If you found the Shape, the easiest is to export it to SVG, edit with an SVG editor (for example Inkscape), then import it back. It is not possible to edit the bounds, because it is a calculated value. Button tag has no size, only the inner characters has a size (Except Sprite, it contains also another characters). Probably in Adobe Flash Pro's model it has a size this is why you can edit there, but in the SWF export this size is not written to the SWF file. Or you can do the following also: Raw edit the button tag, open characters, BUTTONRECORD, placeMatrix Set the hasScale property to true, set the ScaleX and ScaleX values (65536 means the original size). If you want to make it 20% smaller (80% of the original size), then set ScaleX = ScaleY = 0.8 * 65536 = 52429 You should set this value for all buttonrecords.
user
Ok, thanks get it (with ScaleX/Y method). But my suggestion to make it more user friendly (instead of weird values enter change it to % or even better pixel values if possible).
user
I have managed to edited a button in inkscape but am not able to import the svg image back. sorry for the simple question but I am stuck and can not figure it out
developer
Graydon: please create separate issue and upload you swf and svg files.