User Guide

Table Of Contents
40 Flash Lite Global Functions
Description
Function; stops the SWF file that is currently playing. The most common use of this function
is to control movie clips with buttons.
Example
The following statement calls the stop() function when the user clicks the button associated
with this event handler:
on(release) {
stop();
}
stopAllSounds()
Availability
Flash Lite 1.0.
Usage
stopAllSounds()
Operands
None.
Description
Function; stops all sounds currently playing in a SWF file without stopping the playhead.
Sounds set to stream will resume playing as the playhead moves over the frames that
contain them.
Example
The following code could be applied to a button that when clicked, stops all sounds in the
SWF file:
on(release) {
stopAllSounds();
}