# Scrolling images, with button rollovers

**URL:** https://forum.kirupa.com/t/scrolling-images-with-button-rollovers/124762
**Category:** Uncategorized
**Created:** [October 6, 2004, 4:19pm UTC](https://forum.kirupa.com/t/scrolling-images-with-button-rollovers/124762 "2004-10-06T16:19:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hey\_suburbia](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hey\_suburbia](https://forum.kirupa.com/u/hey_suburbia)
#### Post date: [October 6, 2004, 4:19pm UTC](https://forum.kirupa.com/t/scrolling-images-with-button-rollovers/124762/1 "2004-10-06T16:19:27Z")

</div>

I have a scrolling movieClip with 8 or so pictures.

(Code on the movieClip)

```auto

onClipEvent (load) {
	speed = 1;
}
onClipEvent (enterFrame) {
	_x = _x+speed;
	if (_x>0) {
		_x = -639;
	}
}
on (rollOver) {
	speed = 0;
}
on (rollOut) {
	speed = 1;
}

```

I want to be able to have each picture have it’s own rollover state. But if I convert one to a button, the button over state doesn’t show, even code on the button doesn’t work(probably because it’s within the MC) any idea’s?

I attached the .fla
