ok, im finally done -
first off, no offense, but you should try to pay a bit more attention to the tutorial, since especially for this one you can’t just d/l it and then replace the movie clips. also, you needed to read on the tutorial where it said to make sure the movie clip’s registration point was left-center!!
ok, first things first, the actionscript modifications:
[AS]///////////////////////////
// start slide functions//
/////////////////////////
onClipEvent (load)
{
// play with xcenter value to change amount of sensitivity to mouse
// the higher xcenter is, the less mouse response you will have
xcenter=600;
// seems to be the only acceptable value for your clip
speed= .1/10;
}
onClipEvent (enterFrame)
{
// again, since the clip you are scrolling is so long, take xcenter and
// divide it by four to increase mouse response
var distance=_root._xmouse-xcenter/4;
_x+=(distance*speed);
}
onClipEvent (enterFrame)
{
// 1210 px is half of your clips
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
if (_x > 0) _x=-1210;
if (_x < -1210) _x=0;
}
/////////////////////////
// end slide functions//
///////////////////////[/AS]
You need to edit the xcenter code so that it reflected the value of half of your movie clip. i altered this very slightly so that the mouse reponse in this clip would be improved.
next, i had to change speed because your loooong clip just zoomed by and you couldn’t even see them. since speed has to be less than 1, i used the value of .1/10 . the next lines are roughly the same, but then to increase mouse response, i had to divide xcenter by 4, and it worked!
(kinda a happy accident)
the rest is good, all you had to change was the value of 300 to 1200 since this is half of your movie clip’s width.
finally, i had to change the size of your actual movie to 700 pixels since if it was 300 pixels, there is no way the user could slow down the sliding, since they would probably move their mouse way off the movie and flash would no longer be evaluating xmouse.
anyways, that was kinda long but it works now, enjoy…