# On(rollOver)action + on(release)action + photo transition

**URL:** https://forum.kirupa.com/t/on-rollover-action-on-release-action-photo-transition/62538
**Category:** Uncategorized
**Created:** [August 29, 2004, 12:23am UTC](https://forum.kirupa.com/t/on-rollover-action-on-release-action-photo-transition/62538 "2004-08-29T00:23:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rberry88](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rberry88](https://forum.kirupa.com/u/rberry88)
#### Post date: [August 29, 2004, 12:23am UTC](https://forum.kirupa.com/t/on-rollover-action-on-release-action-photo-transition/62538/1 "2004-08-29T00:23:57Z")

</div>

Okay, I’ll try to describe what I want to do and probably just need help putting it together.

I have :

5 black & white photos – all converted to MC’s (bwimage1, bwimage2 etc)  
5 color photos (same as b&w) – all converted to MC’s (image1,image2 etc)  
5 buttons – all converted to symbol-buttons (image1\_btn, image2\_btn etc)

I have the 5 buttons lined up vertically on the left side of the page. I have a spot on the right side of the page where I want the picture to be visible, the black&white version on (rollOver) and the color version on(release).

I know how to make just one of the photos appear on rollover or on release but I don’t know how to change the photos from B&W to Color on the actions. I would like a transition between the photos from rollover to release (b&w to color) like a fade.

Any help is appreciated.

---

<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 29, 2004, 1:37am UTC](https://forum.kirupa.com/t/on-rollover-action-on-release-action-photo-transition/62538/2 "2004-08-29T01:37:22Z")

</div>

you can set up a movie clip for each image, on frame one have the b&w image, frame 2-10 a tween from b&w to color image, and color image on frame 10. name this mc image1\_mc or something

on ur button, put the following code:

```auto

on (rollOver) {
image1_mc.gotoAndStop(1);
}

on (release) { 
image1_mc.gotoAndPlay(2);
}

```

then on frame 10 of image1\_mc have a stop action, and you should be ok.

by the way, i’m in Mt. Prospect 😛

---

<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 29, 2004, 12:59pm UTC](https://forum.kirupa.com/t/on-rollover-action-on-release-action-photo-transition/62538/3 "2004-08-29T12:59:04Z")

</div>

Okay, I got it working fine. Now I need a tutorial on making text appear on rollover and staying on release.

- N/M I believe I got it : [http://rberry883.home.comcast.net/](http://rberry883.home.comcast.net/)

\*nice to see another Illinois suburbanite on the net. 🍺
