Skip to main content
Participant
December 16, 2009
Question

undomanager disable

  • December 16, 2009
  • 1 reply
  • 396 views

_editorFlow.interactionManager = new EditManager(new UndoManager());

but when i hit ctrl+z no effect.

sdk3.2

textlayout:

textlayout_conversion.swc

textlayout_core.swc

textlayout_edit.swc

This topic has been closed for replies.

1 reply

Adobe Employee
December 16, 2009

Not sure what the context of your call is, but its possible the control-Z isn't going through the browser to Flash -- I know there are some contexts where this happens. Can you try calling EditManager.undo() directly, after something that caused an EditManager.insertText()?

Thanks,

- robin

Participant
December 17, 2009

thanks

I try that, OK.

But now, I have another question, how to trigger the funcion "undo" when i  press Control-z ?