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

SD-Thrust.swf

This is the info page for
Flash #77420

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


Text
10000

3

3

ActionScript [AS1/AS2]

Frame 1
Stage.showMenu = false; stop();
Frame 10
Name = "Guest";
Frame 20
welcome = "Welcome Newgrounds User"; stop();
Frame 21
stop(); bullets = false; bullettime = 1; Crash = new Sound(); Crash.attachSound("Crash"); Shoot = new Sound(); Shoot.attachSound("Shoot"); Thrust = new Sound(); Thrust.attachSound("Thrust"); showlevel.newlevel = "Level " + Level; land.nextFrame(); land.bg.nextFrame(); ship._x = land.spad._x + 277; ship._y = land.spad._y + 208;
Instance of Symbol 46 MovieClip "land" in Frame 21
/* no clip actions */
Instance of Symbol 48 MovieClip "Enemy" in Frame 21
onClipEvent (load) { } onClipEvent (enterFrame) { if (Pause > 0) { Pause = Pause - 1; } else if (Pause == 0) { Pause = 150; _root.Shoot.start(); _root.enemybullet._x = this._x; _root.enemybullet._y = this._y; angle = random(360); xstep = (_root.ship._x - _root.enemybullet._x) / 70; ystep = (_root.ship._y - _root.enemybullet._y) / 70; _root.enemybullet.bx = -xstep; _root.enemybullet.by = -ystep; } }
Instance of Symbol 50 MovieClip "enemybullet" in Frame 21
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.ship.momentumx = 0; _root.ship.momentumy = 0; _root.ship.gotoAndStop("Explode"); this.bx = 0; this.by = 0; this._x = 1000; } this._x = this._x - bx; this._y = this._y - by; }
Instance of Symbol 53 MovieClip "abullet" in Frame 21
onClipEvent (enterFrame) { if (_root.bullets == true) { this._x = this._x + ((_root.bulletx / 3) + _root.bulletxtrax); this._y = this._y - ((_root.bullety / 3) + _root.bulletxtray); if (this._x > 535) { _root.bullets = false; } if (_root.land.hitTest(_x, _y, true)) { _root.bullets = false; } if (this._x < 15) { _root.bullets = false; } if (this._y > 385) { _root.bullets = false; } if (this._y < 50) { _root.bullets = false; } } if ((_root.bullets == false) && (this._visible)) { this._visible = false; } }
Instance of Symbol 68 MovieClip "ship" in Frame 21
onClipEvent (load) { landed = true; topspeed = 10; rotate = 0; keydownright = false; keydownleft = false; keydownup = false; keydowndown = false; keydownfire = false; momentumx = 0; momentumy = 0; fired = false; dead = false; radians = 0.0174532925199433 /* Math.PI/180 */; } onClipEvent (keyDown) { if ((Key.getCode() == 39) && (landed == false)) { keydownright = true; } if ((Key.getCode() == 37) && (landed == false)) { keydownleft = true; } if (Key.getCode() == 38) { keydownup = true; if ((dead == false) && (_root.fuel > 0)) { this.gotoAndStop(2); } } if (Key.getCode() == 40) { keydowndown = true; } if (Key.getCode() == 32) { keydownfire = true; } } onClipEvent (keyUp) { if (Key.getCode() == 39) { keydownright = false; } if (Key.getCode() == 37) { keydownleft = false; } if (Key.getCode() == 38) { keydownup = false; if (dead == false) { this.gotoAndStop(1); } } if (Key.getCode() == 32) { keydownfire = false; fired = false; } } onClipEvent (enterFrame) { if (momentumy < -5) { momentumy = -5; } this._x = this._x + momentumx; this._y = this._y - momentumy; this._rotation = rotate; if (keydownright && (dead == false)) { rotate = rotate + 4; if (rotate > 360) { rotate = rotate - 360; } } if (keydownleft && (dead == false)) { rotate = rotate - 4; if (rotate < -360) { rotate = rotate + 360; } } if ((keydownup && (dead == false)) && (_root.fuel > 0)) { _root.fuel = _root.fuel - 1; momentumx = momentumx + (Math.sin(rotate * radians) / 16); momentumy = momentumy + (Math.cos(rotate * radians) / 16); if (momentumx > topspeed) { momentumx = topspeed; } if (momentumx < (-topspeed)) { momentumx = -topspeed; } if (momentumy > topspeed) { momentumy = topspeed; } if (momentumy < (-topspeed)) { momentumy = -topspeed; } else if ((keydownup && (dead == false)) && (_root.fuel == 0)) { this.gotoAndStop(1); } } if ((keydownfire == true) && (dead == false)) { if ((_root.bullets == false) && (fired == false)) { _root.abullet._x = this._x; _root.abullet._y = this._y; _root.abullet._visible = true; _root.bullets = true; _root.bulletx = Math.sin(rotate * radians) * 16; _root.bullety = Math.cos(rotate * radians) * 16; _root.bulletxtrax = momentumx; _root.bulletxtray = momentumy; _root.bullettime = 30; fired = true; _root.Shoot.start(); } } if (_root.bullettime > 0) { _root.bullettime--; if (_root.bullettime == 0) { _root.bullets = false; _root.abullet._visible = false; } } } onClipEvent (enterFrame) { if (_root.land.hitTest(_x, _y, true) && (dead == false)) { dead = true; momentumx = 0; momentumy = 0; this.gotoAndStop("Explode"); } if (((_root.land.spad.hitTest(_x, _y + 7, true) && (rotate > -10)) && (rotate < 10)) && (landed == false)) { rotate = 0; momentumx = 0; if (landed == false) { momentumy = 0; } landed = true; } else if (((_root.land.spad.hitTest(_x, _y + 7, true) && (rotate < -10)) && (rotate > 10)) && (landed == false)) { dead = true; momentumx = 0; momentumy = 0; this.gotoAndStop("Explode"); } else if (((_root.land.spad.hitTest(_x, _y + 7, true) && (rotate < -10)) && (rotate > 10)) && (landed == false)) { dead = true; momentumx = 0; momentumy = 0; this.gotoAndStop("Explode"); } else if (!_root.land.spad.hitTest(_x, _y + 7, true)) { momentumy = momentumy - 0.02; landed = false; } if ((((_root.land.pad.hitTest(_x, _y + 5, true) && (rotate > -10)) && (rotate < 10)) && (momentumy > -0.8)) && (dead == false)) { rotate = 0; momentumx = 0; momentumy = 0; this.gotoAndStop(4); } else if ((((_root.land.pad.hitTest(_x, _y + 5, true) && (rotate < -10)) && (rotate > 10)) && (momentumy < -0.8)) && (dead == false)) { dead = true; momentumx = 0; momentumy = 0; this.gotoAndStop("Explode"); } if (landed == true) { rotate = 0; if (_root.fuel < _root.fuellevel) { _root.fuel = _root.fuel + 3; } else if (_root.fuel > _root.fuellevel) { _root.fuel = _root.fuellevel; } } }
Instance of Symbol 73 MovieClip in Frame 21
onClipEvent (enterFrame) { this._xscale = _root.fuel / 10; }
Frame 25
stop();
Frame 26
if (ranking == "Bad") { rank.gotoAndStop("Bad"); } else if (ranking == "Good") { rank.gotoAndStop("Good"); }
Frame 35
stopAllSounds(); if (Name != "Guest") { mst.Check = 0; mst.Name = _root.Name; mst.pass = _root.pass; mst.score = _root.score; mst.Info = "Level " + _root.Level; mst.game = "Thrust"; mst.loadVariables("../scores/submit.php", "GET"); } else { gotoAndStop ("End"); }
Frame 40
if (mst.Check == 1) { gotoAndPlay (41); } else { gotoAndPlay (39); }
Frame 41
game = "Thrust"; loadVariablesNum ("../login/newlogin.php", 0, "POST");
Frame 50
stop();
Symbol 14 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { _root.play(); }
Symbol 14 MovieClip Frame 2
gotoAndPlay (1);
Symbol 19 Button
on (press) { score = 0; Lives = 1; Level = 1; _root.gotoAndStop("game"); }
Symbol 26 Button
on (release) { getURL ("http://www.syndicatesdomain.co.uk", blank); }
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
_root.fuel = 250; _root.fuellevel = 250;
Symbol 46 MovieClip Frame 3
_root.fuel = 200; _root.fuellevel = 200;
Symbol 46 MovieClip Frame 4
_root.fuel = 300; _root.fuellevel = 300;
Symbol 46 MovieClip Frame 5
_root.fuel = 300; _root.fuellevel = 300;
Symbol 46 MovieClip Frame 6
_root.fuel = 300; _root.fuellevel = 300;
Symbol 46 MovieClip Frame 7
_root.fuel = 350; _root.fuellevel = 350;
Symbol 46 MovieClip Frame 8
_root.fuel = 450; _root.fuellevel = 450;
Symbol 46 MovieClip Frame 9
_root.fuel = 400; _root.fuellevel = 400;
Symbol 46 MovieClip Frame 10
_root.fuel = 500; _root.fuellevel = 500;
Symbol 46 MovieClip Frame 11
_root.fuel = 500; _root.fuellevel = 500;
Symbol 46 MovieClip Frame 12
_root.fuel = 500; _root.fuellevel = 500;
Symbol 46 MovieClip Frame 13
_root.fuel = 500; _root.fuellevel = 500;
Symbol 46 MovieClip Frame 14
_root.ranking = "Good"; _root.gotoAndPlay("Gameover");
Symbol 64 MovieClip Frame 1
_root.Lives = _root.Lives - 1; stopAllSounds();
Symbol 64 MovieClip Frame 24
if (_root.Lives > 0) { _root.fuel = _root.fuellevel; _root.ship._x = _root.land.spad._x + 277; _root.ship._y = _root.land.spad._y + 206; _root.ship.dead = false; _root.ship.rotate = 0; _root.ship.landed = true; _root.ship.keydownright = false; _root.ship.keydownleft = false; _root.ship.keydownup = false; _root.ship.keydowndown = false; _root.ship.keydownfire = false; _root.ship.gotoAndStop(1); } else if (_root.Lives == 0) { _root.ranking = "Bad"; _root.gotoAndPlay("Gameover"); } stop();
Symbol 67 MovieClip Frame 70
_root.gotoAndStop("Done");
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 2
stop();
Symbol 68 MovieClip Frame 3
stop();
Symbol 70 MovieClip Frame 1
Symbol 70 MovieClip Frame 44
gotoAndStop (1);
Symbol 89 MovieClip Frame 16
stop();
Symbol 97 Button
on (release, keyPress "<Space>") { _root.Level = _root.Level + 1; _root.gotoAndStop("game"); }
Symbol 98 MovieClip Frame 1
stopAllSounds();
Symbol 98 MovieClip Frame 21
fuelleft = _root.fuel; score = _root.score; bonus = _root.Level * 1000;
Symbol 98 MovieClip Frame 37
if (fuelleft > 0) { fuelleft = fuelleft - 1; score = score + 10; gotoAndPlay (36); if (fuelleft < 0) { fuelleft = 0; gotoAndPlay (37); } }
Symbol 98 MovieClip Frame 38
score = score + bonus;
Symbol 98 MovieClip Frame 43
_root.score = score; stop();
Symbol 108 Button
on (release, keyPress "<Space>") { _root.gotoAndStop("Intro"); }

