I have a site made in flash

I want to add a "Google adsense for search" searchbar made in flash


To create an HTML search box I have to use this code:

<form action="http://www.google.com.mx/cse" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-1000974500003265:uuosqo3z6ak" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="60" />
<input type="submit" name="sa" value="Buscar" />

</div>
</form>

Whit this form this variables are sent to the server:

q
the words to search

cx
the value is: partner-pub-1000974500003265:uuosqo3z6ak

I suppose this is my adsense id

ie
The ISO character code

sa
The label of my SEARCH BUTTON


I create a flash movie with a input text field and a button, so the people can use this movie to search in google.

I assign this action to the button:

on (press, keyPress "<Enter>") {
getURL("http://www.google.com.mx/cse?cx=partner-pub-1000974500003265%3Auuosqo3z6ak&ie=ISO-8859-1&sa=Buscar&q=" + escape(q))
}

Code explanation:

on (press, keyPress "<Enter>")

when pepople press enter or press the SEARCH BUTTON I request the site:

http://www.google.com.mx/cse

then i pass this variables:

q
the words to search

cx
the value is: partner-pub-1000974500003265:uuosqo3z6ak

I suppose this is my adsense id

ie
The ISO charcter code

sa
The label of my SEARCH BUTTON

It works. It searchs in google fine.

But, does it register the clicks? Im earning money whit this code? Or I am gettting clicks but these clicks are not registered in my favor?

Thank You in advance