System.showSettings()

Availability

Usage

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

Parameters

tabID 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 Flash 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 inform users that they must select Allow in the Privacy dialog box, 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 dialog box.)

See also

Camera.get(), Microphone.get()


 

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

Current page: http://livedocs.adobe.com/fms/2/docs/00000614.html