STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228156
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5122

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/44955722?noj=FRM44955722-21DC" width="1" height="1"></div>

Google Search Tutorial.swf

This is the info page for
Flash #73380

(Click the ID number above for more basic data on this flash file.)


Text
<p align="center"><font face="Century Gothic" size="24" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>

<p align="center"><font face="Century Gothic" size="24" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>

<p align="center"><font face="Century Gothic" size="24" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>

<Start>

The way to search on google,
by using codes, is really simple.
The whole code concists of a
single line of text:

getURL("http://www.google.dk/search?hl=da&q="+ /*The searchword*/)

<Next>

To explain the code:
The getURL() opens an url, in a
new window.

Then the code:
"http://www.google.dk/search?hl=da&q="
That is the code that defines the
Google search-engine. You can put in
what you want, after this code, and
it will be searched on Google.

So if you enter:
Then it will open a new window, and
search on Google for Newgrounds.

<p align="left"><font face="Courier New" size="14" color="#0000ff" letterSpacing="0.000000" kerning="1">getURL(<font color="#006600">&quot;http://www.google.dk/search?hl=da&amp;q=Newgrounds&quot;</font>)</font></p>

To turn it into a customisable search,
you are going to need a input-textfield.
Make a input-textfield, and then set it's
variable to something like: searchword

Then create a button, of any kind, and
type in this code in the main-Actions, to
make it search on Google for what you
wrote in the textfield.

var searchword:String = "";
my_btn.onRelease = function() {
getURL("http://www.google.dk/search?hl=da&q="+_root.searchword);
};

So that's it..
If you have any questions, just pm me,
and I'll help as good as I can.
Thanks for watching!

<Back>

ActionScript [AS1/AS2]

Frame 1
stop(); onEnterFrame = function () { loaded = getBytesLoaded(); total = getBytesTotal(); procent = Math.round((loaded / total) * 100) + "%"; if ((procent == "100%") and (_currentframe == 1)) { play(); } };
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
var searchword = ""; my_btn.onRelease = function () { getURL ("http://www.google.dk/search?hl=da&q=" + _root.searchword); };
Frame 9
stop();
Symbol 7 MovieClip Frame 21
stop();
Symbol 8 MovieClip Frame 40
stop();
Symbol 8 MovieClip Frame 90
if (_root._currentframe == 2) { _root.gotoAndStop(3); }
Symbol 12 Button
on (release) { if (_root.tekst._currentframe == 61) { _root.tekst.play(); _root.logo.play(); } }
Symbol 13 MovieClip Frame 61
stop();
Symbol 13 MovieClip Frame 76
stop();
Symbol 18 Button
on (release) { nextFrame(); }
Symbol 30 Button
on (release) { gotoAndStop (2); }

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:8  Timeline
Symbol 3 FontUsed by:4 5 6 11 14 17 19 20 21 25 26 28 29
Symbol 4 EditableTextUses:3Used by:Timeline
Symbol 5 EditableTextUses:3Used by:7
Symbol 6 EditableTextUses:3Used by:7
Symbol 7 MovieClipUses:5 6Used by:Timeline
Symbol 8 MovieClipUses:2Used by:Timeline
Symbol 9 GraphicUsed by:13
Symbol 10 GraphicUsed by:12
Symbol 11 TextUses:3Used by:12
Symbol 12 ButtonUses:10 11Used by:13
Symbol 13 MovieClipUses:9 12Used by:Timeline
Symbol 14 TextUses:3Used by:Timeline
Symbol 15 FontUsed by:16 19 20 22 27
Symbol 16 TextUses:15Used by:Timeline
Symbol 17 TextUses:3Used by:18
Symbol 18 ButtonUses:17Used by:Timeline
Symbol 19 TextUses:3 15Used by:Timeline
Symbol 20 TextUses:3 15Used by:Timeline
Symbol 21 TextUses:3Used by:Timeline
Symbol 22 EditableTextUses:15Used by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:Timeline
Symbol 25 TextUses:3Used by:Timeline
Symbol 26 TextUses:3Used by:Timeline
Symbol 27 TextUses:15Used by:Timeline
Symbol 28 TextUses:3Used by:Timeline
Symbol 29 TextUses:3Used by:30
Symbol 30 ButtonUses:29Used by:Timeline

Instance Names

"logo"Frame 2Symbol 8 MovieClip
"tekst"Frame 2Symbol 13 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Dynamic Text Variables

procentSymbol 4 EditableText"<p align="center"><font face="Century Gothic" size="24" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>"
_root.procentSymbol 5 EditableText"<p align="center"><font face="Century Gothic" size="24" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>"
_root.procentSymbol 6 EditableText"<p align="center"><font face="Century Gothic" size="24" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>"




http://swfchan.com/15/73380/info.shtml
Created: 8/4 -2019 07:12:24 Last modified: 8/4 -2019 07:12:24 Server time: 21/05 -2024 01:10:53