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

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

worms.swf

This is the info page for
Flash #14246

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


Text
play

play

name:

3

timer:         /1000

level:

1000

900

you win

0.9

next level in       seconds

submit score

submit score

you lose

0.9

restart in        seconds

ok?

ok?

name:

score:

<P ALIGN="CENTER"></P>

<P ALIGN="CENTER"></P>

<P ALIGN="CENTER"><FONT FACE="SonicCutThru Hv BT" SIZE="40" COLOR="#000000"><I>HIGH SCORES </I></FONT></P>

play again

play again

ActionScript [AS1/AS2]

Frame 1
if (level != undefined) { gotoAndStop (3); } _global.poo = false; command = "init"; this.loadVariables("highscores.php?" + int(Math.random() * 100000), "POST"); name = ""; stop();
Frame 2
stop();
Instance of Symbol 12 MovieClip in Frame 2
onClipEvent (load) { countd = 180; } onClipEvent (enterFrame) { countd--; down = Math.ceil(countd / 60); if (down <= 0) { Set("/:countdown", "go!"); } else { Set("/:countdown", down); } if (down <= -1) { _root.nextFrame(); } }
Frame 3
Mouse.hide(); stop();
Instance of Symbol 12 MovieClip "proc" in Frame 3
onClipEvent (load) { _global.radius = 200; _global.playaccel = 0.24; _global.playdrag = 0.98; _global.guyaccel = 0.25; _global.guydrag = 0.98; if (level == 0) { level = 1; } enemies = level; increment = 360 / enemies; i = 0; while (i < (enemies - 1)) { duplicateMovieClip (_root.part, "part" + i, i); i++; } } onClipEvent (enterFrame) { timer++; Set("/:timer", " " + timer); Set("/:level", _global.level); if (timer >= 1000) { timer = 0; _root.gotoAndPlay("win"); } }
Instance of Symbol 20 MovieClip "part" in Frame 3
onClipEvent (load) { _global.dead = 0; _y = (_root.bounding._height / 2); _x = (_root.bounding._height / 2); _global.count++; num = count - 1; deg = num * _level0.proc.increment; rad = ((deg + 90) * Math.PI) / 180; x = _global.radius * Math.sin(rad); y = _global.radius * Math.cos(rad); _x = (_x + x); _y = (_y + y); speedx = 0; speedy = 0; accel = _global.guyaccel; drag = _global.guydrag; } onClipEvent (enterFrame) { if (this.hitTest(_root.bounding)) { if (_x > playx) { speedx = speedx - accel; } if (_x < playx) { speedx = speedx + accel; } if (_y > playy) { speedy = speedy - accel; } if (_y < playy) { speedy = speedy + accel; } } else { if (_x < 0) { _x = 600; } if (_x > 600) { _x = 0; } if (_y < 0) { _y = 600; } if (_y > 600) { _y = 0; } } speedx = speedx * drag; speedy = speedy * drag; _x = (_x + speedx); _y = (_y + speedy); if (this.hitTest(_root.play)) { _global.dead = 1; _root.gotoAndStop("lose"); } }
Instance of Symbol 21 MovieClip "play" in Frame 3
onClipEvent (load) { speedy = 0; speedx = 0; accel = _global.playaccel; drag = _global.playdrag; _y = (_root.bounding._height / 2); _x = (_root.bounding._height / 2); } onClipEvent (enterFrame) { if (this.hitTest(_root.bounding)) { kDown = Key.isDown; if (kDown(37)) { speedx = speedx - accel; } if (kDown(39)) { speedx = speedx + accel; } if (kDown(40)) { speedy = speedy + accel; } if (kDown(38)) { speedy = speedy - accel; } speedx = speedx * drag; speedy = speedy * drag; _x = (_x + speedx); _y = (_y + speedy); _global.playx = _x; _global.playy = _y; } else if (_x < 0) { _x = 600; } else if (_x > 600) { _x = 0; } else if (_y < 0) { _y = 600; } else if (_y > 600) { _y = 0; } }
Instance of Symbol 24 MovieClip "new0" in Frame 3
onClipEvent (load) { dratex = 2 * Math.random(); dratey = 2 * Math.random(); negx = Math.ceil(2 * Math.random()); if (negx == 2) { dratex = dratex * -1; } negy = Math.ceil(2 * Math.random()); if (negy == 2) { dratey = dratey * -1; } x = 1; decay = 5; ease = 2; if (_name != "new0") { y = _name.substr(3, 3); y = Number(y) - 1; } else { y = 0; } main = true; } onClipEvent (enterFrame) { if ((_name == "new0") && (main)) { if (_xscale > 0) { this.duplicateMovieClip("new" + x, x + 100); _xscale = (_xscale - decay); _yscale = (_xscale - decay); _alpha = (_alpha - (decay * 2)); x++; } else { _visible = false; _root.go = true; main = false; } } if (_root.go) { if (_name == ("new" + String(1))) { x1 = _global.playx; y = _global.playy; if (_global.dead == 0) { p = 0; ratex = x1 - _x; ratey = y - _y; } else { p++; if (p == 1) { dratex = dratex + (ratex / 10); dratey = dratey + (ratey / 10); } ratex = dratex; ratey = dratey; } if ((ratex != 0) && (ratey != 0)) { _x = (_x + (ratex / ease)); _y = (_y + (ratey / ease)); } } else { x1 = _root["new" + y]._x; y1 = _root["new" + y]._y; if (_global.dead == 0) { ratex = x1 - _x; ratey = y1 - _y; p = 0; } else { p++; if (p == 1) { dratex = dratex + (ratex / 10); dratey = dratey + (ratey / 10); } ratex = dratex; ratey = dratey; } if ((ratex != 0) && (ratey != 0)) { _x = (_x + (ratex / ease)); _y = (_y + (ratey / ease)); } } } }
Frame 4
Mouse.show(); stop();
Instance of Symbol 12 MovieClip in Frame 4
onClipEvent (load) { tscore = (_global.level + 1) * 1000; if (tscore > _global.score) { _global.score = tscore; } Set("/:score", "score: " + _global.score); countd = 60; _global.count = 0; } onClipEvent (enterFrame) { countd--; down = Math.ceil((10 * countd) / 60) / 10; Set("/:countdown", down); if (down <= 0) { countd = 180; _global.level++; _root.gotoAndPlay(1); } }
Instance of Symbol 30 MovieClip in Frame 4
on (release) { gotoAndPlay (7); }
Frame 5
Mouse.show(); stop();
Instance of Symbol 12 MovieClip "cont" in Frame 5
onClipEvent (load) { tscore = (_global.level * 1000) + _level0.proc.timer; if (tscore > _global.score) { _global.score = tscore; } Set("/:score", "score: " + _global.score); countd = 150; _global.count = 0; } onClipEvent (enterFrame) { countd--; down = Math.ceil((10 * countd) / 60) / 10; Set("/:countdown", down); if (down <= 0) { countd = 180; _global.timer = 0; _root.gotoAndPlay(1); } }
Instance of Symbol 30 MovieClip in Frame 5
on (release) { _root.gotoAndPlay("hiscore"); }
Frame 6
stop();
Frame 7
Set("/:score", _global.score); Set("/:name", _global.name); stop();
Instance of Symbol 12 MovieClip "cont" in Frame 7
onClipEvent (enterFrame) { _global.name = _level0.name + "<br>"; _global.score = _level0.score + "<br>"; }
Frame 8
stop();
Instance of Symbol 48 MovieClip in Frame 8
on (release) { _global.score = 0; _global.level = 0; _global.timer = 0; gotoAndPlay (3); }
Symbol 5 Button
on (press) { _global.poo = true; _global.name = _level0.name; _global.level = 0; }
Symbol 10 MovieClip Frame 69
if (_global.poo) { _global.level++; gotoAndPlay (71); }
Symbol 10 MovieClip Frame 70
gotoAndPlay (69);
Symbol 10 MovieClip Frame 131
_root.nextFrame();
Symbol 40 Button
on (release) { if (name != "") { command = "update"; this.loadVariables("highscores.php?" + int(Math.random() * 100000), "POST"); gotoAndStop (8); } }

