# Random fade in and fade out

**URL:** <https://forum.kirupa.com/t/random-fade-in-and-fade-out/201925>\
**Category:** flash\
**Created:** [September 26, 2006, 10:55am UTC](https://forum.kirupa.com/t/random-fade-in-and-fade-out/201925 "2006-09-26T10:55:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dokratos](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dokratos](https://forum.kirupa.com/u/Dokratos)\
**Post date:** [September 26, 2006, 10:55am UTC](https://forum.kirupa.com/t/random-fade-in-and-fade-out/201925/1 "2006-09-26T10:55:38Z")

</div>

I have a background picture covered with black squares(which are movieclips) that I want to randomly or at least aparently randomly fade in and fade out never exposing more than a part of the picture that is hidden behind these squares. Does anyone have an idea of how I can accomplish this effect with actionscript?
