简体   繁体   中英

Flash copy to clipboard bug

I am trying to apply Copy to clipboard to my website, but there seems to be a bug because the text is not getting copied on my website.

Clipboard.swf : Using this for copying

My website: FileLnx (please upload then click on a text field for copy)

This should answer your question:

http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes.html#head31

In Flash Player 9, ActionScript could set data on the system Clipboard at any time. With Flash Player 10, the System.setClipboard() method may be successfully called only through ActionScript that originates from user interaction. This includes actions such as clicking the mouse or using the keyboard. This user interaction requirement also applies to the new ActionScript 3.0 Clipboard.generalClipboard.setData() and Clipboard.generalClipboard.setDataHandler() methods.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM