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] [Updated] (FLEX-33205) Stack trace when moving a child from spark container to mx container
Date Wed, 19 Sep 2012 18:36:08 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Curtis Aube updated FLEX-33205:
-------------------------------

    Description: 
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.

Found by Norman Reed

  was:
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.

    
> 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.
> Found by Norman Reed

--
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