User Guide

246 Chapter 12: Methods
breakLoop()
Usage
-- Lingo syntax
soundChannelObjRef.breakLoop()
// JavaScript syntax
soundChannelObjRef.breakLoop();
Description
Sound Channel method; causes the currently looping sound in channel soundChannelObjRef to
stop looping and play through to its
endTime.
If there is no current loop, this method has no effect.
Parameters
None.
Example
This handler causes the background music looping in sound channel 2 to stop looping and play
through to its end:
-- Lingo syntax
on continueBackgroundMusic
sound(2).breakLoop()
end
// JavaScript syntax
function continueBackgroundMusic() {
sound(2).breakLoop();
}
See also
endTime, Sound Channel
browserName()
Usage
browserName pathName
browserName()
browserName(#enabled, trueOrFalse)
Description
System property, command, and function; specifies the path or location of the browser. You can
use the FileIO Xtra to display a dialog box that allows the user to search for a browser. The
displayOpen() method of the FileIO Xtra is useful for displaying an Open dialog box.
The form
browserName() returns the name of the currently specified browser. Placing a
pathname, like one found using the FileIO Xtra, as an argument in the form
browserName(fullPathToApplication) allows the property to be set. The form
browserName(#enabled, trueOrFalse) determines whether the specified browser launches
automatically when the
goToNetPage command is issued.