Search facility in flash combined with XHTML pages

  • egr103
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Apr 26, 2007
  • Posts: 5
  • Status: Offline

Post April 27th, 2007, 2:55 am

hello all,

I new to server side scripting and require some advice if you would be happy enough to give it to me!

I am pretty compotent using flash 8 and SOME actionscript but there is a project i am currently working on that got my brain thinking. I would like to have a swf header in my page (simple enough?) but within this header i would like to have a search box and button so that users can search the site. The site is all in XHTML transitional.

I have seen the feature before on other sites but am very unsure how to go about doing it.

I would really appreciate some advice on this matter as i am new to server side scripting etc. It would be good if you could recommend the best/worst and indeed easiest methods in which to do this. Any tutorial URL's would also help.

Please help a newbie in dying need!

Cheers in advance
Evan
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 27th, 2007, 2:55 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post April 27th, 2007, 5:59 am

usually when you see a search on a site its because the entire site content is database driven. Is yours?

Otherwise I think google offers some sort of site search api but i'm not sure.
  • egr103
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Apr 26, 2007
  • Posts: 5
  • Status: Offline

Post May 2nd, 2007, 1:22 am

do you know if the google API is easy to integrate with flash?
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post May 2nd, 2007, 9:38 am

I guess I can't answer that completely. However, my assumption is that it will not work well with Flash content at all. My understanding is that google just points its spider at your pages and that it will therefore only work with HTML content. Someone else may know better but thats all I've got.

This is not to say that you couldn't pass the search term to google from Flash its just that any content inside of flash wouldn't get indexed.
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post May 3rd, 2007, 10:53 pm

true, content from flash is not indexed, but he only wants the header in flash.
Ask in the php section, maybe someone can help you.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • krismeister
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 21, 2006
  • Posts: 202
  • Status: Offline

Post May 4th, 2007, 9:45 pm

egr103

I think people may have misread your question. Your site is completely XHTML except for the header which is Flash. You want a form inside your Flash header to submit to an HTML page of the Google search service.

No problem, Flash forms can submit date to HTML pages. I did something similar on our website, with both the search and the client login.

Our site doesn't use Google's service, but I have used Google search service before. It's very easy.
http://www.google.com/coop/cse/
They give you what your form's fields should be called and where to submit the page.

For help building the form in Flash, you can find lots of tutorials online.
  • egr103
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Apr 26, 2007
  • Posts: 5
  • Status: Offline

Post May 17th, 2007, 4:45 am

cheers guys for all the help.

I will post results of this up for your opinions!

I think linking with google via flash will be most beneficial!

thanks again

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 48 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.