# "for loop" question

**URL:** <https://forum.kirupa.com/t/for-loop-question/172013>\
**Category:** flash\
**Created:** [December 9, 2005, 11:06pm UTC](https://forum.kirupa.com/t/for-loop-question/172013 "2005-12-09T23:06:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LJF](https://avatars.discourse-cdn.com/v4/letter/l/e495f1/32.png) [@LJF](https://forum.kirupa.com/u/LJF)\
**Post date:** [December 9, 2005, 11:06pm UTC](https://forum.kirupa.com/t/for-loop-question/172013/1 "2005-12-09T23:06:36Z")

</div>

I’ve been staring at the screen too long and I’m sure the answer is simple but this has been bugging me for a bit now…

I’ve created a grid with over 200 movie clips dynamically using a for loop. I was wondering if there was a way to assign rollovers and such to each new clip using the same loop.

I’ve been poking around with it a bit but can’t seem to get it working and sure don’t want to write over 200 rollover functions so any help would be great.

thanks
