# AJAX like search (based on senocular's Searching XML)

**URL:** <https://forum.kirupa.com/t/ajax-like-search-based-on-senoculars-searching-xml/253877>\
**Category:** Uncategorized\
**Created:** [March 5, 2008, 11:32pm UTC](https://forum.kirupa.com/t/ajax-like-search-based-on-senoculars-searching-xml/253877 "2008-03-05T23:32:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kantsanova](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kantsanova](https://forum.kirupa.com/u/kantsanova)\
**Post date:** [March 5, 2008, 11:32pm UTC](https://forum.kirupa.com/t/ajax-like-search-based-on-senoculars-searching-xml/253877/1 "2008-03-05T23:32:32Z")

</div>

I am new to the forum although I have been visiting Kirupa for some time now. I used to be a fan, now I’m hoping I can contribute back a little.

I recently began to work on an AJAX like search using Flash, sort of a search as you type module. I found senocular’s tutorial on searching XML within Flash and tweaked it a little to get more or less the results I was looking for. I have to say I was impressed with the result although I found a major drawback which I haven’t been able to overcome.

The module does search as you type, however it searches exactly for what the user has written including spaces, punctuation, caps, etc. The thing is I want the users to type their questions and then make flash search for those words within the XML document even if the words aren’t next to each other.

I have attached the FLA file I’ve been working on. I hope you guys can help me.

Thanx,

Kant
