# Image scroller problem

**URL:** <https://forum.kirupa.com/t/image-scroller-problem/229182>\
**Category:** flash\
**Created:** [June 14, 2007, 6:37pm UTC](https://forum.kirupa.com/t/image-scroller-problem/229182 "2007-06-14T18:37:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nress](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@nress](https://forum.kirupa.com/u/nress)\
**Post date:** [June 14, 2007, 6:37pm UTC](https://forum.kirupa.com/t/image-scroller-problem/229182/1 "2007-06-14T18:37:05Z")

</div>

I am doing updates to a site that has an image scroller. The scroller worked fine until i added some more images to it and now some of the images are all distored.

Here is the swf file to see exactly what im talking about: [http://www.chadress.com/proof/nav\_04.swf\](http://www.chadress.com/proof/nav_04.swf%5C)

Here is the actionscript that is in the flash file:

frame 2 code:

```auto

// Initialise Variables
_level2.mover = scrollingobject._x;
_level2.movevalue = 0;

```

frame 20 code:

```auto

var mouseh:Number = tracker._x;
var mousev:Number = tracker._y;

if (mousev>415 && mousev<500) {

   _level2.movevalue = ((_level2.movevalue*9)+((mouseh-400)/-100))/10;
   alert._visible = true;
} else {
   alert._visible = false;
}

```

frame 21 code:

```auto

_level2.mover += movevalue;
if (_level2.mover > 6872) {
    _level2.mover = 0;
}
if (_level2.mover < 0) {
    _level2.mover = 6872;
}
scrollingobject._x = _level2.mover;
gotoAndPlay(20);

```

Thanks
