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

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

OMG_SWEET_RACE.swf

This is the info page for
Flash #18046

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


Text
...Loading...



Lap time:

Best:

ActionScript [AS1/AS2]

Frame 1
total = getBytesTotal(); loaded = getBytesLoaded(); if ((loaded = total)) { gotoAndPlay (3); }
Frame 2
gotoAndPlay (1);
Frame 4
stop();
Instance of Symbol 13 MovieClip "car" in Frame 4
onClipEvent (load) { function move(x, y) { var _loc1 = _root; var _loc2 = y; var _loc3 = x; h = false; if (!_loc1.map.hitTest((_x + _loc3) + b.xmin, (_y + _loc2) + b.ymin, true)) { if (!_loc1.map.hitTest((_x + _loc3) + b.xmax, (_y + _loc2) + b.ymin, true)) { if (!_loc1.map.hitTest((_x + _loc3) + b.xmin, (_y + _loc2) + b.ymax, true)) { if (!_loc1.map.hitTest((_x + _loc3) + b.xmax, (_y + _loc2) + b.ymax, true)) { h = true; } } } } return(h); } b = this.getBounds(this); } onClipEvent (enterFrame) { if (Key.isDown(38)) { speed = speed + 1; } if (Key.isDown(40)) { speed = speed - 1; } if (Key.isDown(37)) { _rotation = (_rotation - 10); } if (Key.isDown(39)) { _rotation = (_rotation + 10); } speed = speed * 0.9; x = Math.sin(_rotation * 0.01745329) * speed; y = (Math.cos(_rotation * 0.01745329) * speed) * -1; h = move(x, y); if (h == true) { _root.checkPoints._x = (_root.map._x = (_root.circuit._x = _root.circuit._x - x)); _root.checkPoints._y = (_root.map._y = (_root.circuit._y = _root.circuit._y - y)); } else { speed = -speed; _root.crashSound.gotoAndPlay(2); } }
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) { _root.lastc = 3; _root.bestlap = 11.4; _root.laptime = "0.0"; start = false; } onClipEvent (enterFrame) { if (start) { _root.laptime = Math.round((getTimer() - start) / 100) / 10; } if (this.hitTest(_root.car)) { if (_root.lastc == 3) { _root.lastc = 0; if (start) { if (_root.laptime < _root.bestlap) { _root.bestlap = _root.laptime; } } start = getTimer(); } } }
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.car)) { if (_root.lastc == 0) { _root.lastc = 1; } if (_root.lastc > 1) { _root.lastc = 1; } } }
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.car)) { if (_root.lastc == 2) { _root.lastc = 3; } } }
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.car)) { if (_root.lastc == 1) { _root.lastc = 2; } if (_root.lastc > 2) { _root.lastc = 2; } } }
Symbol 15 MovieClip Frame 1
stop();

Library Items

Symbol 1 FontUsed by:2
Symbol 2 TextUses:1Used by:Timeline
Symbol 3 GraphicUsed by:Timeline
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:11
Symbol 11 MovieClipUses:10Used by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:Timeline
Symbol 14 SoundUsed by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 FontUsed by:17 18 19 20
Symbol 17 EditableTextUses:16Used by:Timeline
Symbol 18 EditableTextUses:16Used by:Timeline
Symbol 19 TextUses:16Used by:Timeline
Symbol 20 TextUses:16Used by:Timeline

Instance Names

"circuit"Frame 4Symbol 6 MovieClip
"map"Frame 4Symbol 8 MovieClip
"checkPoints"Frame 4Symbol 11 MovieClip
"car"Frame 4Symbol 13 MovieClip
"crashSound"Frame 4Symbol 15 MovieClip

Dynamic Text Variables

bestlapSymbol 17 EditableText" "
laptimeSymbol 18 EditableText" "




http://swfchan.com/4/18046/info.shtml
Created: 31/5 -2019 08:39:43 Last modified: 31/5 -2019 08:39:43 Server time: 09/05 -2024 11:40:42