Skip to content
fahimc edited this page Mar 20, 2013 · 3 revisions

Extends UIElement

attach(image):String - attach an image to this movieclip. This image should be a horizontal sprite sheet.
gotoAndStop(frameNumber) - This will goto a Frame and stop.
gotoAndPlay(from, to, loop) - This will start at a frame and animate to a specified frame. If you set the loop parameter to true it will do a continuous loop.
currentFrame():Number - This will return the current frame number.
topPosition(value):Number - To change the top position of the sprite image.
frameRate - set the current MovieClip's frame rate in milliseconds.

Clone this wiki locally