However, I don't know AS3.
Literally my project requires I recreate the what is shown with the hand holding the sharpie and moving only back and forth restricted to a centered rectangular area at the bottom of the screen.
I know how to import the image that follows the mouse to the stage, and to make it a movieclip. Let's say I have named the instance "Image_mc".
Does anyone have the actionscript for how to do this? Do you attach it to the object or to a keyframe on a separate actions layer?
I appreciate any help! Thanks!
I don't have the scripts but you could try making the Hand Image a customised slider image on the slider component. Then change the values of the position on the slider related to the x position of the mouse.
The component will restrict the movement for you.
So I stumbled on how to do it using AS2.
1. Timeline has only 2 frames
1. Make movie clip and give it an instance name (in this case: box_mc). Make sure this takes up frame 1 and 2 on timeline.
2. On a sparate actions layer on frame 1 put this down:
mouse_x = _xmouse;
setProperty (_root.box_mc, _x, mouse_x+((getProperty(_root.box_mc,_x)-mouse_x)/2));
3. On frame 2 of actions layer put:
Anyone know how to do this in AS3? I really want to be able to have 3d rotation tweening in my flash file and AS2 won't let me do it.