flashx.textLayout.operationsCreateSubParagraphGroupOperation The CreateSPGEOperation class encapsulates creating a SubPargraphGroupElement flashx.textLayout.operations:FlowTextOperation The CreateSPGEOperation class encapsulates creating a SubPargraphGroupElement CreateSubParagraphGroupOperation Constructor.operationStateflashx.textLayout.edit:SelectionStateselection over which to apply the operation. parentflashx.textLayout.elements:FlowGroupElementnulloptional parent for the spge element. If not specified one is chosen based on the selection formatflashx.textLayout.formats:ITextLayoutFormatnulloptional format to set in the new spge element. Constructor. This operation creates a single SubParagraphGroupElement in the first paragraph of the selection range. That paragraph must have at least one character selected the paragraph terminator does not count towards that selection. Specifying the spgeParent creates an SubParagraphGroupElement int he part of the selection range included by that spgeParent. format Format to be applied to the new SubParagraphGroupElement flashx.textLayout.formats:ITextLayoutFormat Format to be applied to the new SubParagraphGroupElement newSubParagraphGroupElement The new SubParagraphGroupElement.flashx.textLayout.elements:SubParagraphGroupElement The new SubParagraphGroupElement. parent Specifies the element this operation modifies.flashx.textLayout.elements:FlowGroupElement Specifies the element this operation modifies. FlowElementOperation The FlowElementOperation class is the base class for operations that transform a FlowElement.flashx.textLayout.operations:FlowTextOperation The FlowElementOperation class is the base class for operations that transform a FlowElement. flashx.textLayout.formats.TextLayoutFormatflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventFlowElementOperation Creates a FlowElementOperation object.operationStateflashx.textLayout.edit:SelectionStateSpecifies the TextFlow object this operation acts upon. targetElementflashx.textLayout.elements:FlowElementSpecifies the element this operation modifies. relativeStart0An offset from the beginning of the targetElement. relativeEnd-1An offset from the end of the targetElement. Creates a FlowElementOperation object. relativeEnd An offset from the start of the targetElement. An offset from the start of the targetElement. relativeStart An offset from the beginning of the targetElement. An offset from the beginning of the targetElement. targetElement Specifies the element this operation modifies.flashx.textLayout.elements:FlowElement Specifies the element this operation modifies. CutOperation The CutOperation class encapsulates a cut operation.flashx.textLayout.operations:FlowTextOperation The CutOperation class encapsulates a cut operation.

The specified range is removed from the text flow.

Note: The edit manager is responsible for copying the text scrap to the clipboard. Undoing a cut operation does not restore the original clipboard state.

flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventCutOperation Creates a CutOperation object.operationStateflashx.textLayout.edit:SelectionStateThe range of text to be cut. scrapToCutflashx.textLayout.edit:TextScrapA copy of the deleted text. Creates a CutOperation object. scrapToCut scrapToCut the original removed text flashx.textLayout.edit:TextScrap scrapToCut the original removed text
ApplyFormatOperation The ApplyFormatOperation class encapsulates a style change.flashx.textLayout.operations:FlowTextOperation The ApplyFormatOperation class encapsulates a style change.

An ApplyFormatOperation applies the leaf format to the text in the specified range (no change is made if the specified range is a single point). It applies the paragraph format to any paragraphs at least partially within the range (or a single paragraph if the range is a single point). And it applies the container format to any containers at least partially within the range (or a single container if the range is a single point).

flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventApplyFormatOperation Creates an ApplyFormatOperation object.operationStateflashx.textLayout.edit:SelectionStateDefines the text range to which the format is applied. leafFormatflashx.textLayout.formats:ITextLayoutFormat The format to apply to LeafFlowElement objects in the selected range. paragraphFormatflashx.textLayout.formats:ITextLayoutFormatThe format to apply to ParagraphElement objects in the selected range. containerFormatflashx.textLayout.formats:ITextLayoutFormatnullThe format to apply to containers in the selected range. Creates an ApplyFormatOperation object. containerFormat The format properties to apply to the containers in the range.flashx.textLayout.formats:ITextLayoutFormat The format properties to apply to the containers in the range.

The formats of any containers at least partially within the range are updated. If the range of this operation is a point, then a single container is updated. If containerFormat is null, then no container formats are changed.

