Here is a example on how to make a movie play, ONLY when the mouse is moved across the X coordiant.
This is achieved by placing a "stop();" function on every frame in the sprite that you want to apply this to. In my case, I used 50 pictures of me attempting to dance... =/ lol