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

Child controls do not dispatch FlexEvent.ADD/REMOVE events if their parent is an MX container.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • mx: General
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create any MX container, e.g. VBox.
      2. Create any component, e.g. Button.
      3. Register listeners for FlexEvent.ADD and FlexEvent.REMOVE events on the component created in the Step 2.
      4. Add the component created in the Step 2 to the MX container created in the Step 1.
      5. Remove the component created in the Step 2 from the MX container created in the Step 1.

      Actual Results:
      Child control does not dispatch FlexEvent.ADD and FlexEvent.REMOVE events.

      Expected Results:
      Child control must dispatch FlexEvent.ADD and FlexEvent.REMOVE events.

      Workaround (if any):
      Parent control should have a listener for the FlexEvent.ADD/REMOVE events. Simply add an empty method as listener.

      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: