Just A Thought - Color Loader

so, I am sitting here staring at a blank flash file, and had a thought about an effect, but need some direction on beginning… so let’s say I have an image that I have imported into the stage area. I modified the image with the trace bit map tool. Now onload of the image, I would like the trace bitmap image to load by color. so, it would start with color #FFFFFF (white) and go through #000000 (black)… what kinda of script am I looking for…

also, let say that an image does not have any red and blue, is there a way for it to detect just the colors of the image and then cycle through those colors.

I know I am speaking hypothetical, but just had a thought and wanted to run it by everyone.

let me know if i am crazy…

I am working with flash mx and have a few years under my belt but still learning…