This lesson will show you how to create rectangle animation with using this properties like color, transform rotate, width, height, x axis, y axis and timeline properties.
Rectangle Animation
STEP 1 : Select the rectangle tool STEP 2 : Draw a rectangle in the stagePosition And Size
STEP 3 : First we have to change rectangle size (select the rectangle). Before set the height value We have to "unlink the link between W and H" properties. STEP 4 : Now We will change rectangle width is 100 and height 100 STEP 5 : Change the x, y position in the place of position and size properties panel. I set x is 5px and y is 50px.Color
STEP 6 : Properties panel have the individual section for color properties. Using this we can change the color of rectangle. I choosed green color value (rgba(17,175,22,1.00))Toggle Pin
STEP 7 : Click on the toggle pin. It was located Timeline panel. See the below image for this action.

Create Animation
STEP 13: Now we will create rotating and color changing rectangle animation between Green and Red rectangle. STEP 14: Select 00:01.000 from timeline or enter value in timeline textbox. Then change the "rotate" style value is 45 in the "Transform" section of properties panel. STEP 15: Following step 14 We have to set following time and angle value 00:02.000 - 90 Rotate 00:03.000 - 135 Rotate 00:04.000 - 180 Rotate