Overview of the flashx.textLayout.compose package

The flashx.textLayout.compose package contains an interface and classes that define and implement a flow composer. A flow composer is an object that manages the conversion of a TextFlow into TextLine instances and also the placement of those TextLine instances into one or more containers. The TextLine class is part of the flash.text.engine package.

The IFlowComposer object is accessible through the TextFlow.flowComposer property. Through this property, you can call methods defined by the IFlowComposer interface that allow you to associate the text with one or more containers and prepare the text for display within a container. TextFlow.flowComposer can be null. The TextFlow constructor initially creates an instance of Configuration.flowComposerClass from the configuration used by the TextFlow constructor.

Currently only StandardFlowComposer implements the IFlowComposer interface. Consequently, the TextFlow.flowComposer property always points to an instance of StandardFlowComposer.

The FlowComposerBase class is a useful base class for implementers of IFlowComposer such as StandardFlowComposer.



Interfaces
 InterfaceDescription
 IFlowComposerThe IFlowComposer interface defines the TextLayout display controller, which manages the composition and display of the text flow.
Classes
 ClassDescription
 FlowComposerBaseThe FlowComposerBase class is the base class for text flow composer classes, which control the composition of text lines in ContainerController objects.
 StandardFlowComposerThe StandardFlowComposer class represents the standard composer and container manager.