A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Google search bar into flash

  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    48

    Google search bar into flash

    Hello again,
    I need to embed the google custom search bar inside a flash, but I dont know if is possible, and how can I tell the flash to open it inside a preformated page?

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    can u explain a bit more? You want to do a google search from within flash, then have the results open in a new window which would be standard html?
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    here's a quick and dirty example, you would need to add more code to search for multiple words, but might help point you in the right direction
    Last edited by EvolveDesigns; 01-13-2009 at 06:54 PM.
    Evolve Designs Interactive Media
    the natural selection

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    48
    Thank you!
    What I need is to take the code of the google toolbar, (If you go to www.forosdelweb.com you can see it at the top of the page).

    What I really want is the searchbar to be inside or loaded into my flash, and get the results in a _blank page.

    What part of BC are you? Im planning to go live there in 1 year.

  5. #5
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    Yup the code I provided does just that, the site you linked to is loading the google results in an iFrame rather than a blank page which shouldn't be too tough. If you haven't played with iFrames google em.

    Im in Victoria on Vancouver Island, really nice here, moderate climate all year round. I take it you're coming from somewhere far judging from your example link.
    Evolve Designs Interactive Media
    the natural selection

  6. #6
    Flasher
    Join Date
    Jun 2005
    Posts
    1,365
    You shouldn't need any extra script for multiple words, most browsers change spaces to %20 automatically.

    ~Sportzguy933

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    48
    thank you both! I will check the iframes thingy cuz i dont have knowledge about it.

    And yeah! Im from Guatemala, hoping to be Canadian in couple of years too!. Victoria sounds good to me, is one of my top places to go and live.

  8. #8
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    sportz is right, it works with more than one word already

    Victoria is super expensive to live, homes are ridiculously expensive right now and it's tough finding a job, especially in this type of work, but man it's beautiful!
    Evolve Designs Interactive Media
    the natural selection

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center