incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Curtis Aube (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33205) Stack trace when moving a child from spark container to mx container
Date Wed, 19 Sep 2012 18:32:07 GMT
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

Mime
View raw message