Class createjs.MovieClip.Timeline
Defined in: movie_clip.js.
Constructor Attributes | Constructor Name and Description |
---|---|
An inner class that synchronizes multiple createjs.Tween objects and controls
them.
|
Method Attributes | Method Name and Description |
---|---|
Returns the duration of this timeline.
|
|
Returns the current position of this timeline.
|
|
gotoAndPlay(value)
Starts playing this timeline from the specified position.
|
|
gotoAndStop(value)
Stops playing this timeline and jumps to the specified position.
|
|
setPaused(value)
Pauses or plays this timeline.
|
Class Detail
createjs.MovieClip.Timeline(clip)
An inner class that synchronizes multiple createjs.Tween objects and controls
them.
- Parameters:
- {createjs.MovieClip} clip
Method Detail
{number}
getDuration()
Returns the duration of this timeline.
- Returns:
- {number}
{number}
getPosition()
Returns the current position of this timeline.
- Returns:
- {number}
gotoAndPlay(value)
Starts playing this timeline from the specified position.
- Parameters:
- {string|number} value
gotoAndStop(value)
Stops playing this timeline and jumps to the specified position.
- Parameters:
- {string|number} value
setPaused(value)
Pauses or plays this timeline.
- Parameters:
- {boolean} value