showSettings (System.showSettings method)

public static showSettings([tabID:Number]) : Void

Shows the specified Flash Player Settings panel. The panel lets users do any of the following actions:

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 )

Availability: ActionScript 1.0; Flash Player 6

Parameters

tabID:Number [optional] - A number; a 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) or an unsupported value

The panel that was open the last time the user closed the Player Settings panel.

0

Privacy

1

Local Storage

2

Microphone

3

Camera

Example

The following example shows how to display the Flash Player Settings Local Storage panel:


System.showSettings(1);

See also

get (Camera.get method), get (Microphone.get method), getLocal (SharedObject.getLocal method)


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00002188.html