TimelineEx |
Extends the Timeline class with methods to get and remove tweens and dispose of the whole timeline. It also provides access to the properties used to construct the timeline and properties reflecting its current state.
TimelineEx | Extends the Timeline class with methods to get and remove tweens and dispose of the whole timeline. |
Internal Members | |
_renderMethod | Render method type only used in code generation and display |
Object Manipulation | |
TimelineEx | See Timeline constructor |
dispose | Cleans up resources used by this object and extended tweens. |
Tween Add, Access & Removal | |
getTweenAt | Finds the tween at the index and returns a reference to it. |
removeTween | Removes the tween from the timeline. |
removeTweenAt | Removes the tween from the timeline if one exists at the given index. |
Properties | |
numTweens | Read-only count of the number of tweens on the timeline. |
currentFrame | Read-only number of the current frame. |
frameRate | Get the frame rate that the timeline is intended to play at. |
frameRate | Set the frame rate that the timeline is intended to play at. |
renderMethodType | Get the render method used when generating code. |
renderMethodType | Set the render method used when generating code. |
Query methods | |
hasExtendedPropertyTypes | Determines if any extended property tween exists on the timeline. |
hasPropertyType | Determines if any extended tweens of the type exists on the timeline. |
hasPathTweens | Determines if any path tweens exists on the timeline. |
hasAdvancedTweens | Determines if any advanced value tweens exists on the timeline. |
refresh | Refresh the complete timline. |
Render method type only used in code generation and display
private var _renderMethod: uint
See Timeline constructor
public function TimelineEx( renderMethod: uint = DEFAULT_RENDER_METHOD, frameRate: Number = DEFAULT_FRAME_RATE ):void
Cleans up resources used by this object and extended tweens.
public override function dispose():void
Finds the tween at the index and returns a reference to it.
public function getTweenAt( index: int ):ITween
Removes the tween from the timeline.
public function removeTween( objTween: ITween ):void
Removes the tween from the timeline if one exists at the given index.
public function removeTweenAt( index: int ):void
Read-only count of the number of tweens on the timeline.
public function get numTweens():uint
Read-only number of the current frame.
public function get currentFrame():uint
Get the frame rate that the timeline is intended to play at.
public function get frameRate():uint
Get the render method used when generating code.
public function get renderMethodType():uint
Determines if any extended property tween exists on the timeline.
public function hasExtendedPropertyTypes():Boolean
Determines if any extended tweens of the type exists on the timeline.
public function hasPropertyType( propertyType: String ):Boolean
Determines if any path tweens exists on the timeline.
public function hasPathTweens():Boolean
Determines if any advanced value tweens exists on the timeline.
public function hasAdvancedTweens():Boolean
Refresh the complete timline.
public function refresh():void