getColorBoundsRect Question

Hi,

Attached to this post are three gifs that explain my question. Their descriptions are as follows:

line1.gif - the way my BitmapData object looks in normal state

line2.gif - the rectangle created when I apply getColorBoundsRect(0xFFFFFFFF,0xFFFF0000). This looks for the red channel in the BitmapData object.

line3.gif - the way I would like to have getColorBoundsRect work. Instead of grabbing all the red as though it were one object, I want it to split up each red section as though they were all their own. How can I do this?

icekube12jr