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

Custom component's focusOut event is not dispatched.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.3 (Release)
    • None
    • MXML Components
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 7.x

    Description

      Steps to reproduce:
      1. Open the attached sample program in the Flex Builder 3.
      2. Execute the sample program via the debugger.
      3. Click the upper text box, the <local:NumberInput1>, to set focus.
      4. Click the lower text box, the <mx:TextInput>, to move focus.
      ---> At this point, the custom component's focusOut event is dispatched.
      Hence below message is shown in the [Console] window.
      "*** focusOut event is dispatched. ***"

      5. Click the [open] window to open popup window.

      6. As same as step #3 and #4, Click the <local:NumberInput1> and then click the <mx:TextInput> in the popup window.

      Actual Results:
      The focusOut event was not dispatched.
      Thus, the message "*** focusOut event is dispatched. ***" was not appeared in the console window.

      Expected Results:
      The focusOut event was dispatched.

      Workaround (if any):
      Remove the following line from the "NumberInput1()" constructor, written in the "NumberInput1.as" file.

      addEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage);

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: