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

Galactic Wars.swf

This is the info page for
Flash #50391

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


Text
An XSDSX Production

ActionScript [AS1/AS2]

Frame 1
function clean() { for (i in _root) { _root[i].removeMovieClip(); } } _root.clean(); c = 1; while (c < 30) { _root.star.duplicateMovieClip("boxx" + c, c); _root["boxx" + c]._x = random(550); _root["boxx" + c]._y = 50 + random(300); _root["boxx" + c].gotoAndStop(random(3) + 1); c = c + 1; } _root.dir = 2; Mouse.show(); stop(); fscommand ("allowscale", "false"); fscommand ("showmenu", "false");
Instance of Symbol 36 MovieClip "star" in Frame 1
onClipEvent (load) { speed = random(6) + 2; } onClipEvent (enterFrame) { if (_x < -20) { speed = random(6) + 2; _x = 520; _y = (50 + random(300)); gotoAndStop(random(3) + 1); if (random(50) == 2) { gotoAndStop (4); speed = 20; } else if (random(150) == 5) { gotoAndStop (5); speed = 1; } } _x = (_x - speed); }
Frame 2
enemyNumber = 4; i = 0; while (i < enemyNumber) { duplicateMovieClip ("enemy", "new" + i, 30 + i); i++; } _root.bonus1 = false; _root.bonus2 = false; _root.bonus3 = false; shield = 100; score = 0; level = 1; weapon = "laser"; Mouse.hide(); stop();
Instance of Symbol 53 MovieClip "enemyLaser" in Frame 2
onClipEvent (load) { speed = 15; } onClipEvent (enterFrame) { if (_name != "enemyLaser") { if (!_root.shipDead) { if (this.hitTest(_root.ship)) { _root.ship.play(); _root.shield--; removeMovieClip(this); } } _x = (_x - speed); if (_x < -10) { removeMovieClip(this); } } }
Instance of Symbol 69 MovieClip in Frame 2
onClipEvent (load) { oldx = _x; speed = 0; go = true; tf = _totalframes; s = random(tf) + 1; laserNames = ["Laser", "Photon Wave", "Death Ray", "Fire Bolt"]; } onClipEvent (enterFrame) { _rotation = (_rotation + speed); if (this.hitTest(_root.ship) and (b1.flag == false)) { crf = _currentframe; tempo = 0; hit = true; b1.gotoAndPlay(2); if (crf == 1) { _root.bonus1 = true; _root.bonus2 = false; _root.weapon = laserNames[crf]; } else if (crf == 2) { _root.bonus2 = true; _root.bonus1 = false; _root.weapon = laserNames[crf]; } if (crf == 3) { _root.bonus3 = true; _root.bonus1 = false; _root.bonus2 = false; _root.weapon = laserNames[crf]; } b1.flag = true; } _x = (_x - speed); if (hit) { if (400 < (++tempo)) { _root.bonus1 = false; _root.bonus2 = false; _root.bonus3 = false; hit = false; _root.weapon = laserNames[0]; } } if (((random(100) + 1) == 2) and go) { speed = random(10) + 1; go = false; gotoAndStop(s); } else if (_x < -10) { _x = oldx; speed = 0; _y = (random(300) + 20); s = random(tf) + 1; b1.gotoAndStop(1); go = true; } }
Instance of Symbol 86 MovieClip "ship" in Frame 2
onClipEvent (load) { soundLaser1 = new Sound(); soundLaser1.attachSound("sound1"); soundLaser2 = new Sound(); soundLaser2.attachSound("sound2"); soundLaser3 = new Sound(); soundLaser3.attachSound("sound3"); soundLaser4 = new Sound(); soundLaser4.attachSound("sound4"); speed = 6; _root.shipDead = false; sy = _y; ang = 0; Redge = 550 - (_width / 2); Ledge = 0 + (_width / 2); Uedge = 400 - (_height / 2); Dedge = 0 + (_height / 2); } onClipEvent (enterFrame) { sh = 101 - _root.shield; _root.scudo.gotoAndStop(sh); _y = (sy + (4 * Math.cos((ang = ang + 0.092)))); c = _root.score; if (c == 300) { _root.level = 2; } else if (c == 400) { _root.level = 3; } else if (c == 500) { _root.level = 4; } else if (c == 600) { _root.level = 5; _root.gotoAndStop("boss1"); } if (0 >= _root.shield) { _root.shipDead = true; gotoAndStop (4); } if (Key.isDown(40) and (_y < (Uedge - 50))) { _y = (_y + speed); sy = sy + speed; } if (Key.isDown(38) and ((Dedge + 50) < _y)) { _y = (_y - speed); sy = sy - speed; } if (Key.isDown(39) and (_x < Redge)) { _x = (_x + speed); } if (Key.isDown(37) and (Ledge < _x)) { _x = (_x - speed); } if (Key.isDown(32)) { if (!a) { shotCount++; depth = (shotCount % 100) + 100; _root.attachMovie("laser", "sparo" + shotCount, depth); _root["sparo" + shotCount]._x = this._x + (_width - 45); _root["sparo" + shotCount]._y = this._y; a = true; if (_root.bonus1) { _root["sparo" + shotCount].gotoAndStop(2); soundLaser1.start(); } else if (_root.bonus2) { _root["sparo" + shotCount].gotoAndStop(3); soundLaser2.start(); } else if (_root.bonus3) { _root["sparo" + shotCount].gotoAndStop(4); soundLaser4.start(); } else { _root["sparo" + shotCount].gotoAndStop(1); soundLaser3.start(); } } } else { a = false; } }
Instance of Symbol 98 MovieClip "enemy" in Frame 2
onClipEvent (load) { function reset() { s = _root.level; this.gotoAndStop(s); ship.gotoAndStop(1); speed = random(10) + 2; _y = (random(300) + _height); _x = (550 + _y); maxfireRand = 200; _root.firePower = maxfireRand / s; } maxx = _root._width + random(40); maxy = (_root._height / 2) - _height; sy = random(400) + 10; reset(); } onClipEvent (enterFrame) { if (_name != "enemy") { if (this.ship._currentframe == 1) { _y = (sy + (speed * Math.cos((speed = speed + 0.092)))); if (this.hitTest(_root.ship)) { ship.gotoAndStop(2); _root.ship.play(); _root.shield--; } if ((random(_root.firePower) + 1) == 2) { shotCount++; depth = (shotCount % 100) + 200; duplicateMovieClip (_root.enemyLaser, "enemyBum" + shotCount, depth); _root["enemyBum" + shotCount]._x = this._x - 40; _root["enemyBum" + shotCount]._y = this._y; } } _x = (_x - speed); if (_x < -10) { reset(); } } }
Frame 3
stop();
Instance of Symbol 116 MovieClip in Frame 3
onClipEvent (load) { function followShip() { _x = (_x-1); if ((_x-1) < 300) { _x = 300; } m = true; my_pos = _root.ship._y + 80; my = my_pos; if (my < _y) { dy = _y - my; } else { dy = my - _y; } moveSpeedy = dy / 20; if (my < _y) { _y = (_y - moveSpeedy); } else { _y = (_y + moveSpeedy); } } killed = 0; xdir = random(3) + 1; x_speed = 3; speed = random(3) + 1; y = 0; count = 0; sl = _root.ship.shotCount; MCColor = new Color(this); oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"}; newColor = {ra:"100", rb:"50", ga:"100", gb:"24", ba:"100", bb:"83", aa:"100", ab:"0"}; } onClipEvent (enterFrame) { followShip(); if (this.hitTest(_root.ship)) { _root.shield = _root.shield - 1; } bl = _root.ship.shotCount; i = sl + count; while (bl >= i) { if (hitTest(_root["sparo" + i])) { count++; _root.score = _root.score + 10; _root["sparo" + i].removeMovieClip(); MCColor.setTransform(newColor); } i++; } y = y + 1; if (5 < y) { MCColor.setTransform(oldColor); y = 0; } if (count >= 50) { gotoAndStop (2); } }
Frame 4
Mouse.show(); stop();
Frame 5
stop();
Symbol 7 MovieClip Frame 2
stop();
Symbol 14 MovieClip [laser] Frame 1
stop();
Instance of Symbol 7 MovieClip "fire" in Symbol 14 MovieClip [laser] Frame 1
onClipEvent (load) { n = _root.enemyNumber; speed = 10; } onClipEvent (enterFrame) { i = 0; while (i < n) { if (_root["new" + i].ship._currentframe == 1) { if (this.hitTest(_root["new" + i])) { _root.score = _root.score + 10; _root["new" + i].ship.gotoAndPlay(2); removeMovieClip(_parent); } } i++; } if (550 >= _parent._x) { _parent._x = _parent._x + speed; } else { removeMovieClip(_parent); } }
Symbol 14 MovieClip [laser] Frame 2
stop();
Instance of Symbol 9 MovieClip in Symbol 14 MovieClip [laser] Frame 2
onClipEvent (load) { n = _root.enemyNumber; speed = 10; } onClipEvent (enterFrame) { i = 0; while (i < n) { if (_root["new" + i].ship._currentframe == 1) { if (this.hitTest(_root["new" + i])) { _root.score = _root.score + 10; _root["new" + i].ship.gotoAndPlay(2); removeMovieClip(_parent); } } i++; } if (550 >= _parent._x) { _parent._x = _parent._x + speed; } else { removeMovieClip(_parent); } }
Symbol 14 MovieClip [laser] Frame 3
stop();
Instance of Symbol 11 MovieClip "ball2" in Symbol 14 MovieClip [laser] Frame 3
onClipEvent (load) { n = _root.enemyNumber; speed = 10; } onClipEvent (enterFrame) { _y = (_y + 1); i = 0; while (i < n) { if (_root["new" + i].ship._currentframe == 1) { if (this.hitTest(_root["new" + i])) { _root.score = _root.score + 10; _root["new" + i].ship.gotoAndPlay(2); this.gotoAndStop(2); } } i++; } if (550 >= _parent._x) { _parent._x = _parent._x + speed; } else { removeMovieClip(_parent); } }
Instance of Symbol 11 MovieClip "ball1" in Symbol 14 MovieClip [laser] Frame 3
onClipEvent (load) { n = _root.enemyNumber; speed = 10; } onClipEvent (enterFrame) { _y = (_y - 1); i = 0; while (i < n) { if (_root["new" + i].ship._currentframe == 1) { if (this.hitTest(_root["new" + i])) { _root.score = _root.score + 10; _root["new" + i].ship.gotoAndPlay(2); this.gotoAndStop(2); } } i++; } if (550 >= _parent._x) { _parent._x = _parent._x + speed; } else { removeMovieClip(_parent); } }
Symbol 14 MovieClip [laser] Frame 4
stop();
Instance of Symbol 13 MovieClip in Symbol 14 MovieClip [laser] Frame 4
onClipEvent (load) { n = _root.enemyNumber; speed = 10; } onClipEvent (enterFrame) { _y = (_y - 2); i = 0; while (i < n) { if (_root["new" + i].ship._currentframe == 1) { if (this.hitTest(_root["new" + i])) { _root.score = _root.score + 10; _root["new" + i].ship.gotoAndPlay(2); this.gotoAndStop(2); } } i++; } if (550 >= _parent._x) { _parent._x = _parent._x + speed; } else { removeMovieClip(_parent); } }
Instance of Symbol 13 MovieClip in Symbol 14 MovieClip [laser] Frame 4
onClipEvent (load) { n = _root.enemyNumber; speed = 10; } onClipEvent (enterFrame) { i = 0; while (i < n) { if (_root["new" + i].ship._currentframe == 1) { if (this.hitTest(_root["new" + i])) { _root.score = _root.score + 10; _root["new" + i].ship.gotoAndPlay(2); this.gotoAndStop(2); } } i++; } if (550 >= _parent._x) { _parent._x = _parent._x + speed; } else { removeMovieClip(_parent); } }
Instance of Symbol 13 MovieClip in Symbol 14 MovieClip [laser] Frame 4
onClipEvent (load) { n = _root.enemyNumber; speed = 10; } onClipEvent (enterFrame) { _y = (_y + 2); i = 0; while (i < n) { if (_root["new" + i].ship._currentframe == 1) { if (this.hitTest(_root["new" + i])) { _root.score = _root.score + 10; _root["new" + i].ship.gotoAndPlay(2); this.gotoAndStop(2); } } i++; } if (550 >= _parent._x) { _parent._x = _parent._x + speed; } else { removeMovieClip(_parent); } }
Symbol 19 MovieClip Frame 11
stop();
Symbol 20 MovieClip [ship2] Frame 1
stop();
Symbol 20 MovieClip [ship2] Frame 2
stop();
Symbol 24 MovieClip [exlplosion] Frame 12
Symbol 24 MovieClip [exlplosion] Frame 13
_root.gotoAndStop("gameover");
Symbol 29 Button
on (release) { gotoAndPlay (2); }
Symbol 36 MovieClip Frame 1
stop();
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 5
onClipEvent (enterFrame) { _rotation = (_rotation + 0.3); }
Symbol 38 MovieClip Frame 40
stop();
Symbol 43 Button
on (release) { gotoAndStop (5); }
Symbol 47 Button
on (release) { getURL ("http://xsdsx.tk", "_blank"); }
Symbol 53 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 1
flag = false; stop();
Symbol 60 MovieClip Frame 10
stop();
Symbol 65 MovieClip Frame 1
flag = false; stop();
Symbol 65 MovieClip Frame 10
stop();
Symbol 68 MovieClip Frame 1
flag = false; stop();
Symbol 68 MovieClip Frame 10
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 69 MovieClip Frame 3
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 3
gotoAndStop (1);
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 1
rot = true; stop();
Symbol 94 MovieClip Frame 2
rot = false; stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 3
stop();
Instance of Symbol 94 MovieClip "ship" in Symbol 98 MovieClip Frame 3
onClipEvent (enterFrame) { if (rot) { _rotation = (_rotation + 5); } }
Symbol 98 MovieClip Frame 4
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 23
_root.gotoAndStop("win");
Symbol 116 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) { if (random(40) == 1) { this.play(); } }
Symbol 116 MovieClip Frame 2
stop();
Symbol 117 Button
on (release) { gotoAndPlay (1); }
Symbol 120 MovieClip Frame 80
stop();
Symbol 121 Button
on (release) { gotoAndPlay (2); }

