# Random alpha tween on random mc

**URL:** <https://forum.kirupa.com/t/random-alpha-tween-on-random-mc/268508>\
**Category:** Uncategorized\
**Created:** [August 14, 2008, 5:57pm UTC](https://forum.kirupa.com/t/random-alpha-tween-on-random-mc/268508 "2008-08-14T17:57:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![njacobson](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@njacobson](https://forum.kirupa.com/u/njacobson)\
**Post date:** [August 14, 2008, 5:57pm UTC](https://forum.kirupa.com/t/random-alpha-tween-on-random-mc/268508/1 "2008-08-14T17:57:41Z")

</div>

Hi there… I’m not new to flash, but pretty new to AS3.

I’m trying to create a grid of 40 images that randomly fade in and out at different intervals. so at any point in time, some images will be at 100% alpha (or 1), some will be at 0, some will be anywhere in between (.1 .2 .3 .4 .5 .6 .7 .8 .9) I’m sure I could figure out how to randomly set the alpha of one image, but I’m not sure how to set random alpha (with tween) on a random image.

Also, at first I was going to import each image into flash individually, but then I though it might make a smaller file, to pull one large image with all 40 images, then just have a “whitebox\_mc” placed over each image that fades randomly to expose the image below.

Help is greatly appreciated!!!
