Попробуй так:

Код:
_root.createEmptyMovieClip("drawer_mc", 3);
drawer_mc.lineStyle(2, 21760);
_root.drawer_mc.moveTo(x1 - 100, Stage.height / 2);
i = 0;
while (i <= Stage.width) {
_root.drawer_mc.lineTo(i, (Stage.height / 2) - (Math.sin(i / 10) * 10));
i = i + 1;
}
this.onMouseMove = function () {
_root.createEmptyMovieClip("drawer1_mc", 5);
drawer1_mc.lineStyle(0.25, 10027008);
x1 = _root._xmouse;
_root.drawer1_mc.moveTo(x1 - 50, ((Stage.height / 2) - (Math.sin(x1 / 10) * 10)) + (Math.cos(x1 / 10) * 50));
_root.drawer1_mc.lineTo(x1 + 50, ((Stage.height / 2) - (Math.sin(x1 / 10) * 10)) - (Math.cos(x1 / 10) * 50));
updateAfterEvent();
};