that could do ti but now the way i want. For that to work i need to loop through either a selection object or a textSnapshot, this returns only index position of text within a text box. (IE character 1000 will have that color) Unfortuantely I need to find a bounding box (x, y coords) that is that color.
It goes with my previous posts about searching. I have created a search function and can highlite found text, but the text it searches for is on a mc within a scrollPane. so if the FOUND text is below the viewable area in the scrollPane i need to be able to scroll Down to it. Unfortunately all the numbers i get back from the search are character positions. With this i would have to make a lookup table with all the metric information of the text (ie. number of chars in a line, number of lines on the page) Its a lot of work, just checkin out other options.