Tight: How the image to follow the mouse only from left to right

I'm on a tight schedule and are looking for the AS3 code how do which makes this company on their website:
http://www.imageworksstudio.com/

However, I don't know AS3.

Literally my project requires I have recreate the which is shown with the hand holding the sharpie and moving only back limited to a centered rectangular area at the bottom of the screen.

I know how to import the image that follows the mouse on the stage and make a videoclip. Let's say that I named the instance "Image_mc".

Someone has the ActionScript for how to do this? He tie you to the object or a keyframe on a layer separate actions ?

I appreciate any help! Thank you!

The replacement of these two lines of code in AS3 would be:

mouseX = box_mc.x + (box_mc.x - mouseX) / 2

Tags: Adobe Animate

Similar Questions

Maybe you are looking for