leafFormat The format properties to apply to the leaf elements in the range.flashx.textLayout.formats:ITextLayoutFormat The format properties to apply to the leaf elements in the range.

If the range of this operation is a point, or if leafFormat is null, then no leaf element formats are changed.

paragraphFormat The format properties to apply to the paragraphs in the range.flashx.textLayout.formats:ITextLayoutFormat The format properties to apply to the paragraphs in the range.

The formats of any paragraphs at least partially within the range are updated. If the range of this operation is a point, then a single paragraph is updated. If paragraphFormat is null, then no paragraph formats are changed.

ClearFormatOperation The ClearFormatOperation class encapsulates a way to undefine formats.flashx.textLayout.operations:FlowTextOperation The ClearFormatOperation class encapsulates a way to undefine formats.

An UndefineFormatOperation undefines properties set in the leaf format to the text in the specified range (no change is made if the specified range is a single point). It undefines properties set in the paragraph format to any paragraphs at least partially within the range (or a single paragraph if the range is a single point). And it undefines properties set in the container format to any containers at least partially within the range (or a single container if the range is a single point).

flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventClearFormatOperation Creates an ClearFormatOperation object.operationStateflashx.textLayout.edit:SelectionStateDefines the text range to which the format is applied. leafFormatflashx.textLayout.formats:ITextLayoutFormat The format whose set values indicate properties to undefine to LeafFlowElement objects in the selected range. paragraphFormatflashx.textLayout.formats:ITextLayoutFormatThe format whose set values indicate properties to undefine to ParagraphElement objects in the selected range. containerFormatflashx.textLayout.formats:ITextLayoutFormatnullThe format whose set values indicate properties to undefine to ContainerController objects in the selected range. Creates an ClearFormatOperation object. redoflashx.textLayout.edit:SelectionStatecontainerFormat The format properties to undefine on the containers in the range.flashx.textLayout.formats:ITextLayoutFormat The format properties to undefine on the containers in the range.

The formats of any containers at least partially within the range are updated. If the range of this operation is a point, then a single container is updated. If containerFormat is null, then no container formats are changed.

leafFormat The format properties to undefine on the leaf elements in the range.flashx.textLayout.formats:ITextLayoutFormat The format properties to undefine on the leaf elements in the range.

If the range of this operation is a point, or if leafFormat is null, then no leaf element formats are changed.

paragraphFormat The format properties to undefine on the paragraphs in the range.flashx.textLayout.formats:ITextLayoutFormat The format properties to undefine on the paragraphs in the range.

The formats of any paragraphs at least partially within the range are updated. If the range of this operation is a point, then a single paragraph is updated. If paragraphFormat is null, then no paragraph formats are changed.

RedoOperation The RedoOperation class encapsulates a redo operation.flashx.textLayout.operations:FlowOperation The RedoOperation class encapsulates a redo operation. flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventRedoOperation Creates a RedoOperation object.operationflashx.textLayout.operations:FlowOperationThe operation to redo. Creates a RedoOperation object. operation The operation to redo.flashx.textLayout.operations:FlowOperation The operation to redo. InsertTextOperation The InsertTextOperation class encapsulates a text insertion operation.flashx.textLayout.operations:FlowTextOperation The InsertTextOperation class encapsulates a text insertion operation. flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventInsertTextOperation Creates an InsertTextOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the insertion point or range of text. textThe string to insert. deleteSelectionStateflashx.textLayout.edit:SelectionStatenullDescribes the range of text to delete before doing insertion, if different than the range described by operationState. Creates an InsertTextOperation object. redo Re-executes the operation after it has been undone.flashx.textLayout.edit:SelectionState Re-executes the operation after it has been undone.

This function is called by the edit manager, when necessary.

characterFormat The character format applied to the inserted text.flashx.textLayout.formats:ITextLayoutFormat The character format applied to the inserted text. deleteSelectionState The text deleted by this operation, if any.flashx.textLayout.edit:SelectionState The text deleted by this operation, if any.

null if no text is deleted.

