| Package | flashx.textLayout.elements | 
| Interface | public interface IFormatResolver | 
| Language Version: | ActionScript 3.0 | 
| Runtime Versions: | Flash Player 10, AIR 1.5 | 
Related API Elements
Public Methods 
| Method | Defined By | ||
|---|---|---|---|
| getResolverForNewFlow(oldFlow:flashx.textLayout.elements:TextFlow, newFlow:flashx.textLayout.elements:TextFlow):IFormatResolver  Returns the format resolver when a TextFlow is copied. | IFormatResolver | ||
|  Invalidates cached formatting information on this element because, for example, the parent changed, 
		  or the id or the styleName changed or the typeName changed. | IFormatResolver | ||
|  Invalidates any cached formatting information for a TextFlow so that formatting must be recomputed. | IFormatResolver | ||
|  Given a FlowElement or ContainerController object, return any format settings for it. | IFormatResolver | ||
|  Given a FlowElement or ContainerController object and the name of a format property, return the format value
		 or undefined if the value is not found. | IFormatResolver | ||
Method Detail
| getResolverForNewFlow | () | method | 
 public function getResolverForNewFlow(oldFlow:flashx.textLayout.elements:TextFlow, newFlow:flashx.textLayout.elements:TextFlow):IFormatResolver| Language Version: | ActionScript 3.0 | 
| Runtime Versions: | Flash Player 10, AIR 1.5 | 
Returns the format resolver when a TextFlow is copied.
Parameters
| oldFlow:flashx.textLayout.elements:TextFlow | |
| newFlow:flashx.textLayout.elements:TextFlow | 
| IFormatResolver— the format resolver for the copy of the TextFlow. | 
| invalidate | () | method | 
 public function invalidate(target:Object):void| Language Version: | ActionScript 3.0 | 
| Runtime Versions: | Flash Player 10, AIR 1.5 | 
 Invalidates cached formatting information on this element because, for example, the parent changed, 
		  or the id or the styleName changed or the typeName changed. 
		 
		 
Parameters
| target:Object | 
| invalidateAll | () | method | 
 public function invalidateAll(textFlow:flashx.textLayout.elements:TextFlow):void| Language Version: | ActionScript 3.0 | 
| Runtime Versions: | Flash Player 10, AIR 1.5 | 
Invalidates any cached formatting information for a TextFlow so that formatting must be recomputed.
Parameters
| textFlow:flashx.textLayout.elements:TextFlow | 
| resolveFormat | () | method | 
 public function resolveFormat(target:Object):flashx.textLayout.formats:ITextLayoutFormat| Language Version: | ActionScript 3.0 | 
| Runtime Versions: | Flash Player 10, AIR 1.5 | 
Given a FlowElement or ContainerController object, return any format settings for it.
Parameters
| target:Object | 
| flashx.textLayout.formats:ITextLayoutFormat— format settings for the specified object. | 
| resolveUserFormat | () | method | 
 public function resolveUserFormat(target:Object, userFormat:String):*| Language Version: | ActionScript 3.0 | 
| Runtime Versions: | Flash Player 10, AIR 1.5 | 
 Given a FlowElement or ContainerController object and the name of a format property, return the format value
		 or undefined if the value is not found.
		 
		 
Parameters
| target:Object | |
| userFormat:String | 
| *— the value of the specified format for the specified object. | 
Thu Dec 4 2014, 05:50 PM -08:00