System.useCodepage
425
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 Flex screen 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()
System.useCodepage
Availability
Flash Player 6.
Usage
System.useCodepage
:Boolean
Description
Property; a Boolean value that tells Flash Player whether to use Unicode or the traditional code
page of the operating system running the player to interpret external text files. The default value
of
System.useCodepage
is
false
.
•
When the property is set to
false
, Flash Player interprets external text files as Unicode. (These
files must be encoded as Unicode when you save them.)
•
When the property is set to
true
, Flash Player interprets external text files using the traditional
code page of the operating system running the player.
Text that you load as an external file (using the
getURL()
or the
LoadVars class
or
XML class
)
must be encoded as Unicode when you save the text file in order for Flash Player to recognize it as
Unicode. To encode external files as Unicode, save the files in an application that supports
Unicode, such as Notepad on Windows 2000.
Summary of Contents for FLEX-FLEX ACTIONSCRIPT LANGUAGE
Page 1: ...Flex ActionScript Language Reference...
Page 8: ......
Page 66: ...66 Chapter 2 Creating Custom Classes with ActionScript 2 0...
Page 76: ......
Page 133: ...break 133 See also for for in do while while switch case continue throw try catch finally...
Page 135: ...case 135 See also break default strict equality switch...
Page 146: ...146 Chapter 5 ActionScript Core Language Elements See also break continue while...
Page 808: ...808 Chapter 7 ActionScript for Flash...
Page 810: ...810 Appendix A Deprecated Flash 4 operators...
Page 815: ...Other keys 815 Num Lock 144 186 187 _ 189 191 192 219 220 221 222 Key Key code...
Page 816: ...816 Appendix B Keyboard Keys and Key Code Values...
Page 822: ...822 Index...