# How to preload external jpg

**URL:** https://forum.kirupa.com/t/how-to-preload-external-jpg/171576
**Category:** Uncategorized
**Created:** [December 6, 2005, 5:42pm UTC](https://forum.kirupa.com/t/how-to-preload-external-jpg/171576 "2005-12-06T17:42:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![parchow](https://avatars.discourse-cdn.com/v4/letter/p/a9a28c/32.png) [@parchow](https://forum.kirupa.com/u/parchow)
#### Post date: [December 6, 2005, 5:42pm UTC](https://forum.kirupa.com/t/how-to-preload-external-jpg/171576/1 "2005-12-06T17:42:50Z")

</div>

Hy all

I’m using the following code to load a background image into a container movie.

```auto
 
on (release) {
 this._parent.background.container.loadMovie("fundo02.jpg");
}

```

Now I would like to add a simple preload sequence to the action. So that after klicking the button a "loading"clip apears until the Image is all loaded.

Then I’d like the new image to smooth in over the old image instead of suddenly appearing. Is that asking to much?

Thanks in advance.
