STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229672
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2596 · P5191

Happy New Year!

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/10565624?noj=FRM10565624-3DC" width="1" height="1"></div>

swordsman.swf

This is the info page for
Flash #18797

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


ActionScript [AS1/AS2]
Frame 1
function getPower() { _root.powerRatio = Math.abs(_root.dx); if (_root.powerRatio > 100) { _root.powerRatio = 100; } _root.power._yscale = _root.powerRatio; _root.power._alpha = _root.powerRatio; } function newNinja() { ninjaPosition = (-Math.round(Math.random() * 99)) + 1; _root.ninja._x = ninjaPosition; _root.difficulty = _root.difficulty + 1; _root.ninjaSpeed = _root.difficulty * 2; if (_root.ninjaSpeed > 50) { _root.ninjaSpeed = 50; } } function reset() { _root.difficulty = 1; _root.ninjaSpeed = 0; _root.killCount.kills = 0; _root.ninja.gotoAndStop("run"); _root.ninja._x = 0; _root.me.gotoAndStop("run"); _root.gotoAndPlay("start"); _root.bgm.setVolume(100); } var dx; var old_xmouse; var powerRatio = 1; var difficulty = 1; var ninjaSpeed = 0; _root.killCount.kills = 0; var bgm = new Sound(bgm_target); bgm.attachSound("nightChasing"); bgm.setVolume(50); bgm.start(0, 999);
Frame 2
old_xmouse = _xmouse; getPower();
Frame 3
dx = _xmouse - old_xmouse; if (_root.ninja._currentframe == 1) { _root.ninja._x = _root.ninja._x + _root.ninjaSpeed; } if (_root.ninja._x > 250) { _root.ninja.gotoAndPlay("attack"); _root.ninjaSpeed = 0; _root.ninja._x = 249; } gotoAndPlay ("start");
Frame 4
stop();
Symbol 9 Button
on (press) { _root.me.gotoAndStop("attack"); _root.ninja.gotoAndStop("jump"); }
Symbol 11 Button
on (press) { _root.me.gotoAndStop("attack"); _root.ninja.gotoAndStop("die"); }
Symbol 22 MovieClip Frame 7
_root.ninjaSpeed = _root.ninjaSpeed + 5; _parent.gotoAndStop("run");
Symbol 39 MovieClip Frame 1
_root.ninjaSpeed = 0; _root.killCount.kills = _root.killCount.kills + 1; _root.killCount.gotoAndPlay("enlarge");
Symbol 39 MovieClip Frame 10
_root.newNinja();
Symbol 39 MovieClip Frame 16
_parent.gotoAndPlay("run");
Symbol 45 MovieClip Frame 1
_root.me.gotoAndStop("die");
Symbol 45 MovieClip Frame 5
_parent.gotoAndPlay("run");
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
stop();
Symbol 46 MovieClip Frame 4
stop();
Symbol 56 MovieClip Frame 5
_parent.gotoAndPlay("run");
Symbol 65 MovieClip Frame 1
_root.gotoAndStop("lose");
Symbol 65 MovieClip Frame 9
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 69 Button
on (keyPress "j") { _root.ninja.gotoAndStop("jump"); } on (keyPress "d") { _root.ninja.gotoAndStop("die"); } on (keyPress "a") { _root.ninja.gotoAndStop("attack"); }
Symbol 76 MovieClip Frame 1
stop();
Symbol 85 Button
on (release) { _root.reset(); }
Symbol 87 MovieClip Frame 1
_root.bgm.setVolume(10);

Library Items

Symbol 1 Sound [nightChasing]
Symbol 2 GraphicUsed by:7
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:7
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:7
Symbol 7 MovieClipUses:2 4 6Used by:Timeline
Symbol 8 GraphicUsed by:9 11 69 81
Symbol 9 ButtonUses:8Used by:Timeline
Symbol 10 GraphicUsed by:15
Symbol 11 ButtonUses:8Used by:15
Symbol 12 GraphicUsed by:15
Symbol 13 GraphicUsed by:15
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:10 11 12 13 14Used by:46
Symbol 16 GraphicUsed by:22
Symbol 17 GraphicUsed by:22
Symbol 18 GraphicUsed by:22
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:22
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:16 17 18 19 20 21Used by:46
Symbol 23 GraphicUsed by:39
Symbol 24 SoundUsed by:39
Symbol 25 GraphicUsed by:39
Symbol 26 GraphicUsed by:39
Symbol 27 GraphicUsed by:39
Symbol 28 GraphicUsed by:39
Symbol 29 GraphicUsed by:39
Symbol 30 GraphicUsed by:39
Symbol 31 GraphicUsed by:39
Symbol 32 GraphicUsed by:39
Symbol 33 GraphicUsed by:39
Symbol 34 GraphicUsed by:39
Symbol 35 GraphicUsed by:39
Symbol 36 GraphicUsed by:39
Symbol 37 GraphicUsed by:39
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38Used by:46
Symbol 40 GraphicUsed by:45
Symbol 41 SoundUsed by:45 56
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:45
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:40 41 42 43 44Used by:46
Symbol 46 MovieClipUses:15 22 39 45Used by:Timeline
Symbol 47 GraphicUsed by:51
Symbol 48 GraphicUsed by:51
Symbol 49 GraphicUsed by:51
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:47 48 49 50Used by:66
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:52 41 53 54 55Used by:66
Symbol 57 GraphicUsed by:65
Symbol 58 GraphicUsed by:65
Symbol 59 GraphicUsed by:65
Symbol 60 GraphicUsed by:65
Symbol 61 GraphicUsed by:65
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:57 58 59 60 61 62 63 64Used by:66
Symbol 66 MovieClipUses:51 56 65Used by:Timeline
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:Timeline
Symbol 69 ButtonUses:8Used by:Timeline
Symbol 70 GraphicUsed by:Timeline
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:Timeline
Symbol 73 FontUsed by:74 75
Symbol 74 EditableTextUses:73Used by:76
Symbol 75 EditableTextUses:73Used by:76
Symbol 76 MovieClipUses:74 75Used by:Timeline
Symbol 77 GraphicUsed by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:Timeline
Symbol 80 GraphicUsed by:Timeline
Symbol 81 ButtonUses:8Used by:87
Symbol 82 GraphicUsed by:87
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 ButtonUses:83 84Used by:87
Symbol 86 SoundUsed by:87
Symbol 87 MovieClipUses:81 82 85 86Used by:Timeline

Instance Names

"ninja"Frame 1Symbol 46 MovieClip
"me"Frame 1Symbol 66 MovieClip
"power"Frame 1Symbol 72 MovieClip
"killCount"Frame 1Symbol 76 MovieClip
"bgm_target"Frame 1Symbol 79 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "nightChasing"

Labels

"initial"Frame 1
"start"Frame 2
"loop"Frame 3
"lose"Frame 4
"run"Symbol 46 MovieClip Frame 1
"jump"Symbol 46 MovieClip Frame 2
"die"Symbol 46 MovieClip Frame 3
"attack"Symbol 46 MovieClip Frame 4
"run"Symbol 66 MovieClip Frame 1
"attack"Symbol 66 MovieClip Frame 2
"die"Symbol 66 MovieClip Frame 3
"enlarge"Symbol 76 MovieClip Frame 2

Dynamic Text Variables

killsSymbol 74 EditableText""
killsSymbol 75 EditableText""




http://swfchan.com/4/18797/info.shtml
Created: 30/5 -2019 14:25:23 Last modified: 30/5 -2019 14:25:23 Server time: 03/01 -2025 04:22:40