The readme.txt file in the download ZIP (linked to at the left) provides full instructions on installing and using the code.  Example document classes are provided.  Below is the operative code from a simple frequency spectrum bar so that you get the idea.

Assuming that you import the WoodPecker package as detailed in the ZIP file.

public function Beautiful() {

 mySound = new Sound();
 mySound.load(new URLRequest("beautiful.mp3"));
 myChannel =;
 myChannel.addEventListener(Event.SOUND_COMPLETE, replay); 

// set up the parameters to pass to the WoodPecker Object
// clip is a MovieClip with its linkage in the library set to Bar
// num is how many clips you want to show
// size is their maximum animation size
// type is an array specifying animation of width, height, alpha
// drag lets people drag the clips

 var clip:Class = Bar;
 var num:Number = 40;
 var size:Number = 100;
 var type:Array = [false, true, false];
 var frequency:Boolean = true;
 var drag:Boolean = false;

 myBars = new WoodPecker(clip, type, num, size, frequency, drag);


There are more methods available to customize the beats including  setting different types of clips

// here is a method to set multiple settings and properties
// for instance, the clips are set to C1, C2, etc.
 filters:[[new BlurFilter()],,,,,,,],
// you can also set all the clip values for a property like so:
myWoodPecker.setAllBeats("y", 100);
// or set a value for a specific clip like so:

One Response

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: