# Loading and Fading Jpeg

**URL:** https://forum.kirupa.com/t/loading-and-fading-jpeg/14841
**Category:** Uncategorized
**Created:** [March 3, 2003, 4:24pm UTC](https://forum.kirupa.com/t/loading-and-fading-jpeg/14841 "2003-03-03T16:24:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ryioken](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@ryioken](https://forum.kirupa.com/u/ryioken)
#### Post date: [March 3, 2003, 4:24pm UTC](https://forum.kirupa.com/t/loading-and-fading-jpeg/14841/1 "2003-03-03T16:24:15Z")

</div>

Hello all,  
i bet this newbie question has been answered, but i am having problems coding it.  
What i want to do?

leftside on the stage there are 3 movie clip that will be used to load 3 jpegs.  
on the right side there are a cuouple of buttons.

1. When i click on a button i want the 3 jpegs to load and fade in one bij one (so not at the same time).

2. if i click on another button the previous jpegs have to fade out while the new images fade in.

Can anybody help me?

thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 3, 2003, 6:14pm UTC](https://forum.kirupa.com/t/loading-and-fading-jpeg/14841/2 "2003-03-03T18:14:09Z")

</div>

have a couple empty MC to hold the pictures, have some AS to detect when the pictures have been loaded, and untill they have been loaded don’t start the fading

if that makes sence

basicly your gonna have to make sure the pictures are loaded fully before anything depending on the size of the pictures

someone tell me if i’m wrong
