Skip to main content
October 26, 2009
Answered

Call to a possibly undefined method getClipboardContents through a reference with static type flashx.textLayout.edit:ISelectionManager.

  • October 26, 2009
  • 1 reply
  • 648 views

Hi Guys,

As i am using the nigtly build of TLF 4.0.0.11073.

I want to copy some text from the TLF, by copy operation. I am getting this type of Error.

- Call to a possibly undefined method getClipboardContents through a reference with static type flashx.textLayout.edit:ISelectionManager.

In the previous build, i dont use to get this type of error, but in this nightly builds i am getting this type of error.

Can anyone help me to fix the same or any workaound.

Thanks in advance.

Krishna

This topic has been closed for replies.
Correct answer robin_briggs

This functionality is still available, but it has moved. It's now in a TextClipboard class, in the same flashx.textLayout.edit package. So you should replace calls to getClipboardFormat() with TextClipboard.getContents().

Hope this helps,


- robin

1 reply

robin_briggsCorrect answer
Adobe Employee
October 26, 2009

This functionality is still available, but it has moved. It's now in a TextClipboard class, in the same flashx.textLayout.edit package. So you should replace calls to getClipboardFormat() with TextClipboard.getContents().

Hope this helps,


- robin