Hey there!
I’m messing around with the following code:
onEnterFrame = function() {
speed = 6;
if (_root.fakeHit.hitTest( _root._xmouse, _root._ymouse, true)) {
_root.bar01._y += ((_root._ymouse-_root.bar01._y)/speed);
}
}
When you rollOver or enter the movieclip “fakeHit”, the movieclip “bar01” starts to move, simple enough. But when you rollOut the movement stops imidetly!? Why is that, and is there a way to make the movement ease out when rolling out the hit area?
See the attached .fla