Skip to content

Instantly share code, notes, and snippets.

View ekeeper's full-sized avatar

Valeriy Bokhan ekeeper

View GitHub Profile
@ekeeper
ekeeper / FrameSprite.as
Created June 7, 2012 09:22
Starling extension: labels support emulation for MovieClip animations
package starling.extensions
{
import starling.core.Starling;
import starling.display.MovieClip;
import starling.display.Sprite;
public class FrameSprite extends Sprite
{
private var mFrames:Vector.<MovieClip> = new <MovieClip>[];
private var mCurrentFrame:int = 1;