Problem with Clipboard.generalClipboard


hi,

 

i've got problem 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 target flash player 10, , i'm getting error:

 

referenceerror: error #1065: variable flash.desktop::clipboard not defined. 

 

when trying run in livecycle workspace es2. there sollution (because think livecycle uses flash player ver.9 causes problem)?



More discussions in LiveCycle Workspace


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached