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

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

Skid-WRX.swf

This is the info page for
Flash #109698

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


Text
INITIALISING SKIDWRX LOADING ENGINE

SKID

WRX

MARKFENNELL 2004

/

LOADING

K

CONTROLS: SPACE - HANDBRAKE SLIDE
ARROW KEYS - LEFT RIGHT ACCELERATE BRAKE

Play

Play

PLAY!

Top Scores

Top Scores

00

00

00

00

LAP 01

LAP 02

LAP 03

TIMER

3

2

1

GO

REPLAY

REPLAY

REPLAY

SUBMIT SCORE

SUBMIT SCORE

SUBMIT SCORE

RACE COMPLETED!

TOTAL TIME

BEST LAP

LOADING...

LOADING...

SCORE

NAME

Player 1

0

Player 2

0

Player 3

0

Player 5

0

Player 4

0

Player 6

0

Player 7

0

Player 8

0

Player 10

0

Player 9

0

Back

Back

Back

Back

ActionScript [AS1/AS2]

Frame 1
randguest = random(99999); if (Number(length(theuser)) >= 2) { theuser = theuser; } else { theuser = "guest" + randguest; } mruser = theuser; Loading = getBytesLoaded(); Total = getBytesTotal(); _root.loaded = Math.round(loading / 1000); _root.totalk = Math.round(Total / 1000); if (loading >= Total) { gotoAndStop (3); }
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stop(); mbenneyTimer = function () { this.reset(); }; mT = mbenneyTimer.prototype; mT.reset = function () { var _local1 = this; _local1.oldTime = 0; _local1.pause = true; _local1.totalTime = 0; }; mT.stop = function () { var _local1 = this; if (!_local1.pause) { _local1.pause = true; _local1.totalTime = _local1.totalTime + (getTimer() - _local1.oldTime); } }; mT.start = function () { var _local1 = this; if (_local1.pause) { _local1.pause = false; _local1.oldTime = getTimer(); } }; mT.getMili = function () { var _local2 = this; var _local1 = _local2.totalTime; if (!_local2.pause) { _local1 = _local1 + (getTimer() - _local2.oldTime); } return(_local1); }; mT.getSecs = function () { var _local2 = this; var _local1 = _local2.totalTime / 1000; if (!_local2.pause) { _local1 = _local1 + ((getTimer() - _local2.oldTime) / 1000); } return(Math.round(_local1)); }; mT.getMins = function () { var _local2 = this; var _local1 = _local2.totalTime / 1000; if (!_local2.pause) { _local1 = _local1 + (((getTimer() - _local2.oldTime) / 1000) / 60); } return(Math.round(_local1)); }; mT.getCount = function (secs) { var _local2 = this; var _local1 = _local2.totalTime; if (!_local2.pause) { _local1 = _local1 + ((getTimer() - _local2.oldTime) / 1000); } var _local3 = secs - _local1; return(Math.round(_local3)); };
Instance of Symbol 50 MovieClip "car" in Frame 4
onClipEvent (load) { track_x = 100; track_y = -818; this._x = Stage.Width / 2; this._y = Stage.Height / 2; angle = 1.5609317684435; _rotation = ((angle * 180) / Math.PI); _root.track._x = track_x; _root.track._y = track_y; _root.lap1 = ""; _root.lap2 = ""; _root.lap3 = ""; _root.timer = ""; }
Frame 5
stop();
Instance of Symbol 50 MovieClip "car" in Frame 5
onClipEvent (load) { function getPos(clip) { var _local1 = {x:0, y:0}; clip.localToGlobal(_local1); return(_local1); } function two(x) { return(((x > 9) ? "" : "0") + x); } function three(x) { var _local1 = x; return((((_local1 > 99) ? "" : "0") + ((_local1 > 9) ? "" : "0")) + _local1); } function displaytime(ms) { var _local2 = Math.floor(ms / 1000); ms = ms % 1000; var _local1 = three(ms); var _local3 = Math.floor(_local2 / 60); _local2 = _local2 % 60; _local1 = (two(_local2) + ":") + _local1; var hr = Math.floor(_local3 / 60); _local3 = _local3 % 60; _local1 = (two(_local3) + ":") + _local1; return(_local1); } function skid(Handbrakey) { var _local2 = this; var _local3 = _root.track.attachMovie("skidmark", "skidleft" + skids, skids); var _local1 = 0; while (_local1 < _local2.displaywheels) { wheelsPos[_local1] = getPos(_local2["w" + _local1]); if (handbrakey) { _local3.lineStyle(4, 0, 70); _local3.moveto(_local2.wheelsPos[_local1].x - track_x, _local2.wheelsPos[_local1].y - track_y); _local3.lineTo(_local2.lastpos[_local1].x, _local2.lastpos[_local1].y); } else { _local3.lineStyle(3, 0, 50); _local3.moveto(_local2.wheelsPos[_local1].x - track_x, _local2.wheelsPos[_local1].y - track_y); _local3.lineTo(_local2.lastpos[_local1].x, _local2.lastpos[_local1].y); } lastpos[_local1].x = _local2.wheelsPos[_local1].x - track_x; lastpos[_local1].y = _local2.wheelsPos[_local1].y - track_y; skids++; _local1++; } return(true); } function setLastpos() { var _local2 = this; var _local1 = 0; while (_local1 < _local2.displaywheels) { _local2.wheelsPos[_local1] = getPos(_local2["w" + _local1]); lastpos[_local1].x = _local2.wheelsPos[_local1].x - track_x; lastpos[_local1].y = _local2.wheelsPos[_local1].y - track_y; _local1++; } } function adjust(v, threshold, maximum) { vx = 0; if (v <= threshold) { vx = (v / threshold) * 1; } else { vx = 1; } return(vx); } accel = 0.2; steer = 0.08; steer_normal = 0.08; steer_handbrake = 0.099; steer_threshold = 4; MINspd = -5; MAXspd = 22; MAXskiddisplay = 2; MAXturnSpd = 10; MaxTurnSkid = 18; deccel = 0.92; handbrake = 0.93; handbrake_traction = 20; drift = 0.98; speed = 0; surface = 3; traction = 5; traction_max = 1; vector = [0, 0]; bounceBack = 0.6; laptimes = new Array(); laps = 3; var i = 1; while (i <= laps) { laptimes[i] = 0; i++; } checkpoints = new Array(); checks = 4; var i = 0; while (i <= checks) { checkpoints[i] = false; i++; } lap = 0; collide = false; track_x = 100; track_y = -818; this._x = Stage.Width / 2; this._y = Stage.Height / 2; angle = 1.5609317684435; _rotation = ((angle * 180) / Math.PI); myTimer = new _root.mbenneyTimer(); displaywheels = 2; wheelsPos = new Array(); lastPos = new Array(); var i = 0; while (i < displaywheels) { wheelsPos[i] = getPos(this["w" + i]); lastPos[i] = wheelspos[i]; i++; } skidding = false; turnskidding = false; skids = 1; myTimer.start(); } onClipEvent (enterFrame) { _rotation = ((angle * 180) / Math.PI); _root.track._x = track_x; _root.track._y = track_y; UD = Key.isDown(38) - Key.isDown(40); LR = Key.isDown(39) - Key.isDown(37); HAND = Key.isDown(32); if (LR) { angle = angle + ((LR * steer) * adjust(Math.Abs(speed), steer_threshold, MAXSpd)); if (speed > maxturnskid) { if (!turnskidding) { setLastpos(); } turnskidding = skid(HAND); } else { turnskidding = false; } } else { turnskidding = false; } if (!UD) { speed = speed * drift; } else if (UD & (!HAND)) { speed = Math.min(Math.max(speed + (UD * accel), MINspd), MAXspd); } if (Math.abs(speed) < (accel / 2)) { speed = 0; } if (HAND) { speed = speed * handbrake; if (speed > MAXskiddisplay) { steer = steer_handbrake; if (!skidding) { setLastpos(); } skidding = skid(HAND); } traction = handbrake_traction / surface; } else { skidding = false; traction = Math.max(traction_max, Math.abs((speed - MAXturnSpd) / surface)); steer = steer_normal; } if (speed < 0) { traction = 1; } if (!_root.track.track.hittest(_x, _y, true)) { speed = speed * 0.95; traction = traction * 1.1; } var frontpos = new Array(); var i = 0; while (i < this.displaywheels) { this.frontpos[i] = getPos(this["f" + i]); i++; } if (_root.track.crunchers.hittest(frontpos[0].x, frontpos[0].y, true) & (!collide)) { speed = (-speed) * bounceback; vector[0] = -vector[0]; vector[1] = -vector[1]; collide = true; } else if (_root.track.crunchers.hittest(frontpos[1].x, frontpos[1].y, true) & (!collide)) { speed = (-speed) * bounceback; vector[0] = -vector[0]; vector[1] = -vector[1]; collide = true; } else { collide = false; } track_x = track_x + ((vector[0] = vector[0] + (((Math.cos(angle) * speed) - vector[0]) / traction))); track_y = track_y + ((vector[1] = vector[1] + (((Math.sin(angle) * speed) - vector[1]) / traction))); _root.timer = displaytime(myTimer.getMili()); _root.speedHand._rotation = Math.max(-11, Math.Abs(speed * 8.5)); if (_root.track.check1.hittest(_x, _y, true)) { checkpoints[1] = true; } if (_root.track.check2.hittest(_x, _y, true)) { checkpoints[2] = true; } if (_root.track.check3.hittest(_x, _y, true)) { checkpoints[3] = true; } if (_root.track.check4.hittest(_x, _y, true)) { checkpoints[4] = true; } if (_root.track.check0.hittest(_x, _y, true)) { if (((checkpoints[1] & checkpoints[2]) & checkpoints[3]) & checkpoints[4]) { lap++; if (lap == 1) { laptimes[1] = myTimer.getMili(); _root.lap1 = displaytime(laptimes[1]); } else if (lap == 2) { laptimes[2] = myTimer.getMili() - laptimes[1]; _root.lap2 = displaytime(laptimes[2]); } else if (lap == 3) { laptimes[3] = (myTimer.getMili() - laptimes[2]) - laptimes[1]; _root.lap3 = displaytime(laptimes[3]); } var i = 0; while (i <= checks) { checkpoints[i] = false; i++; } if (lap >= laps) { mytimer.stop(); _root.racetimer = myTimer.getMili(); _root.bestlaptime = Math.Min(laptimes[1], Math.Min(laptimes[2], laptimes[3])); _root.gotoandstop(6); } } } }
Frame 6
function two(x) { return(((x > 9) ? "" : "0") + x); } function three(x) { var _local1 = x; return((((_local1 > 99) ? "" : "0") + ((_local1 > 9) ? "" : "0")) + _local1); } function displaytime(ms) { var _local2 = Math.floor(ms / 1000); ms = ms % 1000; var _local1 = three(ms); var _local3 = Math.floor(_local2 / 60); _local2 = _local2 % 60; _local1 = (two(_local2) + ".") + _local1; var hr = Math.floor(_local3 / 60); _local3 = _local3 % 60; _local1 = two(_local3) + _local1; return(_local1); } _root.my_score = displaytime(_root.racetimer); _root.totalrace = displaytime(_root.racetimer); _root.bestlap = displaytime(_root.bestlaptime); stop();
Frame 7
loadVariablesNum ("z_7.php?gid=7&" add random(999), 0);
Frame 46
stop();
Symbol 1 MovieClip [skidmark] Frame 71
this.removemovieclip();
Symbol 21 Button
on (release) { getURL ("http://www.bajungo.com"); }
Symbol 27 Button
on (release) { gotoAndPlay (4); }
Symbol 31 Button
on (release) { gotoAndPlay (7); }
Symbol 41 MovieClip Frame 1
this.track._visible = false; this.crunchers._visible = false; this.check0._visible = false; this.check1._visible = false; this.check2._visible = false; this.check3._visible = false; this.check4._visible = false; stop();
Symbol 50 MovieClip Frame 1
fscommand ("allowscale", "false");
Symbol 68 MovieClip Frame 101
_root.gotoandplay(5); this.movieclipremove();
Symbol 76 Button
on (release) { gotoAndStop (4); }
Symbol 80 Button
on (release) { getURL ("scores_submit.php", "_self", "POST"); play(); }
Symbol 124 Button
on (release) { gotoAndPlay (1); }

