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

Mx.Effects.Resize - Resize to Negative Values Renders odd graphics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • Adobe Flex SDK Previous
    • mx: Button
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      This is actually more of a Mx.Controls.Datagrid bug, but it is agitated via the resize effect.

      Steps to reproduce:
      1. Create a button and a Resize effect.
      2. Set the resize effect widthBy and heightBy to values greater than the width and height of the button (so the button will resize to < 0).
      3. Play the effect.

      Actual Results:
      The button should resize until nothing remains.

      Expected Results:
      The button inverts past (0,0) and begins to draw some wacky graphics (which look like growing pieces of a button mask).

      THE FIX:
      The Resize effect should not play beyond 0,0. Modify the calculateExplicitDimensionChanges() method in ResizeInstance.as to set (width = 0), and/or (height = 0) when the resize would grow < 0.

      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: