Package: pumpkin.display

AnimSpriteSheet

function addAnimFrameFromMovieClipRange( animName : string, root : Stage, frameControl : MovieClipPlayer, start : int, end : int ) : int

Parameters

animName

root

frameControl

start

end


Description
Add a new animation from a given frame range.

Creates a new animation from a frame range on the supplied root stage.
/param animName New animation name. /param root Source stage to render animation from. /param frameControl Target frame range control, this can be the root MovieClip or one of its children. /param start Start frame set on the frameControl MovieClip. /param end End frame set on the frameControl MovieClip.
/return Unique anim id.