Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-10-2009, 04:48 AM   #1
trendykarn
Member
 
Join Date: Jan 2009
Posts: 54
Default how to make keyword search window ?

hello everybody here,

I am very thankful to actionscript and members of it as i get so valuable help from here.....thank you all.

I am again in trouble with my new project where i have to make a keyword search popup.There is a online study material from which i have to search keywords.Study materials are coming from XML file.

So I placed a button for search option.when I'll press it there should be a popup window with keyword search fields ( as shown in image in attachment ).

What I could do is, I can popup the window with given fields bt i dont know how to search for given keywords.


so plzzz help me...
Attached Thumbnails
Click image for larger version

Name:	window.jpg
Views:	58
Size:	197.9 KB
ID:	32874  
trendykarn is offline   Reply With Quote
Old 11-10-2009, 08:51 AM   #2
henke37
Senior Member
 
henke37's Avatar
 
Join Date: Mar 2009
Location: Sweden
Posts: 10,682
Send a message via Skype™ to henke37
Default

You want to know how to search? Go read about search algorithms on wikipedia, they have lots of them.
henke37 is offline   Reply With Quote
Old 11-10-2009, 09:42 AM   #3
julianboolean
Senior Member
 
Join Date: Nov 2009
Location: Lichfield, England
Posts: 284
Default

An easy way to search a string is to use the split() function. you always get an array when you split a string. If the array length is 0 after a split, then it means the string does not contain the search term, but if the array length is more than 0 then you know that the string does contain the search term. Look in Flash Help for the split() function and you'll soon get the hang of it
julianboolean is offline   Reply With Quote
Old 11-11-2009, 07:00 AM   #4
trendykarn
Member
 
Join Date: Jan 2009
Posts: 54
Default

thank you...i Got the solution

thank you very much
trendykarn is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:51 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.