Animation.EventType Class

Module: cc

The event type supported by Animation

Index

Properties
  • PLAY String Emit when begin playing animation
  • STOP String Emit when stop playing animation
  • PAUSE String Emit when pause animation
  • RESUME String Emit when resume animation
  • LASTFRAME String If animation repeat count is larger than 1, emit when animation play to the last frame
  • FINISHED String Emit when finish playing animation

Details

Properties

PLAY

Emit when begin playing animation

meta description
Type String
Defined in cocos2d/core/components/CCAnimation.js:51
STOP

Emit when stop playing animation

meta description
Type String
Defined in cocos2d/core/components/CCAnimation.js:58
PAUSE

Emit when pause animation

meta description
Type String
Defined in cocos2d/core/components/CCAnimation.js:65
RESUME

Emit when resume animation

meta description
Type String
Defined in cocos2d/core/components/CCAnimation.js:72
LASTFRAME

If animation repeat count is larger than 1, emit when animation play to the last frame

meta description
Type String
Defined in cocos2d/core/components/CCAnimation.js:79
FINISHED

Emit when finish playing animation

meta description
Type String
Defined in cocos2d/core/components/CCAnimation.js:86

results matching ""

    No results matching ""