[ https://issues.apache.org/jira/browse/FLEX-35103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379187#comment-15379187 ]
ASF GitHub Bot commented on FLEX-35103: --------------------------------------- GitHub user yishayw opened a pull request: https://github.com/apache/flex-asjs/pull/9 Fix ticket FLEX-35103 This fixes the issue, but we might have a bigger issue in that org.apache.flex.events.MouseEvent does not extend org.apache.flex.events.Event which might confuse client. You can merge this pull request into a Git repository by running: $ git pull https://github.com/yishayw/flex-asjs develop Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flex-asjs/pull/9.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #9 ---- commit 5a3570bba679aca137c3a727d8d334fb3e1447d8 Author: yishayw <yishayj...@hotmail.com> Date: 2016-07-15T10:15:50Z Fix ticket FLEX-35103 ---- > [FlexJS] SimpleAlert.show() in flash - can't click OK > ----------------------------------------------------- > > Key: FLEX-35103 > URL: https://issues.apache.org/jira/browse/FLEX-35103 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS > Affects Versions: Apache FlexJS 0.6.0 > Reporter: Yishay Weiss > > Whenver I click on OK, I get > TypeError: Error #1034: Type Coercion failed: cannot convert > org.apache.flex.events::MouseEvent@749ff21 to org.apache.flex.events.Event. > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > org.apache.flex.events.utils::MouseEventConverter$/mouseEventConverter()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\events\utils\MouseEventConverter.as:92] > Test case: > From the main application do: > SimpleAlert.show("hi", this); -- This message was sent by Atlassian JIRA (v6.3.4#6332)