Brian Hadaway

Professionally Nerdy Since 2002

Author Archives: Brian

Loading XML with Namespaces in ActionScript 3

You might not appreciate how easy it is to load XML in ActionScript 3 if you never had the arduous task of loading it in AS2. It changed my life (at least my professional life) the day I learned that you no longer had to blindly dig through XML using terms like firstChild and childNode [...]
Posted in Flash | Tagged , | Leave a comment

Removing DisplayObjects In A Loop

This might be blatantly obvious to other Flash developers, but it took me a while to figure out so I’ve posted it here for posterity’s sake. I had some code that added several objects to the stage as such: for (var i:uint = 0; i < 10; i++) { var mc:MovieClip = new MovieClip(); mc.graphics.beginFill(0xCCCCCC); mc.graphics.drawRect(0,0,50,50); mc.x = (i*52) + 15; mc.y [...]
Posted in Flash | Tagged , | Leave a comment

Speed Up Your Workflow with the Gaia Flash Framework

I love the Gaia Framework for Adobe Flash! It’s an incredible tool that I wish I had known about when I was burning through development time on boring, low-level tasks like creating navigation and page transitions, preloading, asset management and dynamic font loading.
Posted in Flash | Tagged , , , | Leave a comment

Getting Started with Flash Webcam Motion Tracking

It seems that the subject of Flash motion tracking has been neglected as of late. Developers who want to develop something that looks cool and responds to motion have opted to play with FLARToolkit/Augmented Reality. The gesture recognition and multi-touch capabilities of Flash Player 10.1 provide a user interface that reliably captures user input better [...]
Posted in Flash | Tagged , , , | 3 Comments

Real Erasing in Flash

Selectively erase bitmapdata on a non-solid background.
Posted in Labs | Comments closed

Audio Visualization

Sound visualization with waveform data.
Posted in Labs | Comments closed

Audio Visualization 2

More drawing in Flash with waveform data.
Posted in Labs | Comments closed

Dynamic Bézier Point

Progressive curved line drawing between points in Flash.
Posted in Labs | Comments closed

Sound Generation

Visual-based audio with Flash.
Posted in Labs | Comments closed

Pollock Generator

Pollock-style abstract art generation with Flash.
Posted in Labs | Comments closed