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

FlexEvent.ADD not being dispatched

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Application
    • None
    • Affected OS(s): Mac
      Affected OS(s): Mac OS 10.5
      Browser: Safari
      Language Found: English

    Description

      When using a spark container, children do not dispatch a FlexEvent.ADD when they are added to its displayList.

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo">

      <!-- will not trace -->
      <mx:HBox add="

      {trace('mx:HBox')}

      ">
      <!-- will trace, as is in an mx container -->
      <s:Button add="

      {trace('mx:HBox.ComboBox')}

      "/>
      </mx:HBox>

      <!-- will not trace -->
      <s:Group add="

      {trace('s:Group')}

      ">
      <!-- will not trace -->
      <s:Button add="

      {trace('s:Group.ComboBox')}

      "/>
      </s:Group>

      </s:Application>

      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: