Client-Side Communication ActionScript > System.showSettings

 

System.showSettings

Availability

Flash Player 6.

Flash Communication Server MX (not required).

Usage

System.showSettings([panel])

Parameters

panel An optional number that specifies which Flash Player Settings panel to display, as illustrated in the following table.

Value passed for panel

Settings panel displayed

None (parameter is omitted)

Whichever panel was open the last time the user closed the Player Settings panel

0

Privacy

1

Local storage

2

Microphone

3

Camera


Returns

Nothing.

Description

Method; displays the specified Flash Player Settings panel, which lets users do any of the following:

Allow or deny access to their camera and microphone

Specify settings for local disk space available for shared objects

Select a default camera and microphone

Specify microphone gain and echo suppression settings

For example, if your application requires the use of a camera, you can inform users that they must choose Allow in the Privacy Settings panel, and then issue a System.showSettings(0) command. (Make sure your Stage size is at least 215 by 138 pixels; this is the minimum size Flash requires to display the panel.)

See also

Camera.get, Microphone.get