[ 
https://issues.apache.org/jira/browse/FLEX-33235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494936#comment-13494936
 ] 

Nick Kwiatkowski commented on FLEX-33235:
-----------------------------------------

Leif,

Did you want to commit that patch the develop branch, or do you want me to do 
it?
                
> 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