Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Javascript External Search...



Hi i'm trying to create a search field where a user can search a External Javascript file and display my results in flash.. I know you can do it in PHP and ASP, but can it be done in Javascript if so how.?



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 02-12-2004, 10:47 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

FMX - External Search
Hello everyone!

I'd like to know if anyone has a clue about this:
I have a flash site that is database driven (so all the content is dynamic via asp files connecting to the db).

This site has a search engine that can search info in the database and gathers the results in flash. The search can be done in 4 categories (or all at the same time).

What I want to do now is create a little flash file (search engine part) that could be placed in any site. What I need to happen is the following:

1) user searches an item with this external flash file.
2) search engine file sends data to DB (asp).
3) ASP opens a window with the real full flash site and , loads search and goes to the section in the site that displays the results.

Search->ASP->flash site

the question is...
how can you load the search information (variables) that the user enters into the flash site? does the little searching flash file have to be in the same server or not?

thank you...hope this is clear enough.

External .txt Search
I have an external text file containing my year groups timetables, and I want to be able to search out people, and display their information as provided preferably in flash... here is an example of one day for someone.

"Zwaan Brendan B","9984","1","1","12BLA2","BLA","45","Y12"
"Zwaan Brendan B","9984","1","2","12CHE1a","GMW","57","Y12"
"Zwaan Brendan B","9984","1","3","12MAT2a","PLT","37","Y12"
"Zwaan Brendan B","9984","1","4","12TEC3a","GNM","JP16","Y12"
"Zwaan Brendan B","9984","1","5","12ENG4b","MTG","18","Y12"
"Zwaan Brendan B","9984","1","6","12PHY5a","MLB","55","Y12"
"Zwaan Brendan B","9984","1","7","12MUS6a","RWG","MC5","Y12"

in the format
"name", "student ID", "day", "period", "class name", "teacher", "room", "year"
This .txt file contains approx 300 students information covering 10 days, is this easy or very time consuming to do?

FMX - External Search
Hello everyone!

I'd like to know if anyone has a clue about this:
I have a flash site that is database driven (so all the content is dynamic via asp files connecting to the db).

This site has a search engine that can search info in the database and gathers the results in flash. The search can be done in 4 categories (or all at the same time).

What I want to do now is create a little flash file (search engine part) that could be placed in any site. What I need to happen is the following:

1) user searches an item with this external flash file.
2) search engine file sends data to DB (asp).
3) ASP opens a window with the real full flash site and , loads search and goes to the section in the site that displays the results.

Search->ASP->flash site

the question is...
how can you load the search information (variables) that the user enters into the flash site? does the little searching flash file have to be in the same server or not?

thank you...hope this is clear enough.

External .txt Search
I have an external text file containing my year groups timetables, and I want to be able to search out people, and display their information as provided preferably in flash... here is an example of one day for someone.

"Zwaan Brendan B","9984","1","1","12BLA2","BLA","45","Y12"
"Zwaan Brendan B","9984","1","2","12CHE1a","GMW","57","Y12"
"Zwaan Brendan B","9984","1","3","12MAT2a","PLT","37","Y12"
"Zwaan Brendan B","9984","1","4","12TEC3a","GNM","JP16","Y12"
"Zwaan Brendan B","9984","1","5","12ENG4b","MTG","18","Y12"
"Zwaan Brendan B","9984","1","6","12PHY5a","MLB","55","Y12"
"Zwaan Brendan B","9984","1","7","12MUS6a","RWG","MC5","Y12"

in the format
"name", "student ID", "day", "period", "class name", "teacher", "room", "year"
This .txt file contains approx 300 students information covering 10 days, is this easy or very time consuming to do?

How To Search An External XML
i want to put keywords in a text box, press submit, then a data from connected XML file is brought to UI components on the screen.

i have been 2 weeks searching for that?

Any suggestions? any tutorials?
Thanks

HELP Search In A External Csv File
hi, i'm looking for a way to search in a csv file.
I have a file which is loaded in several text fields in flash, and now i want to search in that file.
the text file looks like this:

name,age,country
jim,26,usa
mary,22,england
harry,21,england

and now i want to make an input field in which i can type england, so a list of people coming from england will be made onscreen.
does anyone know how to script this???

Nick

External Search Question
I am currently working on a site where I want to search for places and post by zip codes. Does anyone have any suggestions on what could be the most effective way to achieve this. I am using MX and am fairly new to this. Just looking for some direction on where to go from here. Thanks! Mtneer

