I personally really like this way of clearing an array’s elements:

Declare your array to use:
[code lang=”actionscript”]
var myArray:Array=new Array();
[/code]

Add elements:
[code lang=”actionscript”]
for (var i:Number;i<10;i++) { myArray[i] = "an item"; } [/code] Clear the array:
[code lang=”actionscript”]
myArray.length = 0;
[/code]