# Help with FOR loop

**URL:** <https://forum.kirupa.com/t/help-with-for-loop/114338>\
**Category:** Uncategorized\
**Created:** [June 27, 2004, 7:25pm UTC](https://forum.kirupa.com/t/help-with-for-loop/114338 "2004-06-27T19:25:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mp\_Designs](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mp\_Designs](https://forum.kirupa.com/u/mp_Designs)\
**Post date:** [June 27, 2004, 7:25pm UTC](https://forum.kirupa.com/t/help-with-for-loop/114338/1 "2004-06-27T19:25:44Z")

</div>

Ok, guys, its me again. This is for the same menu bar slider thing ive been working on the past few days on and off. I have this for loop on a main button MC:

```auto
  
on (rollOver) {
 for (i=1; i<100; i++) {
  this._alpha = (100-i);
 }
}
on (rollOut) {
 this._alpha = 100;
}

```

Thats the code for the whole MC.  
The movie can be viewed here. [http://www.vitoxwebdesign.com/menu%20bar%20sliders.html](http://www.vitoxwebdesign.com/menu%20bar%20sliders.html)  
Now when the mouse is over, i just want the MC to fade to alpha 0, but it fades like instantanious. Is the loop working and just going really fast or what?  
Thanks guys,  
Mith
