Class createjs.Timeline
				
				
Extends
					.
				
			
				
				
				
					
Defined in:  timeline.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
							 
								createjs.Timeline(tweens, labels, opt_properties)
							 
							A class that contains multiple createjs.Tween objects and updates them
synchronously. 
						 | 
					
| Field Attributes | Field Name and Description | 
|---|---|
| 
								
								 An ID for this timeline. 
							 | 
						|
| <static> | 
								 
								createjs.Timeline.id_
								 
								IDs assigned to timelines. 
							 | 
						
| Method Attributes | Method Name and Description | 
|---|---|
| 
								 addLabel(label, position)
								 
								Adds a label that can be used with the gotoAndPlay() method. 
							 | 
						|
| 
								 addTween(var_args)
								 
								Adds one or more tweens to this timeline. 
							 | 
						|
| 
								
								 Returns the name of the label on or immediately before the current position. 
							 | 
						|
| 
								
								 Returns the sorted list of the labels added to this timeline. 
							 | 
						|
| 
								 gotoAndPlay(value)
								 
								Starts playing this timeline from the specified position. 
							 | 
						|
| 
								 gotoAndStop(value)
								 
								Stops playing this timeline and jumps to the specified position. 
							 | 
						|
| 
								 handleTick(time)
								 
								
							 | 
						|
| 
								 removeTween(var_args)
								 
								Removes one or more tweens from this timeline. 
							 | 
						|
| 
								 setLabels(opt_labels)
								 
								Sets labels for this timeline. 
							 | 
						|
| 
								 setPaused(value)
								 
								Pauses or plays this timeline. 
							 | 
						
					Class Detail
				
				
				
						createjs.Timeline(tweens, labels, opt_properties)
				
				
				
					A class that contains multiple createjs.Tween objects and updates them
synchronously.
					
				
				
				
				
				
					
						- Parameters:
 - 
								{Array.
} tweens - 
								{Object.
} labels - 
								{Object.
=} opt_properties 
					Field Detail
				
				
					 
					
					
					
					id
					
					
					
						An ID for this timeline.
						
						
					
					
					
						
						
						
						
					<static> 
					
					
					createjs.Timeline.id_
					
					
					
						IDs assigned to timelines.
						
						
					
					
					
						
						
						
						
					
				
			
		
			
				
					Method Detail
				
				
					 
					
					
					
					addLabel(label, position)
					
					
					
						Adds a label that can be used with the gotoAndPlay() method.
						
						
					
					
					
					
						
							- Parameters:
 - {string} label
 - {number} position
 
					
					{createjs.TweenObject}
					addTween(var_args)
					
					
					
						Adds one or more tweens to this timeline.
						
						
					
					
					
					
						
							- Parameters:
 - {...createjs.TweenObject} var_args
 
- Returns:
 - {createjs.TweenObject}
 
					
					{string}
					getCurrentLabel()
					
					
					
						Returns the name of the label on or immediately before the current position.
						
						
					
					
					
					
						
						
						
						
						
							- Returns:
 - {string}
 
					
					{Array.} 
					getLabels()
					
					
					
						Returns the sorted list of the labels added to this timeline.
						
						
					
					
					
					
						
						
						
						
						
							- Returns:
 - {Array.
}  
					
					
					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
 
					
					
					handleTick(time)
					
					
					- Parameters:
 - time
 
					
					{boolean}
					removeTween(var_args)
					
					
					
						Removes one or more tweens from this timeline.
						
						
					
					
					
					
						
							- Parameters:
 - {...createjs.TweenObject} var_args
 
- Returns:
 - {boolean}
 
					
					
					setLabels(opt_labels)
					
					
					
						Sets labels for this timeline.
						
						
					
					
					
					
						
							- Parameters:
 - 
									{Object.
=} opt_labels 
					
					
					setPaused(value)
					
					
					
						Pauses or plays this timeline.
						
						
					
					
					
					
						
							- Parameters:
 - {boolean} value