Z.Controller

Inherits from Z.Base

Description

This object represents a controller as created in ZapWorks Studio.

For more information see Controllers and States.

Provided by Z.Controller

Functions

activeElement( ) Gets the Z.Timeline or Z.State that is marked as active in this controller.
clearQueue( ) Clears anything pending in the queue.
defaultElement( ) Gets the Z.Timeline or Z.State that is marked as default in this controller.
state(...) Gets the Z.State in this controller with the specified name.
timeline(...) Gets the Z.Timeline in this controller with the specified name.

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.
zapcode branded_zapcode i