User Guide
System.showSettings() 855
System.showSettings()
Availability
Flash Player 6.
Usage
System.showSettings([panel:Number]) : Void
Parameters
panel
A number; an optional number that specifies which Flash Player Settings panel to
display, as shown in the following table:
Returns
Nothing.
Description
Method; shows the specified Flash Player Settings panel, which lets users do any of the following
actions:
• Allow or deny access to the camera and microphone
• Specify the 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 tell the user to select Allow
in the Privacy Settings panel and then issue a
System.showSettings(0) command. (Ensure that
your Stage size is at least 215 x 138 pixels; this is the minimum size Flash requires to display
the panel.)
Example
The following example shows how to display the Flash Player Settings Local Storage panel:
System.showSettings(1);
See also
Camera.get(), Microphone.get(), SharedObject.getLocal()
Value passed for
panel Settings panel displayed
None (parameter is omitted)
or an unsupported value
The panel that was open the last time the user closed the Player
Settings panel.
0 Privacy
1 Local Storage
2Microphone
3Camera