# Infinite photo gallery?

**URL:** https://forum.kirupa.com/t/infinite-photo-gallery/8970
**Category:** Uncategorized
**Created:** [December 2, 2002, 2:33am UTC](https://forum.kirupa.com/t/infinite-photo-gallery/8970 "2002-12-02T02:33:49Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sk8erboi\_Q8](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@sk8erboi\_Q8](https://forum.kirupa.com/u/sk8erboi_Q8)
#### Post date: [December 2, 2002, 2:33am UTC](https://forum.kirupa.com/t/infinite-photo-gallery/8970/1 "2002-12-02T02:33:49Z")

</div>

hey!

i was taking a look at the infinite menu tutorial here at kirupa, and i got an idea for my webpage… i was thinking about making a line of photos beside each other , and they would keep moving towards the left of the page from the far right…, and when the last photo comes, then the first photo shows up again from the right, but the difference is that the mouse does not control the movement to the left and right… this might sound confusing but it makes normal sense 😛

so i was wondering if ne1 could help me out with some actionscripting to make my idea work 🙂 thnx alot for reading this! i appreciate it 🙂

thnx

---

<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: [December 2, 2002, 3:36am UTC](https://forum.kirupa.com/t/infinite-photo-gallery/8970/2 "2002-12-02T03:36:05Z")

</div>

you could just replace the \_xmouse stuff with a set speed number.

---

<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: [December 2, 2002, 3:41am UTC](https://forum.kirupa.com/t/infinite-photo-gallery/8970/3 "2002-12-02T03:41:36Z")

</div>

hey! thanx for u’r reply! thats exactly what i had in mind, but the thing is i dont know how to replace it, i dont know how to set like a speed number…could u please help me out?

thnx

---

<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: [December 2, 2002, 3:45am UTC](https://forum.kirupa.com/t/infinite-photo-gallery/8970/4 "2002-12-02T03:45:45Z")

</div>

Replace the code on the movie clip with this…

```auto
onClipEvent (load) {
	var speed = 5;
}
onClipEvent (enterFrame) {
	_x += speed;
	if (_x>0) {
		_x = -300;
	}
	if (_x<-300) {
		_x = 0;
	}
}

```

---

<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: [December 2, 2002, 5:14am UTC](https://forum.kirupa.com/t/infinite-photo-gallery/8970/5 "2002-12-02T05:14:53Z")

</div>

thanx alot it works :):)🙂

---

<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: [December 2, 2002, 5:18am UTC](https://forum.kirupa.com/t/infinite-photo-gallery/8970/6 "2002-12-02T05:18:49Z")

</div>

Cool =)

No problem 🙂
