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

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

coming soon.swf

This is the info page for
Flash #251915

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


Text
COMING SOON

ARROWS-MOVE
A - SHOOT
S - (WHILE SHOOT) CHANGE DIRECTION

ActionScript [AS1/AS2]

Frame 1
function enemyHtd(mob, ammu) { if (ammu.hb.hitTest(mob)) { if (expl_num >= 8) { expl_num = 1; } else { expl_num++; } if (mob.sidex == null) { removeMovieClip(ammu); duplicateMovieClip ("explo", "mob_ex" + expl_num, layer5 + expl_num); _root["mob_ex" + expl_num]._x = mob._x; _root["mob_ex" + expl_num]._y = mob._y; _root["mob_ex" + expl_num].gotoAndStop(2); mob.sidex = Math.ceil(Math.random() * 100); mob.sidey = Math.ceil(Math.random() * 100); if (mob.sidey >= 50) { mob._y = espawn_y + (140 + (sidey * 4)); } else { mob._y = espawn_y - (140 + (sidey * 4)); } if (mob.sidex >= 50) { mob._x = espawn_x + 264; delete mob.sidex; } else { mob._x = espawn_x - 264; delete mob.sidex; } } } } layer5 = 500; function enemySpawn(mob_mc, player) { enemyCount = 8; var enemyDraw = 1; while (enemyDraw < (enemyCount + 1)) { if (_root["mob" + enemyDraw]._x == null) { duplicateMovieClip (mob_mc, "mob" + enemyDraw, layer3 + enemyDraw); } enemyDraw++; } espawn_x = 240; espawn_y = 240; } layer3 = 400; function enemyCode(obj, player, m_spd) { if (obj._x > player._x) { obj._x = obj._x - m_spd; } if (obj._x < player._x) { obj._x = obj._x + m_spd; } if (obj._y > player._y) { obj._y = obj._y - m_spd; } if (obj._y < player._y) { obj._y = obj._y + m_spd; } } function belchShake(obj) { shake++; sizeofSake = 10; if (shake == 1) { obj._x = obj._x - sizeofSake; shake = 2; } if (shake == 2) { obj._x = obj._x + sizeofSake; shake = 3; } } function grad_ship() { if (Key.isDown(83)) { ship_spd = 5; } else { ship_spd = 10; } if (_root["p1_ship" + ship_num]._x == null) { ship_num = 1; _root.ship.duplicateMovieClip("p1_ship" + ship_num, layer2 + ship_num); _root["p1_ship" + ship_num]._x = 275; _root["p1_ship" + ship_num]._y = 200; } if (Key.isDown(38)) { _root["p1_ship" + ship_num]._y = _root["p1_ship" + ship_num]._y - ship_spd; } if (Key.isDown(40)) { _root["p1_ship" + ship_num]._y = _root["p1_ship" + ship_num]._y + ship_spd; } if (Key.isDown(37)) { _root["p1_ship" + ship_num]._x = _root["p1_ship" + ship_num]._x - ship_spd; } if (Key.isDown(39)) { _root["p1_ship" + ship_num]._x = _root["p1_ship" + ship_num]._x + ship_spd; } } layer2 = 200; function rotationMem(vrb) { if (b_rot == 1) { crossDirR[vrb] = 90; } if (b_rot == 2) { crossDirR[vrb] = -90; } if (b_rot == 3) { crossDirR[vrb] = 180; } if (b_rot == 4) { crossDirR[vrb] = 0; } if (b_rot == 5) { crossDirR[vrb] = 45; } if (b_rot == 6) { crossDirR[vrb] = 135; } if (b_rot == 7) { crossDirR[vrb] = -45; } if (b_rot == 8) { crossDirR[vrb] = -135; } } function directional_s() { if (dirStrt == null) { b_rot = 3; s_spd1 = 35; s_spd2 = 0; dirStrt = 1; } if (Key.isDown(83)) { if (Key.isDown(38) && (Key.isDown(39))) { b_rot = 5; s_spd1 = -35; s_spd2 = 35; } else if (Key.isDown(38) && (Key.isDown(37))) { b_rot = 7; s_spd1 = -35; s_spd2 = -35; } else if (Key.isDown(40) && (Key.isDown(39))) { b_rot = 6; s_spd2 = 35; s_spd1 = 35; } else if (Key.isDown(40) && (Key.isDown(37))) { b_rot = 8; s_spd1 = 35; s_spd2 = -35; } else if (Key.isDown(38)) { b_rot = 4; s_spd1 = -35; s_spd2 = 0; } else if (Key.isDown(40)) { b_rot = 3; s_spd1 = 35; s_spd2 = 0; } else if (Key.isDown(37)) { b_rot = 2; s_spd2 = -35; s_spd1 = 0; } else if (Key.isDown(39)) { b_rot = 1; s_spd2 = 35; s_spd1 = 0; } } } function fireAmmu() { if (b_num >= 8) { if ((b_rot == 6) || (b_rot == 8)) { if (balnum == 3) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y + rateShift; } if (balnum == 2) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y - rateShift; } if (balnum == 1) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } } if ((b_rot == 5) || (b_rot == 7)) { if (balnum == 3) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y + rateShift; } if (balnum == 2) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y - rateShift; } if (balnum == 1) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } } if ((b_rot == 1) || (b_rot == 2)) { if (balnum == 3) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y + rateShift; } if (balnum == 2) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y - rateShift; } if (balnum == 1) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } } if ((b_rot == 3) || (b_rot == 4)) { if (balnum == 3) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x + rateShift; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } if (balnum == 2) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x - rateShift; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } if (balnum == 1) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } } } else { if ((b_rot == 6) || (b_rot == 8)) { if (balnum == 3) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y + rateShift; } if (balnum == 2) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y - rateShift; } if (balnum == 1) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } } if ((b_rot == 5) || (b_rot == 7)) { if (balnum == 3) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y + rateShift; } if (balnum == 2) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y - rateShift; } if (balnum == 1) { _root["bala" + r_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + r_num]._y = _root["p1_ship" + ship_num]._y; } } if ((b_rot == 1) || (b_rot == 2)) { if (balnum == 3) { _root["bala" + b_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + b_num]._y = _root["p1_ship" + ship_num]._y + rateshift; } if (balnum == 2) { _root["bala" + b_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + b_num]._y = _root["p1_ship" + ship_num]._y - rateshift; } if (balnum == 1) { _root["bala" + b_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + b_num]._y = _root["p1_ship" + ship_num]._y; } } if ((b_rot == 3) || (b_rot == 4)) { if (balnum == 3) { _root["bala" + b_num]._x = _root["p1_ship" + ship_num]._x + rateshift; _root["bala" + b_num]._y = _root["p1_ship" + ship_num]._y; } if (balnum == 2) { _root["bala" + b_num]._x = _root["p1_ship" + ship_num]._x - rateshift; _root["bala" + b_num]._y = _root["p1_ship" + ship_num]._y; } if (balnum == 1) { _root["bala" + b_num]._x = _root["p1_ship" + ship_num]._x; _root["bala" + b_num]._y = _root["p1_ship" + ship_num]._y; } } } if (balnum >= 4) { balnum = 1; } crossDirx[r_num] = s_spd2; crossDiry[r_num] = s_spd1; rotationMem(r_num); crossDirx[b_num] = s_spd2; crossDiry[b_num] = s_spd1; rotationMem(b_num); a_move = 1; while (a_move < 9) { _root["bala" + a_move]._y = _root["bala" + a_move]._y + crossDiry[a_move]; _root["bala" + a_move]._x = _root["bala" + a_move]._x + crossDirx[a_move]; _root["bala" + a_move]._rotation = crossDirR[a_move]; a_move++; } if (crossDirx == null) { crossDiry = new Array(); crossDirx = new Array(); crossDirR = new Array(); } if (Key.isDown(65)) { a_timer++; if (a_timer >= 3) { delete akyx; delete a_timer; } if (akyx == null) { balnum++; if (r_num == 8) { crossDirx[r_num] = s_spd2; crossDiry[r_num] = s_spd1; rotationMem(r_num); r_num = 1; } if (b_num == 8) { crossDirx[b_num] = s_spd2; crossDiry[b_num] = s_spd1; rotationMem(b_num); r_num = 1; } if (b_num > 8) { if (r_num >= 8) { r_num = 1; } else { crossDirx[r_num] = s_spd2; crossDiry[r_num] = s_spd1; rotationMem(r_num); r_num++; } } else { crossDirx[b_num] = s_spd2; crossDiry[b_num] = s_spd1; rotationMem(b_num); b_num++; } var c_num = 1; while (c_num < (b_num + 1)) { if (_root["bala" + c_num]._x == null) { duplicateMovieClip (_root.ammu, "bala" + c_num, layer1 + c_num); trace("hw"); } c_num++; } akyx = 1; } } else { delete balnum; delete akyx; } } rateShift = 4; balnum = 0; layer1 = 300; r_num = 0; b_num = 0; spd = 35; _root.onEnterFrame = function () { belchShake(_root["p1_ship" + ship_num]); fireAmmu(); grad_ship(); directional_s(); var enemyRt = 1; while (enemyRt < 9) { var balaRt = 1; while (balaRt < 9) { enemyHtd(_root["mob" + enemyRt], _root["bala" + balaRt]); balaRt++; } enemyCode(_root["mob" + enemyRt], _root["p1_ship" + ship_num], 3); enemyRt++; } enemySpawn(_root.enemy, _root["p1_ship" + ship_num]); };
Instance of Symbol 41 MovieClip in Frame 1
onClipEvent (load) { this.swapDepths(900); }
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
play(); _root.shake++;
Symbol 37 MovieClip Frame 3
play(); _root.shake++;
Symbol 37 MovieClip Frame 4
play(); _root.shake++;
Symbol 37 MovieClip Frame 5
play(); _root.shake++;
Symbol 37 MovieClip Frame 9
removeMovieClip(this);

Library Items

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

Instance Names

"ship"Frame 1Symbol 8 MovieClip
"enemy"Frame 1Symbol 31 MovieClip
"ammu"Frame 1Symbol 34 MovieClip
"explo"Frame 1Symbol 37 MovieClip
"hb"Symbol 34 MovieClip Frame 1Symbol 33 MovieClip
"hb"Symbol 34 MovieClip Frame 1Symbol 33 MovieClip

Dynamic Text Variables

r_numSymbol 2 EditableText""
b_numSymbol 3 EditableText""
rem_balaSymbol 4 EditableText""




http://swfchan.com/51/251915/info.shtml
Created: 15/5 -2023 09:51:56 Last modified: 15/5 -2023 09:51:56 Server time: 29/04 -2024 02:32:13