Keyword search

Lately, I learned on this site that I could make flash (MX and 2004) load a text an external file and display it in a textbox.
I would like to know if there is a way, anyway, to make a “keyword search” from those external files in flash.
Any help will be appreciated.