A sprite sheet is a single bitmap image containing multiple frames of one or more animations and symbols, with a separate data file that contains all of the coordinates of each of the frames within the bitmap (see Figure 1). By using sprite sheets game developers can improve download performance by simply making one HTTP request for a bitmap and then using the coordinates in the data file to show the desired frame. Playback performance is also improved because animations don't have to load each vector movie clip into memory at runtime.
Sprite sheets are available natively in Flash Professional CS6 and can be used to generate multi-frame animations from one or more symbols. Sprite sheets can be implemented in ActionScript using the Starling framework, or they can be implemented in HTML 5 and other environments using the output data format options (see Figure 2).
To use this feature, follow these steps:

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
Flash User Forum |
More |
| 04/23/2012 | Auto-Save and Auto-Recovery |
|---|---|
| 04/23/2012 | Open hyperlinks in new window/tab/pop-up ? |
| 04/21/2012 | PNG transparencies glitched |
| 04/01/2010 | Workaround for JSFL shape selection bug? |
Flash Cookbooks |
More |
| 02/13/2012 | Randomize an array |
|---|---|
| 02/11/2012 | How to create a Facebook fan page with Flash |
| 02/08/2012 | Digital Clock |
| 01/18/2012 | Recording webcam video & audio in a flv file on local drive |