TWEENED ANIMATION - Tweening color | Shape tweening


© Umais Ahmad
Articles in this Topic    Discussions in this Topic

Tweening color

In tweening color, one color changes into another over a time. We use Effect Panel for color tweening. Above is a movie shown with tweening color effect, we shall create so follow steps one by one.

STEP 1:

Create a picture as shown in the figure. Select it all and choose Insert > Convert to Symbol. Tick Graphic from behavior and finally click OK. Remember image must be a symbol for color tweening effect.

STEP 2:

Click frame number 10 and press F6 to insert keyframe. Open Effect Panel by choosing Window > Panels > Effect. Choose Tint from pull-down menu. Choose blue color from Tint Color box.

STEP 3:

Click frame number 20 and press F6. Choose green color from Tint Color box.

STEP 4:

Click frame number 30 and press F6. Choose red color from Tint Color box.

STEP 5:

Click frame number 5 and choose Insert > Create Motion Tween. Similarly click frame number 15 and 25 and choose Insert > Create Motion Tween. In the last the timeline should look like as shown.

Click frame number 1 and press ENTER to test the movie.

Shape tweening

In shape tweening, an object changes its shape over a time. Unlike motion tweening where we use grouped objects, in shape tweening the object must not be a grouped object or symbol. Above is a movie shown with shape tweening effect, we shall create so follow steps one by one.

STEP 1:

Click frame number 1 and draw a rectangle on stage. Align it center to stage.

STEP 2:

Click frame number 10 and press F7 to insert Blank Keyframe. Draw a circle and align it center to stage.

STEP 3:

Click frame number 20 and press F7 to insert Blank Keyframe. Draw a triangle and align it center to stage.

STEP 4:

Click frame number 30 and press F7 to insert Blank Keyframe. Copy rectangle from frame 1 and paste it in frame 30. Align it center to stage.

STEP 5:

Click frame number 1 and open Frame Panel by choosing Window > Panels > Frame. Choose Shape from Tweening pull-down menu.

STEP 6:

Similarly click frame number 10 and 20 and choose Shape from Tweening pull-down menu. In the last the timeline should look like as shown. The light green color is a specific indication of shape tweening.

Click frame number 1 and press ENTER to test the movie.

Using Shape Hints

Button States

Go To Page: 1 2


Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo


Here's the follow-up discussion on this article: View all related messages

2.   Oct 2, 2002 6:45 AM
iwant to gave the url link to my movie button to another file which is on the desktop..how? cna i use "loadmovienum" command?gave the full command plz then can we gave the link to html page not brow ...

-- posted by kareem


1.   Oct 2, 2002 6:43 AM
iwant to gave the one path to two symbols how is it posseble?

-- posted by kareem





Join the latest discussions

For a complete listing of article comments, questions, and other discussions related to Umais Ahmad's FLASH Programming topic, please visit the Discussions page.