Hi there all,

bit of a puzzle I'm having and would be grateful for some help...


container is a displayObjectContainer and objectToMove is a Display object

        var ind:int = container.getChildIndex(objectToMove)
                
                                
        container.swapChildrenAt(ind,1)

each time I run this I get an error that the supplied index is out of bounds . How can this be? ind is always 9 (of 10 childrren)??

thanks as always


matt

Reply via email to