A while back, I asked, “What is the best way to learn Actionscript for data visualization?” As I’ve had Actionscript staring me in the face for the past two weeks, I can attest to the idea that the best way to learn is by doing i.e. immersing yourself in a project with a deadline looming in the dark behind you. There have been, however, a few things that have made my life a little easier as I strive for coding nirvana.
My Only Desktop Reference
I have stacks of books on the floor, in the closet, and on my bookshelf, but there’s one book that has stayed within in arm’s reach as I learn – Colin Moock’s Essential Actionscript 3.0. This is usually the first place I go to look when I’m stuck on a bug or am not sure where to begin. Moock’s explanations are very clear and he provides plenty of useful examples without getting too specific.
When I first started, I read the first section “Actionscript from the Ground Up,” which helped me familiarize myself with core concepts like packages, classes, and just the basic ideas of how things work. I feel like one of the hardest parts of learning any programming language is figuring out how all the components talk to each other, so this first section helped a lot. I skimmed the rest of the book, and now it’s my only desktop reference.
I’m also starting to hear great things about Learning ActionScript 3.0: A Beginner’s Guide by Shupe and Rosser, but I haven’t got to look at it yet.
Flare Visualization Toolkit
Jeffrey Heer’s Flare visualization toolkit seems to come out at just the right time specifically for me. Seriously, the timing couldn’t have been better. For instant gratification, go through the tutorial, which covers a few Actionscript basics and straightforward examples for mainly, reading in data and animating and transitioning objects.
After the tutorial, try to build some of your own visualizations and applying what you learned from the tutorial. Finally, when you’re more comfortable, dive into the Flare code to see how things work.
Modest Maps for Flexible Mapping
For those interested in mapping, Modest Maps has helped me a good bit. From the site:
Our intent is to provide a minimal, extensible, customizable, and free display library for discriminating designers and developers who want to use interactive maps in their own projects. Modest Maps provides a core set of features in a tight, clean package, with plenty of hooks for additional functionality.
They’re not lying. It provides the basic map functionality like pan and zoom, but it’s open, so you can do whatever you want from there. I’ve been using Flare and Modest Maps together to take the best of both worlds, I guess you could say. There’s also the Yahoo! Maps Actionscript API, but I haven’t tried it. I don’t know if it’s as flexible as Modest, but I like the idea of owning all of my code.
Adobe Flex Builder for Actionscript Development
Flex Builder has been extremely helpful while coding. The name might suggest it’s only for Flex projects, but it’s pretty darn good for Actionscript projects. The serious Actionscript people I’ve talked to only seem to use Flex. The other option is to use your text editor of choice and install the free Flex SDK, but it’s more complicated (and I’ve never tried it).
The downside of Flex is that it’s kind of expensive, pricing at just under $250 and even more for the pro version. However, on the flip side, Flex Builder Pro 3 is free to all education customers.
Last Thoughts
Finally, let’s not forget about Adobe’s Actionscript 3.0 language and components reference. In addition to Moock’s book, this is the other indispensable resource. And of course there’s all the online resources you’ll find ala Google.
This is pretty much what I’ve been immersed in for the past two weeks. It’s definitely a sharp learning curve, but once I got the hang of things, it’s been pretty fun and nice to see my data moving along.
Anyways, I’m just now starting to kick the tires. I am sure there are many of you who have been at this for a while and who know a ton more than I do. What references or resources do you recommend for Flash/Actionscript beginners like myself?
It would be nice to have an article about development using the free flex SDK without flex builder. Flex builder is just too expensive for side-project visualization needs. It all seems like it’s nigh impossible to code flex+flare without flex builder.
I have found Oreilly’s “ActionScript 3.0 Cookbook” by Lutz, Shall and Peters a valuable reference, even more than Moock’s book.
-Bill
@billF: thanks for the suggestion!
Glad you got up and running – I’m *really* interested to see what you’ve been cooking up with Flare and Modest Maps :)
Pingback: Hierarchical Glossary as Interactive Network Graphs | FlowingData
@Tom: once it peaks out of the research bubble, naturally, i’ll be posting about it :)
Pingback: Fleux » Data Visualization » Learning Actionscript for Data Visualization
@roel and author… you might be interested in Flash Develop… it really makes AS3 development fast :)
Check out: http://nuigroup.com/forums/viewthread/1689/ there is a video tutorial on how to get started.
Another one I forgot to mention (but haven’t used yet)… for 3d rendering, papervision 3d looks very promising: http://dev.papervision3d.org/
this could be useful to those who don’t want to buy flex: http://theflashblog.com/?p=376
@Nathan….How is it coming?
I’ve been interested in learning how to program flash visualization tools ever since I saw Gapminder. After a few small attempts however, I think I’ve given up.
It seems like there are many brilliant computer scientists who can create programs that take care of the data visualization part and allow the user to focus on the actual data and analysis instead. In other words I thought: why try to build my own interactive data visualization tool when there are programs like Excel, JMP, SAS, etc.? Even if the existing Flash data visualization tools aren’t as powerful as I wish they were, I decided I can wait until the real pros code up the Excel caliber versions, instead of spending my time vainly trying to program my own.
That’s just my thoughts anyway. I’ve decided it’s a better investment for me to spend my time developing my data analysis skills rather than my programming skills. But I’m wondering if you’ve made progress, because I am considering giving it another crack.
@Breck: i guess it depends a lot on what type of visualization you’re after. if it’s the analytics stuff (which I think you’re interested in) then lettings others do it is probably ok. regarding gapminder… if you like that, you’ll probably be interested in the google viz api:
https://flowingdata.com/2008/03/21/is-the-new-google-visualization-api-going-to-limit-our-data-imagination/
Pingback: 5 Types of Data Visualization People - What Type Are You? | FlowingData
Pingback: links for 2008-10-26 « test
Pingback: Kelso’s Corner » Blog Archive » Building the Data Desk: Lessons From the L.A. Times (Knight Digital Media Center)
Pingback: First step in bringing change: find the believers |
Pingback: links for 2009-03-21 at adam hoyle presents suckmypixel