Previous Thread
Next Thread
Print Thread
Rate Thread
#109007 01/03/2001 11:18 AM
Joined: Jan 2000
Posts: 825
Member / CodeFixer
Member / CodeFixer
Offline
Joined: Jan 2000
Posts: 825
does anyone know of or could creat a flash script that searches your .html files with keywords that you specifiy?

------------------
Peace Out,
DJLunacy
www.mp3.com/voi

Sponsored Links
#109008 01/03/2001 2:28 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I'm not sure. I know you can search xml files from database outputs, but I'm not sure about html. Anyone?

- DB

#109009 01/03/2001 2:44 PM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
If you don't mind using a third party for your site searches you could use Atomz.com (which is free).
If you want I'll post the code for the flash search box. You can use xml for the search results but I have not tried feeding this into flash yet.... I have just used flash for control over the search box.

------------------
Jeremiah
FreakScene - The Dinosaur Jr Audio/Visual Archive
My UBB
In
( ((((((((((((((STEREO))))))))))))) ) )
Where Available


jeremiah
#109010 01/04/2001 3:35 PM
Joined: Jan 2000
Posts: 825
Member / CodeFixer
Member / CodeFixer
Offline
Joined: Jan 2000
Posts: 825
I was actually looking for something that I could throw on my server myself.

------------------
Peace Out,
DJLunacy
www.mp3.com/voi

#109011 01/04/2001 3:40 PM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Here is how to setup a search box with Atomz.com (you could use this as a model for other search scripts you may use)

- In your Flash form give the text input field an acceptable name, I used "keyword"
- Create your button. Then select your button and choose Properties from the right-click menu.
- The first line of the Actions field should be On (Release)
- Click the + sign over the Actions field and choose Set Variable
- In the Variable field, type strURL (it's not important what you call it I used strURL for this example)
- Click the button next to the variable field (I don't know what it is called) and select the "Expression" toggle.
- In the value field type:
Code
code:

The quotes are important. In your expression, where I have "nnnnnnnn-spxxxxxxxx" substitute your Atomz account number. You can find this on your HTML form, it will be the value of the hidden input field named "sp-a".
- The second line of your action field should now look like this:

Code
code:

- Click the + sign above the Action field and choose Get URL in the Get URL fields:
enter Eval(strURL) for the URL field
set Window as you desire "_self" is the logical default
set Variables to "Don't Send"
- That's it, your Action statements should now look like this:

Code
code:

-Click OK

That should be it! This code is for Flash5. If you are using 4 you need to change the + to & before the keyword

Very easy [Linked Image]
I don't know where to start in passing XML results back into flash but I am going to look into that soon...

Hope this helps someone,

------------------
Jeremiah
FreakScene - The Dinosaur Jr Audio/Visual Archive
My UBB

This message has been edited by freakscene on January 04, 2001 at 02:45 PM


jeremiah
Sponsored Links
#109012 01/05/2001 9:08 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
I was typing that last message at the same time you were typing yours.... [Linked Image]

Anyway, here is an example of what you are looking for (at least the search part of it) so you could use this as a point of reference.

Quote
quote:
http://www.flashkit.com/movies/Scripting/XML/DahuNode-dahu-1707/index.shtml

Here are a couple more flash search scripts...
http://www.flashkit.com/movies/Utilities/Search_W-Nenad_Ma-327/index.shtml
http://www.flashkit.com/movies/Scripting/XML/XML_Base-Sean_Car-2793/index.shtml
http://www.flashkit.com/movies/Scripting/Other/Actionsc-Sven_For-159/index.shtml


------------------
Jeremiah
FreakScene - The Dinosaur Jr Audio/Visual Archive

This message has been edited by freakscene on January 05, 2001 at 08:11 AM


jeremiah

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)