StyleManager.registerInheritingSyle()

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

StyleManager.registerInheritingStyle(propertyName)

Parameters

propertyName A string indicating the name of the style property (for example, "newProp1", "newProp2", and so on).

Returns

Nothing.

Description

Method; marks this style property as inheriting. Use this method to register style properties that aren't listed in the CSS specification. Do not use this method to change non-inheriting styles properties to inheriting.

Example

The following example registers newProp1 as an inheriting style:

StyleManager.registerInheritingStyle("newProp1");