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

Robbyn Gerhardt commented on FLEX-34840:
----------------------------------------

Platform: Adobe AIR 19, Mac OS X 10.11 (Desktop Application)
SDK: 4.14.1 FP: 16, AIR: 16
Code example:
[Embed(source='/icons/warning.png')]
                                private var myIcon:Class;
                                
                                protected function 
button1_clickHandler(event:MouseEvent):void
                                {
                                        Alert.show('Message', 'Title', 
Alert.OK|Alert.CANCEL, null, closeMessage, myIcon);
                                }
                                
                                /**
                                 * Die Anwendung wurde geschlossen
                                 * 
                                 * @param CloseEvent
                                 * @return void
                                 */
                                protected function 
closeMessage(e:CloseEvent):void
                                {
                                        trace(e.detail);
                                }

Message:
when I press the ESC key, comes the same error message

> RangeError: Error #1125: The index 4 is out of range 2.
> -------------------------------------------------------
>
>                 Key: FLEX-34840
>                 URL: https://issues.apache.org/jira/browse/FLEX-34840
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.13.0
>            Reporter: Bui Sy Nguyen
>
> The Spark Alert component throws the following error when press ESC key:
> RangeError: Error #1125: The index 4 is out of range 2.
>       at 
> spark.components::Alert/onKeyDown()[/Users/erik/Documents/ApacheFlex/git/flex-sdk_RC2/flex-sdk/frameworks/projects/experimental/src/spark/components/Alert.as:842]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to