Hi all,

I have a site I'm developing that uses the code (attached) from a FLA from
FlashKit. It all works like a dream (clicking on a link slides the page over to
another) but I have a problem where the page will rest after moving with a 1
pixel line on the side. The text is also slightly blurred when this happens.

I think it is because the page is 'resting' on a fractional number.

I have tried using Math.round() and Math.floor() and they sort out the
blurring problem, but are about 2 pixels out instead.

Any ideas would be most appreciated.

Andy

if (Number(/scOne:_x)<Number(/:destination)) {
speed = (/:destination-/scOne:_x)/4;
setProperty("/scOne", _x, Number(/scOne:_x)+Number(speed));
} else {
speed = (/scOne:_x-/:destination)/4;
setProperty("/scOne", _x, /scOne:_x-speed);
}
setProperty("/scTwo", _x, Number(/scOne:_x)+760);
setProperty("/scThree", _x, Number(/scTwo:_x)+760);
setProperty("/scFour", _x, Number(/scThree:_x)+760);
setProperty("/scFive", _x, Number(/scFour:_x)+760);
setProperty("/scSix", _x, Number(/scFive:_x)+760);