Skip to content

[fp10]IsoContainer.displayListChildren problem #43

@GoogleCodeExporter

Description

@GoogleCodeExporter
This problem only in fp10 as3isolib.

Please checkout the displayerListChildre's getter of IsoContainer class:

                public function get displayListChildren():Array
                {
                        var temp:Array = [];
                        var child:IIsoContainer;

                        for each ( child in displayListChildrenArray )
                                temp.push( child );

                        return temp;
                }

It alway create a new clone of "displayListChildrenArray". So it useless if 
push/splice it. The "displayListChildrenArray" is untouchable from outside.

And in IsoContainer's renderLogic function, if it's not included layout, it 
will be removed from parent's displayListChildren. In fact, this will never 
happen!

Original issue reported on code.google.com by tamt....@gmail.com on 28 Jul 2011 at 7:57

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions