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.

#1231 Edit buttons size
Author:
megalol

Date created:
Type: question
Visibility: Everybody
Assigned to:
State: upgraded 

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.
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
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?
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.
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).
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
Graydon: please create separate issue and upload you swf and svg files.
Pls am editing wr3d I want to increase the brands and change the model size, the brands
increase but it doesn't show in the program