Yishay Weiss created FLEX-35326:
-----------------------------------

             Summary: [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
            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)

Reply via email to