Topic: Flash

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.

Tips for Using Custom Mouse Cursors in Flash AS3

This article goes over the basics of implementing custom mouse cursors in ActionScript 3.0 and offers some tips for making it behave in a more professional way.

Multi-Column Layouts in Flash and Flex

An implementation for building multi-column layouts in Flash. The text spans across multiple text fields, each with different dimensions and even font styles. Check out the demo after the jump.

Span Slider Component for Selecting a Range of Values

I built a slider component with adjustable lower and upper thresholds. Perfect for selecting time periods or other values that cover a range.

GPS Coordinate Editor Using Flash and Google Maps

I built an editor for adding and removing markers in a poly line. The editor features your basic select, add, and delete functions, and also uses a pretty nifty algorithm to determine the characterizing points out of hundreds of candidate points.

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.

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.

Calculate the Distance to the Edge of Any Shape*

I wrote a custom renderer for Constellation which can represent nodes with squares, triangles, or pentagons. And in order to have arrows pointing at the nodes without overlap I got to do some math...

Visualizing Velocity Along a Path on a Map

Check out this demo of some data from my GPS logger displayed over Google Maps. The interesting part here is that the path varies in thickness to indicate how much time I spent in an area.

Actionscript 3.0 Splines with Variable Thickness

I recently ported a script that draws splines of varying thickness to ActionScript 3.0. Click through for the demo and a link to Michal Migurski's original script.

Syndicate content