XINCopy

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

3 Responses to XINCopy

  1. Herb Yates says:

    big book you’ve procure

  2. Sai says:

    When developping with as3, I encounter a problem that ExternalInterface.setCallback failed, Could you please help me?

  3. Kia says:

    Very good job. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>