Need help stopping a scrolling movie

I am trying to dupicate the effect at the bottom of the bacardi.com site.

There is a scrolling movie that stops once you mouse over it

I have spent some time messing with the f5_scrollbar_animation.fla movie from this site but can’t seem to find the right spot for handlers. What I would like the movie to do is scroll on it’s own without taking the mouse movement into account (easy to do just remove the [_root.xmouse] from

[this._x += (_root._xmouse - 320)*percent_increment;] and it just scrolls. What I can’t seem to do is figure out how to get it to stop scrolling on a mouse click.

I have tried using hte [onClipEvent(mouseDown)] event but it isn’t working. This might be due the fact I am starting the scrolling with a onClipEvent(enterFrame) but I am not sure.

Could anyone point me to a tutorial that might help or make some suggestions on how to get the f5_scrollbar_animation.fla movie to scroll on it’s own and stop with a mouse down (really want a mouse over like the bacardi.com site).

Thanks and sorry if that is horrible unclear :slight_smile:

Peace,
Rickard


this._x -= !hitTest(_parent._xmouse, _parent._ymouse, true)*325*percent_incriment

(I learned this from Kode earlier today :P)

While I understand the script you posted I am confused as where to use it.

I am using the [onClipEvent(enterFrame)] to start my scrolling moving it seems to always scroll. using your script instead kills the scroll. If you script was intended to be put somewhere else instead of substituted for the [this.x] script already in the movie then I don’t know where it should go.

Thanks.

Peace,
Rickard