Search In External Swfs
Hi;
I've c.300 + 300 swf files in two different folder.
I want to search in this folder by flash and to watch in other swf files.
thanks for your helping.

Javascript External Search...
Hi i'm trying to create a search field where a user can search a External Javascript file and display my results in flash.. I know you can do it in PHP and ASP, but can it be done in Javascript if so how.?

External Movie Clips Search.
Greetings.
I need the help of those flash gurus out there.

I'm making a cdrom yearbook wherein the user can search the external swfs (each external swf is a student file)

How can I do this?

Thanks in advance.

Search Contents Of External Folder
Hi

I'm loading a whole lot of images from a folder using a loop of loadMovie.

Can anyone tell me if there's a way that i can find out how many images are in my folder BEFORE i load them all?

Thanks

Nick

Launch External File With A Search Tool?
http://www.flashkit.com/tutorials/In...73/index.shtml

Cool search tool with url link. Is it possible to launch "lets say a PDF document into the browser that is in the same folder or sub folder?" as oppose to a URL link.

Search Not Working. External Text File Help?
I know this has been posted a million times, but go figure...when I really need to know how, i can't get the search to work.

Anyway, i need to know the best way to load text from an external file and use HTML formatting

i browse the tuts, and the only one i found didn't make any sense to me.

thanks for the help

Search And Replace A String Value In External File?
So I've searched around and found a couple of threads that gave me some pointers on how to replace certain values within a variable, but I can't find any help on how to replace a string from an external file.

The reason I'm asking is so I can load external text files created from a blogging platform and if someone should happen to type in a "&" in their entry it won't screw up the entire post.

So I'm wondering if there is a way to do a search and replace for "&" symbols and replace them with the correct "%26" value so they can be used within the text file.

Any ideas?

External Text File And Search Engines
Hi

I have created a flash file with dynamic text support files (.txt files), would the search engines be able to index them??

Search Function For External Html Content
Hi all,
i have got a Flash Projector which is to be deployed on DC/DVD rom. I am using an XML menu to load various chapters and sections of html content, images etc. The client is now asking for the capability to search within the "books" content.
Is there any way of doing this? I have found an Extension that allows me to search within a text field, but what about external content files?
Please help. I've had a quick look at Director, but I can't see any guarantee that that product will give me an easier solution, not to mention the weeks or relearning and redeveloping...

Senocular XML Search Tutorial (search Query Case Sensitive)
Hi
I've just tried senocular's xml tutorials.

http://www.kirupa.com/web/xml/examples/searchbestof.htm

The search query seems case sensitive. How to make it accept upper and lower case characters. Actually i'm trying to make a search by myself by using the same code.

Senocular XML Search Tutorial (search Query Case Sensitive)
Hi
I've just tried senocular's xml tutorials.

http://www.kirupa.com/web/xml/examples/searchbestof.htm

The search query seems case sensitive. How to make it accept upper and lower case characters. Actually i'm trying to make a search by myself by using the same code.

Search Engine -user Can Search His Pictures With Keywords- HELP
I was reading about search engines and I came across a post. Being fairly new to flash I do not know how to develop this. I have a client who owns a small furniture store. I am setting up his site. He wants it to be all flash based. He has about 300 pictures of his products.I need to make a search engine in Flash so that the user can search his pictures with keywords. I read a suggestion that would fit my needs- create an array of picture names then use a loop to check if the keyword is in the array. I have been going through tutorials with no luck- can someone please help. Maybe start the code the person is talking about so I can just expand on that.

How To Build A Search Engine To Search Ur Own Flash Site?
Hey its Stuart here again.
How do you build a search engine to search ur own flash site?
Do you guys have any links?

How To Build A Search Engine To Search Ur Own Flash Site?
Hey its Stuart here again.
How do you build a search engine to search ur own flash site?
Do you guys have any links?

Search Page With Search Result From Text File
I want to make search page with search result In Flash, Data will be come frrom TXT file. can any body help my or give me source(FLA)??

Search In Flash Using Atomz Search Services
does anyone have any information on using atomz search service using flash? please reply....
thank you

Search Flash Content In Search Engines
Do you have any experiance how to optimize flash site for search engines?

If swf contains text an links, how can i constrain search engines like Google,... to find this?

Thanks

Search Flash Content In Search Engines
Do you have any experiance how to optimize flash site for search engines?

If swf contains text an links, how can i constrain search engines like Google,... to find this?

