I am trying to create a basic example. Using frames i know how to do that but i want to know how this can be done using action script 3.
Using frame:
A movieclip in which there are 6 frames
Red rectangle in first 3 frames
Blue rectangle in last 3 frames
Can someone please tell me how to do this using AS3?
There are many ways to achieve this, you could use Timer , Tween etc... here's a basic example.