breakLoop()
Usage
-- Lingo syntax
soundChannelObjRef.breakLoop()
// JavaScript syntax
soundChannelObjRef.breakLoop();
Description
Sound Channel method; causes the currently looping sound in channel
stop looping and play through to its
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()
The form
browserName()
pathname, like one found using the FileIO Xtra, as an argument in the form
browserName(fullPathToApplication)
browserName(#enabled, trueOrFalse)
automatically when the
246
Chapter 12: Methods
endTime
method of the FileIO Xtra is useful for displaying an Open dialog box.
returns the name of the currently specified browser. Placing a
command is issued.
goToNetPage
.
allows the property to be set. The form
determines whether the specified browser launches
soundChannelObjRef
to
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers