AS3: removing objects by array item reference
问题 I am trying to add some Sprite objects as the contents of an array, and I would like to be able to "clear" them from the stage. I would assume that if there are loaders involved, I need to do _imgArray[i].close(); _imgArray[i].unload(); And if I am using a sprite, I can do: removeChild(_imgArray[i]); None of the above work. WHY??? For an example and/or description of how I am setting this up, see Joel's post here ...but note that he hasn't included a reference for deleting them from view.