Thanks

Flash Search Field - Atomz Search
I currently use Atomz for their search engine. A clients site as of now is all HTML, however I am buidling some flash elements which will incorporate a simple "search" field and submit button.

I will include the HTML, however I am unsure how to make a form in Flash to be able to include the hidden fields, etc. I hope this makes sense, and thank you in advance!

<form method="get" action="http://search.atomz.com/search/" name="search">

<input name="sp-q" class="textbox" id="sp-q" value="Search" size="15">
<input type="hidden" name="sp-a" value="sp1002ad5d">
<input type="hidden" name="sp-p" value="all">
<input type="hidden" name="sp-f" value="ISO-8859-1">

<input type="submit" name="Submit" value="Submit">
</form>

If someone could create a small file, or let me know where to place what code where, please let me know. Any help is greatly appreciated! As well, if you have paypal, I can send a little something for the help!

Search Help Text Search In Flash
Hello, i'm realy stuck, and I need help... read dead end , i need to make a search on my site in flash, and also i need to explain ... what i need , example, whole site is in flash, and i need when someone wonna to find something just type word or sentence and then find on my site, but not google find or something like that... i wonna something easy, like CTRL + F, but label with find button... if anyone can help me or give me a guide i will be so happy, so thanks

sorry for my english... I hope it's readable )

No Search On Search Engines How To Do It
i i made some sites of well known people a site for their family party and they do not want all the world to see it just friends how can i have it on the net and stop the search engines from finding it
i saw it once one can code in no search or no index or something ,does anyone know
id appreciate it
thanks
faith

What To Search For
This my first post. I would like to try and find the answers to my specific questions via the site knowledge base, but I am unsure of the exact words to use for my search. I am the consumate "gotta figure it myself" person. I want to create a series of text buttonsin a table that when on a mouse rollover or maybe click, another cell in the table shows text. What is this exactly called? I did find a good tutorial that explained the process of making the button and applying actions. I am confused on how to make a series (10-15) of different text buttons to all show at the same time, but only to show the correstponding text when there is a click or rollover in the same seperate table cell.
I hope that I explained that alright. I just need a push in the right direction.
Thanks in advance.

Search - Is It Possible?
Hi,

I need to know if this is possible or not...

There are 300 (for example) *.jpg and *.txt files like clip1.jpg, clip1.txt, clip2.jpg, clip2.txt....... The *.txt file includes some information like;

clip1.txt
---------
QT=1
&RP=0
&MP=0
&Name=Wales
&Info=Here will be the description of the picture mostly in one paragraph.
-----------

What I need to do is make a search within all those *.txt files and take the result to Flash to show related pictures in Flash. To read all of those *.txt files takes a long time with Flash and I also do not know if it is possible to make a search within the variables in a fast way.

If I make all of them only one file then it will be a *.txt file around 50-60 Kbyte and like;


clips.txt
---------
QT1=1
&RP1=0
&MP1=0
&Name1=Wales
&Info1=Here will be the description of the picture mostly in one paragraph.

QT2=0
&RP2=1
&MP2=1
&Name2=My Cats
&Info2=Here will be the description of the picture mostly in one paragraph.

QT3=0
&RP3=1
&MP3=0
&Name3=White Flowers
&Info3=Here will be the description of the picture mostly in one paragraph.

........
....
.

-----------

What I need to know is if it is possible to use something outside that Flash can get the list of related picture files?

Any ideas or suggestion will be appreciated...

Thank you...

Is There A Search Possible?
So i've got new problem...

I have 2 build up a little search in my flash page... so i could write in the keyword, for example "bla bla", submit it, and getting my bla bla.swf loaded. Is it possible? Plz help, who knows something about it... Even if You think, or are informed that kind of search is not possible, plz let me know, so i wont try 2 make things out no mo...

Thank You

Don't Know How To Search For It...
Here's what I want to do:

Make a test that has multiple choice answers. When the test is completed, the score is totalled and the user sent to a page (explaination of what the score means) based on the value of the score.

I have seen flash movies do this and although I'm asking on the newbie board, I've been using Flash for a couple of years now but only for basic presentation type of movies. In other words, I'm a newbie to this area of flash. Where do I begin looking? I was trying to find a tutorial but I don't know what to look for. OR, if you know how I can do this, I would greatly appreciate it.

Search XML
Can anyone post a code that will allow me to search an XML..

The XML contains the following data..

First and last name (1400 of them)

