XINCopy is a jquery plugin that allow you copy content into system clipboard with one click. I using jquery.copy plugin before, but it doesn’t work in the browser with the latest flash plugin.
The lastest flash player only allow you to operate the clipboard within user interaction, means only after user click the mouse that you can do the command setClipboard. So the user click is must.
Something about XINCopy
- XINCopy achieved by automatically floating the invisible swf movie on top of a DOM element
- XINCopy get the content from a javascript callback function
- XINCopy set hover class to the button element when mouse over and remove it when mouse out
- XINCopy set active class to the button element when mouse down and remove it when mouse up
- XINCopy wrapped as jquery plugin
- XINCopy using swfobject to load the swf
Project:
http://code.google.com/p/xincopy/
Example:
http://www.softwarematrix.cn/example/xincopy/
Download:
http://www.softwarematrix.cn/example/xincopy/xincopy.zip
big book you’ve procure
When developping with as3, I encounter a problem that ExternalInterface.setCallback failed, Could you please help me?
Very good job. Thanks.