Reputation: 2236
I have MovieClip, created with CS5. Is there a way to hide (set visible = false) all it's children (objects which lie on movie clip) within AS3 code?
Upvotes: 1
Views: 1956
Reputation: 9897
for (var i:int = clip.numChildren - 1; i >= 0; i--) {
clip.getChildAt(i).visible = false;
}
Upvotes: 3