Library Items

Symbol 1 GraphicUsed by:5 30 40 48
Symbol 2 FontUsed by:3 4 13
Symbol 3 TextUses:2Used by:5
Symbol 4 TextUses:2Used by:5
Symbol 5 ButtonUses:1 3 4Used by:Timeline
Symbol 6 FontUsed by:7 8 28 29 31 33 36 37 38 39 41 42 43 44 45 46 47
Symbol 7 EditableTextUses:6Used by:Timeline
Symbol 8 TextUses:6Used by:Timeline
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 EditableTextUses:2Used by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 FontUsed by:17 18 22 23 25 26 27 32 34 35
Symbol 17 TextUses:16Used by:Timeline
Symbol 18 EditableTextUses:16Used by:Timeline
Symbol 19 GraphicUsed by:20 21 24
Symbol 20 MovieClipUses:19Used by:Timeline
Symbol 21 MovieClipUses:19Used by:Timeline
Symbol 22 EditableTextUses:16Used by:Timeline
Symbol 23 EditableTextUses:16Used by:Timeline
Symbol 24 MovieClipUses:19Used by:Timeline
Symbol 25 TextUses:16Used by:Timeline
Symbol 26 EditableTextUses:16Used by:Timeline
Symbol 27 TextUses:16Used by:Timeline
Symbol 28 TextUses:6Used by:30
Symbol 29 TextUses:6Used by:30
Symbol 30 MovieClipUses:1 28 29Used by:Timeline
Symbol 31 EditableTextUses:6Used by:Timeline
Symbol 32 TextUses:16Used by:Timeline
Symbol 33 EditableTextUses:6Used by:Timeline
Symbol 34 EditableTextUses:16Used by:Timeline
Symbol 35 TextUses:16Used by:Timeline
Symbol 36 EditableTextUses:6Used by:Timeline
Symbol 37 EditableTextUses:6Used by:Timeline
Symbol 38 TextUses:6Used by:40
Symbol 39 TextUses:6Used by:40
Symbol 40 ButtonUses:1 38 39Used by:Timeline
Symbol 41 TextUses:6Used by:Timeline
Symbol 42 TextUses:6Used by:Timeline
Symbol 43 EditableTextUses:6Used by:Timeline
Symbol 44 EditableTextUses:6Used by:Timeline
Symbol 45 EditableTextUses:6Used by:Timeline
Symbol 46 TextUses:6Used by:48
Symbol 47 TextUses:6Used by:48
Symbol 48 MovieClipUses:1 46 47Used by:Timeline