Library Items

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

Instance Names

"track"Frame 4Symbol 41 MovieClip
"speedHand"Frame 4Symbol 45 MovieClip
"car"Frame 4Symbol 50 MovieClip
"car"Frame 5Symbol 50 MovieClip
"replay"Frame 6Symbol 76 Button
"my_score"Frame 6Symbol 87 EditableText
"mruser"Frame 6Symbol 89 EditableText
"theuserid"Frame 6Symbol 90 EditableText
"thegid"Frame 6Symbol 91 EditableText
"crunchers"Symbol 41 MovieClip Frame 1Symbol 36 MovieClip
"track"Symbol 41 MovieClip Frame 1Symbol 39 MovieClip
"check0"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"check0"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"check0"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"check1"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"check2"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"check3"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"check4"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"w1"Symbol 50 MovieClip Frame 1Symbol 48 MovieClip
"w0"Symbol 50 MovieClip Frame 1Symbol 49 MovieClip
"f1"Symbol 50 MovieClip Frame 1Symbol 48 MovieClip
"f0"Symbol 50 MovieClip Frame 1Symbol 49 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "skidmark"

Dynamic Text Variables

loadedSymbol 12 EditableText""
totalkSymbol 14 EditableText""
lap1Symbol 52 EditableText"00"
lap2Symbol 53 EditableText"00"
lap3Symbol 54 EditableText"00"
timerSymbol 55 EditableText"00"
totalraceSymbol 84 EditableText""
bestlapSymbol 85 EditableText""
my_scoreSymbol 87 EditableText""
mruserSymbol 89 EditableText""
theuseridSymbol 90 EditableText""
thegidSymbol 91 EditableText""
name1Symbol 99 EditableText"Player 1"
score1Symbol 100 EditableText"0"
name2Symbol 101 EditableText"Player 2"
score2Symbol 102 EditableText"0"
name3Symbol 103 EditableText"Player 3"
score3Symbol 104 EditableText"0"
name5Symbol 105 EditableText"Player 5"
score5Symbol 106 EditableText"0"
name4Symbol 107 EditableText"Player 4"
score4Symbol 108 EditableText"0"
name6Symbol 109 EditableText"Player 6"
score6Symbol 110 EditableText"0"
name7Symbol 111 EditableText"Player 7"
score7Symbol 112 EditableText"0"
name8Symbol 113 EditableText"Player 8"
score8Symbol 114 EditableText"0"
name10Symbol 115 EditableText"Player 10"
score10Symbol 116 EditableText"0"
name9Symbol 117 EditableText"Player 9"
score9Symbol 118 EditableText"0"




http://swfchan.com/22/109698/info.shtml
Created: 14/3 -2019 05:13:39 Last modified: 14/3 -2019 05:13:39 Server time: 31/10 -2024 23:27:32