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

Gr8 Racing.swf

This is the info page for
Flash #23489

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


Text
/

LOADING

K

Watermark will go away upon payment

CONTROLS SPACE HANDBRAKE SLIDE
ARROW KEYS LEFT RIGHT THROTTLE BRAKE

START!

PLAY!

www.GR8GAMEZ.com

in partnership with

along with

and

present

00

00

00

00

LAP 01

LAP 02

LAP 03

TIMER

3

2

1

go

RESET

RESET

REPLAY

RACE COMPLETED!

TOTAL TIME

BEST LAP

ActionScript [AS1/AS2]

Frame 1
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 67 MovieClip "car" in Frame 4
onClipEvent (load) { track_x = 100; track_y = -818; this._x = 220; this._y = 180; 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 67 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 { _root.skid.play(); _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.3; steer = 0.14; steer_normal = 0.15; steer_handbrake = 0.099; steer_threshold = 20; MINspd = -5; MAXspd = 27; MAXskiddisplay = 2; MAXturnSpd = 5; MaxTurnSkid = 26; deccel = 0.92; handbrake = 0.93; handbrake_traction = 20; drift = 0.98; speed = 0; surface = 9; traction = 6; 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 = 220; this._y = 180; 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) { _root.skid.play(); 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
stopAllSounds(); 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.totalrace = displaytime(_root.racetimer); _root.bestlap = displaytime(_root.bestlaptime); stop();
Symbol 1 MovieClip [skidmark] Frame 71
this.removemovieclip();
Symbol 22 Button
on (release) { gotoAndPlay (4); }
Symbol 26 Button
on (release) { getURL ("http://www.gr8gamez.com", _blank); }
Symbol 33 Button
on (release) { getURL ("http://www.seatbeltpads.com", _blank); }
Symbol 38 Button
on (release) { getURL ("http://www.mixcat.com", _blank); }
Symbol 43 Button
on (release) { getURL ("http://www.lcsworld.com/", _blank); }
Symbol 45 MovieClip Frame 1
play();
Symbol 45 MovieClip Frame 361
stop();
Symbol 58 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 67 MovieClip Frame 1
fscommand ("allowscale", "false");
Symbol 87 MovieClip Frame 99
_root.gotoandplay(5);
Symbol 87 MovieClip Frame 114
this.movieclipremove();
Symbol 87 MovieClip Frame 115
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 93 Button
on (release) { 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.totalrace = displaytime(_root.racetimer); _root.bestlap = displaytime(_root.bestlaptime); stopAllSounds(); gotoAndPlay (3); }
Symbol 98 Button
on (release) { gotoAndStop (4); }

Library Items

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

Instance Names

"track"Frame 4Symbol 58 MovieClip
"speedHand"Frame 4Symbol 62 MovieClip
"car"Frame 4Symbol 67 MovieClip
"car"Frame 5Symbol 67 MovieClip
"skid"Frame 5Symbol 90 MovieClip
"replay"Frame 6Symbol 98 Button
"crunchers"Symbol 58 MovieClip Frame 1Symbol 51 MovieClip
"track"Symbol 58 MovieClip Frame 1Symbol 54 MovieClip
"check0"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"check0"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"check0"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"check1"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"check2"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"check3"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"check4"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"w1"Symbol 67 MovieClip Frame 1Symbol 65 MovieClip
"w0"Symbol 67 MovieClip Frame 1Symbol 66 MovieClip
"f1"Symbol 67 MovieClip Frame 1Symbol 65 MovieClip
"f0"Symbol 67 MovieClip Frame 1Symbol 66 MovieClip

Special Tags

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

Dynamic Text Variables

loadedSymbol 3 EditableText""
totalkSymbol 5 EditableText""
lap1Symbol 69 EditableText"00"
lap2Symbol 70 EditableText"00"
lap3Symbol 71 EditableText"00"
timerSymbol 72 EditableText"00"
totalraceSymbol 102 EditableText""
bestlapSymbol 103 EditableText""




http://swfchan.com/5/23489/info.shtml
Created: 26/5 -2019 04:33:52 Last modified: 26/5 -2019 04:33:52 Server time: 22/12 -2024 14:08:55