Chapter 27
600
Lingo that is unsupported in browsers
The following Lingo features are unsupported for movies that play back in browsers:
•
Creating and managing a MIAW
•
Installing and managing custom menus
Interacting with browsers
Lingo lets you write and read a preferences file within the dswmedia folder and display a string in
a browser’s status area.
To write to a preferences file on a local disk:
•
Use the
setPref
command. See
setPref
in the Lingo Dictionary.
After the command runs, a folder named Prefs is created inside the Shockwave player folder (in
the same location as the Xtras folder). The
setPref
command can write only to that folder.
The default folder locations for Windows and Macintosh are described in the following list:
Windows
The \Macromed\Shockwave 8 subfolder of the system folder; the system folder is
typically c:\winnt\system32 or c:\windows\system
Macintosh
The System Folder:Extensions:Macromedia:Shockwave 8 folder
The
setPref
command can’t write to a file that is on a CD.
For more information, see “Director and Internet Security” on the Director Support Center
website at www.macromedia.com/support/director/internet/security/security.htm.
To return the content of a file that was written by a previous setPref command:
•
Use the
getPref()
function. If no
setPref
command has already written such a file, the
getPref()
function returns
VOID
. See
getPref()
in the Lingo Dictionary.
To specify text in a browser’s status area:
•
Use the
netStatus
function. See
netStatus
in the Lingo Dictionary.
Note:
Some browsers do not support this function.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...