LibrariesAssets

A collection of object library assets.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

anyItem(
)
 → Asset
count(
)
 → number
everyItem(
)
 → Asset
firstItem(
)
 → Asset
item(
index)
 → Asset
itemByID(
id)
 → Asset
itemByName(
name)
 → Asset
itemByRange(
from, to)
 → Asset
lastItem(
)
 → Asset
middleItem(
)
 → Asset
nextItem(
obj)
 → Asset
previousItem(
obj)
 → Asset
toSource(
)
 → string
anyItem(
)
 → Asset
Returns any Asset in the collection.
count(
)
 → number
Displays the number of elements in the Asset.
everyItem(
)
 → Asset
Returns every Asset in the collection.
firstItem(
)
 → Asset
Returns the first Asset in the collection.
item(
index)
 → Asset
Returns the Asset with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → Asset
Returns the Asset with the specified ID.
id number The ID.
itemByName(
name)
 → Asset
Returns the Asset with the specified name.
name string The name.
itemByRange(
from, to)
 → Asset
Returns the Assets within the specified range.
from The Asset, index, or name at the beginning of the range. Can accept: Asset, Long Integer or String.
to The Asset, index, or name at the end of the range. Can accept: Asset, Long Integer or String.
lastItem(
)
 → Asset
Returns the last Asset in the collection.
middleItem(
)
 → Asset
Returns the middle Asset in the collection.
nextItem(
obj)
 → Asset
Returns the Asset whose index follows the specified Asset in the collection.
obj Asset The Asset whose index comes before the desired Asset.
previousItem(
obj)
 → Asset
Returns the Asset with the index previous to the specified index.
obj Asset The index of the Asset that follows the desired Asset.
toSource(
)
 → string
Generates a string which, if executed, will return the Asset.