STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229672 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #42566 |
Mistä on kyse? Testaa alkoholin vaikutuksia suorituskykyysi. Laita avain lukkoon napauttamalla avaimen kärjellä avaimenreikää. Muuta promillemäärää liukuvalla asteikolla. |
x |
Promillelukko |
? |
x |
Hae tietoa alkoholin vaikutuksista >> |
ActionScript [AS1/AS2]
Frame 1_global.sDrag = function (me, range) { startDrag (me, false, range._x, range._y, range._width - 1, range._height); }; _root.handu._visible = false; _root.apua.gotoAndStop(1);Instance of Symbol 29 MovieClip "apua" in Frame 1/* no clip actions */Instance of Symbol 32 MovieClip in Frame 1onClipEvent (load) { useHandCursor = false; }Instance of Symbol 34 MovieClip in Frame 1onClipEvent (load) { useHandCursor = false; }Instance of Symbol 54 MovieClip "Controller" in Frame 1onClipEvent (load) { startDate = new Date(); stime = startDate.getTime(); oldtime = stime; promilles = 0; shaking = false; state = null; promillerange = 2; acceptRadius = 25; acceptProbability = 1; ox_Ovi = _root.Ovi._x; oy_Ovi = _root.Ovi._y; oScale_Ovi = _root.Ovi._xscale; orot_Ovi = _root.Ovi._rotation; odx = _root.Ovi2._x - ox_Ovi; ody = _root.Ovi2._y - oy_Ovi; oalpha_Ovi = _root.Ovi._alpha; dalpha_Ovi = 20; aax_Ovi = 40; aay_Ovi = 50; ax_Ovi = 6; ay_Ovi = 8; ffx_Ovi = 1500; ffy_Ovi = 1300; fx_Ovi = 250; fy_Ovi = 320; orot_Avain = _root.Avain._rotation; oScale_avain = _root.avain._xscale; } onClipEvent (enterFrame) { var xdist = _xmouse; var ydist = _ymouse; var d = Math.sqrt((xdist * xdist) + (ydist * ydist)); if (d >= 70) { stopDrag(); } c2sDist = Math.min(120, d); coeff = (Math.max(c2sDist, 20) - 20) / 120; now = new Date(); var ptime = (now.getTime() - stime); var dtime = (ptime - oldtime); oldtime = ptime; _root.Ovi.Keyhole._xscale = 100 - ((promilles * 75) / promillerange); _root.Ovi.Keyhole._yscale = _root.Ovi.Keyhole._xscale; acceptRadius = 5 + (_root.Ovi.Keyhole._xscale / 2); aax_Ovi = promilles * 25; aay_Ovi = promilles * 20; ax_Ovi = promilles * 7; ay_Ovi = promilles * 13; rotAmp = promilles * 15; if (state != null) { if (state == "zoom in") { newalpha = _root.avain._alpha - (dtime / 10); if (0 >= newalpha) { newalpha = 0; } _root.avain._alpha = newalpha; newScale = _root.Ovi._xscale + (dtime / 10); _root.Ovi._xscale = newScale; _root.Ovi._yscale = newScale; newAlpha = _root.Ovi._alpha - (dtime / 20); _root.Ovi._alpha = Math.max(0, newalpha); if (newScale >= 400) { state = "zoom out"; newScale = 250; _root.Ovi._xscale = newScale; _root.Ovi._yscale = newScale; promilles = promilles + 0.5; if (2 < promilles) { promilles = 2; } _root.Ovi.slider.knobmovie._y = _root.Ovi.slider.sliderrange._y + ((promilles / promillerange) * _root.Ovi.slider.sliderrange._height); } } else if (state == "key turn") { _root.avain._x = _root.Ovi._x + 12; _root.avain._y = _root.Ovi._y - 3; if (true or (60 < _root.avain._rotation)) { state = "fade out"; } else { _root.avain._rotation = _root.avain._rotation + 5; } } else if (state == "zoom out") { newScale = _root.Ovi._xscale - (dtime / 10); newAlpha = _root.Ovi._alpha + (dtime / 30); _root.Ovi._alpha = Math.min(100, newalpha); if (100 >= newScale) { _root.avain._alpha = 100; _root.avain._rotation = orot_avain; _root.Ovi._alpha = 100; state = null; newScale = 100; _root.Ovi2._visible = true; } _root.Ovi._xscale = newScale; _root.Ovi._yscale = newScale; } else if (state == "fade out") { state = "zoom in"; _root.Ovi2._visible = false; newalpha = _root.avain._alpha - (dtime / 10); if (0 >= newalpha) { newalpha = 0; state = "zoom in"; _root.Ovi2._visible = false; } _root.avain._alpha = newalpha; } } else if (shaking) { ffxsin = Math.sin(ptime / (ffx_Ovi / (1 + promilles))); fxcos = Math.cos(ptime / fx_Ovi); ffycos = Math.cos(ptime / (ffy_Ovi / (1 + promilles))); fysin = Math.sin(ptime / fy_Ovi); dx_Ovi = ((ffxsin * aax_Ovi) + (fxcos * ax_Ovi)) * coeff; dy_Ovi = ((ffycos * aay_Ovi) + (fysin * ay_Ovi)) * coeff; _root.avain._rotation = orot_Avain + (((coeff * fysin) * ffxsin) * rotAmp); _root.Ovi._rotation = orot_Ovi + ((((rotAmp / 4) * fxcos) * fysin) * coeff); if ((1.5 < promilles) and ((targetDistX * targetDistX) < 2500)) { dy_Ovi = dy_Ovi + ((ffxsin * (50 - targetDistX)) / 2); } _root.Ovi._x = ox_Ovi + dx_Ovi; _root.Ovi._y = oy_Ovi + dy_Ovi; if (0.75 < promilles) { _root.Ovi._alpha = oalpha_Ovi + (((promilles * -25) + (dalpha_Ovi * (fxcos + fysin))) * coeff); _root.Ovi2._x = (odx + _root.Ovi._x) + (((ffxsin * 2) * aay_Ovi) * coeff); _root.Ovi2._y = (ody + _root.Ovi._y) - (((ffycos * 2) * aax_Ovi) * coeff); } } else { _root.Ovi._alpha = 100; } }Frame 10gotoAndPlay (4);Frame 12gotoAndPlay (11);Instance of Symbol 5 MovieClip in Symbol 6 MovieClip Frame 1onClipEvent (enterFrame) { if (_parent._parent.within && (_root.Controller.state == null)) { _root.avain._x = _root._xmouse; _root.avain._y = _root._ymouse; } }Symbol 7 Buttonon (rollOver) { within = true; _root.avain._visible = true; _root.handu._visible = false; _root.Controller.shaking = true; useHandcursor = false; Mouse.hide(); stopDrag(); } on (rollOut) { within = false; useHandcursor = false; Mouse.show(); _root.avain._visible = false; stopDrag(); } on (releaseOutside) { stopDrag(); }Symbol 9 Buttonon (rollOver) { _root.Controller.shaking = false; _root.handu._visible = true; Mouse.hide(); } on (rollOut) { _parent.within = false; _root.Controller.shaking = true; Mouse.show(); _root.handu._visible = false; }Symbol 15 Buttonon (rollOver) { within = true; _root.Controller.shaking = false; _root.handu._visible = true; Mouse.hide(); } on (rollOut) { within = false; Mouse.show(); } on (press) { startDrag (this, false, 0, 0, 0, _parent.sliderrange._height); } on (release) { stopDrag(); } on (releaseOutside) { stopDrag(); }Instance of Symbol 10 MovieClip "pohja" in Symbol 17 MovieClip Frame 1onClipEvent (load) { minPromilles = 0; maxPromilles = 2; rangePromilles = maxPromilles - minPromilles; within = false; } onClipEvent (enterFrame) { _root.Controller.promilles = minPromilles + ((_parent.knobmovie._y * rangePromilles) / _parent.sliderrange._height); if (_root.handu._visible == true) { _root.handu._visible = true; _root.handu._x = _root._xmouse; _root.handu._y = _root._ymouse; } }Symbol 21 MovieClip Frame 1Instance of Symbol 20 MovieClip "Keyhole" in Symbol 21 MovieClip Frame 1onClipEvent (enterFrame) { var mx = _xmouse; var my = _ymouse; _root.Controller.targetDistX = mx; _root.Controller.targetDistY = my; } onClipEvent (mouseDown) { if (_root.Controller.state == null) { var mx = (_xmouse - 12); var my = _ymouse; var dist = Math.sqrt((mx * mx) + (my * my)); if ((dist < _root.Controller.acceptRadius) && (Math.random() < _root.Controller.acceptProbability)) { _root.Controller.state = "key turn"; } _root.avain._xscale = _root.Controller.oScale_avain * 0.85; _root.avain._yscale = _root.avain._xscale; } } onClipEvent (mouseUp) { if (_root.Controller.state == null) { _root.avain._xscale = _root.Controller.oScale_avain; _root.avain._yscale = _root.avain._xscale; } }Symbol 28 Buttonon (release) { _root.apua.gotoAndPlay("close"); }Symbol 29 MovieClip Frame 13stop();Symbol 29 MovieClip Frame 25gotoAndStop (1);Symbol 33 Buttonon (rollOver) { _root.handu.visible = false; _root.Ovi.slider.within = false; }Symbol 36 Buttonon (release) { if (_root.apua._currentframe == 1) { _root.apua.gotoAndPlay("open"); } else { _root.apua.gotoAndPlay("close"); } }Symbol 37 Buttonon (release) { getURL ("javascript:this.close()"); }Symbol 43 Buttonon (release) { getURL ("javascript:this.close()"); }Symbol 54 MovieClip Frame 1
Library Items
Symbol 1 Bitmap | Used by:2 | |
Symbol 2 Graphic | Uses:1 | Used by:3 |
Symbol 3 MovieClip | Uses:2 | Used by:21 Timeline |
Symbol 4 Graphic | Used by:5 7 36 37 | |
Symbol 5 MovieClip | Uses:4 | Used by:6 |
Symbol 6 MovieClip | Uses:5 | Used by:7 36 37 |
Symbol 7 Button | Uses:6 4 | Used by:21 |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 Button | Uses:8 | Used by:10 |
Symbol 10 MovieClip | Uses:9 | Used by:17 |
Symbol 11 Graphic | Used by:12 43 | |
Symbol 12 MovieClip | Uses:11 | Used by:17 |
Symbol 13 Bitmap | Used by:14 | |
Symbol 14 Graphic | Uses:13 | Used by:15 |
Symbol 15 Button | Uses:14 | Used by:16 |
Symbol 16 MovieClip | Uses:15 | Used by:17 |
Symbol 17 MovieClip | Uses:10 12 16 | Used by:21 |
Symbol 18 Bitmap | Used by:19 | |
Symbol 19 Graphic | Uses:18 | Used by:20 |
Symbol 20 MovieClip | Uses:19 | Used by:21 |
Symbol 21 MovieClip | Uses:3 7 17 20 | Used by:Timeline |
Symbol 22 Graphic | Used by:23 28 | |
Symbol 23 MovieClip | Uses:22 | Used by:28 29 |
Symbol 24 Font | Used by:25 27 38 39 40 42 | |
Symbol 25 Text | Uses:24 | Used by:28 29 |
Symbol 26 Graphic | Used by:28 29 | |
Symbol 27 Text | Uses:24 | Used by:28 29 |
Symbol 28 Button | Uses:23 25 26 27 22 | Used by:29 |
Symbol 29 MovieClip | Uses:23 25 26 27 28 | Used by:Timeline |
Symbol 30 Graphic | Used by:31 33 | |
Symbol 31 Button | Uses:30 | Used by:32 |
Symbol 32 MovieClip | Uses:31 | Used by:Timeline |
Symbol 33 Button | Uses:30 | Used by:34 |
Symbol 34 MovieClip | Uses:33 | Used by:Timeline |
Symbol 35 Graphic | Used by:Timeline | |
Symbol 36 Button | Uses:6 4 | Used by:Timeline |
Symbol 37 Button | Uses:6 4 | Used by:Timeline |
Symbol 38 Text | Uses:24 | Used by:Timeline |
Symbol 39 Text | Uses:24 | Used by:Timeline |
Symbol 40 Text | Uses:24 | Used by:Timeline |
Symbol 41 Font | Used by:42 | |
Symbol 42 Text | Uses:24 41 | Used by:43 |
Symbol 43 Button | Uses:42 11 | Used by:Timeline |
Symbol 44 Bitmap | Used by:45 | |
Symbol 45 Graphic | Uses:44 | Used by:46 |
Symbol 46 MovieClip | Uses:45 | Used by:Timeline |
Symbol 47 Graphic | Used by:52 | |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip | Uses:48 | Used by:52 |
Symbol 50 Graphic | Used by:51 | |
Symbol 51 MovieClip | Uses:50 | Used by:52 |
Symbol 52 MovieClip | Uses:47 49 51 | Used by:53 |
Symbol 53 MovieClip | Uses:52 | Used by:Timeline |
Symbol 54 MovieClip | Used by:Timeline |
Instance Names
"Ovi2" | Frame 1 | Symbol 3 MovieClip |
"Ovi" | Frame 1 | Symbol 21 MovieClip |
"apua" | Frame 1 | Symbol 29 MovieClip |
"handu" | Frame 1 | Symbol 46 MovieClip |
"avain" | Frame 1 | Symbol 53 MovieClip |
"Controller" | Frame 1 | Symbol 54 MovieClip |
"pohja" | Symbol 17 MovieClip Frame 1 | Symbol 10 MovieClip |
"sliderrange" | Symbol 17 MovieClip Frame 1 | Symbol 12 MovieClip |
"knobmovie" | Symbol 17 MovieClip Frame 1 | Symbol 16 MovieClip |
"slider" | Symbol 21 MovieClip Frame 1 | Symbol 17 MovieClip |
"Keyhole" | Symbol 21 MovieClip Frame 1 | Symbol 20 MovieClip |
Special Tags
Protect (24) | Timeline Frame 1 | 0 bytes "" |
Labels
"loopstart" | Frame 4 |
"zoomIn" | Frame 11 |
"knob" | Symbol 17 MovieClip Frame 1 |
"sliderrange" | Symbol 17 MovieClip Frame 1 |
"open" | Symbol 29 MovieClip Frame 2 |
"close" | Symbol 29 MovieClip Frame 14 |
|