| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
Has anybody ever seen a flash search form tutorial or something?
here's what i want to do: theres an empty text box underneath it is a listbox (with scroller and all) the listbox should contain upto 7000 entries (im worried if flash might hang or something ) now when u type something in the textbox ... say "New York" for example i want flash to do a search 4 that word throughout the 7000 entries and the list shrinks to show only the entries that have the word New York in them (so the listbox now acts as results box .... is this possible? especially with this huge amount of entries? i can't link to a db or MySql or anything of the kind .. i need the swf to search inside itself (God it sounds like its gonna b a 5 meg swf or something !!) |
|
|
|
|
|
#2 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Hm... sounds interesting...
![]() The only thing I can think of using for this project is the use of an array... I don't know how huge things the array will handle though... Got any sample made already??? Is that just name field or is there something else??? Show me some examples of like 10 entries... How are you going to import that 7000 entries into the listbox??? You mean the text field with scroller when you said listbox, right??? Or is it MX thing??? If it is you are in the wrong forum, man... ![]() Let me know...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
|
hi
1. no i dont have any samples made thats why i'm here ![]() 2. i'll import it manually ( all by myself3. yes it's just a name field ... but i want it to b clickable (i.e. when u click it u load another swf. 4.yes i mean multi-lined text box with a scroller on the side / or the MX ready-to use listbox ... i have no problem using either of them Thanks |
|
|
|
|
|
#4 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
> 1. no i dont have any samples made thats why i'm here <
Oh... It's okay... Start building one... and let me know when you have sample interface... ![]() > 2. i'll import it manually ( all by myself < Well... Isn't it copy and paste, as long as you have them typed somewhere... ![]() > 3. yes it's just a name field ... but i want it to b clickable (i.e. when u click it u load another swf. < So you want the HTML version serchable??? I think that's making is somewhat tough, eh??? ![]() Good luck... and let us know the progress...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
#5 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Hm...
Haven't gone through FMX yet... I'm just trying to move on to FMX myself... Found this from the manual and it says 400 items are recommend maximum number in the listbox in FMX... Thought I'd let you know... Jason
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
#6 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Geez... it took whole lot more than I thought... Moving to FMX isn't that easy... Many different things that confused me...
Anyways... Here is the sample that I made... Check it out at http://mywebpages.comcast.net/Cyan-B...stBoxXest.html You better not ask me about the code... ![]() I have about 400 lists in there to go over the example... and I don't know how you are going to do the job with 7000... Good luck and let me know... ![]() Jason
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
#7 |
|
Registered User
|
hey Jason thats perfect
it's really great man but i was wondering if it can b altered just 1 step further ... could these items link to url's? (actually i want to link them to another swf (load it - go to a specific frame inside it) now i already have that code using LocalConnection ... so is it possible that when i click on a name in the list it does that action or no? Thank you so much 4 ur help and i'll understand if ur too busy 2 do all that ![]() |
|
|
|
|
|
#8 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Yeah... I remember that you said that needs to be buttons... and that is why I asked for the sample data... Without the proper database design, that's the best I was able to come out...
Anyway... You will see that the text field gets the value when any of the list gets clicked... You will have to reuse that value to call the file name... Good luck... ![]()
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
#10 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Hi, skee...
What do you mean by 'for the array list shown'???
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CyanBlue's 5000th Post - Useful Threads List | CyanBlue | ActionScript 1.0 (and below) | 104 | 02-25-2005 02:13 PM |
| search a text file with flash | rabid lemming | ActionScript 1.0 (and below) | 0 | 01-26-2004 07:25 PM |
| Macromedia Central | CyanBlue | ActionScript 1.0 (and below) | 13 | 08-01-2003 10:05 PM |
| Streaming Flash Player 6 | simail | Other Flash General Questions | 7 | 04-03-2002 12:14 PM |
| Flash 5 Form iis ASP FormMail | inov8 | Server-Side Scripting | 4 | 04-16-2001 02:47 AM |