Library Items

Symbol 1 Sound [sound1]
Symbol 2 Sound [sound4]
Symbol 3 Sound [sound3]
Symbol 4 Sound [sound2]
Symbol 5 GraphicUsed by:7
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:5 6Used by:14
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:14
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:14
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClip [laser]Uses:7 9 11 13
Symbol 15 GraphicUsed by:20
Symbol 16 ShapeTweeningUsed by:19
Symbol 17 SoundUsed by:19
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:16 17 18Used by:20 92 94 97
Symbol 20 MovieClip [ship2]Uses:15 19Used by:98
Symbol 21 ShapeTweeningUsed by:24
Symbol 22 GraphicUsed by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip [exlplosion]Uses:21 22 23Used by:86
Symbol 25 GraphicUsed by:29 117 121
Symbol 26 GraphicUsed by:29 117 121
Symbol 27 GraphicUsed by:29 117 121
Symbol 28 GraphicUsed by:29 117 121
Symbol 29 ButtonUses:25 26 27 28Used by:Timeline
Symbol 30 GraphicUsed by:36
Symbol 31 GraphicUsed by:36
Symbol 32 GraphicUsed by:36
Symbol 33 GraphicUsed by:36
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:36
Symbol 36 MovieClipUses:30 31 32 33 35Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:Timeline
Symbol 39 GraphicUsed by:43
Symbol 40 GraphicUsed by:43
Symbol 41 GraphicUsed by:43
Symbol 42 GraphicUsed by:43
Symbol 43 ButtonUses:39 40 41 42Used by:Timeline
Symbol 44 GraphicUsed by:47
Symbol 45 FontUsed by:46
Symbol 46 TextUses:45Used by:47
Symbol 47 ButtonUses:44 46Used by:Timeline
Symbol 48 SoundUsed by:Timeline
Symbol 49 GraphicUsed by:Timeline
Symbol 50 GraphicUsed by:53
Symbol 51 GraphicUsed by:53
Symbol 52 SoundUsed by:53
Symbol 53 MovieClipUses:50 51 52Used by:Timeline
Symbol 54 GraphicUsed by:60
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:60  Timeline
Symbol 57 ShapeTweeningUsed by:60
Symbol 58 SoundUsed by:60 65 68
Symbol 59 GraphicUsed by:60 65 68
Symbol 60 MovieClipUses:54 56 57 58 59Used by:69
Symbol 61 GraphicUsed by:65  Timeline
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:65  Timeline
Symbol 64 ShapeTweeningUsed by:65
Symbol 65 MovieClipUses:61 63 64 58 59Used by:69
Symbol 66 GraphicUsed by:68
Symbol 67 ShapeTweeningUsed by:68
Symbol 68 MovieClipUses:66 67 58 59Used by:69
Symbol 69 MovieClipUses:60 65 68Used by:Timeline
Symbol 70 GraphicUsed by:Timeline
Symbol 71 GraphicUsed by:Timeline
Symbol 72 FontUsed by:73 75 87
Symbol 73 EditableTextUses:72Used by:Timeline
Symbol 74 GraphicUsed by:Timeline
Symbol 75 EditableTextUses:72Used by:Timeline
Symbol 76 ShapeTweeningUsed by:80
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:80
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:76 78 79Used by:86
Symbol 81 GraphicUsed by:86
Symbol 82 GraphicUsed by:86
Symbol 83 GraphicUsed by:86
Symbol 84 SoundUsed by:86
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:80 81 82 83 84 85 24Used by:Timeline
Symbol 87 EditableTextUses:72Used by:Timeline
Symbol 88 GraphicUsed by:92
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:92
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:88 90 91 19Used by:98
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93 19Used by:98
Symbol 95 GraphicUsed by:97
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:95 96 19Used by:98
Symbol 98 MovieClipUses:92 20 94 97Used by:Timeline
Symbol 99 GraphicUsed by:116
Symbol 100 GraphicUsed by:103
Symbol 101 GraphicUsed by:103
Symbol 102 SoundUsed by:103
Symbol 103 MovieClipUses:100 101 102Used by:116
Symbol 104 GraphicUsed by:107
Symbol 105 GraphicUsed by:107
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:104 105 106Used by:116
Symbol 108 GraphicUsed by:110
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:108 109Used by:116
Symbol 111 GraphicUsed by:116
Symbol 112 GraphicUsed by:116
Symbol 113 GraphicUsed by:115
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:113 114Used by:116
Symbol 116 MovieClipUses:99 103 107 110 111 112 115Used by:Timeline
Symbol 117 ButtonUses:25 26 27 28Used by:Timeline
Symbol 118 GraphicUsed by:120
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:118 119Used by:Timeline
Symbol 121 ButtonUses:25 26 27 28Used by:Timeline
Symbol 122 GraphicUsed by:Timeline
Symbol 123 GraphicUsed by:Timeline
Symbol 124 GraphicUsed by:Timeline

