581 Tutorial 7

<< Back to the 581 tutorial overview page

Chaining animations, using timers for delay, bouncing animation example

Download: Bouncing Animation example (ZIP file)

This example includes an example of how to execute two animations in a sequence by using the 'Completed' callback and a timer. This is an easy way to execute two animations one after another -- but there are many other ways to do it.

Variation

Download: Bouncing Animation variation (ZIP file)

This version combines two elements (an ellipse and a textblock) in a single animation by placing them in a canvas. It shows how canvases can be used to group elements so all can be animated as a unit. I also changed the animation so that animations are added in sequence, and typing generates new objects.