Library Items

Symbol 1 Sound [Shoot]Used by:98
Symbol 2 Sound [Crash]Used by:64
Symbol 3 Sound [Thrust]Used by:68
Symbol 4 BitmapUsed by:5 13
Symbol 5 GraphicUses:4Used by:14
Symbol 6 GraphicUsed by:10
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:6 7 8 9Used by:14
Symbol 11 GraphicUsed by:12 53
Symbol 12 MovieClipUses:11Used by:14
Symbol 13 GraphicUses:4Used by:14
Symbol 14 MovieClipUses:5 10 12 13Used by:Timeline
Symbol 15 GraphicUsed by:Timeline
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19 26
Symbol 19 ButtonUses:16 17 18Used by:Timeline
Symbol 20 FontUsed by:21 22 23 74 75 92 93 94 99 100 104
Symbol 21 EditableTextUses:20Used by:Timeline
Symbol 22 EditableTextUses:20Used by:Timeline
Symbol 23 EditableTextUses:20Used by:Timeline
Symbol 24 GraphicUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:24 25 18Used by:Timeline
Symbol 27 GraphicUsed by:89  Timeline
Symbol 28 SoundUsed by:Timeline
Symbol 29 GraphicUsed by:46
Symbol 30 GraphicUsed by:46
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:46
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:46
Symbol 35 GraphicUsed by:46
Symbol 36 GraphicUsed by:46
Symbol 37 GraphicUsed by:46
Symbol 38 GraphicUsed by:46
Symbol 39 GraphicUsed by:46
Symbol 40 GraphicUsed by:46
Symbol 41 GraphicUsed by:46
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:29 30 32 34 35 36 37 38 39 40 41 42 43 44 45Used by:Timeline
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:Timeline
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 FontUsed by:52 69 105 106
Symbol 52 EditableTextUses:51Used by:Timeline
Symbol 53 MovieClipUses:11Used by:Timeline
Symbol 54 GraphicUsed by:67 68
Symbol 55 GraphicUsed by:60
Symbol 56 GraphicUsed by:60
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:55 56 57 58 59Used by:68
Symbol 61 ShapeTweeningUsed by:64
Symbol 62 ShapeTweeningUsed by:64
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:61 2 62 63Used by:68
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClipUses:66 54Used by:68
Symbol 68 MovieClipUses:54 3 60 64 67Used by:Timeline
Symbol 69 EditableTextUses:51Used by:70
Symbol 70 MovieClipUses:69Used by:Timeline
Symbol 71 GraphicUsed by:Timeline
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:Timeline
Symbol 74 EditableTextUses:20Used by:Timeline
Symbol 75 EditableTextUses:20Used by:Timeline
Symbol 76 GraphicUsed by:89
Symbol 77 GraphicUsed by:89
Symbol 78 GraphicUsed by:89
Symbol 79 GraphicUsed by:89
Symbol 80 GraphicUsed by:89
Symbol 81 GraphicUsed by:89
Symbol 82 GraphicUsed by:89
Symbol 83 GraphicUsed by:89
Symbol 84 GraphicUsed by:89
Symbol 85 GraphicUsed by:89
Symbol 86 GraphicUsed by:89
Symbol 87 GraphicUsed by:89
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:76 77 78 79 80 81 82 83 84 85 86 87 88 27Used by:Timeline
Symbol 90 GraphicUsed by:Timeline
Symbol 91 GraphicUsed by:98
Symbol 92 EditableTextUses:20Used by:98
Symbol 93 EditableTextUses:20Used by:98
Symbol 94 EditableTextUses:20Used by:98
Symbol 95 GraphicUsed by:97 108
Symbol 96 GraphicUsed by:97 108
Symbol 97 ButtonUses:95 96Used by:98
Symbol 98 MovieClipUses:91 92 93 94 97 1Used by:Timeline
Symbol 99 EditableTextUses:20Used by:Timeline
Symbol 100 EditableTextUses:20Used by:Timeline
Symbol 101 GraphicUsed by:103
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:101 102Used by:Timeline
Symbol 104 EditableTextUses:20Used by:Timeline
Symbol 105 EditableTextUses:51Used by:107
Symbol 106 EditableTextUses:51Used by:107
Symbol 107 MovieClipUses:105 106Used by:Timeline
Symbol 108 ButtonUses:95 96Used by:Timeline

