You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YinLijun edited this page Mar 3, 2015
·
1 revision
UIFrameAnimation is frame animation, it is a set of images played in turn. like UISprite, you can set its physicas attributes: shape, density, and etc.
gotoAndPlay(startFrame, endFrame, repeatTimes, onDone, onOneCycle) Play the images in given range, after repeatTimes times, it will call onDone, for each cycle it will call onOneCycle.
play(groupName, repeatTimes, onDone, onOneCycle) Play the images of groupName, after repeatTimes times, it will call onDone, for each cycle it will call onOneCycle.