# Attacing MC to button (on release)

**URL:** <https://forum.kirupa.com/t/attacing-mc-to-button-on-release/12483>\
**Category:** Uncategorized\
**Created:** [January 31, 2003, 8:12pm UTC](https://forum.kirupa.com/t/attacing-mc-to-button-on-release/12483 "2003-01-31T20:12:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![advan](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@advan](https://forum.kirupa.com/u/advan)\
**Post date:** [January 31, 2003, 8:12pm UTC](https://forum.kirupa.com/t/attacing-mc-to-button-on-release/12483/1 "2003-01-31T20:12:37Z")

</div>

hmm if someone could help me with this it would be much appreciated!

I have a photo gallery, when you click a thumbnail, the larger photo appears.

What i want to do is attach a white fade out movie clip to each thumbnail, so if the user clicks the thumbnail, it loads the white fade out clip (so the largeimages fades to white), THEN proceeds to frame \_\_ where the next large image is.

aanyone? ;(

thx!

---

<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:** [February 1, 2003, 5:48am UTC](https://forum.kirupa.com/t/attacing-mc-to-button-on-release/12483/2 "2003-02-01T05:48:55Z")

</div>

Could you explain this better. I am confused.

---

<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:** [February 1, 2003, 7:27am UTC](https://forum.kirupa.com/t/attacing-mc-to-button-on-release/12483/3 "2003-02-01T07:27:30Z")

</div>

howabout this…

when the button is clicked, it sets “photonum” equal to a certain number, like let’s say a picture of flowers.

So you have an mc that has a white fade out clip, and when it’s all whited out, you could reference another mc that has the images, like frame one == bees, frame two == birds, frame three== flowers…

so when the white is full, have that keyframe say like “imagemc.gotoAndPlay(photonum)” which’ll change the image to the desired one…

kinda complex…kinda confusing…lemme know if you want me to build a mini one to give ya an idea…
