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

Zombie Attack R.swf

This is the info page for
Flash #68267

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


Text
0

0

0

0

ActionScript [AS1/AS2]

Frame 1
stop(); _root.runners = true; _root.bkg = 1; _root.difficulty = 3;
Frame 2
stop();
Instance of Symbol 23 MovieClip in Frame 2
onClipEvent (enterFrame) { if (_root.runners) { gotoAndStop (1); } else { gotoAndStop (2); } }
Instance of Symbol 32 MovieClip in Frame 2
onClipEvent (load) { stop(); } onClipEvent (enterFrame) { gotoAndStop(_root.bkg); }
Instance of Symbol 41 MovieClip in Frame 2
onClipEvent (load) { stop(); } onClipEvent (enterFrame) { gotoAndStop(_root.difficulty); }
Frame 3
stop(); Mouse.hide(); score = 0; rscore = 0; bullets = 0; final = 0; bc = 10000; d = 0; i = 0; spawnrate = 30 - (_root.difficulty * 5); onMouseDown = function () { bullets++; bc++; if (bc > 10025) { bc = 10000; } duplicateMovieClip ("bullet", "b" + bc, bc); }; onEnterFrame = function () { i++; if (random(spawnrate) == 0) { if (random(5) == 0) { if (_root.runners) { duplicateMovieClip (_root.runner, "runner" + i, i); } } else { duplicateMovieClip (_root.enemy, "enemy" + i, i); } } if (i > 300) { i = 0; } };
Instance of Symbol 47 MovieClip in Frame 3
onClipEvent (load) { gotoAndStop(_root.bkg); }
Instance of Symbol 49 MovieClip "player" in Frame 3
onClipEvent (load) { this._x = Stage.width / 2; this._y = Stage.height / 2; speed = 3.5; } onClipEvent (enterFrame) { if (Key.isDown(87)) { if (this._y > (30 + speed)) { this._y = this._y - speed; } else { this._y = 30; } } else if (Key.isDown(83)) { if (this._y < ((Stage.height - 30) - speed)) { this._y = this._y + speed; } else { this._y = Stage.height - 30; } } if (Key.isDown(65)) { if (this._x > (30 + speed)) { this._x = this._x - speed; } else { this._x = 30; } } else if (Key.isDown(68)) { if (this._x < ((Stage.width - 30) - speed)) { this._x = this._x + speed; } else { this._x = Stage.width - 30; } } } onClipEvent (mouseMove) { Xd = _root._xmouse - _x; Yd = _root._ymouse - _y; radAngle = Math.atan2(Yd, Xd); _rotation = int(((radAngle * 180) / Math.PI) + 90); updateAfterEvent(); }
Instance of Symbol 51 MovieClip "bullet" in Frame 3
onClipEvent (load) { spd = 30; _x = _root.player._x; _y = _root.player._y; _rotation = _root.player._rotation; } onClipEvent (enterFrame) { if (_name == "bullet") { this._x = this._x - 4000; } else if (_rotation > 180) { _y = (_y + (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (spd * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (spd * Math.sin((Math.PI/180) * _rotation))); } if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) { this.removeMovieClip(); } }
Instance of Symbol 54 MovieClip "enemy" in Frame 3
onClipEvent (load) { stop(); b = random(3); if (b == 0) { this._x = Stage.width + this._width; this._y = random(Stage.height); } else if (b == 1) { this._x = -this._width; this._y = random(Stage.height); } else if (b == 2) { this._y = Stage.width + this._width; this._x = random(Stage.width); } else if (b == 3) { this._y = -this._width; this._x = random(Stage.width); } speed = 2.5; } onClipEvent (enterFrame) { if (this._currentframe == 1) { Xd = _root.player._x - _x; Yd = _root.player._y - _y; radAngle = Math.atan2(Yd, Xd); this._rotation = int(((radAngle * 180) / Math.PI) + 90); i = 10000; while (i < 10026) { if (this.hitTest(_root["b" + i])) { play(); } i++; } if (this._rotation > 180) { _y = (_y + (speed * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (speed * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (speed * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (speed * Math.sin((Math.PI/180) * _rotation))); } if (this.hitTest(_root.player)) { _root.nextFrame(); } } }
Instance of Symbol 57 MovieClip "runner" in Frame 3
onClipEvent (load) { stop(); if (_root.runners) { b = random(3); if (b == 0) { this._x = Stage.width + this._width; this._y = random(Stage.height); } else if (b == 1) { this._x = -this._width; this._y = random(Stage.height); } else if (b == 2) { this._y = Stage.width + this._width; this._x = random(Stage.width); } else if (b == 3) { this._y = -this._width; this._x = random(Stage.width); } speed = 4.5; } } onClipEvent (enterFrame) { if (_root.runners) { if (this._currentframe == 1) { Xd = _root.player._x - _x; Yd = _root.player._y - _y; radAngle = Math.atan2(Yd, Xd); this._rotation = int(((radAngle * 180) / Math.PI) + 90); i = 10000; while (i < 10026) { if (this.hitTest(_root["b" + i])) { play(); } i++; } if (this._rotation > 180) { _y = (_y + (speed * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (speed * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (speed * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (speed * Math.sin((Math.PI/180) * _rotation))); } if (this.hitTest(_root.player)) { _root.nextFrame(); } } } }
Instance of Symbol 59 MovieClip "cursor" in Frame 3
onClipEvent (mouseMove) { this._x = _root._xmouse; this._y = _root._ymouse; updateAfterEvent(); }
Frame 4
d = 0; while (d < 301) { _root["enemy" + d].removeMovieClip(); _root["runner" + d].removeMovieClip(); d++; } i = 0; d = 0; if (_root.runners) { rscorex = rscore; } else { rscorex = "N/A"; } Mouse.show(); if (bullets == 0) { final = 0; } else { final = (Math.round((score / bullets) * 40) + (score * 20)) * _root.difficulty; } onMouseDown = function () { };
Symbol 9 Button
on (release) { _root.play(); }
Symbol 10 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 10 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 Button
on (release) { nextFrame(); }
Symbol 20 Button
on (release) { if (_root.runners) { _root.runners = false; } else { _root.runners = true; } }
Symbol 26 Button
on (release) { _root.bkg++; if (_root.bkg > 5) { _root.bkg = 1; } }
Symbol 35 Button
on (release) { _root.difficulty++; if (_root.difficulty > 5) { _root.difficulty = 1; } }
Symbol 54 MovieClip Frame 10
stop(); _root.score++; _parent.removeMovieClip();
Symbol 57 MovieClip Frame 10
stop(); _root.score++; _root.rscore++; _parent.removeMovieClip();
Symbol 67 Button
on (release) { gotoAndPlay (2); }

Library Items

Symbol 1 GraphicUsed by:10
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:10
Symbol 4 GraphicUsed by:10
Symbol 5 GraphicUsed by:9
Symbol 6 GraphicUsed by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 ButtonUses:5 6 7 8Used by:10
Symbol 10 MovieClipUses:1 3 4 9Used by:Timeline
Symbol 11 GraphicUsed by:Timeline
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16 20 26 35 67
Symbol 16 ButtonUses:12 13 14 15Used by:Timeline
Symbol 17 GraphicUsed by:20
Symbol 18 GraphicUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 ButtonUses:17 18 19 15Used by:Timeline
Symbol 21 GraphicUsed by:23
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:21 22Used by:Timeline
Symbol 24 GraphicUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:24 25 15Used by:Timeline
Symbol 27 GraphicUsed by:32
Symbol 28 GraphicUsed by:32
Symbol 29 GraphicUsed by:32
Symbol 30 GraphicUsed by:32
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:27 28 29 30 31Used by:Timeline
Symbol 33 GraphicUsed by:35
Symbol 34 GraphicUsed by:35
Symbol 35 ButtonUses:33 34 15Used by:Timeline
Symbol 36 GraphicUsed by:41
Symbol 37 GraphicUsed by:41
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:36 37 38 39 40Used by:Timeline
Symbol 42 GraphicUsed by:47
Symbol 43 GraphicUsed by:47
Symbol 44 GraphicUsed by:47
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:42 43 44 45 46Used 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:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:52 53Used by:Timeline
Symbol 55 GraphicUsed by:57
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:55 56Used by:Timeline
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 GraphicUsed by:Timeline
Symbol 61 FontUsed by:62 63 68 69
Symbol 62 EditableTextUses:61Used by:Timeline
Symbol 63 EditableTextUses:61Used by:Timeline
Symbol 64 GraphicUsed by:67
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 ButtonUses:64 65 66 15Used by:Timeline
Symbol 68 EditableTextUses:61Used by:Timeline
Symbol 69 EditableTextUses:61Used by:Timeline

Instance Names

"player"Frame 3Symbol 49 MovieClip
"bullet"Frame 3Symbol 51 MovieClip
"enemy"Frame 3Symbol 54 MovieClip
"runner"Frame 3Symbol 57 MovieClip
"cursor"Frame 3Symbol 59 MovieClip
"bar"Symbol 10 MovieClip Frame 1Symbol 3 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"loaded"Symbol 10 MovieClip Frame 3

Dynamic Text Variables

scoreSymbol 62 EditableText"0"
bulletsSymbol 63 EditableText"0"
finalSymbol 68 EditableText"0"
rscorexSymbol 69 EditableText"0"




http://swfchan.com/14/68267/info.shtml
Created: 11/4 -2019 03:11:58 Last modified: 11/4 -2019 03:11:58 Server time: 22/12 -2024 12:38:23