Frame 1
speed = 14;
imageMask.onEnterFrame = function () {
var _local1 = this;
if ((_local1._width + _local1._x) < _xmouse) {
if (((_local1._width + _local1._x) >= (_xmouse - 0.8)) || ((_local1._width + _local1._x) == _xmouse)) {
_local1._x = _xmouse - _local1._width;
} else {
_local1._x = _local1._x + ((_xmouse - (_local1._width + _local1._x)) / speed);
}
} else if ((_local1._width + _local1._x) > _xmouse) {
if (((_local1._width + _local1._x) <= (_xmouse + 0.8)) || ((_local1._width + _local1._x) == _xmouse)) {
_local1._x = _xmouse - _local1._width;
} else {
_local1._x = _local1._x - (((_local1._width + _local1._x) - _xmouse) / speed);
}
} else {
_local1._x = _xmouse - _local1._width;
}
};