Hi,
i've got a problem with this sample code:
/* (...) */
import flash.desktop.Clipboard;
import flash.desktop.ClipboardFormats;
/* (...) */
protected function onCopyHandler(event: Event): void {
if (htmlText) { Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, text);
Clipboard.generalClipboard.setData(ClipboardFormats.HTML_FORMAT, RichTextUtil.richTextEditorToHtml(htmlText));
}
}
it's flex 3.4 application compiled with target to flash player 10, and i'm getting error:
ReferenceError: Error #1065: Variable flash.desktop::Clipboard is not defined.
when trying to run this in Livecycle Workspace ES2. Is there any sollution for (because i think Livecycle uses flash player ver.9 so this causes the problem)?