# I just want to load a PNG or JPEG by pressing on a button...!

**URL:** <https://forum.kirupa.com/t/i-just-want-to-load-a-png-or-jpeg-by-pressing-on-a-button/176742>\
**Category:** Uncategorized\
**Created:** [January 26, 2006, 3:53pm UTC](https://forum.kirupa.com/t/i-just-want-to-load-a-png-or-jpeg-by-pressing-on-a-button/176742 "2006-01-26T15:53:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damon\_77](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Damon\_77](https://forum.kirupa.com/u/Damon_77)\
**Post date:** [January 26, 2006, 3:53pm UTC](https://forum.kirupa.com/t/i-just-want-to-load-a-png-or-jpeg-by-pressing-on-a-button/176742/1 "2006-01-26T15:53:17Z")

</div>

I have a bunch of buttons. On release, I want each button to load an image into a MC I have on the stage. So when each thumbnail is clicked, it just loads the next image. Very simple - thumbnails along the bottom, image loads above in a big space.

I’ve read everything, searched all over the net, but can’t seem to find the answer to my problem. What’s the deal? Isn’t there a simple behavior to attach to a button so that it loads an image into a movie clip on the stage?

Please help. I’ve been going in cirlces for 2 days now. I’m thinking this shouldn’t be so hard.

I’m working in Flash 8.
