# Dynamic Fading Navigation

**URL:** <https://forum.kirupa.com/t/dynamic-fading-navigation/80915>\
**Category:** flash\
**Created:** [February 25, 2005, 9:21pm UTC](https://forum.kirupa.com/t/dynamic-fading-navigation/80915 "2005-02-25T21:21:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DjPizat](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@DjPizat](https://forum.kirupa.com/u/DjPizat)\
**Post date:** [February 25, 2005, 9:21pm UTC](https://forum.kirupa.com/t/dynamic-fading-navigation/80915/1 "2005-02-25T21:21:24Z")

</div>

Hey all, I’m new to this forum(Great forum) btw, and i hope someone can help with this lil problem. I have a menu dynamically generated and i can get it to fade in. The thing is, is that i want each mc to fade in one after the other instead of all at once. This is my code so far. Does anyone know how to get it so each mc will fade in one by one??

```auto
 
 
this.stop(); 
 links = new Array()
 links[0] = ["Home"]
 links[1] = ["Events"]
 links[2] = ["Gallery"]
 links[3] = ["List"]
 links[4] = ["Contact"]
 
 var len = links.length
 var posx = Stage.width/2
 var posy = 0
 var spacing = 26;
 
 for(var i = 0; i< len; i++){
  this.attachMovie("clip","clip" + i, i)
  this["clip" + i]._alpha = 0
 }

 for(var j=0; j<len; j++){
  this["clip" + j]._x = posx;
  this["clip" + j]._y = posy
  if(j%2 == 0){
   this["clip" + j].gotoAndPlay("normal")
  }
  else{
   this["clip" + j].gotoAndPlay("flip")
  }
  posy += spacing;
 }

**//This is where the fading starts**

 var fadespeed = 6
 this.onEnterFrame=function()
 {
  for(var j=0; j<len; j++){
   this["clip" +j]._alpha+=fadespeed;
  }
 }
 

```
