Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-14264

Alert closeHandler event handler running "scope" problem, at same time Delegate.create() is not available anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Alert
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce.
      1. Compile and run attached main.mxml file (or run main.swf).

      Actual Results:
      Alert 1: main0
      Alert 3: main0
      Alert 2: undefined

      Expected Results:
      Alert 2: main0

      Workaround:
      [code]
      private function onComplete():void {
      Alert.show(String(this.name), "Alert 1", Alert.OK, this, onClose);
      }

      private function onClose(evt:CloseEvent):void {
      Alert.show(String(this.name), "Alert 4"); // main0
      }
      [/code]

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: