MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 478

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

The following Lingo or JavaScript syntax supports URLs as references to external files. If you
use this script in projectors or during authoring, you can avoid pauses while the file is being
downloaded by first using
downloaded, you can use these Lingo or JavaScript syntax elements with the file's URL without
a delay.
When the following Lingo or JavaScript syntax is used in a browser, however, you must first
download the file by using the
Using a
gotoMovie
Using an
importFileInto()
Using a
preLoadMovie()
Using a
playMovie()
Using an
openWindow
The following Lingo or JavaScript syntax elements can use URLs to Shockwave Audio (SWA)
sound files as file references:
streamName
cast member property
URL
The following elements don't work in Shockwave content because Shockwave does not support
movies in windows (MIAWs):
open window
forget window
close window
Differences in scripting for browsers
The following list discusses some general differences in the way to script for a movie that plays
over the Internet, depending on whether the movie is in a browser.
For a movie playing in a browser, it's best to use
external casts, or other movies you might navigate to into the browser's cache first. If the media
elements are not preloaded using
present when they are needed.
Avoid using long repeat loops in browsers; such repeat loops can make the computer appear
unresponsive. As an alternative, you can split long operations into sections and execute them
over a series of frames or check for user actions in an
that the status of any active network operation does not update while long repeat loops
are running.
Do not use a
Lingo or JavaScript syntax that is unsupported in browsers
The following Lingo or JavaScript syntax features are unsupported for movies that play back
in browsers:
Creating and managing a MIAW
Installing and managing custom menus
478
Chapter 24: Using Shockwave Player
preloadNetThing()
preloadNetThing
statement
method
method
method
method
(disabled in browsers)
()
preloadNetThing
loop to check whether a network operation is complete.
repeat while
to download the file. After the file has been
method. If you don't, the script fails.
preloadNetThing
, linked media elements might not be
on exitFrame
to load media elements,
handler. Also remember

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Director mx 2004

Table of Contents