+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: new new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
> What steps will reproduce the problem?
export as fla (i used nb 1261) and check symbol9
Cannot edit that symbol (flash prof. 13.01)
And its conrners are too rounded it has less radius in origin.
here is a better example (i have screenshot of original look)
check DefineSprite31(popup.res.PopupMoreLives) you will fond 2 shapes with rounded corners
I attached original look in original_look.png
I think it is a problem with numbers precision (rounding). FFDec uses double type values,
FlashPlayer uses probably only float size.
I added simple example - just zoom the second sprite with zoom buttons when "Internal
player" is selected and without it.
I am afraid it is hard task to change double to float...
I found the reason... the image is not linearly scaled. There is a tag called
DefineScalingGrid (check the official documentation)
the borders of the image are nor scaled (only to one direction), this is how you can scale
a button with preserving the corner radiuses.
a) 9-slice scaling is now somehow working in our flash viewer (it's not perfect on the
borderlines between slices)
b) it needs to be implemented in SVG
c) it needs to be implemented in HTML5 Canvas
d) it needs to be implemented in FLA export (this one should be the easiest)
Title: Shape error→9-slice scaling support (DefineScalingGrid) Type: bug→feature