477
The following are the possible values for this property’s parameters:
•
javaVersion
:
1.0
or
1.1
•
browser
:
IE
,
Netscape
, or
UnknownBrowser
•
operatingSystem
:
Macintosh
,
Windows
, or
UnknownOS
For example, if an applet is playing in Microsoft Internet Explorer with Java 1.1 in Windows,
platform
has the value
Java 1.1, IE, Windows
.
Example
This statement checks whether a projector was created for Windows 95 or Windows NT:
on exitFrame
if the platform contains "Windows,32" then
castLib("Win95 Art").name = "Interface"
end if
end
See also
runMode
play
Syntax
sprite(
whichFlashSprite
).play()
play [frame]
whichFrame
play movie
whichMovie
play frame
whichFrame
of movie
whichMovie
play sprite
whichFlashSprite
Description
Command; branches the playhead to the specified frame of the specified movie or starts a Flash
movie sprite playing. For the former, the expression
whichFrame
can be either a string marker
label or an integer frame number. The expression
whichMovie
must be a string that specifies a
movie file. When the movie is in another folder,
whichMovie
must specify a path.
The
play
command is like the
go to
command, except that when the current sequence finishes
playing,
play
automatically returns the playhead to the frame where
play
was called.
If
play
is issued from a frame script, the playhead returns to the next frame; if
play
is issued from
a sprite script or handler, the playhead returns to the same frame. A play sequence ends when the
playhead reaches the end of the movie or when the
play done
command is issued.
To play a movie from a URL, use
downloadNetThing
or
preloadNetThing()
to download the
file to a local disk first, and then use
play
to play the movie on the local disk to minimize
download time.
You can use the
play
command to play several movies from a single handler. The handler is
suspended while each movie plays but resumes when each movie is finished. Contrast this with a
series of
go
commands that, when called from a handler, play the first frame of each movie. The
handler is not suspended while the movie plays but immediately continues executing.
When
play
is used to play a Flash movie sprite, the Flash movie plays from its current frame if it
is stopped or from its first frame if it is already on the last frame.
Summary of Contents for DIRECTOR MX-LINGO DICTIONARY
Page 1: ...Lingo Dictionary Macromedia Director MX...
Page 756: ...Index 756...