Boa noite,

Já só me falta implementar tabelas no meu editor.
Na vaga excetativa de alguém já ter usado, enfrentou problemas ?

Caso de uso mais pequeno possível:
(textFlow.interactionManager as IEditManager).insertTableElement(new
TableElement());

Erro:
ArgumentError: NewElement not of a type that this can be parent of.
TextFlow cannot own table
at
flashx.textLayout.elements::FlowGroupElement/replaceChildren()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\elements\FlowGroupElement.as:776]
at
flashx.textLayout.elements::FlowGroupElement/addChildAt()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\elements\FlowGroupElement.as:906]
at
AddElementMemento$/perform()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\ModelEdit.as:589]
at
flashx.textLayout.edit::ModelEdit$/addElement()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\ModelEdit.as:57]
at
flashx.textLayout.operations::InsertTableElementOperation/doOperation()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\operations\InsertTableElementOperation.as:107]
at
flashx.textLayout.edit::EditManager/doInternal()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:772]
at
flashx.textLayout.edit::EditManager/doOperation()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:652]
at
flashx.textLayout.edit::EditManager/insertTableElement()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:1571]

-- 
Recebeu esta mensagem porque está inscrito no grupo "Mailing List da Comunidade 
Portuguesa de Rich Internet Applications - www.riapt.org" dos Grupos do Google.

Para anular a subscrição deste grupo e parar de receber emails do mesmo, envie 
um email para [email protected].
Para publicar uma mensagem neste grupo, envie um e-mail para 
[email protected].
Visite este grupo em https://groups.google.com/group/riapt.
Para mais opções, consulte https://groups.google.com/d/optout.

Responder a