138
Client-Side ActionScript Language Reference
Description
Method; displays the specified Flash Player Settings panel, which lets users do any of
the following:
■
Allow or deny access to their camera and microphone
■
Specify settings for 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 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()
System.useCodepage
Availability
■
Flash Player 6.
■
Flash Media Server (not required).
Usage
public static useCodepage : Boolean
Description
Flash Media Server sends text in UTF-8 format. If you set
System.useCodepage = true
in
your ActionScript code, your media application might not work properly. A value of
true
causes Macromedia Flash Player to handle text based on the end user’s code page, as in early
versions of the player. Flash Player, however, will still send UTF-8 encoded text to Flash
Media Server, and all text received from the server will be UTF-8 encoded as well. Setting
System.useCodepage = true
in a Macromedia Flash Media Server application will likely
result in unexpected behavior and is strongly discouraged. For example, text might not be sent
and received properly from the server. For more information on
System.useCodepage
, see
the
Macromedia Flash Support Center.