You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Yishay Weiss (JIRA)" <ji...@apache.org> on 2017/06/19 06:32:00 UTC

[jira] [Updated] (FLEX-35326) [FlexJS] IUIBase.topMostEventDispatcher not a MouseEventConverter Client

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

Yishay Weiss updated FLEX-35326:
--------------------------------
    Affects Version/s: Apache FlexJS 0.7.0

> [FlexJS] IUIBase.topMostEventDispatcher not a MouseEventConverter Client
> ------------------------------------------------------------------------
>
>                 Key: FLEX-35326
>                 URL: https://issues.apache.org/jira/browse/FLEX-35326
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache FlexJS 0.7.0
>            Reporter: Yishay Weiss
>
> In flash, when opening a DropDownList and clicking outside the dropdown the following error occurs:
> TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::MouseEvent@709a5d9 to org.apache.flex.events.MouseEvent.
> This is because of this line in DropDownListController:
>             IUIBase(_strand).topMostEventDispatcher.addEventListener(org.apache.flex.events.MouseEvent.CLICK, dismissHandler);
> topMostEventDispatcher is the stage which does not call MouseEventConverter.setupInstanceConverters.
> Perhaps the topmost event dispatcher should be the flexjs app instead?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)