- Open new Flash File
- Create some shapes like liquid ( refer sample swf)
- select this and make it as movieclip (Modify->coverttosymbol or press F8)
- Name this movieclip as mercury1 , select first key frame in movieclip
- select Frame no 45 , now Insert->TimelLine->KeyFrame or press F6 to create keyframe
- select this keyframe and change the shape of the image like below image
- return to main window , open filter panel (Window->Properties->Filter )
- select this Movieclip and open Action Layer (Window->Actions or press F9)
- Write following code in the actionscript layer
on(rollOver)
{
this.play();
} - simillarly you can create as many as you want
- Now give ctrl+Enter to run the player.
Download Source code from here.