NavigationPoints

A collection of navigation points.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

NavigationPoint [] (index:Number)

Returns the NavigationPoint with the specified index.

Parameter

Type

Description

index

Number

The index.

NavigationPoint add (withProperties:Object)

Creates a new NavigationPoint.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new NavigationPoint (Optional)

NavigationPoint anyItem ()

Returns any NavigationPoint in the collection.

Number count ()

Displays the number of elements in the NavigationPoint.

NavigationPoint everyItem ()

Returns every NavigationPoint in the collection.

NavigationPoint firstItem ()

Returns the first NavigationPoint in the collection.

NavigationPoint item (index:Varies LongInteger String)

Returns the NavigationPoint with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

NavigationPoint itemByID (id:Number)

Returns the NavigationPoint with the specified ID.

Parameter

Type

Description

id

Number

The ID.

NavigationPoint itemByName (name:String)

Returns the NavigationPoint with the specified name.

Parameter

Type

Description

name

String

The name.

NavigationPoint itemByRange (from:Varies LongInteger NavigationPoint String, to:Varies LongInteger NavigationPoint String)

Returns the NavigationPoints within the specified range.

Parameter

Type

Description

from

LongInteger

NavigationPoint

String

The NavigationPoint, index, or name at the beginning of the range. Can accept: NavigationPoint, Long Integer or String.

to

LongInteger

NavigationPoint

String

The NavigationPoint, index, or name at the end of the range. Can accept: NavigationPoint, Long Integer or String.

NavigationPoint lastItem ()

Returns the last NavigationPoint in the collection.

NavigationPoint middleItem ()

Returns the middle NavigationPoint in the collection.

NavigationPoint nextItem (obj:NavigationPoint)

Returns the NavigationPoint whose index follows the specified NavigationPoint in the collection.

Parameter

Type

Description

obj

NavigationPoint

The NavigationPoint whose index comes before the desired NavigationPoint.

NavigationPoint previousItem (obj:NavigationPoint)

Returns the NavigationPoint with the index previous to the specified index.

Parameter

Type

Description

obj

NavigationPoint

The index of the NavigationPoint that follows the desired NavigationPoint.

String toSource ()

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

Object of

Movie.navigationPoints