Javascript


Javascript QR Code Library

QR Code for Developer Jeopardy

Actually found a good use for a QR code in a Jeopardy implementation being used for Mack Flavelle's Developer Jeopardy meetup. Players can join the game by navigating to a shortened URL or by using a QR code displayed on the main screen.

Expanding/Resizing a Flash SWF Using Javascript

You might have seen Flash advertisements or video players where the Flash movie expands beyond its original borders. The basic implementation is a javascript resize but there are a couple ways to go about this, each yielding quite a different effect.

I just did a bit of research on expanding a SWF beyond its original boundaries. You often see video players with a button that lets you expand the size of the player. This article looks at a couple ways to implement this functionality.

Copy a Flash SWF Image to the Clipboard Using Javascript

The final steps for taking a screenshot of a Flash movie and placing it on the clipboard. Sadly, this last step is only implemented in Internet Explorer but there's some information for Firefox in the article as well.

Embedding Base64 Image Data into a Webpage

This is part two of a tutorial for taking a screenshot of a Flash movie and putting it into a webpage using Javascript. As you might expect, Internet Explorer and Firefox have different ways of going about embedding the image data in HTML. Details after the click-through.

Use Javascript to Take a Screenshot of a Flash Movie

This is the first part of a tutorial for allowing a user to take a screenshot of a SWF and save it to their clipboard. In this section, we grab the image data in Flash, encode it as a PNG, and send it to Javascript.

I've been doing a lot of research lately on fetching an image of a SWF and embedding it in HTML, downloading it, and copying it to the clipboard. This page details how to take the screenshot and send the data to Javascript. It has been tested in Firefox and IE 6 & 7.