Moderated by: FocalMedia Team, Miles, Gerrit, Rian

FocalMedia.Net Forums » Other Products »  FM SiteSearch Pro

Page: 1 of 1

« Back to Topic Index Page 2 | Replies: 4

 Author  Topic: FMSearch from Flash
AgentX

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of AgentX 
I'm trying to implement my search form a swf movie (Flash).
The user enters search words into the animated box and it should send them to the fmsearch2.cgi script.
I wonder if you could give me some pointers. At present it just opens up the main_layout.html but returns no results.
What should I set as my input variable? "keywords" doesn't work.
Thanks.

Total Posts: 22 | Joined: Oct 11, 2002 - 9:33am | IP Logged

  FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team 
The link which you should link to would have to look something like this:

http://www.yourdomain.com/cgi-bin/fmsearch/fmsearch.cgi?keywords=keywords_typed

If you use mysql it will have to look like this:
http://www.yourdomain.com/cgi-bin/fmsearch/fmsearch.cgi?keywords=keywords_typed

Miles


Total Posts: 1453 | Joined: Jul 27, 2002 - 4:28am | IP Logged

AgentX

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of AgentX 
Quote: If you use mysql it will have to look like this:
http://www.yourdomain.com/cgi-bin/fmsearch/fmsearch.cgi?keywords=keywords_typed


Did you mean fmsearch2.cgi?
That's what it says in your documentation.

I'm stumped with this Flash problem. I've tried several variables (including keywords_typed but the input words are still not getting through to the script it seems.
I've looked carefully at how your html input button works and copied it in Flash. I've searched for any clues on the net and have run out of ideas.

Any chance you might take a look at it for me?


Total Posts: 22 | Joined: Oct 11, 2002 - 9:33am | IP Logged

FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team 
Yes, it's actually fmsearch2.cgi if you are using MySQL.

I'm sorry to say this but I would be useless with flash. The idea is that you need to most probably get user input (the keywords to search for) from the user via flash and pass it on to the script.

So you will need to figure out how to pass user input (keywordS) from flash to a link and load the link in the browser.

Miles





Total Posts: 1453 | Joined: Jul 27, 2002 - 4:28am | IP Logged

AgentX

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of AgentX 

Cracked it at last.



Text input box in flash movie = Keywords



Button action = on (release, keyPress "<Enter>" {      



}



Can't see what the problem was now?






Total Posts: 22 | Joined: Oct 11, 2002 - 9:33am | IP Logged


Lock Topic

 

Forum Legend

New Member

Reply to topic

More than 50 posts | Member

Reply to topic with quoted message

More than 100 posts | Full Member

Edit Message

More than 150 posts | Advanced Member

View profile

More than 200 posts | Advanced Member

Email member