# Randomly load JPEG with fade

**URL:** <https://forum.kirupa.com/t/randomly-load-jpeg-with-fade/101460>\
**Category:** Uncategorized\
**Created:** [February 10, 2004, 3:06am UTC](https://forum.kirupa.com/t/randomly-load-jpeg-with-fade/101460 "2004-02-10T03:06:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![acaraciolo](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@acaraciolo](https://forum.kirupa.com/u/acaraciolo)\
**Post date:** [February 10, 2004, 3:06am UTC](https://forum.kirupa.com/t/randomly-load-jpeg-with-fade/101460/1 "2004-02-10T03:06:39Z")

</div>

A call to all for help… Is there a way to use ActionScript to randomly load JPEG files so that one fade’s out smoothly while the other fade’s in… without a button or mouse trigger, like in a banner? I posted this question the other day but so far have received 0 replys. Not sure if I’m asking something extreemly difficult or so darn simple everyone figures it should be obvious! I tried using setInterval with a function call and it works sort of but caused other problems in the movie…Please, if you have any suggestions I would be very greatful.