Instance Names

"land"Frame 21Symbol 46 MovieClip
"Enemy"Frame 21Symbol 48 MovieClip
"enemybullet"Frame 21Symbol 50 MovieClip
"abullet"Frame 21Symbol 53 MovieClip
"ship"Frame 21Symbol 68 MovieClip
"showlevel"Frame 21Symbol 70 MovieClip
"done"Frame 25Symbol 98 MovieClip
"rank"Frame 26Symbol 103 MovieClip
"mst"Frame 26Symbol 107 MovieClip
"bar"Symbol 14 MovieClip Frame 1Symbol 12 MovieClip
"spad"Symbol 46 MovieClip Frame 2Symbol 32 MovieClip
"pad"Symbol 46 MovieClip Frame 2Symbol 34 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "Shoot"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Crash"
ExportAssets (56)Timeline Frame 1Symbol 3 as "Thrust"
ExportAssets (56)Timeline Frame 21Symbol 3 as "Thrust"
ExportAssets (56)Timeline Frame 21Symbol 3 as "Thrust"
ExportAssets (56)Timeline Frame 21Symbol 2 as "Crash"
ExportAssets (56)Timeline Frame 25Symbol 1 as "Shoot"

Labels

"Preloader"Frame 1
"Login"Frame 10
"Intro"Frame 20
"game"Frame 21
"done"Frame 25
"Gameover"Frame 26
"End"Frame 50
"Explode"Symbol 68 MovieClip Frame 3
"Good"Symbol 103 MovieClip Frame 1
"Bad"Symbol 103 MovieClip Frame 2

Dynamic Text Variables

welcomeSymbol 21 EditableText""
welcomeSymbol 22 EditableText""
topscoreSymbol 23 EditableText"10000"
_root.Enemy.PauseSymbol 52 EditableText""
newlevelSymbol 69 EditableText""
scoreSymbol 74 EditableText""
LivesSymbol 75 EditableText"3"
scoreSymbol 92 EditableText""
fuelleftSymbol 93 EditableText""
bonusSymbol 94 EditableText""
scoreSymbol 99 EditableText""
LivesSymbol 100 EditableText"3"
mst.CheckSymbol 104 EditableText""
NameSymbol 105 EditableText""
passSymbol 106 EditableText""




http://swfchan.com/16/77420/info.shtml
Created: 4/4 -2019 01:31:18 Last modified: 4/4 -2019 01:31:18 Server time: 22/12 -2024 15:01:55