[ 
https://issues.apache.org/jira/browse/FLEX-33235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Wells updated FLEX-33235:
------------------------------

    Attachment: FLEX-33235_Fix.patch

This is a patch for the fix as cited in the task description.


                
> mx.utils.PopUpUtil
> ------------------
>
>                 Key: FLEX-33235
>                 URL: https://issues.apache.org/jira/browse/FLEX-33235
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>            Reporter: Pablo Beltran
>         Attachments: FLEX-33235_Fix.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to