System Object

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
System Object Flash 6

access to Player and system settings and specifications

Properties

capabilities

A reference to the Capabilities object.

security

Object for setting cross-domain movie permissions.

useCodepage

Force Flash Player to use the operating system's code page rather than Unicode.

Methods

showSettings( )

Display the Flash Player Settings dialog box.

Description

The System object provides information about, and control over, features of the Flash Player and the system on which it is running. With the exception of showSettings( ) (used to display the Flash Player Settings dialog box) and useCodepage (used to control the character encoding mode), Player and system features are accessed through the Capabilities and Security objects, which themselves are stored as properties of System. The Capabilities object is documented separately as the Capabilities Object (under the letter "C") in this Language Reference. The Security object's single method, allowDomain( ), which can permit movies loaded from different domains to access and control each other, is documented under System.security.allowDomain( ).

Note that System is a predefined object, not a class. Its properties and methods are accessed directly, as in:

System.showSettings(0);  // Displays the Privacy tab of the Settings dialog box

See Also

The Capabilities object, the Stage object



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net