Return to Snippet

Revision: 25107
at March 19, 2010 15:38 by allnatural

Initial Code
function removeChildWithRef(spriteName:String, parentObj:*){
    var t:DisplayObject = parentObj.getChildByName(spriteName);

Initial URL

Initial Description
Pass an Objects instance name and its Parent Object to removeChild from the display list.

Initial Title
Remove Child By Name

Initial Tags

Initial Language
ActionScript 3