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

yay.swf

This is the info page for
Flash #105053

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


ActionScript [AS1/AS2]
Frame 1
function Initialize() { rick_mc.step = 15; rick_mc.attack = false; rick_mc.stance = 1; rick_mc.crouch = false; keydown = false; rick_mc.uvel = 40; rick_mc.gravity = 6; rick_mc.jump = false; } function Jump() { if (Key.isDown(37)) { rick_mc.stance = 0; rick_mc._x = rick_mc._x - rick_mc.step; } else if (Key.isDown(39)) { rick_mc.stance = 1; rick_mc._x = rick_mc._x + rick_mc.step; } if (!rick_mc.attack) { if (Key.isDown(40)) { rick_mc.gotoAndStop("crouch"); rick_mc.crouch = true; } else if (!Key.isDown()) { rick_mc.gotoAndStop("jump"); rick_mc.crouch = false; } } if (Key.isDown(17) && (keydown == false)) { rick_mc.attack = true; } rick_mc._y = rick_mc._y - rick_mc.uvel; rick_mc.uvel = rick_mc.uvel - rick_mc.gravity; if ((rick_mc._y + 20) > (ground_mc._y + 65)) { rick_mc.jump = false; rick_mc._y = ground_mc._y + 65; rick_mc.uvel = 40; } } function Movement() { if (Key.isDown(39)) { rick_mc.stance = 1; rick_mc._x = rick_mc._x + rick_mc.step; rick_mc.gotoAndStop("walk"); } else if (Key.isDown(37)) { rick_mc.stance = 0; rick_mc._x = rick_mc._x - rick_mc.step; rick_mc.gotoAndStop("walk"); } else if (Key.isDown(40)) { rick_mc.gotoAndStop("crouch"); rick_mc.crouch = true; } else if (!Key.isDown()) { rick_mc.gotoAndStop("stance"); rick_mc.crouch = false; } if (Key.isDown(38)) { rick_mc.gotoAndStop("jump"); rick_mc.jump = true; } if (Key.isDown(17) && (keydown == false)) { rick_mc.attack = true; } } function Attack() { if (rick_mc.jump) { rick_mc.gotoAndStop("crouchkick"); } else if (Key.isDown(40)) { rick_mc.gotoAndStop("crouchkick"); } else { rick_mc.gotoAndStop("punch"); } } function AIZombie() { if (this.alive) { this.gotoAndStop("walk"); if (rick_mc._x <= (this._x - 20)) { this._xscale = 100; this._x = this._x - this.speed; } else if (rick_mc._x >= (this._x + 20)) { this._x = this._x + this.speed; this._xscale = -100; } } else { this.gotoAndStop("dead"); } } function RenderEnemy() { counter = 0; while (counter < MonstersInScene.length) { MonstersInScene[counter].gotoFunction(); if (rick_mc.attack) { if (rick_mc.hitTest(MonstersInScene[counter])) { MonstersInScene[counter].alive = false; } } if (MonstersInScene[counter]._x == null) { MonstersInScene.splice(counter, 1); SpawnEnemy(); } counter++; } } MonstersInScene = new Array(); tag = 0; SpawnEnemy = function () { attachedObj = _root.attachMovie("zombie", "brownzombie" + tag, tag, {_x:600, _y:205}); attachedObj.health = 100; attachedObj.speed = 5; attachedObj.hit = false; attachedObj.alive = true; attachedObj.gotoFunction = AIZombie; MonstersInScene.push(attachedObj); tag++; }; SpawnEnemy(); Initialize(); rick_mc.swapDepths(60000); onEnterFrame = function () { RenderEnemy(); if ((!rick_mc.attack) && (!rick_mc.jump)) { Movement(); } if (rick_mc.jump) { Jump(); } if (rick_mc.attack) { Attack(); } if (Key.isDown(17)) { keydown = true; } else { keydown = false; } if (rick_mc.stance == 0) { rick_mc._xscale = -100; } else { rick_mc._xscale = 100; } };
Symbol 14 MovieClip Frame 8
removeMovieClip(_parent);
Symbol 15 MovieClip [zombie] Frame 1
stop();
Symbol 15 MovieClip [zombie] Frame 2
stop();
Symbol 34 MovieClip Frame 4
_parent.attack = false;
Symbol 41 MovieClip Frame 4
_parent.attack = false; if (_parent.jump) { stop(); }
Symbol 46 MovieClip Frame 14
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 3
stop();
Symbol 47 MovieClip Frame 4
stop();
Symbol 47 MovieClip Frame 5
stop();
Symbol 47 MovieClip Frame 6
stop();

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 GraphicUsed by:4
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:2 3Used by:5 14
Symbol 5 MovieClipUses:1 4Used by:15
Symbol 6 GraphicUsed by:14
Symbol 7 GraphicUsed by:14
Symbol 8 GraphicUsed by:14
Symbol 9 GraphicUsed by:14
Symbol 10 GraphicUsed by:14
Symbol 11 GraphicUsed by:14
Symbol 12 GraphicUsed by:14
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:6 4 7 8 9 10 11 12 13Used by:15
Symbol 15 MovieClip [zombie]Uses:5 14
Symbol 16 GraphicUsed by:18
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:16 17Used by:Timeline
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:47
Symbol 21 GraphicUsed by:29
Symbol 22 GraphicUsed by:29
Symbol 23 GraphicUsed by:29
Symbol 24 GraphicUsed by:29
Symbol 25 GraphicUsed by:29
Symbol 26 GraphicUsed by:29
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:21 22 23 24 25 26 27 28Used by:47
Symbol 30 GraphicUsed by:34
Symbol 31 GraphicUsed by:34
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:30 31 32 33Used by:47
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:47
Symbol 37 GraphicUsed by:41
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:37 38 39 40Used by:47
Symbol 42 GraphicUsed by:44
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:42 43Used by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:44 45Used by:47
Symbol 47 MovieClipUses:20 29 34 36 41 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 SoundUsed by:Timeline

Instance Names

"rick_mc"Frame 1Symbol 47 MovieClip
"ground_mc"Frame 1Symbol 51 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 15 as "zombie"

Labels

"walk"Symbol 15 MovieClip [zombie] Frame 1
"dead"Symbol 15 MovieClip [zombie] Frame 2
"stance"Symbol 47 MovieClip Frame 1
"walk"Symbol 47 MovieClip Frame 2
"punch"Symbol 47 MovieClip Frame 3
"crouch"Symbol 47 MovieClip Frame 4
"crouchkick"Symbol 47 MovieClip Frame 5
"jump"Symbol 47 MovieClip Frame 6




http://swfchan.com/22/105053/info.shtml
Created: 17/3 -2019 21:25:54 Last modified: 17/3 -2019 21:25:54 Server time: 22/12 -2024 05:11:25