You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Nick Kwiatkowski (JIRA)" <ji...@apache.org> on 2012/11/11 23:49:12 UTC
[jira] [Closed] (FLEX-33235) mx.utils.PopUpUtil
[ https://issues.apache.org/jira/browse/FLEX-33235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Kwiatkowski closed FLEX-33235.
-----------------------------------
Resolution: Fixed
Fix Version/s: Apache Flex 4.9.0
Assignee: Leif Wells
Closed and marked as fixed, per Leif Wells. Committed via SVN revision 1405410 to the develop branch.
> 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
> Assignee: Leif Wells
> Fix For: Apache Flex 4.9.0
>
> 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