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/43454758?noj=FRM43454758-22DC" width="1" height="1"></div>

hit-crazy-frog.swf

This is the info page for
Flash #111818

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


Text
0

http://HateThatFrog.DesktopCreatures.com

ActionScript [AS1/AS2]

Frame 1
function addObjects() { i = 2; while (i < 100) { _root.object1.duplicateMovieClip("object" + i, 800 + i); _root["object" + i]._x = _root["object" + i]._x - ((i * 200) - 200); _root["object" + i].distance.text = "" + i; i++; } i = 2; while (i < 20) { _root.objectB1.duplicateMovieClip("objectB" + i, 200 + i); _root["objectB" + i]._x = _root["objectB" + i]._x - ((i * 600) - 600); _root["objectB" + i].distance.text = "" + i; i++; } i = 2; while (i < 30) { _root.objectC1.duplicateMovieClip("objectC" + i, 100 + i); _root["objectC" + i]._x = _root["objectC" + i]._x - ((i * 456) - 456); _root["objectC" + i].distance.text = "" + i; i++; } global_sound.attachSound("pump"); global_sound.start(); } function removeObjects() { i = 2; while (i < 100) { _root["object" + i].removeMovieClip(); i++; } _root.object1._x = 695; i = 2; while (i < 20) { _root["objectB" + i].removeMovieClip(); i++; } _root.objectB1._x = 352.4; i = 2; while (i < 30) { _root["objectC" + i].removeMovieClip(); i++; } _root.objectC1._x = 272.1; _root.city._x = 31.5; _root.clouds._x = -272; _root.ladder._x = 532; _root.gun._x = 753.8; } stage = 0; _quality = "LOW"; global_sound = new Sound(); global_sound.setVolume(100); mouseListener = new Object(); mouseListener.onMouseDown = function () { trace(stage); if (stage == 0) { _root.frog.isActive = 1; _root.frog.v = -5; _root.frog.gotoAndStop(2); global_sound.attachSound("jump"); global_sound.start(); } if (stage == 1) { a = _root.frog._y; b = _root.sweetSpot._y; c = b + _root.sweetSpot._height; d = a - b; e = (a - c) / 4; if ((a > b) and (a < c)) { _root.gun.gotoAndPlay(1); _root.frog.gotoAndStop(3); global_sound.attachSound("hit"); global_sound.attachSound("shotgun"); global_sound.start(); _root.frog.v = e * 1.5; _root.frog.h = (-d) - ((e * 2) + (90 + random(150))); if (_root.frog.h > 0) { _root.frog.h = 0; } } else { stage = 4; } } if (stage == 3) { _root.frog.isActive = 0; _root.frog.v = 0; _root.frog.h = 0; _root.frog.gotoAndStop(1); _root.frog._x = 610; _root.frog._y = 120; _root.frog.bounces = 1; global_sound.stop(); stage = -1; removeObjects(); addObjects(); } if (stage < 2) { stage++; } }; Mouse.addListener(mouseListener); removeObjects(); addObjects();
Instance of Symbol 48 MovieClip "frog" in Frame 1
onClipEvent (load) { h = 0; v = 0; isActive = 0; swapDepths(400); bounces = 1; } onClipEvent (enterFrame) { _root.gun._rotation = 130 - (_y / 2); if (isActive == 1) { if (v < 60) { v = v + 1; } if (_x > 200) { _x = (_x + h); } else { _x = 200; i = 1; while (i <= 100) { _root["object" + i]._x = _root["object" + i]._x - (h / 3); i++; } i = 1; while (i <= 20) { _root["objectB" + i]._x = _root["objectB" + i]._x - (h / 5); i++; } i = 1; while (i <= 30) { _root["objectC" + i]._x = _root["objectC" + i]._x - (h / 5); i++; } _root.clouds._x = _root.clouds._x - (h / 300); _root.city._x = _root.city._x - (h / 100); _root.ladder._x = _root.ladder._x - h; _root.gun._x = _root.gun._x - h; } if (_root.stage == 2) { if (_y < 200) { _rotation = (_rotation - rotspeed); if (rotspeed < 20) { rotspeed = rotspeed + 2; } } else { rotspeed = 0; _rotation = (-(v * 2)); } } _y = (_y + v); if ((_y + v) > 300) { if (v > 28) { v = 0; h = 0; isActive = 0; _root.stage = 3; _root.global_sound.attachSound("bounce" + bounces); _root.global_sound.start(); _rotation = 0; gotoAndStop (4); } else if (v > 1) { h = h / 1.2; trace((int(h) + " ") + int(v)); v = (-v) / 1.2; _root.global_sound.attachSound("bounce" + bounces); _root.global_sound.start(); bounces = random(6); if (_root.stage == 1) { v = 0; h = 0; _root.stage = 3; isActive = 0; } } else { _root.global_sound.attachSound("end"); _root.global_sound.start(); isActive = 0; _root.stage = 3; v = 0; } } } }
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 3
gotoAndStop (1);
Symbol 48 MovieClip Frame 1
stop();

