Search/Filter Help? :)

I have a new project at the moment and i need to make some sort of search feature with possible filters?

Ideally i would like to have a text/database file with a list of people with info about each then in flash have this information loaded into a dynamic text box when they are chosen.
I know how to do this using the getvariables command but the main part it needs to have is a search and filter feature.

eg.
list of 3 people

Name: Bob
Age: 19
Location: England

Name: John
Age: 21
Location: Scotland

Name: Sam
Age: 16
Location: England

only list people over 18 [x]

If this was selected it would only show bob and john obviously…

England only [x]

show sam and bob etc.etc…

For the search engine it would just be typing in a name and if it matches anyone, showing them in the text box.

I know this is quite a lot of code im asking for but if anyone has any tips on doing it or a link to something that could help me, that would be great :slight_smile:

Thanks

max