STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229671 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #26579 |
Preloader and intro by steel shot |
ActionScript [AS1/AS2]
Frame 2stop();Frame 3enemyFish._visible = false; fishies = new Array(); fishMade = (d = (score = 0)); minimumFishOnScreen = 7; maximumFishOnScreen = 18; frame = _currentframe; stop(); _root.onEnterFrame = function () { if (_currentframe == frame) { if (_root.fish._width < Stage.width) { fishFound = 0; i = 0; while (i < fishies.length) { if (fishies[i] == 1) { fishFound++; } i++; } if (fishFound < minimumFishOnScreen) { chanceOfNewFishComing = 0; } else if (fishFound < maximumFishOnScreen) { chanceOfNewFishComing = random(60); } if (chanceOfNewFishComing == 0) { enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true}); fishies[fishMade] = 1; fishMade++; } i = 0; while (i < fishies.length) { if (fishies[i] == 1) { _root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed; if (_root["newEnemyFish" + i].hitTest(_root.fish)) { if (_root["newEnemyFish" + i].scale <= _root.fish.scale) { fish.scale = fish.scale + 5; score = score + _root["newEnemyFish" + i].scale; removeMovieClip(_root["newEnemyFish" + i]); fishies[i] = 0; } else { nextFrame(); clearScreen(); } } if (_root["newEnemyFish" + i].left == 1) { if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) { fishies[i] = 0; removeMovieClip(_root["newEnemyFish" + i]); } } else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) { fishies[i] = 0; removeMovieClip(_root["newEnemyFish" + i]); } } i++; } } else { _root.gotoAndStop(_currentframe + 2); } } }; clearScreen = function () { i = 0; while (i < fishies.length) { removeMovieClip(_root["newEnemyFish" + i]); i++; } fishies = new Array(); fishMade = 0; };Instance of Symbol 66 MovieClip "enemyFish" in Frame 3onClipEvent (load) { if (_name != "enemyFish") { _yscale = ((xscale = scale)); if (left == 1) { speed = speed * -1; _xscale = xscale; _x = (Stage.width + _width); } else { _xscale = (-xscale); _x = (-_width); } } }Instance of Symbol 76 MovieClip "fish" in Frame 3onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.225; maxSpeed = 13; scale = 100; facingRight = false; } onClipEvent (enterFrame) { _x = (_x - xspeed); _y = (_y - yspeed); _yscale = scale; xscale = scale; if (!goingForward) { _xscale = (-xscale); } else { _xscale = xscale; } if (Key.isDown(37)) { goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } if (_x > (Stage.width + (_width / 2))) { _x = (-(_width / 2)); } else if (_x < (-(_width / 2))) { _x = (Stage.width + (_width / 2)); } if (_y > Stage.height) { _y = Stage.height; yspeed = 0; } else if (_y < 0) { _y = 0; yspeed = 0; } }Frame 4results = "You have lost. Your final score was: " + score;Frame 5results = "You have won! Your final score was: " + score;Symbol 8 MovieClip Frame 120stop();Symbol 21 Buttonon (release) { getURL ("http://cybermonkeystudios.sslpowered.com/index.htm", "_bank", "GET"); }Symbol 42 Buttonon (release) { _root.play(); }Symbol 43 MovieClip Frame 1_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }Symbol 43 MovieClip Frame 2gotoAndPlay (1);Symbol 49 Buttonon (release) { gotoAndStop (3); }Symbol 88 MovieClip Frame 343stop();Symbol 93 Buttonon (release) { gotoAndStop (2); }Symbol 98 MovieClip Frame 155stop();
Library Items
Symbol 1 Graphic | Used by:43 | |
Symbol 2 Graphic | Used by:10 | |
Symbol 3 Graphic | Used by:8 10 | |
Symbol 4 Graphic | Used by:8 10 | |
Symbol 5 Font | Used by:6 | |
Symbol 6 Text | Uses:5 | Used by:8 10 |
Symbol 7 Graphic | Used by:8 10 | |
Symbol 8 MovieClip | Uses:3 4 6 7 | Used by:10 |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 Button | Uses:2 8 9 3 4 6 7 | Used by:43 |
Symbol 11 Graphic | Used by:12 | |
Symbol 12 MovieClip | Uses:11 | Used by:43 |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip | Uses:13 | Used by:43 |
Symbol 15 Bitmap | Used by:16 | |
Symbol 16 Graphic | Uses:15 | Used by:21 |
Symbol 17 Bitmap | Used by:18 19 | |
Symbol 18 Graphic | Uses:17 | Used by:21 |
Symbol 19 Graphic | Uses:17 | Used by:21 |
Symbol 20 Graphic | Used by:21 | |
Symbol 21 Button | Uses:16 18 19 20 | Used by:43 |
Symbol 22 Graphic | Used by:43 | |
Symbol 23 Graphic | Used by:43 | |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:24 | Used by:43 |
Symbol 26 Graphic | Used by:27 42 | |
Symbol 27 MovieClip | Uses:26 | Used by:37 41 43 |
Symbol 28 Graphic | Used by:29 | |
Symbol 29 MovieClip | Uses:28 | Used by:43 |
Symbol 30 Graphic | Used by:43 | |
Symbol 31 Graphic | Used by:32 | |
Symbol 32 MovieClip | Uses:31 | Used by:43 |
Symbol 33 Graphic | Used by:37 41 42 43 | |
Symbol 34 Graphic | Used by:35 42 | |
Symbol 35 MovieClip | Uses:34 | Used by:37 41 43 |
Symbol 36 Graphic | Used by:43 | |
Symbol 37 MovieClip | Uses:33 35 27 | Used by:42 |
Symbol 38 Graphic | Used by:39 42 | |
Symbol 39 MovieClip | Uses:38 | Used by:42 |
Symbol 40 Graphic | Used by:42 | |
Symbol 41 MovieClip | Uses:33 35 27 | Used by:42 |
Symbol 42 Button | Uses:37 39 40 41 33 34 26 38 | Used by:43 |
Symbol 43 MovieClip | Uses:1 10 12 14 21 22 23 25 27 29 30 32 33 35 36 42 | Used by:Timeline |
Symbol 44 Graphic | Used by:Timeline | |
Symbol 45 Graphic | Used by:46 | |
Symbol 46 MovieClip | Uses:45 | Used by:Timeline |
Symbol 47 Graphic | Used by:49 | |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 Button | Uses:47 48 | Used by:Timeline |
Symbol 50 Graphic | Used by:Timeline | |
Symbol 51 Graphic | Used by:52 | |
Symbol 52 MovieClip | Uses:51 SS1 | Used by:Timeline |
Symbol 53 Graphic | Used by:Timeline | |
Symbol 54 Graphic | Used by:66 | |
Symbol 55 Graphic | Used by:66 | |
Symbol 56 Graphic | Used by:66 | |
Symbol 57 Graphic | Used by:66 | |
Symbol 58 Graphic | Used by:66 | |
Symbol 59 Graphic | Used by:66 | |
Symbol 60 Graphic | Used by:66 | |
Symbol 61 Graphic | Used by:66 | |
Symbol 62 Graphic | Used by:66 | |
Symbol 63 Graphic | Used by:66 | |
Symbol 64 Graphic | Used by:66 | |
Symbol 65 Graphic | Used by:66 | |
Symbol 66 MovieClip | Uses:54 55 56 57 58 59 60 61 62 63 64 65 | Used by:Timeline |
Symbol 67 Graphic | Used by:75 | |
Symbol 68 Graphic | Used by:75 | |
Symbol 69 Graphic | Used by:75 | |
Symbol 70 Graphic | Used by:75 | |
Symbol 71 Graphic | Used by:75 | |
Symbol 72 Graphic | Used by:75 | |
Symbol 73 Graphic | Used by:75 | |
Symbol 74 Graphic | Used by:75 | |
Symbol 75 MovieClip | Uses:67 68 69 70 71 72 73 74 | Used by:76 |
Symbol 76 MovieClip | Uses:75 | Used by:Timeline |
Symbol 77 Graphic | Used by:80 | |
Symbol 78 Graphic | Used by:80 83 | |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip | Uses:77 78 79 | Used by:Timeline |
Symbol 81 Graphic | Used by:83 | |
Symbol 82 Graphic | Used by:83 | |
Symbol 83 MovieClip | Uses:81 78 82 | Used by:Timeline |
Symbol 84 Font | Used by:85 101 | |
Symbol 85 EditableText | Uses:84 | Used by:Timeline |
Symbol 86 Graphic | Used by:Timeline | |
Symbol 87 Graphic | Used by:88 | |
Symbol 88 MovieClip | Uses:87 SS2 | Used by:Timeline |
Symbol 89 Graphic | Used by:Timeline | |
Symbol 90 Graphic | Used by:93 | |
Symbol 91 Graphic | Used by:93 | |
Symbol 92 Graphic | Used by:93 | |
Symbol 93 Button | Uses:90 91 92 | Used by:Timeline |
Symbol 94 Font | Used by:95 | |
Symbol 95 EditableText | Uses:94 | Used by:Timeline |
Symbol 96 Graphic | Used by:Timeline | |
Symbol 97 Graphic | Used by:98 | |
Symbol 98 MovieClip | Uses:97 SS3 | Used by:Timeline |
Symbol 99 Graphic | Used by:Timeline | |
Symbol 100 Graphic | Used by:Timeline | |
Symbol 101 EditableText | Uses:84 | Used by:Timeline |
Streaming Sound 1 | Used by:Symbol 52 MovieClip | |
Streaming Sound 2 | Used by:Symbol 88 MovieClip | |
Streaming Sound 3 | Used by:Symbol 98 MovieClip |
Instance Names
"enemyFish" | Frame 3 | Symbol 66 MovieClip |
"fish" | Frame 3 | Symbol 76 MovieClip |
"bar" | Symbol 43 MovieClip Frame 1 | Symbol 32 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
Labels
"loaded" | Symbol 43 MovieClip Frame 3 |
Dynamic Text Variables
score | Symbol 85 EditableText | "" |
results | Symbol 95 EditableText | "" |
results | Symbol 101 EditableText | "" |
|