# \[FMX\] Control function for MC's

**URL:** <https://forum.kirupa.com/t/fmx-control-function-for-mcs/47666>\
**Category:** flash\
**Created:** [April 6, 2004, 6:21am UTC](https://forum.kirupa.com/t/fmx-control-function-for-mcs/47666 "2004-04-06T06:21:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dboers](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dboers](https://forum.kirupa.com/u/dboers)\
**Post date:** [April 6, 2004, 6:21am UTC](https://forum.kirupa.com/t/fmx-control-function-for-mcs/47666/1 "2004-04-06T06:21:22Z")

</div>

I have 120 MC’s (little squares, names square\_01, square\_02, etc) around my stage like a frame around a painting. I would like to create an onRollOver/Out effect for these mc’s, but it seems a bit much to me to place them all in an array.

The effect have to be that when you roll over the alpha is going to 0 and that on roll out the alpha will be restored to 100. I also would like the effect to be easing. I know how make a function to control the alpha. But I don’t know how to continiue from there. I think it has something to do with a (for in) loop witch I tried, without any results. Is there somebody who can help me?
