Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-08-2002, 02:12 PM   #1
moheb
Registered User
 
Join Date: Jun 2002
Posts: 17
Send a message via ICQ to moheb Send a message via Yahoo to moheb
Default Search form in flash?

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 !!)
moheb is offline   Reply With Quote
Old 07-08-2002, 02:25 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

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...
CyanBlue is offline   Reply With Quote
Old 07-08-2002, 02:31 PM   #3
moheb
Registered User
 
Join Date: Jun 2002
Posts: 17
Send a message via ICQ to moheb Send a message via Yahoo to moheb
Default

hi
1. no i dont have any samples made thats why i'm here
2. i'll import it manually ( all by myself
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.
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
moheb is offline   Reply With Quote
Old 07-08-2002, 02:57 PM   #4
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

> 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...
CyanBlue is offline   Reply With Quote
Old 07-08-2002, 03:32 PM   #5
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

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...
CyanBlue is offline   Reply With Quote
Old 07-09-2002, 10:18 AM   #6
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

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...
CyanBlue is offline   Reply With Quote
Old 07-09-2002, 04:41 PM   #7
moheb
Registered User
 
Join Date: Jun 2002
Posts: 17
Send a message via ICQ to moheb Send a message via Yahoo to moheb
Default

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
moheb is offline   Reply With Quote
Old 07-09-2002, 06:48 PM   #8
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

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...
CyanBlue is offline   Reply With Quote
Old 07-09-2002, 07:52 PM   #9
skee
shreadmeister
 
skee's Avatar
 
Join Date: Jun 2002
Location: Sonoran Desert
Posts: 491
Default fla available?

Would like to see the fla file for the array list shown if possible. Would be helpful for others.
thanks,
skee
__________________
HeavyBag
skee is offline   Reply With Quote
Old 07-09-2002, 08:39 PM   #10
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

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...
CyanBlue 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 Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 09:47 PM.


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