Posts Tagged ‘Actionscript’

March 13, 2010 3

Google Maps Flash API & Selectable Copyright Text

By duncanhall in Actionscript

When using the Google Maps Flash API you are required to display the relevant copyright notice for the tiles currently being shown. This is handled internally by the API and is generally not a problem. However, the current version of the SWC provided (1.18) chooses to handle the copyright text as selectable, meaning that the [...]

Tags: ,

March 3, 2010 2

Actionscript Path Correction – No Going Back!

By duncanhall in Actionscript

Update: See the improved solution For a project I’m currently working on, I needed a way to remove extremities from a path of consecutive points. The extremities represent points or segments of the path that we want to remove from the route (usually “going back on yourself”), while maintaining the intended course as much possible. [...]

Tags: , , , ,

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: , , ,