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

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

Diver Duck!.swf

This is the info page for
Flash #26534

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


Text
INSTRUCTIONS:
The goal of the game is to collect as much money as possible!
Click the duck to make him dive (the longer you hold the mouse
button, the higher the jump, and deeper the dive). When in the
water, use your mouse to move the duck.
Click anywhere to start diving!

0

0

ActionScript [AS1/AS2]

Frame 1
if (getBytesLoaded() == getBytesTotal()) { gotoAndStop (3); } filesize = ("(" + int(getBytesTotal() / 1000)) + "k)";
Frame 2
gotoAndPlay (1);
Frame 4
score = 0; seconds = 60; milliseconds = 60; speed = 13; speed_jump = 15; top = -360; bottom = 285; s_quack = new Sound(); s_quack.attachSound("quack"); s_splash = new Sound(); s_splash.attachSound("splash"); s_money = new Sound(); s_money.attachSound("money");
Frame 6
prevFrame();
Frame 8
prevFrame();
Frame 9
if (((substring(_url, 0, 22)) != "http://www.etgames.com") && ((substring(_url, 0, 18)) != "http://etgames.com")) { getURL ("http://www.etgames.com/?page=join", "_blank"); }
Instance of Symbol 106 MovieClip in Frame 9
//component parameters onClipEvent (initialize) { minimum_score = 1; score_var = "_root.score"; }
Symbol 12 MovieClip Frame 1
limit_x = 30; limit_y = 15; _x = ((-((_root._xmouse - _parent._x) / _parent._x)) * limit_x); if (_x > limit_x) { _x = limit_x; } else if (_x < (-limit_x)) { _x = (-limit_x); } _y = ((-((_root._ymouse - _parent._y) / _parent._y)) * limit_y); if (_y > limit_y) { _y = limit_y; } else if (_y < (-limit_y)) { _y = (-limit_y); }
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 Button
on (release) { getURL ("http://www.etgames.com", "_blank"); }
Symbol 24 Button
on (release) { _root.gotoAndStop("game"); }
Symbol 25 MovieClip Frame 130
stop();
Symbol 37 MovieClip Frame 1
_xscale = (100 + random(100)); _yscale = _xscale; _x = (-210 + random(420));
Symbol 37 MovieClip Frame 2
if (_y < _root.top) { _alpha = 0; _y = _root.bottom; gotoAndPlay (1); } else { _y = (_y - 3); if (_alpha < 100) { _alpha = (_alpha + 3); } }
Symbol 37 MovieClip Frame 3
gotoAndPlay (2);
Symbol 43 Button
on (press) { guage.play(); } on (release, releaseOutside) { dest_y = _y - ((guage._currentFrame - 1) * 3); jump = true; _root.s_quack.start(); gotoAndStop (2); }
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 50
stop();
Symbol 47 MovieClip Frame 1
if (_parent.surface == true) { stop(); }
Symbol 48 MovieClip Frame 1
if (((((_parent._y + _root.game._y) < 180) && (_root.game._y < 760)) && (_parent.speed_y < 0)) || ((((_parent._y + _root.game._y) > 270) && (_root.game._y > 0)) && (_parent.speed_y > 0))) { _root.game._y = _root.game._y - _parent.speed_y; } _parent._y = _parent._y + _parent.speed_y; if (_parent._currentFrame == 2) { if (((_parent._y > _parent.dest_y) && (_parent.jump != false)) && (_parent.surface != true)) { _parent.speed_y = -_root.speed_jump; } else if (_parent.surface == true) { if (((_parent._x < 140) || (_parent._y > -620)) && (_parent.jump == true)) { _parent.speed_y = -_root.speed_jump; if (_parent._x < 140) { _parent._x = _parent._x + _root.speed; } } else { _parent.jump = false; _parent.speed_y = _root.speed_jump; if (_parent._y > -550) { _parent._y = -550; _parent.speed_y = 0; _parent.surface = false; _parent.gotoAndStop("stand"); } } } else { _parent.jump = false; _parent.speed_y = 0; _parent.gotoAndStop("dive"); } if ((_parent._x > 0) && (_parent.surface != true)) { _parent._x = _parent._x - _root.speed; } } else if (_parent._currentFrame == 3) { if (_parent._y > _root.bottom) { _parent._y = _root.bottom; _parent.speed_y = 0; } else if (_parent._y > _root.top) { if (_parent.dive != true) { _root.s_splash.start(); _root.game.splash.play(); _parent.speed_y = _parent.speed_y / 3; } _parent.dive = true; _parent.speed_y = _parent.speed_y - 0.4; if ((_parent._x + 25) < (_root._xmouse - _root.game._x)) { _parent._x = _parent._x + (_root.speed / 2); _parent._xscale = -100; } else if ((_parent._x - 25) > (_root._xmouse - _root.game._x)) { _parent._x = _parent._x - (_root.speed / 2); _parent._xscale = 100; } if (_parent._x > 180) { _parent._x = 180; } else if (_parent._x < -180) { _parent._x = -180; } } else if (_parent.dive != true) { _parent.speed_y = _parent.speed_y + 6; } else { _parent.surface = true; _parent.jump = true; _parent.dive = false; _parent._xscale = -100; _root.s_splash.start(); _parent.gotoAndStop("jump"); } }
Symbol 48 MovieClip Frame 2
gotoAndPlay (1);
Symbol 53 MovieClip Frame 6
if (_parent.speed_y > 1) { gotoAndPlay(_currentframe - 1); }
Symbol 53 MovieClip Frame 13
stop();
Symbol 54 MovieClip Frame 1
_xscale = 100; stop();
Symbol 55 MovieClip Frame 1
if (_parent._y < _root.top) { speed = 10; } else { speed = 5; } if (_parent._y < _parent.dest_y) { _parent._y = _parent._y + speed; } else { if (_parent.lifespan == 0) { _parent._alpha--; if (_parent._alpha < 1) { _parent.gotoAndStop(1); } } else { _parent.lifespan--; } if (((((_parent._x + 35) > _root.game.duck._x) && ((_parent._x - 35) < _root.game.duck._x)) && (_parent._y > (_root.game.duck._y - 100))) && (_parent._y < _root.game.duck._y)) { _root.score = _root.score + _parent.value; _root.s_money.start(); _parent.gotoAndStop(1); } }
Symbol 55 MovieClip Frame 2
gotoAndPlay (1);
Symbol 60 MovieClip Frame 1
gotoAndStop(_parent.type);
Symbol 61 MovieClip Frame 1
_alpha = 100; _x = (-200 + random(400)); _y = (-830 - random(70)); dest_y = _root.top + random(_root.bottom - _root.top); type = random(2) + 1; if (type == 2) { lifespan = 150; value = 0.5; } else { lifespan = 300; value = 0.25; } nextFrame();
Symbol 72 MovieClip Frame 1
_root.milliseconds = _root.milliseconds - 2; if ((_root.seconds == 0) && (_root.milliseconds == 0)) { if (_root.score >= 7) { _root.gotoAndStop("win"); } else { _root.gotoAndStop("lose"); } } else if (_root.milliseconds == 0) { _root.seconds--; _root.milliseconds = 60; }
Symbol 72 MovieClip Frame 2
gotoAndPlay (1);
Symbol 76 Button
on (release) { gotoAndStop (4); }
Symbol 78 MovieClip Frame 73
stop();
Symbol 84 Button
on (release) { _root.gotoAndStop("scores"); }
Symbol 87 Button
on (release) { getURL ("http://www.etgames.com", "_blank"); }
Symbol 88 MovieClip Frame 1
if (_root.local == 1) { stop(); } else { nextFrame(); }
Symbol 93 MovieClip Frame 15
stop();
Symbol 94 MovieClip Frame 10
stop();
Symbol 96 Button
on (release) { if ((player_name.length < 1) || (player_name == "Enter Your Name")) { player_name = "Enter Your Name"; } else { play(); } }
Symbol 105 Button
on (release) { play(); }
Symbol 106 MovieClip Frame 1
score = eval (score_var); if ((score < minimum_score) || (((substring(_url, 0, 22)) != "http://www.etgames.com") && ((substring(_url, 0, 18)) != "http://etgames.com"))) { gotoAndStop (13); } else if ((last_score == score) && (last_score > 0)) { gotoAndStop (12); } else { last_score = score; stop(); }
Symbol 106 MovieClip Frame 2
loadVariablesNum ((((((((("scores.php?action=add_score&session=" + _root.phpsession) + "&game=") + _root.phpgame) + "&score=") + score_var) + "&username=") + player_name) + "&password=") + player_password, 0, "POST"); chars = player_password.length; player_password = ""; while (player_password.length < chars) { player_password = player_password + "*"; }
Symbol 106 MovieClip Frame 12
stop();

