# Fade in loop?

**URL:** https://forum.kirupa.com/t/fade-in-loop/92927
**Category:** Uncategorized
**Created:** [October 23, 2003, 1:09pm UTC](https://forum.kirupa.com/t/fade-in-loop/92927 "2003-10-23T13:09:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Inflicted](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@Inflicted](https://forum.kirupa.com/u/Inflicted)
#### Post date: [October 23, 2003, 1:09pm UTC](https://forum.kirupa.com/t/fade-in-loop/92927/1 "2003-10-23T13:09:48Z")

</div>

This is a follow up question to an earlier thread. Someone helped me with some code, but actually made it to difficult for me to understand.  
I want to fade the pictures in this loop in:

```auto
for (i=1; i<=6; i++) {
    loadMovie("images/image"+i+".jpg", "container_"+i);
    this["container_"+i].onload = function() {
        this["container_"+i]._alpha = 0;
    };
}

```

Searched for examples, but couldn’t find a simple one(drives me crazy!)

thanks

regards

\*wanted to post in AS forum but made mistake. Is it possible to move it there?
