Sprite Sheets

An example of defining a SpriteSheet, then displaying it using Sprite. This demo also shows playing named animations (jump and run), setting animation speed, chaining animations, and using Sprite.gotoAndPlay(). Click the stage to initialize a jump, which will continue back into the run when it is complete.

Note: Some browsers can not load images or access pixel data when running local files, and may throw a security error or not work unless the content is running on a server.