Εμφάνιση αναρτήσεων με ετικέτα motion tween. Εμφάνιση όλων των αναρτήσεων
Εμφάνιση αναρτήσεων με ετικέτα motion tween. Εμφάνιση όλων των αναρτήσεων

Κυριακή 12 Απριλίου 2009

Motion Guide

the last easy tutorial in flash....










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)

Τετάρτη 4 Μαρτίου 2009

1st Design Tutorial in Flash Motion Tween

Now let’s Design simple objects and let’s go to make them (move).

1.  Create a New Flash Document in AS2

2. Leave the default settings

3. Get the Rectangle tool (R) block the stroke color


and draw a rectangle like this:


4.Now let’s transform it. Use the selection tool (v) and click once on your object

Go to the properties panel and give the values like below

W: is the width of your Shape

H: is the Height of your Shape

And X,Y are the position in your movie (starts to counter in top and left of your movie) of your Shape (you can put it ever you want). BUT be

careful to chose only integer numbers as shown above, we do this to have a smooth Movie or

else it’s possible to have “brakes” and it’s not so pretty.

An example not to follow is shown bellow

(Wrong)

5. Now transform it into a Symbol. Go to Modify à Convert to Symbol…, or press f8.


You have three options:

Movie Clip - you create similar objects with the one you are now. It’s the most effective Symbol

Button - it’s pretty easy to make some nice buttons, but with the action script Movie Clips are

better than buttons (I will tell you why In the Action Script tutorial)

Graphic – I don’t really like them so I don’t use them when I need Graphics I convert my objects

to Movie Clips to.

Chose the Movie clip option and name it Rectangle_mc. There should be a movie clip object in

your library named Rectangle_mc.

6. Now go to frame 15, right click and then press insert key frame or press f6.

7. on frame 15


8. Get your Rectangle_mc and drag it on the bottom and right of your Clip. Or go to the properties of your Rectangle_mc and write:

9. Now in the 1st frame the Rectangle_mc is on the top of your movie and in the 15th frame it is in

the bottom. Let’s make it move. Go to a frame between the 1st and the 15th right click on the

time line and press Create Motion Tween

10. Now Let’s test our movie, press CTRL+ENTER to test it

That’s it It works....



Take the source files from here