# Buttons in mcs that load external jpegs into empty mc on stage

**URL:** <https://forum.kirupa.com/t/buttons-in-mcs-that-load-external-jpegs-into-empty-mc-on-stage/61260>\
**Category:** Uncategorized\
**Created:** [August 17, 2004, 9:43am UTC](https://forum.kirupa.com/t/buttons-in-mcs-that-load-external-jpegs-into-empty-mc-on-stage/61260 "2004-08-17T09:43:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![magentarocket](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@magentarocket](https://forum.kirupa.com/u/magentarocket)\
**Post date:** [August 17, 2004, 9:43am UTC](https://forum.kirupa.com/t/buttons-in-mcs-that-load-external-jpegs-into-empty-mc-on-stage/61260/1 "2004-08-17T09:43:48Z")

</div>

hi, i’ve searched through some threads and have tried different options including the kirupa tutorial on loading external files through LoadMovie, etc.

anyway, i have a movieclip that contains about 6 buttons. i’m using a movieclip to hold those buttons because i wanted all of the buttons to fade in after each other and didn’t know how to code that other than to manually tween them and altering their alpha - so that’s why they’re all in that movieclip.

the movieclip is on the mainstage, and i want each button that appears to be able to load an external jpeg into another movieclip on that same stage. say, i have an empty movie clip just for that purpose. it’s almost like a gallery, except with the buttons inside the movieclip. none of them have been working so far, can anyone please help??

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 17, 2004, 10:56am UTC](https://forum.kirupa.com/t/buttons-in-mcs-that-load-external-jpegs-into-empty-mc-on-stage/61260/2 "2004-08-17T10:56:20Z")

</div>

Welcome to kirupaforum=)

Have you tried

```auto
 on(release){
_root.youremptymc.loadMovie("yourjpg.jpg");//youremptymc is the instancename
}

```

?

scotty(-:

---

<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 18, 2004, 4:30am UTC](https://forum.kirupa.com/t/buttons-in-mcs-that-load-external-jpegs-into-empty-mc-on-stage/61260/3 "2004-08-18T04:30:38Z")

</div>

thank you !

now off to search the million threads on preloading jpgs 😃

---

<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 18, 2004, 6:33am UTC](https://forum.kirupa.com/t/buttons-in-mcs-that-load-external-jpegs-into-empty-mc-on-stage/61260/4 "2004-08-18T06:33:25Z")

</div>

welcome:thumb:
