System.showSettings()

Availability

Flash Player 6.

Usage

System.showSettings([panel])

Parameters

panel An optional number that specifies which Flash Player Settings panel to display, as shown 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:

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

See also

Camera.get(), Microphone.get(), Local disk space considerations