0 Replies Latest reply on Nov 7, 2007 8:46 PM by GKRichie

    custom Actionscript Container (Get Child Problems)

    GKRichie
      I've extended the Container class to create a custom component. In this component, I take the children (can be anything: panels, images, etc) and move them around to different positions on the screen based on the mouse position. Everything is working fine... except, I need to capture the names of each child in the container as soon as it loads and add the names to an array (THIS ARRAY MUST BE STATIC). The problem that I am having is that I cannot seem to do it statically. That means that when I change the index of a child. The change affects the order of the array because the array is rebuilt every time. I don't want this. Any thoughts?