text The text inserted by this operation. The text inserted by this operation.
ApplyTCYOperation The ApplyTCYOperation class encapsulates a TCY transformation.flashx.textLayout.operations:FlowTextOperation The ApplyTCYOperation class encapsulates a TCY transformation. flashx.textLayout.elements.TCYElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventApplyTCYOperation Creates an ApplyTCYOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the range of text to which the operation is applied. tcyOnSpecifies whether to apply TCY (true), or remove TCY (false). Creates an ApplyTCYOperation object. newTCYElement The TCYElement that was created by doOperation.flashx.textLayout.elements:TCYElement The TCYElement that was created by doOperation. tcyOn Indicates whether the operation applies or removes TCY formatting. Indicates whether the operation applies or removes TCY formatting.

If true, then the operation transforms the range into a TCY element. If false, then the operation removes TCY formatting from the first TCY element in the range.

flashx.textLayout.elements.TCYElement
ApplyFormatToElementOperation The ApplyFormatToElementOperation class encapsulates a style change to an element.flashx.textLayout.operations:FlowElementOperation The ApplyFormatToElementOperation class encapsulates a style change to an element.

This operation applies one or more formats to a flow element.

flashx.textLayout.edit.EditManagerflashx.textLayout.formats.TextLayoutFormatflashx.textLayout.events.FlowOperationEventApplyFormatToElementOperation Creates an ApplyFormatToElementOperation object.operationStateflashx.textLayout.edit:SelectionStateSpecifies the text flow containing the element to which this operation is applied. targetElementflashx.textLayout.elements:FlowElementspecifies the element to which this operation is applied. formatflashx.textLayout.formats:ITextLayoutFormatThe formats to apply in this operation. relativeStart0relativeEnd-1 Creates an ApplyFormatToElementOperation object. format The character formats applied in this operation.flashx.textLayout.formats:ITextLayoutFormat The character formats applied in this operation.

If null no character formats are changed.

ApplyElementStyleNameOperation The ApplyElementStyleNameOperation class encapsulates a style name change.flashx.textLayout.operations:FlowElementOperation The ApplyElementStyleNameOperation class encapsulates a style name change. flashx.textLayout.elements.FlowElement.styleNameflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventApplyElementStyleNameOperation Creates a ApplyElementStyleNameOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the current selection. targetElementflashx.textLayout.elements:FlowElementSpecifies the element to change. newStyleNameThe style name to assign. relativeStart0An offset from the beginning of the target element. relativeEnd-1An offset from the end of the target element. Creates a ApplyElementStyleNameOperation object.

If the relativeStart and relativeEnd parameters are set, then the existing element is split into multiple elements, the selected portion using the new style name and the rest using the existing style name.

newStyleName The style name assigned by this operation. The style name assigned by this operation.
FlowOperation The FlowOperation class is the base class for all Text Layout Framework operations.flashx.undo:IOperationObject The FlowOperation class is the base class for all Text Layout Framework operations.

Operations are transformations of a text flow. An Operation class defines the logic for performing and undoing the transformation. Operations are executed by an edit manager. Most applications do not need to create or manage operations directly (unless implementing a custom edit manager).

When an operation is performed, the edit manager dispatches an Operation object within the FlowOperationEvent object. You can query this Operation object to decide whether or not to allow the operation, to decide whether to perform some other operation as well, or to update related user-interface elements.

flashx.textLayout.events.FlowOperationEventflashx.textLayout.edit.EditManagerFlowOperation Creates the FlowOperation object.textFlowflashx.textLayout.elements:TextFlowThe text flow to which this operation is applied. Creates the FlowOperation object. canUndo Test if this operation be placed on the undo stack.true means to push the operation onto the undo stack. false means do not push this operation. Test if this operation be placed on the undo stack. doOperation Executes the operation.Boolean true, if the operation succeeded. Otherwise, false. Executes the operation.

This method must be overridden in derived classes. The base class method does nothing. You should not call doOperation() directly. The edit manager calls the method when it executes the operation.

redo Re-executes the operation.The SelectionState object passed to the operation when it was performed. This SelectionState object can be the current selection or a selection created specifically for the operation. flashx.textLayout.edit:SelectionState Re-executes the operation.

This method must be overridden in derived classes. The base class method does nothing. You should not call redo() directly. The edit manager calls the method when it re-executes the operation.

undo Reverses the operation.The SelectionState object passed to the operation when it was performed. This SelectionState object can be the current selection or a selection created specifically for the operation. flashx.textLayout.edit:SelectionState Reverses the operation.

This method must be overridden in derived classes. The base class method does nothing. You should not call undo() directly. The edit manager calls the method when it reverses the operation.

