TextField.StyleSheet.parseCSS()

Availability

Flash Player 7.

Usage

styleSheet.parseCSS(cssText)

Parameters

cssText The CSS text to parse (a string).

Returns

A Boolean value indicating if the text was parsed successfully (true) or not (false).

Description

Method; parses the CSS in cssText and loads the style sheet with it. If a style in cssText is already in styleSheet, the properties in styleSheet are retained, and only the ones in cssText are added or changed in styleSheet.

To extend the native CSS parsing capability, you can override this method by creating a subclass of the TextField.StyleSheet class. For more information, see Creating subclasses.