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

rock-smash.swf

This is the info page for
Flash #26368

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


Text
Loading...

Rock Smash!

play

play

rules

rules

more games

more games

Rules

The aim of the game is to throw a rock
as far as you can killing as many
enemies as possible. Once your guy is in
the starting position the angle meter
will appear, press the DOWN arrow at
the right moment to choose your angle.
Then a power bar will appear. Press the
DOWN arrow as fast as you can to get
maximum power into your throw!

ANGLE

6

POWER

Score:

0

onlinegames.net

onlinegames.net

onlinegames.net

0

0

0

X

Throw again!

Throw again!

Throw again!

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 4
stop(); gravity = 1; ptim = 0; clod = false; restitution = 0.55; friction = 0.8; bkb = 0; leng = 0;
Instance of Symbol 49 MovieClip "m1" in Frame 4
onClipEvent (enterFrame) { _x = (_x - (_root.bkb / 10)); if (_x < -23) { _x = Number(random(Stage.width) + (Stage.width + 246)); } }
Instance of Symbol 49 MovieClip "m1" in Frame 4
onClipEvent (enterFrame) { _x = (_x - (_root.bkb / 10)); if (_x < -23) { _x = Number(random(Stage.width) + (Stage.width + 246)); } }
Instance of Symbol 51 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - (_root.bkb / 5)); if (_x < -24) { _x = (Stage.width + 741); } }
Instance of Symbol 51 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - (_root.bkb / 5)); if (_x < -24) { _x = (Stage.width + 741); } }
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); if (_x < -10) { _x = Number(random(Stage.width / 2) + (Stage.width + 10)); gotoAndStop (1); } }
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); }
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); if (_x < -10) { _x = Number(random(Stage.width) + (Stage.width + 10)); gotoAndStop (1); } }
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); if (_x < -10) { _x = Number(random(Stage.width) + (Stage.width + 10)); gotoAndStop (1); } }
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); if (_x < -10) { _x = Number(random(Stage.width) + (Stage.width + 10)); gotoAndStop (1); } }
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); if (_x < -10) { _x = Number(random(Stage.width) + (Stage.width + 10)); gotoAndStop (1); } }
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); if (_x < -10) { _x = Number(random(Stage.width) + (Stage.width + 10)); gotoAndStop (1); } }
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = (_x - _root.bkb); if (_x < -10) { _x = Number(random(Stage.width) + (Stage.width + 10)); gotoAndStop (1); } }
Instance of Symbol 139 MovieClip "rock" in Frame 4
onClipEvent (load) { radius = _width / 2; } onClipEvent (enterFrame) { if (_root.rgo == true) { _x = 217; _y = 364; _rotation = (_root.rockangle + Number(random(9) - 4)); thrust = Number(_root.rockpower / 1.2) + Number(random(11) - 5); speed = thrust; dx = speed * Math.sin(_rotation * (Math.PI/180)); dy = (speed * Math.cos(_rotation * (Math.PI/180))) * -1; _root.rgo = false; _root.snd.gotoAndPlay(2); _root.rockactive = true; } if (_root.rockactive == true) { _root.ptim++; if (((dx <= 0.5) and (dy <= 0.5)) and (_root.ptim > 55)) { _root.nextFrame(); } dy = dy + _root.gravity; _x = (_x + dx); _y = (_y + dy); if ((_y + radius) > Stage.height) { _y = (Stage.height - radius); dy = dy * (-_root.restitution); dx = dx * _root.friction; } if ((_x + radius) > Stage.width) { _x = (Stage.width - radius); dx = dx * (-_root.restitution); } if (_x < radius) { _x = radius; dx = dx * (-_root.restitution); } if (_x >= (Stage.width / 2)) { _root.bkb = _x - (Stage.width / 2); _x = (_x - _root.bkb); _root.leng = _root.leng + _root.bkb; } } }
Frame 5
_root.leng = Number(_root.leng) / 10; _root.leng = Math.round(_root.leng); _root.leng2 = "Distance Score: " + _root.leng; _root.score2 = "Kill Score: " + _root.score; _root.tot2 = 0; _root.qtot = Number(_root.leng) * Number(_root.score);
Instance of Symbol 156 MovieClip in Frame 5
onClipEvent (enterFrame) { if (_root.tot2 < _root.qtot) { _root.tot2 = Number(_root.tot2) + (_root.qtot / 100); } else { _root.tot = "Total Score: " + Math.round(_root.qtot); } _root.tot = "Total Score: " + Math.round(_root.tot2); }
Symbol 9 Button
on (release) { getURL ("http://www.onlinegames.net", "_blank"); }
Symbol 19 MovieClip Frame 177
stop();
Instance of Symbol 18 MovieClip in Symbol 19 MovieClip Frame 177
onClipEvent (enterFrame) { if (_root.getBytesLoaded() >= _root.getBytesTotal()) { with (_level0) { nextFrame(); } } }
Symbol 29 Button
on (release, keyPress "<Enter>") { gotoAndStop (4); }
Symbol 35 Button
on (release) { nextFrame(); }
Symbol 42 Button
on (release) { getURL ("http://www.onlinegames.net", "_blank"); }
Symbol 46 Button
on (release, keyPress "<Enter>") { nextFrame(); }
Symbol 68 Button
on (release, keyPress "<Down>") { _root.rockangle = arrow._rotation; nextFrame(); }
Symbol 74 Button
on (release) { pbar._xscale = pbar._xscale + 6.6; }
Instance of Symbol 76 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (load) { numc = 0; cnum = 6; } onClipEvent (enterFrame) { if (cnum == 0) { numc = 0; cnum = 1; _root.rockpower = _parent._parent.pbar._xscale; _parent._parent.nextFrame(); } if (numc >= 18) { numc = 0; cnum = cnum - 1; _xscale = 100; _yscale = 100; _alpha = 100; } numc++; _xscale = (_xscale - 3); _yscale = (_yscale - 3); _alpha = (_alpha - 3); }
Symbol 82 MovieClip Frame 33
stop();
Instance of Symbol 66 MovieClip "arrow" in Symbol 82 MovieClip Frame 33
onClipEvent (load) { rnum = 10; } onClipEvent (enterFrame) { _rotation = (_rotation + rnum); if (_rotation > 90) { rnum = -10; } if (_rotation < 0) { rnum = 10; } }
Instance of Symbol 73 MovieClip "pbar" in Symbol 82 MovieClip Frame 34
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.clod == false) { _root.clod = true; _xscale = (_xscale + 10); } } else { _root.clod = false; } _xscale = (_xscale - 3); if (_xscale >= 100) { _xscale = 100; } if (_xscale <= 10) { _xscale = 10; } }
Symbol 82 MovieClip Frame 35
play();
Symbol 82 MovieClip Frame 37
stop(); _root.rgo = true;
Symbol 137 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) { headx = _x + _parent._x; heady = _y + _parent._y; if ((((_root.rock._x < (headx - _width)) or (_root.rock._x > (headx + _width))) or (_root.rock._y < (heady - _height))) or (_root.rock._y > (heady + _height))) { } else { _parent.gotoAndPlay("head1"); } }
Instance of Symbol 86 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) { headx = _x + _parent._x; heady = _y + _parent._y; if ((((_root.rock._x < (headx - _width)) or (_root.rock._x > (headx + _width))) or (_root.rock._y < (heady - _height))) or (_root.rock._y > (heady + _height))) { } else { _parent.gotoAndPlay("spine1"); } }
Instance of Symbol 88 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) { headx = _x + _parent._x; heady = _y + _parent._y; if ((((_root.rock._x < (headx - _width)) or (_root.rock._x > (headx + _width))) or (_root.rock._y < (heady - _height))) or (_root.rock._y > (heady + _height))) { } else { _parent.gotoAndPlay("torso" + Number(random(2) + 1)); } }
Symbol 137 MovieClip Frame 3
_root.score = Number(_root.score) + 3;
Symbol 137 MovieClip Frame 17
stop();
Symbol 137 MovieClip Frame 19
_root.score++; _root.score = Number(_root.score) + 1;
Symbol 137 MovieClip Frame 25
stop();
Symbol 137 MovieClip Frame 27
_root.score++; _root.score = Number(_root.score) + 1;
Symbol 137 MovieClip Frame 32
stop();
Symbol 137 MovieClip Frame 34
_root.score++; _root.score = Number(_root.score) + 1;
Symbol 137 MovieClip Frame 48
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 5
stopAllSounds(); gotoAndStop (1);
Symbol 150 Button
on (release) { getURL ("http://www.onlinegames.net", "_blank"); }
Symbol 161 Button
on (release, keyPress "<Enter>") { _root.tot = 0; _root.xout = false; _root.score = "0"; _root.leng = 0; _root.clod = false; _root.tot2 = 0; _root.ptim = 0; _root.qtot = 0; _root.rockactive = false; stopAllSounds(); gotoAndStop (4); stopAllSounds(); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:19
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:19
Symbol 5 ShapeTweeningUsed by:19
Symbol 6 GraphicUsed by:19
Symbol 7 GraphicUsed by:19
Symbol 8 GraphicUsed by:9
Symbol 9 ButtonUses:8Used by:19
Symbol 10 SoundUsed by:19
Symbol 11 GraphicUsed by:19
Symbol 12 ShapeTweeningUsed by:19
Symbol 13 GraphicUsed by:19
Symbol 14 GraphicUsed by:19
Symbol 15 GraphicUsed by:19
Symbol 16 FontUsed by:17
Symbol 17 TextUses:16Used by:18
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClipUses:2 4 5 6 7 9 10 11 12 13 14 15 18Used by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 FontUsed by:22 24 26 31 33 37 39 44 45
Symbol 22 TextUses:21Used by:Timeline
Symbol 23 GraphicUsed by:29 46
Symbol 24 TextUses:21Used by:29 35 46
Symbol 25 GraphicUsed by:29 46
Symbol 26 TextUses:21Used by:29 46
Symbol 27 GraphicUsed by:29 46
Symbol 28 GraphicUsed by:29 35 46
Symbol 29 ButtonUses:23 24 25 26 27 28Used by:Timeline
Symbol 30 GraphicUsed by:35
Symbol 31 TextUses:21Used by:35
Symbol 32 GraphicUsed by:35
Symbol 33 TextUses:21Used by:35
Symbol 34 GraphicUsed by:35
Symbol 35 ButtonUses:30 31 32 33 34 28 24Used by:Timeline
Symbol 36 GraphicUsed by:42
Symbol 37 TextUses:21Used by:42
Symbol 38 GraphicUsed by:42
Symbol 39 TextUses:21Used by:42
Symbol 40 GraphicUsed by:42
Symbol 41 GraphicUsed by:42
Symbol 42 ButtonUses:36 37 38 39 40 41Used by:Timeline
Symbol 43 GraphicUsed by:Timeline
Symbol 44 TextUses:21Used by:Timeline
Symbol 45 TextUses:21Used by:Timeline
Symbol 46 ButtonUses:23 24 25 26 27 28Used by:Timeline
Symbol 47 GraphicUsed by:Timeline
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:Timeline
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:Timeline
Symbol 52 GraphicUsed by:Timeline
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:Timeline
Symbol 55 GraphicUsed by:82
Symbol 56 GraphicUsed by:82 84
Symbol 57 GraphicUsed by:82
Symbol 58 GraphicUsed by:82
Symbol 59 GraphicUsed by:82
Symbol 60 GraphicUsed by:82
Symbol 61 GraphicUsed by:82
Symbol 62 GraphicUsed by:82
Symbol 63 GraphicUsed by:82
Symbol 64 GraphicUsed by:82
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:82
Symbol 67 GraphicUsed by:68 74
Symbol 68 ButtonUses:67Used by:82
Symbol 69 FontUsed by:70 75 78 143 144 152 153 154 155 157 158 159
Symbol 70 TextUses:69Used by:82
Symbol 71 GraphicUsed by:82
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:82
Symbol 74 ButtonUses:67Used by:82
Symbol 75 EditableTextUses:69Used by:76
Symbol 76 MovieClipUses:75Used by:77
Symbol 77 MovieClipUses:76Used by:82
Symbol 78 TextUses:69Used by:82
Symbol 79 GraphicUsed by:82
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:55 56 57 58 59 60 61 62 63 64 66 68 70 71 73 74 77 78 79 80 81Used by:Timeline
Symbol 83 GraphicUsed by:137
Symbol 84 MovieClipUses:56Used by:137
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:137
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:137
Symbol 89 GraphicUsed by:137
Symbol 90 SoundUsed by:137
Symbol 91 GraphicUsed by:137
Symbol 92 GraphicUsed by:137
Symbol 93 GraphicUsed by:137
Symbol 94 GraphicUsed by:137
Symbol 95 GraphicUsed by:137
Symbol 96 GraphicUsed by:137
Symbol 97 GraphicUsed by:137
Symbol 98 GraphicUsed by:137
Symbol 99 GraphicUsed by:137
Symbol 100 GraphicUsed by:137
Symbol 101 GraphicUsed by:137
Symbol 102 GraphicUsed by:137
Symbol 103 GraphicUsed by:137
Symbol 104 GraphicUsed by:137
Symbol 105 GraphicUsed by:137
Symbol 106 GraphicUsed by:137
Symbol 107 GraphicUsed by:137
Symbol 108 GraphicUsed by:137
Symbol 109 GraphicUsed by:137
Symbol 110 GraphicUsed by:137
Symbol 111 GraphicUsed by:137
Symbol 112 GraphicUsed by:137
Symbol 113 GraphicUsed by:137
Symbol 114 GraphicUsed by:137
Symbol 115 GraphicUsed by:137
Symbol 116 GraphicUsed by:137
Symbol 117 GraphicUsed by:137
Symbol 118 GraphicUsed by:137
Symbol 119 GraphicUsed by:137
Symbol 120 GraphicUsed by:137
Symbol 121 GraphicUsed by:137
Symbol 122 GraphicUsed by:137
Symbol 123 GraphicUsed by:137
Symbol 124 GraphicUsed by:137
Symbol 125 GraphicUsed by:137
Symbol 126 GraphicUsed by:137
Symbol 127 GraphicUsed by:137
Symbol 128 GraphicUsed by:137
Symbol 129 GraphicUsed by:137
Symbol 130 GraphicUsed by:137
Symbol 131 GraphicUsed by:137
Symbol 132 GraphicUsed by:137
Symbol 133 GraphicUsed by:137
Symbol 134 GraphicUsed by:137
Symbol 135 GraphicUsed by:137
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:83 84 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136Used by:Timeline
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:Timeline
Symbol 140 GraphicUsed by:142
Symbol 141 SoundUsed by:142
Symbol 142 MovieClipUses:140 141Used by:Timeline
Symbol 143 TextUses:69Used by:Timeline
Symbol 144 EditableTextUses:69Used by:Timeline
Symbol 145 FontUsed by:146 147 148
Symbol 146 TextUses:145Used by:150
Symbol 147 TextUses:145Used by:150
Symbol 148 TextUses:145Used by:150
Symbol 149 GraphicUsed by:150
Symbol 150 ButtonUses:146 147 148 149Used by:Timeline
Symbol 151 GraphicUsed by:Timeline
Symbol 152 EditableTextUses:69Used by:Timeline
Symbol 153 EditableTextUses:69Used by:Timeline
Symbol 154 EditableTextUses:69Used by:Timeline
Symbol 155 TextUses:69Used by:156
Symbol 156 MovieClipUses:155Used by:Timeline
Symbol 157 TextUses:69Used by:161
Symbol 158 TextUses:69Used by:161
Symbol 159 TextUses:69Used by:161
Symbol 160 GraphicUsed by:161
Symbol 161 ButtonUses:157 158 159 160Used by:Timeline

Instance Names

"m1"Frame 4Symbol 49 MovieClip
"m1"Frame 4Symbol 49 MovieClip
"rock"Frame 4Symbol 139 MovieClip
"snd"Frame 4Symbol 142 MovieClip
"arrow"Symbol 82 MovieClip Frame 33Symbol 66 MovieClip
"pbar"Symbol 82 MovieClip Frame 34Symbol 73 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$p3$trXnm5UxUOczJNBTRlvup1."

Labels

"head1"Symbol 137 MovieClip Frame 2
"spine1"Symbol 137 MovieClip Frame 18
"torso1"Symbol 137 MovieClip Frame 26
"torso2"Symbol 137 MovieClip Frame 33

Dynamic Text Variables

cnumSymbol 75 EditableText"6"
scoreSymbol 144 EditableText"0"
score2Symbol 152 EditableText"0"
leng2Symbol 153 EditableText"0"
totSymbol 154 EditableText"0"




http://swfchan.com/6/26368/info.shtml
Created: 22/5 -2019 18:30:06 Last modified: 22/5 -2019 18:30:06 Server time: 22/12 -2024 07:52:31