userData Arbitrary data associated with an element. Arbitrary data associated with an element. beginGeneration The text flow generation before the operation. The text flow generation before the operation.

A generation of 0 indicates that the operation did not complete.

endGeneration The text flow generation after the operation. The text flow generation after the operation.

A generation of 0 indicates that the operation did not complete.

textFlow The TextFlow object to which this operation is applied.flashx.textLayout.elements:TextFlow The TextFlow object to which this operation is applied.
SplitElementOperation The SplitElementOperation class encapsulates a change that splits any FlowGroupElement into two elements.flashx.textLayout.operations:FlowTextOperation The SplitElementOperation class encapsulates a change that splits any FlowGroupElement into two elements. This operation splits target at operationState.absoluteStart. flashx.textLayout.elements.ParagraphElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventSplitElementOperation Creates a SplitElementOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the point at which to split the element. If a range of text is specified, the contents of the range are deleted. targetElementflashx.textLayout.elements:FlowGroupElement Creates a SplitElementOperation object. This operation deletes a block selection and then splits the target at absoluteStart. The block selection should not cause target to be deleted. Target is a FlowGroupElement but may not be a LinkElement, TCYElement or SubParagraphGroupElement. newElement Returns the new element created by doOperation.flashx.textLayout.elements:FlowGroupElement Returns the new element created by doOperation. targetElement Specifies the element this operation modifies.flashx.textLayout.elements:FlowGroupElement Specifies the element this operation modifies. DeleteTextOperation The DeleteTextOperation class encapsulates the deletion of a range of text.flashx.textLayout.operations:FlowTextOperation The DeleteTextOperation class encapsulates the deletion of a range of text. flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventDeleteTextOperation Creates a DeleteTextOperation operation.operationStateflashx.textLayout.edit:SelectionStateThe original range of text. deleteSelectionStateflashx.textLayout.edit:SelectionStatenullThe range of text to delete, if different from the range described by operationState. (Set to null to delete the range described by operationState.) allowMergefalseSet to true if this operation can be merged with the next or previous operation. Creates a DeleteTextOperation operation. allowMerge Indicates whether this operation can be merged with operations executed before or after it. Indicates whether this operation can be merged with operations executed before or after it.

Some delete operations, for example, a sequence of backspace keystrokes, can be fruitfully merged into one operation so that undoing the operation reverses the entire sequence.

deleteSelectionState deleteSelectionState The range of text to delete flashx.textLayout.edit:SelectionState deleteSelectionState The range of text to delete
SplitParagraphOperation The SplitParagraphOperation class encapsulates a change that splits a paragraph into two elements.flashx.textLayout.operations:SplitElementOperation The SplitParagraphOperation class encapsulates a change that splits a paragraph into two elements.

The operation creates a new paragraph containing the text from the specified position to the end of the paragraph. If a range of text is specified, the text in the range is deleted first.

flashx.textLayout.elements.ParagraphElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventSplitParagraphOperation Creates a SplitParagraphOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the point at which to split the paragraph. If a range of text is specified, the contents of the range are deleted. Creates a SplitParagraphOperation object.
ClearFormatOnElementOperation The ClearFormatOnElementOperation class encapsulates a style change to an element.flashx.textLayout.operations:FlowElementOperation The ClearFormatOnElementOperation class encapsulates a style change to an element.

This operation undefines one or more formats to a flow element.

flashx.textLayout.edit.EditManagerflashx.textLayout.formats.TextLayoutFormatflashx.textLayout.events.FlowOperationEventApplyFormatToElementOperationClearFormatOnElementOperation Creates an ClearFormatOnElementOperation object.operationStateflashx.textLayout.edit:SelectionStateSpecifies the text flow containing the element to which this operation is applied. targetElementflashx.textLayout.elements:FlowElementspecifies the element to which this operation is applied. formatflashx.textLayout.formats:ITextLayoutFormatThe formats to apply in this operation. relativeStart0relativeEnd-1 Creates an ClearFormatOnElementOperation object. format The character formats applied in this operation.flashx.textLayout.formats:ITextLayoutFormat The character formats applied in this operation.

If null no character formats are changed.

