Alpha

Hi

Hope someone can help me with a small problem I’m having. Working on a web site where on top of an image I want to display a small row of boxes randomly changing alpha.

Now this isn’t a problem to do this, I just use the random function and then change the alpha of the box but it does look a little jumpy and I was hoping for something a bit smoother.

Does anyone know how to acheive this but by it looking a bit smoother, like a motion tween would? You know the alpha goes from 100 to 56 over a series of frames so that it looks smooth rather than just jumps from 100 to 56?

Thanks,
Rab Bell.