Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28122

FXG2SWFTranscoder Incorrectly handles line scale modes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.5.1 (Release)
    • None
    • FXG - Static
    • 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.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: