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

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

Ski Simulator.swf

This is the info page for
Flash #23697

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


Text
start

© Tomas Eriksson 2003

FINISH

PLAY AGAIN

0

0:00

ActionScript [AS1/AS2]

Frame 1
snd = new Sound(sky); snd.attachSound("sndSwisch"); snd.start(0, 99999);
Frame 2
function onEnterFrame() { var dmx = (5 * (_xmouse - 275)); if (g == 0) { dmx2 = dmx2 + ((dmx - dmx2) * 0.3); } spd = spd + ((((400 - _ymouse) * 0.02) - spd) * 0.05); if (go) { if (((tm++) % 40) == 0) { var m = Math.round(tm / 40); var s = (m % 60); time = (Math.round(m / 60) + ":") + ((s < 10) ? ("0" + s) : (s)); } } else { dx = 0; dmx2 = 0; if (spd > 2) { spd = 2; } } var yy = (Math.sin((w++) * 0.05) * 3); s1._x = 255 + g; s2._x = 295 - g; s1._y = 410 + yy; s2._y = 410 - yy; s1._rotation = (0.04 * dmx2) + g; s2._rotation = (0.04 * dmx2) - g; mx = _xmouse; q = q + spd; zz = zz + ((Math.abs(_xmouse - lx) - zz) * 0.2); snd.setVolume(((g != 0) ? 0 : ((((400 - _ymouse) * 0.2) * Math.max(zz, 1)) * 0.02))); lx = _xmouse; if (q > 31) { var diff = Math.abs(xp[pg % 15] - dx); var type = tp[pg % 15]; if ((((type == 1) || (type == 2)) && (diff < 2500)) && (g > -10)) { spd = 0; q = q - 4; if (sndr) { sndHurt.start(); sndr = false; } return(undefined); } if (type == 5) { if (diff > 4000) { spd = 0; q = q - 32; return(undefined); } go = true; } if (type == 6) { if (diff > 4000) { spd = 0; q = q - 32; return(undefined); } go = false; attachMovie("playAgain", "pa", 123, {_x:275, _y:200}); } if (type == 4) { if ((diff > 3000) && (diff < 4000)) { spd = 0; q = q - 4; if (sndr) { sndHurt.start(); sndr = false; } return(undefined); } if (diff <= 3000) { sc++; score = sc; sndScore.start(); } } sndr = true; q = q - 32; var t = ((pg == 210) ? 6 : ((((pg % 7) == 0) ? 4 : (random(3) + 1)))); xp[pg % 15] = ((pg > 210) ? 1000000 : ((((pg % 7) == 0) ? (random(50000) - 25000) : (((t == 3) ? (random(50000) - 25000) : ((random(30000) + 15000) * (((pg % 2) == 0) ? 1 : -1))))))); tp[pg % 15] = t; pg++; var c = 14; while (c >= 0) { var b = this["a" + c]; b.gotoAndstop(tp[(c + pg) % 15]); c--; } } xx = xx + ((_xmouse - xx) * 0.06); dx = dx - dmx2; var dy = ((9500 + (1000 * Math.sin((e = e + ((400 - _ymouse) * 0.0004))))) - (g * 1000)); g = g + g2; g2 = g2 + 0.1; if (g > 0) { g = 0; g2 = 0; } var w = (-0.01 * dmx2); var cs = Math.cos((w * Math.PI) / 180); var sn = Math.sin((w * Math.PI) / 180); var c = 14; while (c >= 0) { var t = tp[(c + pg) % 15]; var col = Math.max((((c * 32) - q) * 0.8) - 128, 0); var z = ((60 + (32 * c)) - q); var x = xp[(c + pg) % 15]; var s = (25000 / z); var b = this["a" + c]; var x1 = (((-x) + dx) / z); var y1 = ((dy / z) - 280); b._x = ((x1 * cs) - (y1 * sn)) + 275; b._y = ((x1 * sn) + (y1 * cs)) + 380; b._rotation = w; b._xscale = (b._yscale = s); tf[c].setTransform({rb:col, gb:col, bb:col}); c--; } sky._rotation = -0.01 * dmx2; sky._y = 390 - (2 * g); } function onMouseDown() { if (go && (g == 0)) { g2 = -2; } } attachMovie("skitop", "s1", 1000, {_x:255}); attachMovie("skitop", "s2", 1001, {_x:295}); sndHurt = new Sound(s1); sndHurt.attachSound("sndHurt"); sndScore.setVolume(30); sndScore = new Sound(s2); sndScore.attachSound("sndScore"); sndScore.setVolume(30); sc = 0; go = false; tm = 0; sndr = true; lx = _xmouse; _quality = "medium"; xp = []; tp = []; rp = []; pg = 0; var c = 14; while (c >= 0) { xp.push(((c == 11) ? 0 : (((c > 11) ? -100000 : ((random(15000) + 30000) * (((c % 2) == 0) ? 1 : -1)))))); tp.push(((c == 11) ? 5 : (random(3) + 1))); rp.push(random(30) - 15); var z = (30 + (10 * c)); var s = (5000 / z); attachMovie("tree", "a" + c, 10 - c, {}); c--; } tf = []; var c = 14; while (c >= 0) { var b = this["a" + c]; b.gotoAndStop(tp[c]); tf[c] = new Color(b); c--; } var q = 0; stop();
Symbol 20 MovieClip [playAgain] Frame 1
this.onPress = function () { _root.onEnterFrame = null; _root.gotoAndPlay(2); _root.pa.removeMovieClip(); };

Library Items

Symbol 1 Sound [sndSwisch]
Symbol 2 Sound [sndHurt]
Symbol 3 Sound [sndScore]
Symbol 4 GraphicUsed by:15
Symbol 5 GraphicUsed by:15
Symbol 6 GraphicUsed by:15
Symbol 7 GraphicUsed by:15
Symbol 8 GraphicUsed by:15
Symbol 9 FontUsed by:10 14
Symbol 10 TextUses:9Used by:15
Symbol 11 FontUsed by:12
Symbol 12 TextUses:11Used by:15
Symbol 13 GraphicUsed by:15
Symbol 14 TextUses:9Used by:15
Symbol 15 MovieClip [tree]Uses:4 5 6 7 8 10 12 13 14
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip [skitop]Uses:16
Symbol 18 FontUsed by:19
Symbol 19 EditableTextUses:18Used by:20
Symbol 20 MovieClip [playAgain]Uses:19
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:Timeline
Symbol 23 FontUsed by:24 25
Symbol 24 EditableTextUses:23Used by:Timeline
Symbol 25 EditableTextUses:23Used by:Timeline

Instance Names

"sky"Frame 1Symbol 22 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "sndSwisch"
ExportAssets (56)Timeline Frame 1Symbol 2 as "sndHurt"
ExportAssets (56)Timeline Frame 1Symbol 3 as "sndScore"
ExportAssets (56)Timeline Frame 1Symbol 15 as "tree"
ExportAssets (56)Timeline Frame 1Symbol 17 as "skitop"
ExportAssets (56)Timeline Frame 1Symbol 20 as "playAgain"

Dynamic Text Variables

scoreSymbol 24 EditableText"0"
timeSymbol 25 EditableText"0:00"




http://swfchan.com/5/23697/info.shtml
Created: 26/5 -2019 01:29:02 Last modified: 26/5 -2019 01:29:02 Server time: 12/05 -2024 05:16:17