A sound behavior object.
Go to Property Listing | Method Listing
extractLabel, getElements, insertLabel, remove, toSource, toSpecifier
BehaviorEvents, Boolean, Number, Object, PlayOperations, Sound, String
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
If true, the behavior is enabled. |
||
|
read/write |
The event that triggers the behavior. |
||
|
readonly |
The unique ID of the SoundBehavior. |
||
|
readonly |
The index of the SoundBehavior within its containing object. |
||
|
read/write |
A property that can be set to any string. |
||
|
readonly |
The name of the SoundBehavior. |
||
|
read/write |
The playback mode. |
||
|
readonly |
The parent of the SoundBehavior (a Button or FormField). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The sound page item. |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
Object getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined remove ()
Deletes the SoundBehavior.
String toSource ()
Generates a string which, if executed, will return the SoundBehavior.
String toSpecifier ()
Retrieves the object specifier.