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

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

Save the Boys.swf

This is the info page for
Flash #113652

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


Text
SCORE:

9999

TIME LEFT:

BOYS LEFT:

0:00

30

00

LEVEL:

0:00

FERMER

HELP

Use the mouse to click on the boys
when they appear to save them.  Be
careful, if you wait too long the boys
will have to swim somewhere else and
you'll have to save one more!  Be sure
to watch your time!
TIP:  You can throw more than one
lifesaver to a boy. ;)

YOU LOSE!

Play Again

500

Play More Cool Games and Earn
Trollars at Trollz.com!

exit game

YOU WIN!

START

START

?

X

ActionScript [AS1/AS2]

Frame 1
function init() { this._lockroot = true; gotoAndStop (2); }
Frame 2
function throwLifeSaver() { var j = 0; while (j < 10) { if (mc_Mouse.hitTest(eval ("Boy" + j)) && (eval ("Boy" + j).mc_Boy._currentframe == 1)) { duplicateMovieClip (mc_LifeSaver, "lifeSaver" + iSaverIndex, iSaverIndex + 10); eval ("lifeSaver" + iSaverIndex)._x = player._x; eval ("lifeSaver" + iSaverIndex)._y = player._y; aSaverSpdX[iSaverIndex] = 10 * Math.cos(angle); aSaverSpdY[iSaverIndex] = 10 * Math.sin(angle); if ((++iSaverIndex) > 9) { iSaverIndex = 0; } if (iBoySpawnCounter > 50) { iBoySpawnCounter = iBoySpawnCounter + -50; } player.mc_Topaz.gotoAndPlay(2); sThrow.start(0, 0); } j++; } } function moveSaver() { var i = 0; while (i < aSaverSpdX.length) { eval ("lifeSaver" + i)._x = eval ("lifeSaver" + i)._x + aSaverSpdX[i]; eval ("lifeSaver" + i)._y = eval ("lifeSaver" + i)._y + aSaverSpdY[i]; i++; } } function rotatePlayer() { i_mouseX = _root._xmouse; i_mouseY = _root._ymouse; distX = i_mouseX - player._x; distY = i_mouseY - player._y; angle = Math.atan2(distY, distX); degrees = (angle / Math.PI) * 180; player._rotation = degrees + 90; } function bobPlayer() { if ((player._xscale > 100) || (player._xscale < 90)) { iBobSpd = iBobSpd * -1; } player._xscale = player._xscale + iBobSpd; player._yscale = player._yscale + iBobSpd; } function pickBoy() { var _local1 = 1; var _local2 = 5; var _local3 = Math.round(Math.random() * (_local2 - _local1)) + _local1; return(_local3); } function manageBoys() { if (iBoysLeft != 0) { var iBoy = pickBoy(); } else { nextLevel(); } var minX = 10; var maxX = (640 - mc_Boys._width); var minY = 50; var maxY = (480 - mc_Boys._height); var iRandX = (Math.round(Math.random() * (maxX - minX)) + minX); var iRandY = (Math.round(Math.random() * (maxY - minY)) + minY); if ((iRandX >= (player._x - 50)) && (iRandX <= (player._x + 50))) { var iCoinFlip = random(2); if (iCoinFlip) { iRandX = player._x - 50; } else { iRandX = player._x + 50; } } if ((iRandY >= (player._y - 50)) && (iRandY <= (player._y + 50))) { var iCoinFlip = random(2); if (iCoinFlip) { iRandY = player._y - 50; } else { iRandY = player._y + 50; } } if ((--iBoySpawnCounter) <= 0) { duplicateMovieClip (mc_Boys, "Boy" + iBoyIndex, iBoyIndex + 20); eval ("Boy" + iBoyIndex)._x = iRandX; eval ("Boy" + iBoyIndex)._y = iRandY; eval ("Boy" + iBoyIndex).gotoAndStop(iBoy); aBoyTimer[iBoyIndex] = iLevelMin * 50; var iRand = (Math.round(Math.random() * (iLevelMax - iLevelMin)) + iLevelMin); iBoySpawnCounter = iRand; if ((++iBoyIndex) > 9) { iBoyIndex = 0; } } var i = 0; while (i < 10) { var j = 0; while (j < 10) { if (eval ("lifeSaver" + i).hitTest(eval ("Boy" + j).mc_CRect)) { if (eval ("Boy" + j).mc_Boy._currentframe < 2) { eval ("Boy" + j).mc_Boy.gotoAndPlay(2); removeMovieClip(eval ("lifeSaver" + i)); iBoysLeft--; iScore = iScore + 50; aBoyTimer[j] = null; sCatch.start(0, 0); } } if (aBoyTimer[j] != null) { if ((--aBoyTimer[j]) <= 0) { removeMovieClip(eval ("Boy" + j)); aBoyTimer[j] = null; iBoysLeft++; sMiss.start(0, 0); } } j++; } i++; } } function checkNextLevel() { if (iBoysLeft > 0) { gameOver(false); } else { nextLevel(); } } function nextLevel() { if (iLevel != 10) { iLevel++; iLevelMax = iLevelMax + -50; iLevelMin = Math.floor(iLevelMax / 10); iSeconds = iSeconds + 50; if (iSeconds > 59) { iSeconds = iSeconds - 59; iMinutes++; } iBoysLeft = 5 * iLevel; mc_LevelOutput._visible = true; mc_LevelOutput.gotoAndPlay(2); sNewLevel.start(0, 0); } else { gameOver(true); } } function gameOver(iWin) { mc_Reward._visible = true; sendTrollars(); var i = 0; while (i < 10) { removeMovieClip(eval ("Boy" + i)); removeMovieClip(eval ("lifeSaver" + i)); i++; } if (iWin) { mc_Reward.gotoAndStop(2); } sBGM.stop(); sGameOver.start(0, 0); bWait = true; } function resetGame() { bWait = false; i_mouseX = _root._xmouse; i_mouseY = _root._ymouse; i_PlyrCurRot = player._rotation; distX = i_mouseX - player._x; distY = i_mouseY - player._y; iBobSpd = 1; iScore = 0; iAward = 0; iBoysLeft = 5; sTimeLeft = null; iSeconds = 0; iMinutes = 1; iLevelMax = 300; iLevelMin = 30; iLevel = 1; var _local2 = 0; while (_local2 < 10) { aBoyTimer[_local2] = null; _local2++; } iSaverIndex = 0; iBoyIndex = 0; iBoySpawnCounter = 300; mc_LevelOutput._visible = true; mc_LevelOutput.gotoAndPlay(2); sBGM.start(0, 0); } function handleTime() { var _local1 = null; var _local2 = null; if (!bWait) { if ((--iSeconds) < 0) { iSeconds = 59; if (iMinutes > 0) { iMinutes--; } else { checkNextLevel(); } } if (iSeconds < 10) { _local1 = "0" + iSeconds.toString(); } else { _local1 = iSeconds.toString(); } _local2 = iMinutes.toString(); sTimeLeft = (_local2 + ":") + _local1; } updateAfterEvent(); } function setSoundToggle(bool) { if (bool) { mainSound.setVolume(100); } else { mainSound.setVolume(0); } } function requestSoundToggle(bool) { receiveConn.send("trollz_sound_push", "setSound", bool); } var bWait = true; var i_mouseX = _root._xmouse; var i_mouseY = _root._ymouse; var i_PlyrCurRot = player._rotation; var distX = (i_mouseX - player._x); var distY = (i_mouseY - player._y); var degrees; var iLifeSaverX; var iLifeSaverY; var iBobSpd = 1; var iScore = 0; var iAward = 0; var iBoysLeft = 5; var sTimeLeft = null; var iSeconds = 0; var iMinutes = 1; var iLevelMax = 300; var iLevelMin = 30; var iLevel = 1; var aBoyTimer = new Array(); var iSaverIndex = 0; var aSaverSpdX = new Array(); var aSaverSpdY = new Array(); var iBoyIndex = 0; var iBoySpawnCounter = 100; onLoad = function () { }; var lMouseListener = new Object(); lMouseListener.onMouseDown = function () { throwLifeSaver(); }; Mouse.addListener(lMouseListener); var timeHandler = setInterval(handleTime, 1000); var sBGM = new Sound(this); sBGM.attachSound("BGM"); var sGameOver = new Sound(this); sGameOver.attachSound("GameOver"); var sNewLevel = new Sound(this); sNewLevel.attachSound("NewLevel"); var sThrow = new Sound(this); sThrow.attachSound("Throw"); var sCatch = new Sound(this); sCatch.attachSound("Catch"); var sMiss = new Sound(this); sMiss.attachSound("Miss"); sBGM.onSoundComplete = function () { sBGM.start(0, 0); }; receiveConn = new LocalConnection(); receiveChannel = "save_the_boys"; mainSound = new Sound(this); receiveConn.toggleSound = function (bool) { setSoundToggle(bool); clearInterval(soundCheck); }; do { receiveChannel = receiveChannel + "x"; var conSuccess = receiveConn.connect(receiveChannel); } while (conSuccess == false); setSoundToggle(false); soundCheck = setInterval(function () { receiveConn.send("trollz_sound_push", "registerChannel", receiveChannel); }, 500, this); setSoundToggle(true); onEnterFrame = function () { if (!bWait) { rotatePlayer(); bobPlayer(); moveSaver(); manageBoys(); } }; stop();
Instance of Symbol 17 MovieClip "mc_BoatRipples" in Frame 2
onClipEvent (enterFrame) { this._x = player._x; this._y = player._y; this._rotation = player._rotation; }
Instance of Symbol 29 MovieClip "mc_Mouse" in Frame 2
onClipEvent (load) { this._visible = false; } onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; }
Instance of Symbol 83 MovieClip "mc_LevelOutput" in Frame 2
onClipEvent (load) { this._visible = false; }
Instance of Symbol 93 MovieClip "mc_HelpPanel" in Frame 2
onClipEvent (load) { this._visible = false; }
Instance of Symbol 116 MovieClip "mc_Reward" in Frame 2
onClipEvent (load) { this._visible = false; }
Instance of Symbol 130 MovieClip [mc_Help] "mc_Help" in Frame 2
on (release, releaseOutside) { _parent.mc_HelpPanel._visible = true; _root.bWait = true; }
Instance of Symbol 133 MovieClip [mc_Quit] "mc_Quit" in Frame 2
on (release, releaseOutside) { _parent.sendTrollars(); clearInterval(_root.timeHandler); _level0.unloadGame(); }
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 5
gotoAndStop (1);
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 30
removeMovieClip(_parent);
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 30
removeMovieClip(_parent);
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 30
removeMovieClip(_parent);
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 30
removeMovieClip(_parent);
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 30
removeMovieClip(_parent);
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 69 MovieClip Frame 3
stop();
Symbol 69 MovieClip Frame 4
stop();
Symbol 69 MovieClip Frame 5
stop();
Symbol 83 MovieClip Frame 160
this._visible = false; this.gotoAndStop(1);
Instance of Symbol 88 MovieClip "mc_CloseBtn" in Symbol 93 MovieClip Frame 1
on (release, releaseOutside) { _parent._visible = false; _root.bWait = false; }
Symbol 102 Button
on (release) { this._visible = false; _parent.bGameOver = false; _root.getScore(); _parent.resetGame(); }
Symbol 114 Button
on (release, releaseOutside) { getURL ("http://www.trollz.com/", _blank); }
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 124 Button
on (release, releaseOutside) { _root.bWait = false; _root.sBGM.start(0, 0); _root.mc_LevelOutput._visible = true; _root.mc_LevelOutput.gotoAndPlay(2); this._visible = false; }
Symbol 125 MovieClip Frame 40
stop();

