Forcing The Player Settings Panel To Appear - MACROMEDIA FLASH MEDIA SERVER 2-DEVELOPING MEDIA Develop Manual

Developing media applications
Table of Contents

Advertisement

Option
-n
-h [<command>]
Forcing the Player Settings panel to
appear
When an application tries to access the user's camera or microphone, or to save data on the
client computer, Flash Player displays the Player Settings dialog boxes to obtain permission.
You can also open the Player Settings panels by right-clicking (Windows) or Control-clicking
(Macintosh) on the player Stage. To force the Player Settings panels to appear, use the
following code:
// Opens the panel the user viewed last.
System.ShowSettings();
// Opens the Privacy panel.
System.ShowSettings(0);
// Opens the Local Storage panel.
System.ShowSettings(1);
// Opens the Microphone panel.
System.ShowSettings(2);
// Opens the Camera panel.
System.ShowSettings(3);
For example, if your application requires the use of a camera, you can inform the user that
they must select Allow in the Privacy Settings panel, and then issue a
System.showSettings(0)
215 by 138 pixels; this is the minimum size that Flash requires to display the panel.) For more
information, see the
System.showSettings()
Reference for Flash Media Server 2.
Description
Optional. Do not display the Macromedia copyright logo when
running this utility. You may want to set this option if you are
running the utility from an automated script.
Optional. Displays the help for using this utility. You can
optionally specify a command after the
detailed help on a particular command option.
command. (Make sure your Stage size is at least
entry in the Client-Side ActionScript Language

Forcing the Player Settings panel to appear

option to get more
-help
91

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-DEVELOPING MEDIA and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash media server 2

Table of Contents