Packageflashx.textLayout.conversion
Interfacepublic interface ITextImporter

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

Interface for importing text content into a TextFlow from an external source.



Public Properties
 PropertyDefined By
  errors : Vector.<String>
[read-only] Errors encountered while parsing.
ITextImporter
  throwOnError : Boolean
Parsing errors during import will cause exceptions if throwOnError is true.
ITextImporter
Public Methods
 MethodDefined By
  
Import text content from an external source and convert it into a TextFlow.
ITextImporter
Property Detail
errorsproperty
errors:Vector.<String>  [read-only]

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

Errors encountered while parsing. This will be empty if there were no errors. Value is a vector of Strings.



Implementation
    public function get errors():Vector.<String>
throwOnErrorproperty 
throwOnError:Boolean

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

Parsing errors during import will cause exceptions if throwOnError is true.



Implementation
    public function get throwOnError():Boolean
    public function set throwOnError(value:Boolean):void
Method Detail
importToFlow()method
public function importToFlow(source:Object):flashx.textLayout.elements:TextFlow

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

Import text content from an external source and convert it into a TextFlow.

Parameters

source:Object — Data to convert

Returns
flashx.textLayout.elements:TextFlow — TextFlow created from the source.