TimingGroup

a timing group.

Methods:

addEventListener, getElements, move, remove, removeEventListener, toSource, toSpecifier, unlink

Objects:

Boolean, EventListeners, Events, Number, Object, TimingTargets

Property Listing

Property

Type

Access

Description

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

index

Number

readonly

The index of the TimingGroup within its containing object.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

TimingList

readonly

The parent of the TimingGroup (a TimingList).

placement

Number

read/write

The placement of the timing group in the timing list.

plays

Number (range 1 - 100)

read/write

The number of times this timing group plays.

playsLoop

Boolean

read/write

Set to true if timing group loops.

properties

Object

read/write

A property that allows setting of several properties at the same time.

timingTargets

TimingTargets TimingTarget

readonly

A collection of timing target.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

TimingGroup getElements ()

Resolves the object specifier, creating an array of object references.

TimingGroup move (to:LocationOptions, reference:Varies TimingGroup TimingTarget TimingList)

Moves the timing group or target to the specified location.

Parameter

Type

Description

to

LocationOptions

LocationOptions.AFTER

LocationOptions.AT_BEGINNING

LocationOptions.AT_END

LocationOptions.BEFORE

LocationOptions.UNKNOWN

The location in relation to the reference object or within the containing object.

reference

TimingGroup

TimingTarget

TimingList

The reference object. Note: Required when the to parameter specifies before or after. . Can accept: TimingGroup, TimingTarget or TimingList. (Optional)

undefined remove ()

Deletes the TimingGroup.

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

String toSource ()

Generates a string which, if executed, will return the TimingGroup.

String toSpecifier ()

Retrieves the object specifier.

undefined unlink ()

Unlink all targets in the group into separate groups in this timing list.

Object of

Event.parent

EventListener.parent

MutationEvent.parent

TimingTarget.parent

Return

TimingGroups.add()

TimingGroup.move()

TimingGroup.getElements()

TimingGroups.anyItem()

TimingGroups.everyItem()

TimingGroups.nextItem()

TimingGroups.previousItem()

TimingGroups.item()

TimingGroups.[]()

TimingGroups.itemByRange()

TimingGroups.firstItem()

TimingGroups.lastItem()

TimingGroups.middleItem()