I have a flash project that I am currently loading images into a dynamic textbox using HTML tags based on an XML file. Now my question is... Would it be possible while the XML is being parsed and the images generated to grab the pixel data from say the left side of the image(orginal image is 250 x 200 and I want to grab the left side 100px) in order to determine to make the text color black or white (ex: black text will be wrote overtop image if the image is a light color and white text if image is a dark color).

Hopefully that made sense, if you need more explaining ask and I will reply