Archive for February, 2010

February 28, 2010 5

Actionscript AS3 TextButton Class

By duncanhall in Actionscript

The TextButton Class provides a method for creating button components based on simple text labels. It’s something that’s often overlooked in many component sets, but since writing it I’ve found it to be invaluable in almost all of my projects. In it’s simplest form, all you need to define for a new TextButton instance is [...]

Tags: , , ,

February 27, 2010 6

AS3 Encoded Polyline Algorithm For Google Maps

By duncanhall in Actionscript

The Google Maps API uses Polyline objects to represent a series of straight lines between a set of latitude and longitude points. Long and complicated lines can become quite cumbersome to describe (especially when needing to send Polyline data to a remote service for example). For this reason, Google provides a method for encoding a [...]

Tags: , , ,