Curtis Aube created FLEX-33205:
----------------------------------

             Summary: Stack trace when moving a child from spark container to 
mx container
                 Key: FLEX-33205
                 URL: https://issues.apache.org/jira/browse/FLEX-33205
             Project: Apache Flex
          Issue Type: Bug
            Reporter: Curtis Aube
            Priority: Minor


This generates a stack trace:

var hgroup:HGroup = new HGroup;
var hbox:HBox = new HBox;
var label:Label = new Label;
hgroup.addElement(label);
hbox.addChild(label);

Expected behavior:
It should not generate a stack trace.

Workaround:
Call removeElement on the spark container before calling addChild on the mx 
container.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to