Instance Names

"name"Frame 1Symbol 7 EditableText
"logo"Frame 1Symbol 10 MovieClip
"proc"Frame 3Symbol 12 MovieClip
"bounding"Frame 3Symbol 15 MovieClip
"part"Frame 3Symbol 20 MovieClip
"play"Frame 3Symbol 21 MovieClip
"new0"Frame 3Symbol 24 MovieClip
"cont"Frame 5Symbol 12 MovieClip
"cont"Frame 7Symbol 12 MovieClip
"players"Frame 8Symbol 43 EditableText
"scores"Frame 8Symbol 44 EditableText

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$EZ$0maDONqHGM4C6Z.oe9VAd0."

Labels

"win"Frame 4
"lose"Frame 5
"pause"Frame 6
"hiscore"Frame 7
"highscores"Frame 8

Dynamic Text Variables

nameSymbol 7 EditableText""
countdownSymbol 13 EditableText"3"
timerSymbol 22 EditableText"1000"
levelSymbol 23 EditableText"900"
countdownSymbol 26 EditableText"0.9"
scoreSymbol 31 EditableText""
scoreSymbol 33 EditableText""
countdownSymbol 34 EditableText" 0.9"
nameSymbol 36 EditableText""
scoreSymbol 37 EditableText""
playersSymbol 43 EditableText"<P ALIGN="CENTER"></P>"
scoresSymbol 44 EditableText"<P ALIGN="CENTER"></P>"




http://swfchan.com/3/14246/info.shtml
Created: 3/6 -2019 23:27:21 Last modified: 3/6 -2019 23:27:21 Server time: 29/04 -2024 08:40:31