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: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 |