Library Items

Symbol 1 Sound [splash]
Symbol 2 Sound [money]
Symbol 3 Sound [quack]Used by:25
Symbol 4 GraphicUsed by:Timeline
Symbol 5 GraphicUsed by:8
Symbol 6 GraphicUsed by:8
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:5 6 7Used by:Timeline
Symbol 9 FontUsed by:10
Symbol 10 EditableTextUses:9Used by:Timeline
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:17
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16 45 76 92 96 105
Symbol 16 ButtonUses:13 14 15Used by:17
Symbol 17 MovieClipUses:12 16Used by:Timeline
Symbol 18 GraphicUsed by:25 41
Symbol 19 GraphicUsed by:25
Symbol 20 FontUsed by:22
Symbol 21 FontUsed by:22
Symbol 22 TextUses:20 21Used by:25
Symbol 23 GraphicUsed by:24 78
Symbol 24 ButtonUses:23Used by:25
Symbol 25 MovieClipUses:18 3 19 22 24Used by:Timeline
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:28
Symbol 28 MovieClipUses:27Used by:Timeline
Symbol 29 GraphicUsed by:33
Symbol 30 GraphicUsed by:33 63
Symbol 31 GraphicUsed by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:29 30 31 32Used by:64
Symbol 34 GraphicUsed by:64
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:37
Symbol 37 MovieClipUses:36Used by:64
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:18 38 39 40Used by:54
Symbol 42 GraphicUsed by:43
Symbol 43 ButtonUses:42Used by:54
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:15 44Used by:54
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:54
Symbol 48 MovieClipUsed by:54
Symbol 49 GraphicUsed by:52 53
Symbol 50 GraphicUsed by:52 53
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:49 50 51Used by:53
Symbol 53 MovieClipUses:49 50 52Used by:54
Symbol 54 MovieClipUses:41 43 45 47 48 53Used by:64
Symbol 55 MovieClipUsed by:61
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:60
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:60
Symbol 60 MovieClipUses:57 59Used by:61
Symbol 61 MovieClipUses:55 60Used by:64
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:30 62Used by:64
Symbol 64 MovieClipUses:33 34 37 54 61 63Used by:Timeline
Symbol 65 GraphicUsed by:Timeline
Symbol 66 GraphicUsed by:Timeline
Symbol 67 FontUsed by:68
Symbol 68 EditableTextUses:67Used by:Timeline
Symbol 69 GraphicUsed by:72
Symbol 70 FontUsed by:71
Symbol 71 EditableTextUses:70Used by:72
Symbol 72 MovieClipUses:69 71Used by:Timeline
Symbol 73 GraphicUsed by:Timeline
Symbol 74 GraphicUsed by:Timeline
Symbol 75 GraphicUsed by:76
Symbol 76 ButtonUses:75 15Used by:Timeline
Symbol 77 GraphicUsed by:Timeline
Symbol 78 MovieClipUses:23Used by:Timeline
Symbol 79 GraphicUsed by:Timeline
Symbol 80 GraphicUsed by:Timeline
Symbol 81 GraphicUsed by:Timeline
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 ButtonUses:82 83Used by:88
Symbol 85 GraphicUsed by:87
Symbol 86 GraphicUsed by:87
Symbol 87 ButtonUses:85 86Used by:88
Symbol 88 MovieClipUses:84 87Used by:Timeline
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:91
Symbol 91 MovieClipUses:90Used by:106
Symbol 92 MovieClipUses:15Used by:93 94 95
Symbol 93 MovieClipUses:92Used by:96 105
Symbol 94 MovieClipUses:92Used by:96 105
Symbol 95 MovieClipUses:92Used by:96 105
Symbol 96 ButtonUses:93 94 95 15Used by:106
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:106
Symbol 99 FontUsed by:100 101 102 103
Symbol 100 EditableTextUses:99Used by:106
Symbol 101 EditableTextUses:99Used by:106
Symbol 102 EditableTextUses:99Used by:106
Symbol 103 EditableTextUses:99Used by:106
Symbol 104 GraphicUsed by:106
Symbol 105 ButtonUses:93 94 95 15Used by:106
Symbol 106 MovieClipUses:91 96 98 100 101 102 103 104 105Used by:Timeline

