First of all create a new document in AS 2.0 at 24 fps in 550x400, draw a rectangle at 30x30 pixels
and converted (F8) into a movie clip.
name it if you want in rectangle_mc
Go to time line on your layer1 press right click and select Add motion guide (in CS3) or Add classic motion guide in (CS4)
now in your Guide Layer
draw a line with the pencil tool (Y)
add frames until the frame 60 (f5) after that go to the layer 1 and add a key (f6) frame in frame 60.
go someware between the frames 1-60 press right click and choose create classic motion tween (CS4) or motion tween (CS3)
Go again to frame 1 and drag your rectangle mc to the beginning of your line
after that go to frame 60 and drag your rectangle at the end of the line
press CTRL+enter to see your movie...
You can download the source file from here (you can open the .fla only with flash CS4)
Δεν υπάρχουν σχόλια:
Δημοσίευση σχολίου