# Sliding viewer

**URL:** https://forum.kirupa.com/t/sliding-viewer/2808
**Category:** flash
**Created:** [April 3, 2002, 10:35pm UTC](https://forum.kirupa.com/t/sliding-viewer/2808 "2002-04-03T22:35:34Z")
**Posts on this page:** 8
**Page:** 1

<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: [April 3, 2002, 10:35pm UTC](https://forum.kirupa.com/t/sliding-viewer/2808/1 "2002-04-03T22:35:34Z")

</div>

I have a problem with a sliding series of pictures. I have the actionscript assigned to the movie clip instance on the stage which basically determines speed and direction relative to the mouse. Everything works great but cannot seem to make the movieclip continuous eventhough I have duplicated the series in the movieclip and set everything to x=0, y=0.\r\rCan anyone tell me what I am overlooking?

---

<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: [April 5, 2002, 11:42am UTC](https://forum.kirupa.com/t/sliding-viewer/2808/2 "2002-04-05T11:42:48Z")

</div>

Please be more precise, about your code, and about what you’re trying to do.\rpom 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: [April 5, 2002, 2:25pm UTC](https://forum.kirupa.com/t/sliding-viewer/2808/3 "2002-04-05T14:25:21Z")

</div>

This sliding viewer. I also have the same problem with my file. But not the same codes. Could someone PLEASE give me the whole code and where to place it in order to create this sliding viewer. e-mail me at [hotlipz18@mailcity.com](mailto:hotlipz18@mailcity.com). I REALLY NEED IT!

---

<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: [April 5, 2002, 2:35pm UTC](https://forum.kirupa.com/t/sliding-viewer/2808/4 "2002-04-05T14:35:57Z")

</div>

??

---

<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: [April 5, 2002, 2:49pm UTC](https://forum.kirupa.com/t/sliding-viewer/2808/5 "2002-04-05T14:49:49Z")

</div>

I have no idea what that means I have this code that is kinda close to it but all it does is let the image slide all accross the screen. Can you fix it. Its this:\r\ronClipEvent(load) {\rxCen = 550/2; //if movie width is 550, change otherwise\r}\ronClipEvent(enterFrame) {\rx = xCen-\_root.\_xmouse;\r\_x -= x; //reverse direction of mouse:\r//mouse go left, pic goes right, vice versa\r}

---

<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: [April 5, 2002, 11:07pm UTC](https://forum.kirupa.com/t/sliding-viewer/2808/6 "2002-04-05T23:07:11Z")

</div>

What’s wrong with that code ? It seems correct to me ?..\rpom 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: [April 6, 2002, 3:40am UTC](https://forum.kirupa.com/t/sliding-viewer/2808/7 "2002-04-06T03:40:44Z")

</div>

The image, instead of srolling opposite the direction of the mouse just scrolls across the screen!

---

<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: [April 6, 2002, 11:47am UTC](https://forum.kirupa.com/t/sliding-viewer/2808/8 "2002-04-06T11:47:57Z")

</div>

check the other post about the same subject, Duri3l\rpom 0]
