Need to delete MCs dynamically created with addChild()

Hello,

I have a script that creates hundreds of MCs within another one, and I need to know how to get rid of those MCs completely.

I initialize an array to save the references to the classes.

var arrWavePixel:Array = new Array();

Then I have a loop that creates movie clips and pushes them to the array

var wavePixel0:wavePixel= new wavePixel();
this.addChild(wavePixel0);
arrWavePixel.push(wavePixel0);

wavePixel0.name = “wavePixel”+increment;

I am able to change the properties of the new movie clip, such as height, by
saying
arrWavePixel[increment].height = x;

How can I go through all these added Children with a loop and delete them entirely from memory and display?