Is this anyway possible to add google search for content in flash? Search for content means the simple search bar.
Is this anyway possible to add google search for content in flash? Search for content means the simple search bar.
I believe I just did this a day or two ago..
check here for a zip file and details
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
No, not that one I have a google adsense search code it works okay in HTML but I don't know that how to put in flash and make it work.
So what is the code? You may need loadVars, you may need JS call functions, you may not be able to do it per Google TOS.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
It is a similar code like we put ads code in our sites. If some one search via that search pay I will get paid.
Well.. without seeing it I can only guess. A lot depends on the set up.
You can use the standard getURL and for the http part include the whole line that is in the HTML code. If there is more, like with a paypal button, then I will need to see it.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.com.pk/custom" target="_top">
<table bgcolor="#000000">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<label for="sbi" style="display: none">Enter your search terms</label>
<input type="text" name="q" size="15" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">Submit search form</label>
<input type="submit" name="sa" value="Google Search" id="sbb"></input>
<input type="hidden" name="client" value="pub-7129006502115206"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="safe" value="active"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->
This is the code
Well, for a start you can look here
Using a 3rd party app is a bit ridiculous to me, in Flash, but some people like it.
(personally I think that Flash is 3rd party enough and using other apps to get it to work is over kill, I haven't found anything I can't do in Flash alone that I need another app for, yet.)
I will work on a AS only fix for this if the above doesn't suit your fancy![]()
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Just a warning, not sure what the legality of adding the AdSense search bar is within Flash.
I know for a fact (as I've asked Google directly and have recieved a response) that Google does not support or condone the use of Adsense within Flash. Not only is it against the TOS, but it just simply won't work. A better solution for Adsense users (with ads, not necessarily the searchbar), is to configure the ads to look as much as the Flash as you can and perhaps use CSS positioning if that's an issue.
For making this sort of searchbar work...
This is just an idea off the top of my head...perhaps sending a variable from Flash to a PHP script which then subits the form with the appropriate hidden field data.
According to Medyman, it is against Google's TOS. And over here, we don't do things that are illegal. So I'm going to lock the thread.
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
Bookmarks