Movie follows mouse movement

Hi all, I’m a newbie to flash and I would like to make a mask / movie following the mouse movement but horizontally only. I have see how it’s done to follow the mouse, but I need it Horizontally only.

Thanks in advance

Make a movie… with instance name: mymc

Place it in frame 1
Give the frame the following actionscript:
_root.mymc._x = _xmouse;

Or for vertical following of the mouse
_root.mymc._y = _ymouse;

Good luck

Thanks a bunch 3pinter!!! :slight_smile:

That was great, thanks!