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