MoveChildrenOperation The MoveChildrenOperation class allows moving a set of siblings out of its immediate parent chain, and the operation removes any empty ancestor chain left behind.flashx.textLayout.operations:FlowTextOperation The MoveChildrenOperation class allows moving a set of siblings out of its immediate parent chain, and the operation removes any empty ancestor chain left behind. flashx.textLayout.elements.FlowElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventMoveChildrenOperation Creates a MoveChildrenOperation object.operationStateflashx.textLayout.edit:SelectionStateSpecifies the SelectionState of this operation sourceflashx.textLayout.elements:FlowGroupElementSpecifies the parent of the item(s) to move. sourceIndexSpecifies the index of the first item to move. numChildrenSpecifies the number of children to move. destinationflashx.textLayout.elements:FlowGroupElementSpecifies the new parent of the items. destinationIndexSpecifies the new child index of the first element. Creates a MoveChildrenOperation object.

This operation moves a consecutive number of children of source into the destination context. Also, if moving the children leaves the source element with no children, then source will be removed. The removal is done recursively such that if source's parent becomes empty from the removal of source, it too will be deleted, and on up the parent chain.

destinationIndex Specifies the new child index of the first element. Specifies the new child index of the first element. destination Specifies the new parent of the items.flashx.textLayout.elements:FlowGroupElement Specifies the new parent of the items. numChildren Specifies the index of the first item to move. Specifies the index of the first item to move. sourceIndex Specifies the number of children to move. Specifies the number of children to move. source Specifies the parent of the item(s) to move.flashx.textLayout.elements:FlowGroupElement Specifies the parent of the item(s) to move.
ApplyElementTypeNameOperation The ApplyElementTypeNameOperation class encapsulates a type name change.flashx.textLayout.operations:FlowElementOperation The ApplyElementTypeNameOperation class encapsulates a type name change. flashx.textLayout.elements.FlowElement.typeNameflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventApplyElementTypeNameOperation Creates a ApplyElementTypeNameOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the current selection. targetElementflashx.textLayout.elements:FlowElementSpecifies the element to change. typeNameThe type name to assign. relativeStart0An offset from the beginning of the target element. relativeEnd-1An offset from the end of the target element. Creates a ApplyElementTypeNameOperation object.

If the relativeStart and relativeEnd parameters are set, then the existing element is split into multiple elements, the selected portion using the new type name and the rest using the existing type name.

typeName The type name assigned by this operation. The type name assigned by this operation.
CreateListOperation The CreateListOperation class encapsulates creating list flashx.textLayout.operations:FlowTextOperation The CreateListOperation class encapsulates creating list CreateListOperation Creates an CreateListOperation object.operationStateflashx.textLayout.edit:SelectionStateparentflashx.textLayout.elements:FlowGroupElementnulllistFormatflashx.textLayout.formats:ITextLayoutFormatnull Creates an CreateListOperation object. listFormat TextLayoutFormat to be applied to the new ListElement.flashx.textLayout.formats:ITextLayoutFormat TextLayoutFormat to be applied to the new ListElement. newListElement The new ListElement.flashx.textLayout.elements:ListElement The new ListElement. parent Specifies the element this operation adds a new ListElement to.flashx.textLayout.elements:FlowGroupElement Specifies the element this operation adds a new ListElement to. FlowTextOperation The FlowTextOperation is the base class for operations that transform a range of text.flashx.textLayout.operations:FlowOperation The FlowTextOperation is the base class for operations that transform a range of text. flashx.textLayout.edit.EditManagerFlowTextOperation Creates the FlowTextOperation object.operationStateflashx.textLayout.edit:SelectionStateSpecifies the relevant selection. If relevant to the operation, the operationState describes the text range to which this operation applies. Otherwise, operationState is used to save the current selection state so that it can be restored when the operation is undone. Creates the FlowTextOperation object. redo Re-executes the operation.The SelectionState object passed to the operation when it was performed. This SelectionState object can be the current selection or a selection created specifically for the operation. flashx.textLayout.edit:SelectionState Re-executes the operation.

This method must be overridden in derived classes. The base class method does nothing. You should not call redo() directly. The edit manager calls the method when it re-executes the operation.

