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

Masking element on RIchText should inherit the target group's coordinate space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: RichText
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile the bugfile with the following RichText graphic:
      <RichText x="50" fontFamily="Myriad Pro" fontSize="15" width="195">
      <content> The quick brown fox jumped over the lazy dog. <p fontFamily="Myriad Pro">And that is where the story normally ends. The reality is that the dog was a decoy and the fox jumped straight into a trap and then was promptly shot by the dog's owner and cooked up for dinner.</p> The End. </content>
      <mask>
      <Group blendMode="normal">
      <Ellipse x="50" width="95" height="150">
      <fill>
      <SolidColor/>
      </fill>
      </Ellipse>
      </Group>
      </mask>
      </RichText>

      Actual Results: The RichText element is placed at (50,0) on the stage. The mask is also placed at (50.0) on the stage.

      Expected Results: The mask should get the coordinate space of its parent group as if its a child. Therefore, on the stage, the mask should be at (100,0)

      Workaround (if any):

      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: