Accessing variable names by String in AS3

Let’s say you have a series of arrays, thus

var array1:Array = new Array();
var array2:Array = new Array();
var array3:Array = new Array();

and I want to iterate through them by loop

for (var i:int = 1; i <4; i++) {
// do something to array “array” + i
}

Is there a way to reference an already existing variable name from the assemblage of strings (much as one can use getClassDefinitionByName)? I’m sure there is a more elegant way of formulating the above, but I’m curious whether given a variable name

pieceApieceB

you can reference using

“pieceA” + “pieceB”

Thanks!