Library Items

Symbol 1 Sound [Throw]
Symbol 2 Sound [NewLevel]
Symbol 3 Sound [Miss]
Symbol 4 Sound [GameOver]
Symbol 5 Sound [Catch]
Symbol 6 Sound [BGM]
Symbol 7 GraphicUsed by:Timeline
Symbol 8 ShapeTweeningUsed by:11
Symbol 9 ShapeTweeningUsed by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:8 9 10Used by:Timeline
Symbol 12 ShapeTweeningUsed by:17
Symbol 13 ShapeTweeningUsed by:17
Symbol 14 ShapeTweeningUsed by:17
Symbol 15 ShapeTweeningUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:12 13 14 15 16Used by:Timeline
Symbol 18 GraphicUsed by:26
Symbol 19 GraphicUsed by:25 26 27 42 49 56 62 68
Symbol 20 GraphicUsed by:25
Symbol 21 GraphicUsed by:25
Symbol 22 GraphicUsed by:25
Symbol 23 GraphicUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:20 21 19 22 23 24Used by:26
Symbol 26 MovieClipUses:18 19 25Used by:Timeline
Symbol 27 MovieClipUses:19Used by:Timeline
Symbol 28 GraphicUsed by:29 125
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 ShapeTweeningUsed by:35
Symbol 31 ShapeTweeningUsed by:35
Symbol 32 ShapeTweeningUsed by:35
Symbol 33 ShapeTweeningUsed by:35
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:30 31 32 33 34Used by:42 49 56 62 68
Symbol 36 GraphicUsed by:42 43 49 56 62 68
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:39
Symbol 39 MovieClipUses:38Used by:42
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:42
Symbol 42 MovieClipUses:35 36 39 19 41Used by:69
Symbol 43 MovieClipUses:36Used by:69
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:46
Symbol 46 MovieClipUses:45Used by:49
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:49
Symbol 49 MovieClipUses:35 36 46 19 48Used by:69
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:52
Symbol 52 MovieClipUses:51Used by:56
Symbol 53 GraphicUsed by:56
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:56
Symbol 56 MovieClipUses:35 36 52 53 19 55Used by:69
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:59
Symbol 59 MovieClipUses:58Used by:62
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClipUses:35 36 59 19 61Used by:69
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:65
Symbol 65 MovieClipUses:64Used by:68
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 MovieClipUses:35 36 65 19 67Used by:69
Symbol 69 MovieClipUses:42 43 49 56 62 68Used by:Timeline
Symbol 70 GraphicUsed by:Timeline
Symbol 71 FontUsed by:72 73 74 75 76 77 78 79 81 87 89 94 115 120 123
Symbol 72 TextUses:71Used by:Timeline
Symbol 73 EditableTextUses:71Used by:Timeline
Symbol 74 TextUses:71Used by:Timeline
Symbol 75 TextUses:71Used by:Timeline
Symbol 76 EditableTextUses:71Used by:Timeline
Symbol 77 EditableTextUses:71Used by:Timeline
Symbol 78 EditableTextUses:71Used by:83
Symbol 79 TextUses:71Used by:83
Symbol 80 GraphicUsed by:83
Symbol 81 EditableTextUses:71Used by:83
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:78 79 80 81 82Used by:Timeline
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:93 116
Symbol 86 GraphicUsed by:88
Symbol 87 TextUses:71Used by:88
Symbol 88 MovieClipUses:86 87Used by:93
Symbol 89 TextUses:71Used by:93
Symbol 90 FontUsed by:92
Symbol 91 FontUsed by:92
Symbol 92 TextUses:90 91Used by:93
Symbol 93 MovieClipUses:85 88 89 92Used by:Timeline
Symbol 94 TextUses:71Used by:116
Symbol 95 GraphicUsed by:116
Symbol 96 GraphicUsed by:102
Symbol 97 GraphicUsed by:102
Symbol 98 FontUsed by:99 111
Symbol 99 TextUses:98Used by:102
Symbol 100 GraphicUsed by:102
Symbol 101 GraphicUsed by:102
Symbol 102 ButtonUses:96 97 99 100 101Used by:116
Symbol 103 GraphicUsed by:116
Symbol 104 GraphicUsed by:116
Symbol 105 FontUsed by:106
Symbol 106 EditableTextUses:105Used by:116
Symbol 107 FontUsed by:108
Symbol 108 TextUses:107Used by:116
Symbol 109 GraphicUsed by:114
Symbol 110 GraphicUsed by:114
Symbol 111 TextUses:98Used by:114
Symbol 112 GraphicUsed by:114
Symbol 113 GraphicUsed by:114
Symbol 114 ButtonUses:109 110 111 112 113Used by:116
Symbol 115 TextUses:71Used by:116
Symbol 116 MovieClipUses:94 95 85 102 103 104 106 108 114 115Used by:Timeline
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:125
Symbol 119 GraphicUsed by:124
Symbol 120 TextUses:71Used by:124
Symbol 121 GraphicUsed by:124
Symbol 122 GraphicUsed by:124
Symbol 123 TextUses:71Used by:124
Symbol 124 ButtonUses:119 120 121 122 123Used by:125
Symbol 125 MovieClipUses:28 118 124Used by:Timeline
Symbol 126 GraphicUsed by:130
Symbol 127 FontUsed by:128 132
Symbol 128 TextUses:127Used by:130
Symbol 129 GraphicUsed by:130 133
Symbol 130 MovieClip [mc_Help]Uses:126 128 129Used by:Timeline
Symbol 131 GraphicUsed by:133
Symbol 132 TextUses:127Used by:133
Symbol 133 MovieClip [mc_Quit]Uses:131 132 129Used by:Timeline

