# Image scroll

**URL:** <https://forum.kirupa.com/t/image-scroll/7325>\
**Category:** Uncategorized\
**Created:** [October 28, 2002, 2:42pm UTC](https://forum.kirupa.com/t/image-scroll/7325 "2002-10-28T14:42:05Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [October 29, 2002, 7:41pm UTC](https://forum.kirupa.com/t/image-scroll/7325/21 "2002-10-29T19:41:19Z")

</div>

whoops sorry fla on its way.

---

<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:** [October 29, 2002, 8:02pm UTC](https://forum.kirupa.com/t/image-scroll/7325/22 "2002-10-29T20:02:18Z")

</div>

Hopefully it will fit in my inbox, I only haev like 50% space left, so ift he file is too big, it might not go through.

If that happens, do you have a spot to upload it where I can download it from. Then you can send me a link in a PM or e-mail.

PS: I won’t be able to send it back to you. I will try and fix it, but since I use MX and you use 5, you will not be able to open my file.

What I am planning to do is to reply back here with a step by step fix to your problem so you can fix it on your end.

---

<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:** [October 29, 2002, 8:06pm UTC](https://forum.kirupa.com/t/image-scroll/7325/23 "2002-10-29T20:06:08Z")

</div>

Way ahead of you i can only upload 5meg onto my email and the file is 14 meg im uploading it now but i takes alot longer bare with me.

---

<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:** [October 29, 2002, 8:07pm UTC](https://forum.kirupa.com/t/image-scroll/7325/24 "2002-10-29T20:07:47Z")

</div>

Ok, just send me the PM when its done.

I should be here, I was supposed to go to my girlfriends house, but it is sleeting pretty bad and I am not walking 45 minutes in sleet. Rain I can do… sleet… not a chance. :::sigh:::

---

<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:** [October 29, 2002, 8:11pm UTC](https://forum.kirupa.com/t/image-scroll/7325/25 "2002-10-29T20:11:43Z")

</div>

what? she’s not worth a 45 min walk in sleet? what’s her #, I’ll give her a call and let her know she should come get you… 😛

just messing with you Lostinbeta… 😛

Rev:elderly:

---

<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:** [October 29, 2002, 8:16pm UTC](https://forum.kirupa.com/t/image-scroll/7325/26 "2002-10-29T20:16:43Z")

</div>

She didn’t want me going out in this weather either. If she wanted me to I would definitely go.

---

<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:** [October 29, 2002, 8:17pm UTC](https://forum.kirupa.com/t/image-scroll/7325/27 "2002-10-29T20:17:58Z")

</div>

Sure, that’s what you say here…

Rev:elderly:

---

<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:** [October 29, 2002, 8:21pm UTC](https://forum.kirupa.com/t/image-scroll/7325/28 "2002-10-29T20:21:50Z")

</div>

It doesn’t matter if you believe me or not 😏

---

<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:** [October 29, 2002, 8:27pm UTC](https://forum.kirupa.com/t/image-scroll/7325/29 "2002-10-29T20:27:09Z")

</div>

Just kidding… 😛

Rev:elderly:

---

<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:** [October 29, 2002, 8:28pm UTC](https://forum.kirupa.com/t/image-scroll/7325/30 "2002-10-29T20:28:06Z")

</div>

I know 🙂

---

<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:** [October 29, 2002, 9:29pm UTC](https://forum.kirupa.com/t/image-scroll/7325/31 "2002-10-29T21:29:20Z")

</div>

I keep getting problems while uploading to my server, do you have KaZaA, MSN or your own server???

---

<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:** [October 29, 2002, 9:32pm UTC](https://forum.kirupa.com/t/image-scroll/7325/32 "2002-10-29T21:32:23Z")

</div>

Erm… nope :-\

I use AIM, and my server isn’t mine, it is my friends.

I will see if I can whip up some kind of short tutorial.

---

<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:** [October 29, 2002, 9:42pm UTC](https://forum.kirupa.com/t/image-scroll/7325/33 "2002-10-29T21:42:13Z")

</div>

ok cool, can you see what im trying to do by the swf i sent you?

---

<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:** [October 29, 2002, 9:43pm UTC](https://forum.kirupa.com/t/image-scroll/7325/34 "2002-10-29T21:43:32Z")

</div>

Yeah, I can see.

One question… did you assign Instance names to your movie clip so the buttons knew what to move?

---

<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:** [October 29, 2002, 9:48pm UTC](https://forum.kirupa.com/t/image-scroll/7325/35 "2002-10-29T21:48:01Z")

</div>

no am i supposed to?

---

<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:** [October 29, 2002, 9:51pm UTC](https://forum.kirupa.com/t/image-scroll/7325/36 "2002-10-29T21:51:55Z")

</div>

Yeah, I am getting it to work on my end, I will just write up a quick tutorial.

My gallery is one frame long, the pictures all reside in one movie clip and then there are 2 buttons.

---

<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:** [October 29, 2002, 9:58pm UTC](https://forum.kirupa.com/t/image-scroll/7325/37 "2002-10-29T21:58:29Z")

</div>

Ok…

Step 1…

On frame one of the main timeline add this to the frame…

```auto
speed=5

```

This will let you modify the speed your clip scrolls at.

Step 2…

Now line up all the picture you want in your gallery in the order you want. Select them all at once (use the arrow tool and hold the shift key on your keyboard and select each image) and hit F8 to convert that into a movieClip symbol.

Right click on this movie clip and add these actions…

```auto
onClipEvent (enterFrame) {
	if (_root.moveLeft) {
		this._x -= _root.speed;
	}
	if (_root.moveRight) {
		this._x += _root.speed;
	}
}

```

Step 3…

Now to create your buttons. Create your button to move the clip to the left (your left). Add these actions to that button…

```auto
on (rollOver) {
	moveLeft = true;
}
on (rollOut) {
	moveLeft = false;
}

```

Now create your button to move the clip to the right (your right). Add these actions to that button…

```auto
on (rollOver) {
	moveRight = true;
}
on (rollOut) {
	moveRight = false;
}

```

That is all there is to it. Easy as 1,2,3 🙂

---

<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:** [October 29, 2002, 10:04pm UTC](https://forum.kirupa.com/t/image-scroll/7325/38 "2002-10-29T22:04:04Z")

</div>

[SIZE=4]HOOOORAY[/SIZE]

Thanks alot for your help that looks amazing.  
cheers

Dude

---

<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:** [October 29, 2002, 10:06pm UTC](https://forum.kirupa.com/t/image-scroll/7325/39 "2002-10-29T22:06:27Z")

</div>

I am glad I could help you out.

To constrain it, change the code on the movie clip to something like this…

```auto
onClipEvent (enterFrame) {
	if (_root.moveLeft) {
		this._x -= _root.speed;
		if (this._x<=175) {
			this._x = 175;
		}
	}
	if (_root.moveRight) {
		this._x += _root.speed;
		if (this._x>=325) {
			this._x = 325;
		}
	}
}

```

Change the numbers to fit your movie. That will keep it from scrolling to the point of no return.

---

<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:** [November 11, 2002, 6:41pm UTC](https://forum.kirupa.com/t/image-scroll/7325/40 "2002-11-11T18:41:35Z")

</div>

After all that - I think you should at least show us what you have done! =)

[Previous page](https://forum.kirupa.com/t/image-scroll/7325.md?page=1)

[Next page](https://forum.kirupa.com/t/image-scroll/7325.md?page=3)
