1154
ActionScript classes
Parameters
style
:Object
- An object that describes the style, containing style rules as properties of the
object, or
null
.
Returns
TextFormat
- A TextFormat object containing the result of the mapping of CSS rules to text
format properties.
Example
The following example extends the
transform()
method:
import TextField.StyleSheet;
class AdvancedCSS extends StyleSheet {
public function AdvancedCSS() {
trace("AdvancedCSS instantiated");
}
public function transform(styleObject):TextFormat {
trace("tranform called");
}
}
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, local settings for cameras and microphones,
and use of the Clipboard. The following additional properties and methods are in specific
classes within the System package: the capabilities class, the security class, and the IME class.
Availability:
ActionScript 1.0; Flash Player 6
See also
capabilities (System.capabilities)
,
security (System.security)
,
IME
(System.IME)
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...