Instance Names

"back"Frame 4Symbol 28 MovieClip
"game"Frame 4Symbol 64 MovieClip
"guage"Symbol 54 MovieClip Frame 1Symbol 45 MovieClip
"duck"Symbol 64 MovieClip Frame 1Symbol 54 MovieClip
"name"Symbol 106 MovieClip Frame 1Symbol 100 EditableText
"password"Symbol 106 MovieClip Frame 1Symbol 101 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "splash"
ExportAssets (56)Timeline Frame 1Symbol 2 as "money"
ExportAssets (56)Timeline Frame 1Symbol 3 as "quack"
ExportAssets (56)Timeline Frame 3Symbol 3 as "quack"
ExportAssets (56)Timeline Frame 3Symbol 3 as "quack"

Labels

"title"Frame 3
"game"Frame 4
"lose"Frame 5
"win"Frame 7
"scores"Frame 9
"stand"Symbol 54 MovieClip Frame 1
"jump"Symbol 54 MovieClip Frame 2
"dive"Symbol 54 MovieClip Frame 3
"done"Symbol 106 MovieClip Frame 12
"nada"Symbol 106 MovieClip Frame 13

Dynamic Text Variables

filesizeSymbol 10 EditableText""
scoreSymbol 68 EditableText"0"
_root.secondsSymbol 71 EditableText"0"
player_nameSymbol 100 EditableText""
player_passwordSymbol 101 EditableText""
player_nameSymbol 102 EditableText""
player_passwordSymbol 103 EditableText""




http://swfchan.com/6/26534/info.shtml
Created: 22/5 -2019 13:34:57 Last modified: 22/5 -2019 13:34:57 Server time: 22/12 -2024 09:20:44