# Loading images

**URL:** <https://forum.kirupa.com/t/loading-images/60113>\
**Category:** Uncategorized\
**Created:** [August 6, 2004, 4:58pm UTC](https://forum.kirupa.com/t/loading-images/60113 "2004-08-06T16:58:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jusko](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jusko](https://forum.kirupa.com/u/jusko)\
**Post date:** [August 6, 2004, 4:58pm UTC](https://forum.kirupa.com/t/loading-images/60113/1 "2004-08-06T16:58:55Z")

</div>

I dont seem to get this right!! I have 5 buttons and i want to load 5 different images to a movie clip, each button loading one of the images. how can i do this?

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:** [August 6, 2004, 5:57pm UTC](https://forum.kirupa.com/t/loading-images/60113/2 "2004-08-06T17:57:51Z")

</div>

create an empty movie clip (don’t put anything inside it). put it on the main timeline and give it the instance name container.

button 1 AS:[AS]on(release){  
container.loadMovie(“1.jpg”);  
}[/AS]  
button 2 AS:[AS]on(release){  
container.loadMovie(“2.jpg”);  
}[/AS]  
so on and so forth. we’re talking about externally loading the jpg, so if you want to do some research, try searching for external jpg, or external swf.
