# Google Search

**URL:** <https://forum.kirupa.com/t/google-search/23317>\
**Category:** flash\
**Created:** [June 16, 2003, 12:56pm UTC](https://forum.kirupa.com/t/google-search/23317 "2003-06-16T12:56:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clown\_Staples](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Clown\_Staples](https://forum.kirupa.com/u/Clown_Staples)\
**Post date:** [June 16, 2003, 12:56pm UTC](https://forum.kirupa.com/t/google-search/23317/1 "2003-06-16T12:56:32Z")

</div>

> 

- From a PM: \*

I’m glad you’re interested. Actually it was much simpler than you would think. Its mostly the way google is set up that makes it so easy. I just happened to notice that the url for a google search is always the same except for the search variables at the end.

> **[Google Search](https://www.google.com/search?q=anything%2Byou%2Bwant%2Bhere)**

So all I did was to add a textfield to get the variable to put on the end of the URL. (And a button to press)

on(press){  
getURL(“[Google](http://www.google.com/search?q=)” + inputText);  
}

Google also provides free logos for use on your site.

> **[Google Doodles - Google’s Search Logo Changes for Every Occasion](https://doodles.google/)**
>
> Explore the spontaneous Google search logo changes made throughout the years to celebrate heroes, holidays, and much more.

for anyone who wants to link there.

I’m sure the same thing would be possible using just javascript.  
Hope this helps,

Clown

P.S. I am going to put this into a thread too in case any one else is interested.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 18, 2003, 8:32am UTC](https://forum.kirupa.com/t/google-search/23317/2 "2003-06-18T08:32:59Z")

</div>

is this an question ? or do you just like it to share with us ? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 18, 2003, 10:04am UTC](https://forum.kirupa.com/t/google-search/23317/3 "2003-06-18T10:04:35Z")

</div>

hey that’s quite cool actually - never thought of that… i’ll look if the other search engines behave the same way… (oh and you’ll have to switch the blanks to + signs --)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 5:23am UTC](https://forum.kirupa.com/t/google-search/23317/4 "2003-06-19T05:23:11Z")

</div>

i just started a flash remoting tute that searches google and actually displays the results on your flash page. seems a little complcated but once the server is set up right , flash remoting isnt that hard

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 7:23am UTC](https://forum.kirupa.com/t/google-search/23317/5 "2003-06-19T07:23:13Z")

</div>

yeah, that’s how i search google now. i figured, if you’re gonna type in your search in the box, you might as well go all the way and type the url automatically for example,

[http://www.google.com/search?q=kirupa+forums](http://www.google.com/search?q=kirupa+forums)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 11:34am UTC](https://forum.kirupa.com/t/google-search/23317/6 "2003-06-19T11:34:37Z")

</div>

by the way, to make an flash string with the “+” instead of spaces, use this code:

```auto

searchGoogle = function (x) {
	myText = x;
	Words = myText.split(" ");
	for (i=0; i<Words.length-1; i++) {
		newText += Words*+"+";
	}
	newText += Words[Words.length-1];
	googlestring = "http://www.google.com/search?q="+newText
	getURL(googlestring,"_blank");
};

searchGoogle("Kirupa forums is the best!");

```

edit: now you have an function to search google

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 2:34pm UTC](https://forum.kirupa.com/t/google-search/23317/7 "2003-06-19T14:34:23Z")

</div>

it seemed to work with the spaces left in

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 2:44pm UTC](https://forum.kirupa.com/t/google-search/23317/8 "2003-06-19T14:44:11Z")

</div>

theres a thread in best of called “?Google Search?”
