SpriteSurface.Run Method

Begins the animation. Calling Run starts the animation in a modal state: it locks up the user interface and prevents music from playing.

Syntax

# Notes

A safer method of running the animation is to add a Timer to the window that contains the Sprite surface and set its mode to 2 (multiple calls). In the Timer's Action event, call the SpriteSurface's Update method. This may not achieve as high a frame rate as calling Run but avoids the problems of a modal interface.