Packageflashx.textLayout.elements
Classpublic class GlobalConfiguration
InheritanceGlobalConfiguration Inheritance Object

Configuration that applies too all TextFlow objects



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  fontMapper : Function
[static] Specifies the callback used for font mapping The callback takes a flash.text.engine.FontDescription object and updates it as needed.
GlobalConfiguration
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
fontMapperproperty
fontMapper:Function

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Specifies the callback used for font mapping The callback takes a flash.text.engine.FontDescription object and updates it as needed. After setting a new font mapping callback, or changing the behavior of the exisiting font mapping callback, the client must explicitly call flashx.textLayout.elements.TextFlow.invalidateAllFormats for each impacted text flow. This ensures that whenever a leaf element in the text flow is recomposed next, the FontDescription applied to it is recalculated and the the callback is invoked.



Implementation
    public static function get fontMapper():Function
    public function set fontMapper(value:Function):void

See also

FontDescription
invalidateAllFormats