Instance Names

"star"Frame 1Symbol 36 MovieClip
"enemyLaser"Frame 2Symbol 53 MovieClip
"ship"Frame 2Symbol 86 MovieClip
"enemy"Frame 2Symbol 98 MovieClip
"fire"Symbol 14 MovieClip [laser] Frame 1Symbol 7 MovieClip
"ball2"Symbol 14 MovieClip [laser] Frame 3Symbol 11 MovieClip
"ball1"Symbol 14 MovieClip [laser] Frame 3Symbol 11 MovieClip
"b1"Symbol 69 MovieClip Frame 1Symbol 60 MovieClip
"b1"Symbol 69 MovieClip Frame 2Symbol 65 MovieClip
"b1"Symbol 69 MovieClip Frame 3Symbol 68 MovieClip
"ship"Symbol 98 MovieClip Frame 1Symbol 92 MovieClip
"ship"Symbol 98 MovieClip Frame 2Symbol 20 MovieClip [ship2]
"ship"Symbol 98 MovieClip Frame 3Symbol 94 MovieClip
"ship"Symbol 98 MovieClip Frame 4Symbol 97 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "sound1"
ExportAssets (56)Timeline Frame 1Symbol 2 as "sound4"
ExportAssets (56)Timeline Frame 1Symbol 3 as "sound3"
ExportAssets (56)Timeline Frame 1Symbol 4 as "sound2"
ExportAssets (56)Timeline Frame 1Symbol 14 as "laser"
ExportAssets (56)Timeline Frame 1Symbol 20 as "ship2"
ExportAssets (56)Timeline Frame 1Symbol 24 as "exlplosion"
ExportAssets (56)Timeline Frame 2Symbol 24 as "exlplosion"
ExportAssets (56)Timeline Frame 2Symbol 20 as "ship2"

Labels

"gameover"Frame 1
"start"Frame 2
"boss1"Frame 3
"win"Frame 4
"laser"Symbol 7 MovieClip Frame 1
"l"Symbol 7 MovieClip Frame 2

Dynamic Text Variables

scoreSymbol 73 EditableText""
shieldSymbol 75 EditableText""
weaponSymbol 87 EditableText""




http://swfchan.com/11/50391/info.shtml
Created: 26/4 -2019 14:54:59 Last modified: 26/4 -2019 14:54:59 Server time: 22/12 -2024 08:09:29