Adds an event listener.
Object
Asset
An object library asset.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| AssetType | read/write | The type of object library asset. | |
| Date | readonly | The date and time the Asset was created. | |
| String | read/write | The description of the Asset. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The unique ID of the Asset. | |
| Number | readonly | The index of the Asset within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | A property that can be set to any string. | |
| String | read/write | The name of the Asset. | |
| Library | readonly | The parent of the Asset (a Library). | |
| Object | read/write | A property that allows setting of several properties at the same time. |
Methods
→ String
Gets the label value associated with the specified key.
→ Asset[]
Resolves the object specifier, creating an array of object references.
→ void
Sets the label to the value associated with the specified key.
→ Varies[]
Places the asset in the specified document or text.
→ void
Deletes the Asset.
→ Boolean
Removes the event listener.
→ void
Selects the object.
existingSelection?
SelectionOptions
The selection status of the Asset in relation to previously selected objects.
→ String
Generates a string which, if executed, will return the Asset.
→ String
Retrieves the object specifier.
Object of 3
Properties elsewhere that hold a Asset.
Parameter of 3
Method parameters that accept a Asset.
Return 47
Methods that return a Asset.
Asset.getElements()Assets.[]()Assets.anyItem()Assets.everyItem()Assets.firstItem()Assets.item()Assets.itemByID()Assets.itemByName()Assets.itemByRange()Assets.lastItem()Assets.middleItem()Assets.nextItem()Assets.previousItem()Button.store()CheckBox.store()ComboBox.store()EPS.store()EPSText.store()EndnoteTextFrame.store()FlexObject.store()FormField.store()Graphic.store()GraphicLine.store()Group.store()HtmlItem.store()Image.store()ImportedPage.store()Library.store()ListBox.store()MediaItem.store()Movie.store()MultiStateObject.store()Oval.store()PDF.store()PICT.store()PageItem.store()Polygon.store()RadioButton.store()Rectangle.store()SVG.store()SignatureField.store()Sound.store()SplineItem.store()TextBox.store()TextFrame.store()WMF.store()XMLElement.store()