flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yishay Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35326) [FlexJS] IUIBase.topMostEventDispatcher not a MouseEventConverter Client
Date Mon, 19 Jun 2017 06:33:00 GMT

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

Yishay Weiss commented on FLEX-35326:

This is in TLF branch but I think it's true about all branches to which 'dual' was merged.

> [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,
> 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

View raw message