Error #1009, Is this a bug?
I am using latest build of TLF (418), when I tried to bind textFlows to the textFlow setter in SimpleEditorPanel(the Adobe example), the textFlows are from an ArrayCollection, the binding looks like:
<local:SimpleEditorPanel id="simpleEditor"
textFlow="{TextFilter.importToFlow(this.myModel.userResponse.pageContent.getItemAt(this.myModel.userResponse.currentPageNum).content, TextFilter.TEXT_LAYOUT_FORMAT)}" />
Basically, I need to dynamically add pages, each page stores in a textFlow,
I also added a listener to listen the damageEvent, if a textFlow's got changed, then the listener function exports the textFlow to the ArrayCollection,
I've got the following error when I tried to edit a textflow:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flashx.textLayout.edit::EditManager/finalizeDo()
at flashx.textLayout.edit::EditManager/doOperation()
at flashx.textLayout.edit::EditManager/flushPendingOperations()
at flashx.textLayout.edit::SelectionManager/enterFrameHandler()
Is this a bug? any suggestions to work around?
Thanks in advance.