absoluteEnd The absolute end point of the range of text to which this operation is applied. The absolute end point of the range of text to which this operation is applied. absoluteStart The absolute start point of the range of text to which this operation is applied. The absolute start point of the range of text to which this operation is applied. originalSelectionState The selection state at the start of the operation.flashx.textLayout.edit:SelectionState The selection state at the start of the operation.
CreateDivOperation The CreateDivOperation class encapsulates creating DivElement flashx.textLayout.operations:FlowTextOperation The CreateDivOperation class encapsulates creating DivElement CreateDivOperation Creates an CreateDivOperation object.operationStateflashx.textLayout.edit:SelectionStateparentflashx.textLayout.elements:FlowGroupElementnullformatflashx.textLayout.formats:ITextLayoutFormatnull Creates an CreateDivOperation object. format TextLayoutFormat to be applied to the new DivElement.flashx.textLayout.formats:ITextLayoutFormat TextLayoutFormat to be applied to the new DivElement. newDivElement The new DivElement.flashx.textLayout.elements:DivElement The new DivElement. parent Specifies the parent element for the new DivElement flashx.textLayout.elements:FlowGroupElement Specifies the parent element for the new DivElement ModifyInlineGraphicOperation The InsertInlineGraphicOperation class encapsulates the modification of an existing inline graphic.flashx.textLayout.operations:FlowTextOperation The InsertInlineGraphicOperation class encapsulates the modification of an existing inline graphic. flashx.textLayout.elements.InlineGraphicElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventModifyInlineGraphicOperation Creates a ModifyInlineGraphicsOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the insertion point. If a range is selected, the operation deletes the contents of that range. sourceThe graphic source (uri string, URLRequest, DisplayObject, or Class of an embedded asset). widthThe width to assign (number of pixels, percent, or the string 'auto') heightThe height to assign (number of pixels, percent, or the string 'auto') optionsnullNone supported Creates a ModifyInlineGraphicsOperation object. height options options are not supported options are not supported source width InsertInlineGraphicOperation The InsertInlineGraphicOperation class encapsulates the insertion of an inline graphic into a text flow.flashx.textLayout.operations:FlowTextOperation The InsertInlineGraphicOperation class encapsulates the insertion of an inline graphic into a text flow. flashx.textLayout.elements.InlineGraphicElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventInsertInlineGraphicOperation Creates an InsertInlineGraphicsOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the insertion point. If a range is selected, the operation deletes the contents of that range. sourceThe graphic source (uri string, URLRequest, DisplayObject, or Class of an embedded asset). widthThe width to assign (number of pixels, percent, or the string 'auto') heightThe height to assign (number of pixels, percent, or the string 'auto') optionsnullThe float to assign (String value, none for inline with text, left/right/start/end for float) Creates an InsertInlineGraphicsOperation object. redo Re-executes the operation after it has been undone.flashx.textLayout.edit:SelectionState Re-executes the operation after it has been undone.

This function is called by the edit manager, when necessary.

height flashx.textLayout.InlineGraphicElement.heightnewInlineGraphicElement The InlineGraphicElement that was created by doOperation.flashx.textLayout.elements:InlineGraphicElement The InlineGraphicElement that was created by doOperation. options source width
ApplyElementUserStyleOperation The ApplyElementUserStyleOperation class encapsulates a change in a style value of an element.flashx.textLayout.operations:FlowElementOperation The ApplyElementUserStyleOperation class encapsulates a change in a style value of an element. flashx.textLayout.elements.FlowElement.userStylesflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventApplyElementUserStyleOperation Creates a ApplyElementUserStyleOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the range of text to style. targetElementflashx.textLayout.elements:FlowElementSpecifies the element to change. styleNameThe name of the style to change. valueThe new style value. relativeStart0An offset from the beginning of the target element. relativeEnd-1An offset from the end of the target element. Creates a ApplyElementUserStyleOperation object.

If the relativeStart and relativeEnd parameters are set, then the existing element is split into multiple elements, the selected portion using the new style value and the rest using the existing style value.

newValue The new style value. The new style value. styleName The name of the style changed. The name of the style changed.
ApplyElementIDOperation The ChangeElementIDOperation class encapsulates an element ID change.flashx.textLayout.operations:FlowElementOperation The ChangeElementIDOperation class encapsulates an element ID change. flashx.textLayout.elements.FlowElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventApplyElementIDOperation Creates a ChangeElementIDOperation object.operationStateflashx.textLayout.edit:SelectionStateSpecifies the selection state before the operation targetElementflashx.textLayout.elements:FlowElementSpecifies the element to change newIDThe ID to assign relativeStart0An offset from the beginning of the target element. relativeEnd-1An offset from the end of the target element. Creates a ChangeElementIDOperation object.

