# Looping question

**URL:** <https://forum.kirupa.com/t/looping-question/169132>\
**Category:** Uncategorized\
**Created:** [November 13, 2005, 9:36pm UTC](https://forum.kirupa.com/t/looping-question/169132 "2005-11-13T21:36:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![serkios](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/serkios/32/608_2.png) [@serkios](https://forum.kirupa.com/u/serkios)\
**Post date:** [November 13, 2005, 9:36pm UTC](https://forum.kirupa.com/t/looping-question/169132/1 "2005-11-13T21:36:13Z")

</div>

How would I write a loop that cycled through all the movieclips within a container clip and did something to each one?

For example say i have 6 movielcips in holder\_mc, and I want to change each one’s visibility? I need it to be dynamic so it will still loop through all clips whether 2 are in there or 20. Thanks in advance!
