I need a search box (like a component) within my .fla project - that will search through the static text (TextSnapshot class would probably be the easiest way to accomplish this) - for an ebook viewer I've built. The pages of the ebook are all in approximately 20 MC's that currently load on different frames, but could load on the same frame in order to enable searching.
The features I want in the search box:
1- case insensitive
2- highlight the word searched for
3- press search again to find NEXT occurence of the word
4- ability to scroll to point on page (within the MC) where the word is found, or to load a new MC if that's where the word or next occurrence is
I don't need anything too complicated - a bit like the "find" feature in Adobe Acrobat
I am not asking for the copyright ownership of this component - which can be resold to somebody like [url removed, login to view] - so the price for this project is not high as it's not an overly complicated script I'm looking for.
Attached is an example of the use of the TextSnapshot class - without the ability to scroll the page to the word found, or change MCs to the word found, or searching for next occurrence.