Posts Tagged ‘Code’

Twitter Code Swarm

Saturday, February 6th, 2010


via Twitter Code Swarm on Vimeo.

Clippy in Flash CS4

Sunday, January 24th, 2010

A couple months ago I needed to add the ability for a user to copy a text string to their clipboard while on an HTML page. I did some searching around and tried a few solutions, but finally settled on Clippy.

Clippy is used on GitHub quite a bit and the source was made available, but it relied on haXe. I needed something that could be used in a familiar application, so I took the Clippy source and made it work with Flash CS4. Some parts might be a bit hacked together, but hey, it works. Here’s an example:

If you’re interested in the source, you can download this sample:

Download Clippy for Flash CS4

All you have to do is change the variable in the HTML to what you want to be copied, alter any of the graphics drawing commands you want in the FLA and just publish a new SWF out.