Library Items

Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClipUses:13Used by:Timeline
Symbol 15 GraphicUsed by:18
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:18
Symbol 18 MovieClipUses:15 17Used by:19
Symbol 19 MovieClipUses:18Used by:Timeline
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:22
Symbol 22 MovieClipUses:21Used by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:25
Symbol 25 MovieClipUses:24Used by:Timeline
Symbol 26 GraphicUsed by:29
Symbol 27 FontUsed by:28
Symbol 28 EditableTextUses:27Used by:29
Symbol 29 MovieClipUses:26 28Used by:Timeline
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 GraphicUsed by:Timeline
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:Timeline
Symbol 36 GraphicUsed by:39
Symbol 37 GraphicUsed by:39
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:36 37 38Used by:Timeline
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:48
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:48
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:48
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:48
Symbol 48 MovieClipUses:41 43 45 47Used by:Timeline
Symbol 49 FontUsed by:50
Symbol 50 TextUses:49Used by:51
Symbol 51 MovieClipUses:50Used by:Timeline
Symbol 1 Sound [bounce5]
Symbol 2 Sound [bounce4]
Symbol 3 Sound [bounce3]
Symbol 4 Sound [bounce2]
Symbol 5 Sound [bounce1]
Symbol 6 Sound [end]
Symbol 7 Sound [hit]
Symbol 8 Sound [bounce6]
Symbol 9 Sound [jump]
Symbol 10 Sound [shotgun]
Symbol 11 Sound [pump]

Instance Names

"clouds"Frame 1Symbol 14 MovieClip
"city"Frame 1Symbol 19 MovieClip
"objectC1"Frame 1Symbol 22 MovieClip
"objectB1"Frame 1Symbol 25 MovieClip
"object1"Frame 1Symbol 29 MovieClip
"ladder"Frame 1Symbol 32 MovieClip
"sweetSpot"Frame 1Symbol 35 MovieClip
"gun"Frame 1Symbol 39 MovieClip
"frog"Frame 1Symbol 48 MovieClip
"distance"Symbol 29 MovieClip Frame 1Symbol 28 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "bounce5"
ExportAssets (56)Timeline Frame 1Symbol 2 as "bounce4"
ExportAssets (56)Timeline Frame 1Symbol 3 as "bounce3"
ExportAssets (56)Timeline Frame 1Symbol 4 as "bounce2"
ExportAssets (56)Timeline Frame 1Symbol 5 as "bounce1"
ExportAssets (56)Timeline Frame 1Symbol 6 as "end"
ExportAssets (56)Timeline Frame 1Symbol 7 as "hit"
ExportAssets (56)Timeline Frame 1Symbol 8 as "bounce6"
ExportAssets (56)Timeline Frame 1Symbol 9 as "jump"
ExportAssets (56)Timeline Frame 1Symbol 10 as "shotgun"
ExportAssets (56)Timeline Frame 1Symbol 11 as "pump"




http://swfchan.com/23/111818/info.shtml
Created: 12/3 -2019 17:35:13 Last modified: 12/3 -2019 17:35:13 Server time: 22/12 -2024 04:18:00