[
https://issues.apache.org/jira/browse/FLEX-34840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007513#comment-15007513
]
Robbyn Gerhardt commented on FLEX-34840:
----------------------------------------
The error is here:
defaultButtonFlag:uint=4,
And here in Alert.as line 841:
removeAlert(identifyButton(_buttons[ _defaultButtonFlag ] as Button));
if only 2 buttons exist, no 4th button can be found
> 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)