Storing bitmap values in an array?

I’ve been trying to figure out a solution for a problem… Which is really bugging me. The only thing I could think of that has potential to possibly work is being able to store bitmap names in an array… Like this example(which doesn’t work):


var hairBitmapA:Array = ["hair_1_1", "hair_1_2"];
var i:uint = 1;
var hairBitmap:hairBitmapA* = new hairBitmapA*(0,0);

The idea of this is simple, although not correct, is there a way that I can do what I’m trying to do?