![]() ![]() | |
Flash Player 6.
System.showSettings([panel])
panel An optional number that specifies which Flash Player Settings panel to display, as shown in the following table:
|
Value passed for |
Settings panel displayed |
|---|---|
|
None (parameter is omitted) or an unsupported value |
Whichever panel was open the last time the user closed the Player Settings panel |
|
0 |
Privacy |
|
1 |
Local Storage |
|
2 |
Microphone |
|
3 |
Camera |
Nothing.
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.)
Camera.get(), Microphone.get(), SharedObject.getLocal()
![]() ![]() | |