home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeActionScript: The Definitive GuideSearch this book

20.2. Global Properties

Global properties, like global functions, may be accessed from any script in a movie. They store information that is generally useful, from any point in our code. Many of them affect the entire Flash Player, not just a particular movie clip or movie.

Table 20-2 lists the global properties available in Flash 5.

Table 20-2. ActionScript Global Properties

Property Name

Description

_focusrect

The highlight state of buttons activated via the keyboard

_highquality

The rendering quality of the Player*

Infinity

A constant representing the Infinity value of the number type

-Infinity

A constant representing the -Infinity value of the number type

_leveln

A document level in the Player

NaN

Not-A-Number; the value of the number type representing invalid numeric data

_quality

The rendering quality of the Player

_root

A reference to the main movie timeline of the current level

_soundbuftime

Number of seconds of a streaming sound to preload

$version*

The version of the Flash Player

*Deprecated in Flash 5.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.