# XML and Flash Search engine

**URL:** <https://forum.kirupa.com/t/xml-and-flash-search-engine/218978>\
**Category:** flash\
**Created:** [March 12, 2007, 10:40pm UTC](https://forum.kirupa.com/t/xml-and-flash-search-engine/218978 "2007-03-12T22:40:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![caddylak](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@caddylak](https://forum.kirupa.com/u/caddylak)\
**Post date:** [March 12, 2007, 10:40pm UTC](https://forum.kirupa.com/t/xml-and-flash-search-engine/218978/1 "2007-03-12T22:40:54Z")

</div>

[FONT=verdana, arial, helvetica][SIZE=2]Need some backup over here people…  
I started a search engine in flash for a small 15 pages website,and in these cases I think it’s best to create an XML file as a database… I need to say that I am a beginner in using actionscript and Macromedia Flash as I used other software before…  
here is the progress so far:  
[[COLOR=orange] **Search engine** [/COLOR]](http://balazsflorin.trei.ro/inotec/cauta/search.html)  
and here is the XML file to get an idea:  
[[COLOR=orange] **XML file** [/COLOR]](http://balazsflorin.trei.ro/inotec/cauta/test.xml)  
and the actionscript:  
[[COLOR=orange] **Actionscript TXT** [/COLOR]](http://balazsflorin.trei.ro/inotec/cauta/actionscript.txt)  
or  
[[COLOR=orange] **Actionscript PDF** [/COLOR]](http://balazsflorin.trei.ro/inotec/cauta/actionscript.pdf)  
there are some words in Romanian in the search engine link, as I requested some help on a forum but no luck… but the idea is to enter one of the words in the “”…  
so… now to the problems:  
1).I need to compare the VAR entered by the user in the search box with the DESCRIPTION from the XML, what I was able to do is to compare if they are equal, that means you need to enter the exact description to get a result, what I need to obtain is for example to enter “goo” and still get the result for GOOGLE, or “gle” or whatever…  
2). I also need to use the search button as a trigger and also the key ENTER, I was able to do it but not together, it was either ENTER or the button, I need to specify here that the function from the onRelease command of the button is a very complex one.[/SIZE][/FONT]
