Animation.EventType Class

Module: cc Parent 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:49
STOP

Emit when stop playing animation

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

Emit when pause animation

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

Emit when resume animation

meta description
Type String
Defined in cocos2d/core/components/CCAnimation.js:70
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:77
FINISHED

Emit when finish playing animation

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

results matching ""

    No results matching ""