Instance Names

"mc_BoatRipples"Frame 2Symbol 17 MovieClip
"player"Frame 2Symbol 26 MovieClip
"mc_LifeSaver"Frame 2Symbol 27 MovieClip
"mc_Mouse"Frame 2Symbol 29 MovieClip
"mc_Boys"Frame 2Symbol 69 MovieClip
"mc_LevelOutput"Frame 2Symbol 83 MovieClip
"mc_HelpPanel"Frame 2Symbol 93 MovieClip
"mc_Reward"Frame 2Symbol 116 MovieClip
"mc_TitleScreen"Frame 2Symbol 125 MovieClip
"mc_Help"Frame 2Symbol 130 MovieClip [mc_Help]
"mc_Quit"Frame 2Symbol 133 MovieClip [mc_Quit]
"mc_Topaz"Symbol 26 MovieClip Frame 1Symbol 25 MovieClip
"mc_Boy"Symbol 69 MovieClip Frame 1Symbol 42 MovieClip
"mc_CRect"Symbol 69 MovieClip Frame 1Symbol 43 MovieClip
"mc_Boy"Symbol 69 MovieClip Frame 2Symbol 49 MovieClip
"mc_Boy"Symbol 69 MovieClip Frame 3Symbol 56 MovieClip
"mc_Boy"Symbol 69 MovieClip Frame 4Symbol 62 MovieClip
"mc_Boy"Symbol 69 MovieClip Frame 5Symbol 68 MovieClip
"mc_CloseBtn"Symbol 93 MovieClip Frame 1Symbol 88 MovieClip
"Score"Symbol 116 MovieClip Frame 1Symbol 106 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "Throw"
ExportAssets (56)Timeline Frame 1Symbol 2 as "NewLevel"
ExportAssets (56)Timeline Frame 1Symbol 3 as "Miss"
ExportAssets (56)Timeline Frame 1Symbol 4 as "GameOver"
ExportAssets (56)Timeline Frame 1Symbol 5 as "Catch"
ExportAssets (56)Timeline Frame 1Symbol 6 as "BGM"
ExportAssets (56)Timeline Frame 2Symbol 130 as "mc_Help"
ExportAssets (56)Timeline Frame 2Symbol 133 as "mc_Quit"

Dynamic Text Variables

iScoreSymbol 73 EditableText"9999"
sTimeLeftSymbol 76 EditableText"0:00"
iBoysLeftSymbol 77 EditableText"30"
_root.iLevelSymbol 78 EditableText"00"
_root.sTimeLeftSymbol 81 EditableText"0:00"




http://swfchan.com/23/113652/info.shtml
Created: 11/3 -2019 11:30:10 Last modified: 11/3 -2019 11:30:10 Server time: 05/11 -2024 14:52:10