# Storing bitmap values in an array?

**URL:** <https://forum.kirupa.com/t/storing-bitmap-values-in-an-array/282472>\
**Category:** Uncategorized\
**Created:** [February 22, 2009, 7:31pm UTC](https://forum.kirupa.com/t/storing-bitmap-values-in-an-array/282472 "2009-02-22T19:31:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michdd](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@michdd](https://forum.kirupa.com/u/michdd)\
**Post date:** [February 22, 2009, 7:31pm UTC](https://forum.kirupa.com/t/storing-bitmap-values-in-an-array/282472/1 "2009-02-22T19:31:37Z")

</div>

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):

```auto

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?
