Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.5.1 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Other (specify version)
Language Found: English
Description
Steps to reproduce:
1. Compile the attached actionscript source file with the corresponding attached fxg file
2. Open the generated swf and inspect it visually
Actual Results:
The vertical scale mode scales with horizontal scaling, while the horizontal one scales with vertical scaling.
Expected Results:
The vertical scale mode should scale with vertical shape scaling and vice versa.
Workaround (if any):
Users can switch the two fields to achieve the desired effects.
Fix:
In FXG2SWFTranscoder.java, you can switch the noHorizontalScale and noVerticalScale flags in the createGenericLineStyle(AbstractStrokeNode stroke) function.
Basically, the noHorizontalScaleFlag should be left shifted by 2, and the noVerticalScaleFlag should be left shifted by 1.