User Guide

642 ActionScript classes
Example
The following example creates a new instance of the String object and then shows that the
valueOf method returns a reference to the primitive value, rather than an instance of the
object.
var str:String = new String("Hello World");
var value:String = str.valueOf();
trace(str instanceof String); // true
trace(value instanceof String); // false
trace(str === value); // false
System
Object
|
+-System
public class System
extends Object
The System class contains properties related to certain operations that take place on the user's
computer, such as operations with shared objects and the clipboard. Additional properties and
methods are in specific classes within the System package: the capabilities class (see
System.capabilities) and the security class (see System.security).
Availability: ActionScript 1.0; Flash Lite 2.0
See also
capabilities (System.capabilities), security (System.security)
Property summary
Properties inherited from class Object
Modifiers Property Description
static useCodepage:Boolean 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.
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)