Z.Timeline

Studio

Z.Timeline

Inherits from Z.Element

Description

The Z.Timeline object represents a timeline created in ZapWorks Studio. See Timelines for more information.

Provided by Z.Timeline

Functions

enqueue( ) Adds this timeline to the queue.
length( ) Gets the length of the timeline as an integer.
play(...) Start playback of the timeline.
reset( ) Equivalent to calling time(0).
stop( ) Stop playback of the timeline.
time( ) Gets the current time that this timeline is set to.
time(...) Makes this timeline the active element in its parent Z.Controller and sets the timeline and the properties it overrides to the values for time t.

Inherited from Z.Element

Events

active Emitted when an element becomes the active element in a controller.
complete Emitted when a controller element has completed its animation.
notactive Emitted when an element is not the active element in a controller.

Inherited from Z.Base

Functions

emit(...) Calls the handler functions attached to an event.
hasTag(...) Returns true if this object has the specified tag.
off(...) Removes a handler function from an event.
on(...) Attaches a handler function to an event.
one(...) Attaches a single-use handler function to an event.
pushTag(...) Adds a tag to this object.
removeTag(...) Removes a tag from this object.
tags( ) Gets an array of the tags that this object belongs to.
tags(...) Sets the array of the tags that this object belongs to.
Open in new window