If the relativeStart or relativeEnd parameters are set, then the existing element is split into two elements, one using the existing ID and the other using the new ID. If both parameters are set, then the existing element is split into three elements. The first and last elements of the set are both assigned the original ID.

newID The ID assigned by this operation. The ID assigned by this operation.
PasteOperation The PasteOperation class encapsulates a paste operation.flashx.textLayout.operations:FlowTextOperation The PasteOperation class encapsulates a paste operation.

The specified range is replaced by the new content.

Note: The edit manager is responsible for copying the contents of the clipboard.

flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventPasteOperation Creates a PasteOperation object.operationStateflashx.textLayout.edit:SelectionStateDescribes the insertion point or a range of text to replace. textScrapflashx.textLayout.edit:TextScrapThe content to paste into the text flow. Creates a PasteOperation object. textScrap textScrap the text being pasted flashx.textLayout.edit:TextScrap textScrap the text being pasted
CopyOperation The CopyOperation class encapsulates a copy operation.flashx.textLayout.operations:FlowTextOperation The CopyOperation class encapsulates a copy operation.

Note: The operation is responsible for copying the text scrap to the clipboard. Undonig a copy operation does not restore the original clipboard state.

flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventCopyOperation Creates a CopyOperation object.operationStateflashx.textLayout.edit:SelectionStateThe range of text to be copied. Creates a CopyOperation object.
CompositeOperation The CompositeOperation class encapsulates a group of transformations managed as a unit.flashx.textLayout.operations:FlowOperation The CompositeOperation class encapsulates a group of transformations managed as a unit.

The CompositeOperation class provides a grouping mechanism for combining multiple FlowOperations into a single atomic operation. Grouping operations allows them to be undone and redone as a unit. For example, several single character inserts followed by several backspaces can be undone together as if they were a single operation. Grouping also provides a mechanism for representing complex operations. For example, a replace operation that modifies more than one text ranges can be represented and managed as a single composite operation.

Note: It can be more efficient to merge individual atomic operations rather than to combine separate operations into a group. For example, several sequential character inserts can easily be represented as a single insert operation, and undoing or redoing that single operation is more efficient than undoing or redoing a group of insert operations.

flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventCompositeOperation Creates a CompositeOperation object.operationsnullThe operations to group. Creates a CompositeOperation object. addOperation Adds an additional operation to the end of the list.operationflashx.textLayout.operations:FlowOperation Adds an additional operation to the end of the list.

The new operation must operate on the same TextFlow object as the other operations in the list.

operations An array containing the operations grouped by this composite operation. An array containing the operations grouped by this composite operation.
ApplyLinkOperation The ApplyLinkOperation class encapsulates a link creation or modification operation.flashx.textLayout.operations:FlowTextOperation The ApplyLinkOperation class encapsulates a link creation or modification operation. flashx.textLayout.elements.LinkElementflashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventApplyLinkOperation Creates an ApplyLinkOperation object.operationStateflashx.textLayout.edit:SelectionStateThe text range to which the operation is applied. hrefThe URI to be associated with the link. If href is an empty string, the URI of links in the selection are removed. targetThe target of the link. extendToLinkBoundaryWhether to extend the selection to include the entire text of any existing links overlapped by the selection, and then apply the change. Creates an ApplyLinkOperation object. extendToLinkBoundary Whether to extend the selection to include the entire text of any existing links overlapped by the selection, and then apply the change. Whether to extend the selection to include the entire text of any existing links overlapped by the selection, and then apply the change. href The URI to be associated with the link. The URI to be associated with the link. If href is an empty string, the URI of links in the selection are removed. newLinkElement The LinkElement that was created by doOperation.flashx.textLayout.elements:LinkElement The LinkElement that was created by doOperation. target The target of the link. The target of the link. UndoOperation The UndoOperation class encapsulates an undo operation.flashx.textLayout.operations:FlowOperation The UndoOperation class encapsulates an undo operation. flashx.textLayout.edit.EditManagerflashx.textLayout.events.FlowOperationEventUndoOperation Creates an UndoOperation object.opflashx.textLayout.operations:FlowOperationThe operation to undo. Creates an UndoOperation object. operation The operation to undo.flashx.textLayout.operations:FlowOperation The operation to undo.