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