September 26, 2008
Copy to Clipboard stopped working?

Here is a little info that could be interesting for all our Javascript and Ajax centered developers out there: as I just learned from our Aviary HTML guys there seems to be a pretty popular cross-browser compatible method out there that allows people to copy data to the clipboard by using a hidden Flash file to do the dirty work.

The bad news is that this nifty method will stop working as soon as your users upgrade to Flash Player version 10. In the new version copying to the clipboard is only allowed upon direct user interaction, meaning a mouse click on the SWF itself. A simple javascript call from the outside will not cut it. The only workaround I can think of is to create a small visible Flash button that you can place on the page.

If I wasn't on my way to Flash on the Beach this moment I'd love to provide you with a quick solution right here, but I'm pretty sure someone in the Flash community will volunteer to build a lightweight, stylable button that can be fed with dynamic data pretty soon.

Posted at September 26, 2008 08:36 PM | Further reading
Comments

Keith Peters and Lee Brimelow have already blogged about this issue:

http://www.bit-101.com/blog/?p=1382
http://www.bit-101.com/blog/?p=1389

A very good blog entry about the thoughts behind this issue
http://theflashblog.com/?p=423

Posted by: Flo W. on September 26, 2008 10:02 PM

Thanks for the update. It looks though that they do not mention the clipboard changes but rather refer to the file upload - which is of course related.

Posted by: Mario Klingemann on September 27, 2008 08:35 AM

I've been complaining a bit about that : this is the kind of change that will break some apps without bringing "real" security.

Posted by: Nicolas on October 11, 2008 01:45 PM

good guest page.
thank you.

Posted by: Dgimis on November 18, 2008 03:53 PM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



Most Visited Entries
Experiments
Popular on Aviary