Skip to main content
Arioman
Inspiring
June 11, 2013
Question

need help to build searchbox with xml

  • June 11, 2013
  • 1 reply
  • 715 views

hi , i want to create search bar , not a real search cause my content is not full dynamic and xml ...

i just want to simulate it ...

i want when i type the name of product in search box ( it will be great if have some autocomplete )

i want to define these product keywords in xml and link every of them to sperated frame ...

i know this forum is for solve problems , so it will be great if you guide me or link me to some source or examples , thanks

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 11, 2013

to start, do you know how to load and parse xml?

if not, check the urlloader class.

Arioman
AriomanAuthor
Inspiring
June 12, 2013

thanks for replay

i`m familiar to load xml data and text but i dont have any clue about how simulate a search engine and how add eventlistender and gotoAnd function to every of them

kglad
Community Expert
Community Expert
June 12, 2013

use a textfield listener function to check the user's input and check that against your keywords in your xml.  unless you have a very small number of keywords, it's impractical to use goto.  you should use code to change the display based on the keyword matched.