To determine the state of a network operation that retrieves data:
•
Use the
Lingo on streamStatus
For more information, see the Scripting Reference topics in the Director Help Panel.
Using Lingo or JavaScript syntax in different Internet
environments
Some Lingo or JavaScript syntax features behave differently, depending on whether the movie is
playing back in a browser, as a projector, or within the authoring environment.
Using Lingo or JavaScript syntax with Internet security restrictions
Because of security issues for movies that play back in browsers, the following Lingo or JavaScript
syntax features are unsupported for Shockwave movies playing in a browser.
In general, the following Lingo or JavaScript syntax features are unsupported because of Internet
security concerns:
•
Setting
colorDepth()
•
Saving a movie by using the
•
Printing by using the
•
Opening an application by using the
•
Stopping an application or the user's computer by using the
method
shutDown()
•
Opening a local file that is not in the dswmedia folder or a subfolder of the dswmedia folder
•
Pasting content from the Clipboard by using the
copyToClipboard
the operation.
•
Searching for files on a user's system with
searchCurrentFolder()
•
The permanent downloading of files from a URL to the user's local drive using
downloadNetThing()
in authoring and projectors.
Using URLs with Lingo or JavaScript syntax
In addition to the Lingo or JavaScript syntax that is explicitly intended for use with network
operations, some script elements can use URLs as references to external files.
The following Lingo or JavaScript syntax elements can use URLs as file references in all
circumstances:
•
moviePath
•
pathName
•
unloadMovie
Note: You can also set the fileName of cast members to URLs and link to external media assets.
event handler or the
for the user's monitor
saveMovie()
method
printFrom()
open()
method prompts a security dialog asking for permission to perform
, or
searchPath().
is disabled in Shockwave due to security concerns. This function works
Using Lingo or JavaScript syntax in different Internet environments
JavaScript streamStatus
method
method
quit()
pasteClipBoardInto()
getNthFileNameInFolder()
function.
,
, or
restart()
or the
,
477
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers