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

mx.utils.PopUpUtil

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.6 (Release)
    • Apache Flex 4.9.0
    • None
    • None

    Description

      PROBLEM DESCRIPTION:

      The code just at the end of the method "applyPopUpTransform":

      ====================================================
      if (tmpColorTransform != null)

      { tmpColorTransform.alphaMultiplier = oldAlpha; tmpColorTransform.alphaOffset = 0; }

      DisplayObject(popUp).transform.colorTransform = tmpColorTransform;
      ====================================================

      raises an exception (null value not allowed) when the tmpColorTransform variable value is null.

      SOLUTION:

      Move the following line into the block:

      DisplayObject(popUp).transform.colorTransform = tmpColorTransform;

      ====================================================
      if (tmpColorTransform != null)

      { tmpColorTransform.alphaMultiplier = oldAlpha; tmpColorTransform.alphaOffset = 0; DisplayObject(popUp).transform.colorTransform = tmpColorTransform; }

      ====================================================

      REPRODUCE:

      Show a Callout spark control with a Sprite (not UIComponent) as owner.

      Attachments

        1. FLEX-33235_Fix.patch
          0.7 kB
          Leif Wells

        Activity

          People

            leifwells Leif Wells
            pbeltranl Pablo Beltran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: