O'Reilly logo

ActionScript Graphing Cookbook by Peter Backx, Dominic Gélineau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Animating subway locations

In this recipe we are going to replicate the visualization found on http://www.mta.me, done by Alexander Chen. The original piece is done in HTML, but we are going to do it in Flash, without the music component.

Animating subway locations

Getting ready

Open the files downloaded from the Packt Publishing website, look into the Chapter 7 | recipe 5 folder, and follow along.

How to do it...

The following are the steps required the animate the New York City subway system:

  1. Head over to http://www.mta.info/developers/download.html and download the New York City Transit Subway data.
  2. From the data derive these information: line color, departures, and duration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required