The SpriteSheetMovieClipBehaviour caches MovieClip animations into a Mesh array for fast playback. Ideally each frame should have a similar number of sprites and must only use one texture page.
| |
Frame update handler, advances sprite sheet frame. |
Sprite sheet cache. | |
Set the swf asset name. | |
Set the exported symbol name to loaded from the swf asset file. | |
Target framerate to render the MovieClip timeline. | |
Cache the compiled Mesh data to the spriteSheetCache. | |
Generate mesh on load. | |
Set animation play state. | |
Set animation to loop. | |
Active spriteSheet instance. |