with arg1="student number"

I have an xml viewer which displays all of the in the XML

I just need a simple code that will allow the data to be pulled based on arg1="their student number or first and last name"

If you can help..I appreciate it

thanks@!!

Search Help
Hi

This is GugZ again

I just want to know how to link my search from my website to some well known search engines. i have a dynamic input text box and button 'search'. how can search things in the net by entering something from my website. its pretty simple I feel but I dont know how to do.

Please help.

regds
GugZ
INDIA

Where To Search
i need one software which convert my text file from ansi to unicode.

where i search for it.

is there any forum which help me.

thanks

Search Box
I was wondering. I'd like to create a search box for my site on my flash naivation. Does anyone have any idea where i should start to creating one? Can actionscript do the trick to search only my site?

Search Box
I was wondering. I'd like to create a search box for my site on my flash naivation. Does anyone have any idea where i should start to creating one? Can actionscript do the trick to search only my site?

Search Box
I was wondering. I'd like to create a search box for my site on my flash naivation. Does anyone have any idea where i should start to creating one? Can actionscript do the trick to search only my site? using flash mx

Best Way To Search?
Hi there folks
I'm putting together an art history database where users should be able to search all entries for text strings. How would you suggest doing it?
The plan is for each entry to be loaded from external txt files (loadVariables) when called. I wanted to avoid hardcoding all the text in as it will be constantly added to (there are over 100 articles so far), but a search function would be invaluable, so if necessary I'll do it that way.

But I'm sure someone must know a nifty way of doing it...
Any ideas gratefully received

cheers

andy

Search
Hi,

I dont know how to make a search option, I already made the input text field, but how can I make that when you enter a word, that you get search results from over the whole site?

tnx in advance

>>> Search Box
Could somebody tell me how to put a search box onto the site and actually work so when the user types in a keywoard matching something in the movie that scene (page) will appear?

Search
Hey all

I wrote a search function, to find a single word in a text box ... but I can't seem to figure out how to make it search for the same word in two or more different sections

Example:

"This is some text in my text box ... I want the text word to be searched for and find word 'text' in each instance"

In the above sentance there are 4 instances of the word "text"

When I run my search function it only selects the first instance ... I want to be able to have the function highlight each instance when you click the search button again and again ....

Get it ... its like a normal search engine on the browser ...

code:
startP = text1.indexOf(searchWord);
if(startP != -1){
endP = startP + searchWord.length;
Selection.setFocus(txt1);
Selection.setSelection(startP,endP);

}


Any one have any suggestions ...

I was thinking, I could make a variable that contains the number startP has ... and if the var = startP ... move on to the next set ... as if the first instance doesn't exist ...

I think that might work ... I don't think I really wrote it out in way you can understand ...

thanks for the help

Search Box
Is it possible to do search engine in flash? i.e say I have a site, you type in the name of a club into a search box, my site will then jump to a page thats within my site that has the name of the club. does that make sense?

XML Search
I am trying to produce a searchable phone list in flash mx 2003, so that the user types in the name of the person and their number is displayed.

Would importing XML be the best way of doing this and does any one know of some similar tutorials or resources that would be useful?

Any help would be grand

Jemes

Search
Hi All,

I want to creat a search engine and link it up with a database created with Microsoft Access. Can any one help out on how to creat the search engine and also how to link them up.

Thanks in Advance.

MX

Search
Hey there

If I was wanting to look up information on adding a search feature to my site, any suggestions on where to find the code and how to do it?

T.

3 Day Search
OK we have a problem here. I finally have hitTest down to a point.. However I am trying to make a character move over a certain spot in the map. Once the character hits the spot I want it to go to the next scene! Now the user will control the character using the left right and space keys... I think I have read 20 different pages on hitTest including Macromedias own site. They only offer info on hitTests with a mouse drag which I already know.
So with all of that said the main objective is to have my character walk over a certain point on the map which will make it go to scene 2 (called Level2).... Will someone PLEASE ease this stress on me. I am working for Newgrounds.com and I need to figure out how to do this action. It's driving me crazy! PLEASE SOMEONE HELP ME!!!!!!

B.D.Smith

Search Bar
I wanted to set up a search bar for our website, do I put it on the index page or flash and how do we do that. http://www.tsigold.com

Search Bar
How do you put in a search in a web sit. Like if someone wanted to search for an item on our site. http://www.tsigold.com

Copyright © 2005-08 www.BigResource.com, All rights reserved