最近总有人问起这个,有很多方法都可以做到,其实非常简单:
while(displayObject.numChildren) displayObject.removeChildAt(0);
一句话就可以了。
Still looking for something?
最近总有人问起这个,有很多方法都可以做到,其实非常简单:
while(displayObject.numChildren) displayObject.removeChildAt(0);
一句话就可以了。
Sorry, the comment form is closed at this time.
No comments yet.