How to search and display the results in flash

Hello Friends,

I am working in Flash 8 and using AS 2.0 coding.

I am working with page flipping application. Here i have an option “search”. I will tell you the scenario.

Here I am loading images/pages dynamically thru an xml. It was loading and working like a page flipping. so far it was done. Now if you enter some text inside the search option and press the button, it has to search for all the loaded images/pages and has to display the resulted pages.

How this functionality has to done. How to search the jpg’s with a given string ??

Your help will be really appreciated.

Regards,
Rajesh