MotionPresets
A collection of Motion presets.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
MotionPreset add( Object withProperties )
Creates a new MotionPreset.
Parameters
Number count()
Displays the number of elements in the MotionPreset.
MotionPreset item( Mixed index )
Returns the MotionPreset with the specified index or name.
Parameters
MotionPreset itemByName( String name )
Returns the MotionPreset with the specified name.
Parameters
MotionPreset itemByID( Number id )
Returns the MotionPreset with the specified ID.
Parameters
MotionPreset itemByRange( Mixed from, Mixed to )
Returns the MotionPresets within the specified range.
Parameters
MotionPreset firstItem()
Returns the first MotionPreset in the collection.
MotionPreset lastItem()
Returns the last MotionPreset in the collection.
MotionPreset middleItem()
Returns the middle MotionPreset in the collection.
MotionPreset previousItem( MotionPreset obj )
Returns the MotionPreset with the index previous to the specified index.
Parameters
MotionPreset nextItem( MotionPreset obj )
Returns the MotionPreset whose index follows the specified MotionPreset in the collection.
Parameters
MotionPreset anyItem()
Returns any MotionPreset in the collection.
MotionPreset everyItem()
Returns every MotionPreset in the collection.
String toSource()
Generates a string which, if executed, will return the MotionPreset.
MotionPreset []( Number index )
Returns the MotionPreset with the specified index.