Animation.EventType
Class
Module: cc
The event type supported by Animation
Index
Properties
PLAY
String
Emit when begin playing animationSTOP
String
Emit when stop playing animationPAUSE
String
Emit when pause animationRESUME
String
Emit when resume animationLASTFRAME
String
If animation repeat count is larger than 1, emit when animation play to the last frameFINISHED
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 |