Loop
(boolean) Whether to make the audio file loop when it reaches the end:
VALUE DESCRIPTION |
|
true |
Loop. |
false |
Don't loop. (Default) |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Audio.Pause
OverviewExamples
Audio.Pause ( number Channel )
De s cr ip t ion
Pauses an audio channel's playback.
P arame t er s
Channel
(number) The audio channel to pause:
CONSTANT |
VALUE DESCRIPTION |
|
CHANNEL_BACKGROUND |
5 |
Background audio channel. |
CHANNEL_EFFECTS |
0 |
Effects channel (used for mouse over, down, and click sounds). |
CHANNEL_NARRATION |
6 |
Narration channel (used for voice overs). |
CHANNEL_USER1 |
1 |
User channel 1. |
CHANNEL_USER2 |
2 |
User channel 2. |
CHANNEL_USER3 |
3 |
User channel 3. |
CHANNEL_USER4 |
4 |
User channel 4. |
CHANNEL_ALL |
-3 |
All audio channels. |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Audio.Play
OverviewExamples
Audio.Play ( number Channel )
De s cr ip t ion
Plays the audio currently loaded in the channel.
P arame t er s
Channel
(number) The audio channel to play:
CONSTANT |
VALUE DESCRIPTION |
|
CHANNEL_BACKGROUND |
5 |
Background audio channel. |
CHANNEL_EFFECTS |
0 |
Effects channel (used for mouse over, down, and click sounds). |
CHANNEL_NARRATION |
6 |
Narration channel (used for voice overs). |
CHANNEL_USER1 |
1 |
User channel 1. |
CHANNEL_USER2 |
2 |
User channel 2. |
CHANNEL_USER3 |
3 |
User channel 3. |
CHANNEL_USER4 |
4 |
User channel 4. |
CHANNEL_ALL |
-3 |
All audio channels. |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Audio.Seek
OverviewExamples
Audio.Seek ( number Channel,
number SeekType,
number SeekTime = 0 )
De s cr ip t ion
Seeks to a time position in an audio file.
P arame t er s
Channel
(number) The audio channel to seek in:
CONSTANT |
VALUE DESCRIPTION |
|
CHANNEL_BACKGROUND |
5 |
Background audio channel. |
CHANNEL_EFFECTS |
0 |
Effects channel (used for mouse over, down, and click sounds). |
CHANNEL_NARRATION |
6 |
Narration channel (used for voice overs). |
CHANNEL_USER1 |
1 |
User channel 1. |
CHANNEL_USER2 |
2 |
User channel 2. |
CHANNEL_USER3 |
3 |
User channel 3. |
CHANNEL_USER4 4 User channel 4.