Flex 移除容器下所有子显示对象

xiaoxiao2022-06-12  19

function removeChild(sp:Sprite/*UIComponent*/):void{ for(var i:int=sp.numChildren-1;i>=0;i--){ sp.removeChildAt(0);}}
转载请注明原文地址: https://www.6miu.com/read-4933584.html
最新回复(0)