Members
Callback called when completed (non-looping animation).
Frame number of the ending frame.
instance MovieClip readonly
Instance of clip to play.
true
if the timeline is suppose to loop.
The progress from 0 to 1 of the playback.
Frame number of the starting farme.
Methods
AnimatorTimeline.create (instance, start, end, loop, callback) AnimatorTimeline static
Create a new timeline
Name | Type | Description |
---|---|---|
instance |
MovieClip | |
start |
number | |
end |
number | |
loop |
boolean | |
callback |
() => void |
Returns:
Type | Description |
---|---|
AnimatorTimeline |
Stop the animation, cannot be reused.