STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #226231 |
oading... |
> |
Score: 0 of 1 Peasant's Quest |
look |
Even your burninated hovel looks picturesque in the cold Peasantry snow. Oh, and there's a snowglobe on the ground. That's what that red and blue thing is. A snowglobe. |
get snowglobe |
Hey! It's a Trogdor snow globe! Now you have a Decemberween present for Nana. Score! |
Score: 1 of 1 Peasant's Quest |
0:00 |
Time wasted: |
Congratulations! You wasted more time than any- body else ever has. Happy Decemberween, peasant. Your life will be spared for another day. |
ActionScript [AS1/AS2]
Frame 10ifFrameLoaded (365) { gotoAndPlay (16); }Frame 15gotoAndPlay (1);Frame 220new Debug(); new Snowglobe(globe_mc, 0.2, 0.12, stats_mc); stop();Frame 226globe_mc._visible = true;Frame 400stop();Symbol 53 MovieClip [__Packages.Debug] Frame 0class Debug { function Debug () { } static function trace(phrase, param1, param2, param3) { var _local1 = phrase; if (param1 != undefined) { _local1 = _local1 + ("->" + param1); } if (param2 != undefined) { _local1 = _local1 + ("," + param2); } if (param3 != undefined) { _local1 = _local1 + ("," + param3); } trace(_local1); } }Symbol 54 MovieClip [__Packages.Snowglobe] Frame 0class Snowglobe { var _mc, bigFloaters, gravity, viscosity, prevX, prevY, dragging, mSnowStats; function Snowglobe (clip, pGrav, pViscosity, stats_mc) { var thisSnowglobe = this; _mc = clip; _mc.onMouseDown = function () { thisSnowglobe.mouseDownPressed(); }; _mc.onMouseUp = function () { thisSnowglobe.mouseUpPressed(); }; _mc.onEnterFrame = function () { thisSnowglobe.update(); }; bigFloaters = new Array(); var _local2 = 1; while (_mc["big" + _local2]._name == ("big" + _local2)) { bigFloaters.push(new Floater(_mc["big" + _local2], this, _local2)); _local2++; } trace("bigFloaters.length = " + bigFloaters.length); gravity = pGrav; viscosity = pViscosity; prevX = _mc._x; prevY = _mc._y; dragging = false; showSnowfall(48); mSnowStats = new SnowStats(stats_mc); } function mouseDownPressed() { trace("mouseDownPressed(): called"); mSnowStats.startTimer(); _mc.startDrag(false); dragging = true; } function mouseUpPressed() { trace("mouseUpPressed(): called"); _mc.stopDrag(); dragging = false; } function showSnowfall(xFrame) { _mc.snowfallA_mc._visible = true; _mc.snowfallA_mc.gotoAndPlay(xFrame); _mc.snowfallB_mc._visible = true; _mc.snowfallB_mc.gotoAndPlay(xFrame); } function hideSnowfall() { _mc.snowfallA_mc._visible = false; _mc.snowfallA_mc.gotoAndStop(1); _mc.snowfallB_mc._visible = false; _mc.snowfallA_mc.gotoAndStop(1); } function update() { if (!dragging) { if ((_mc.snowfallA_mc._currentframe != 1) && (_mc.snowfallA_mc._currentframe != _mc.snowfallA_mc._totalframes)) { return(undefined); } if ((new Date().getTime() - mSnowStats.startTime.getTime()) > 2000) { var _local2 = 0; while (_local2 < bigFloaters.length) { if (bigFloaters[_local2]._mc._y != bigFloaters[_local2].BOTTOM_EDGE) { return(undefined); } _local2++; } mSnowStats.stopTimer(); } return(undefined); } var _local4; var _local3; _local4 = _mc._x - prevX; _local3 = _mc._y - prevY; if ((_local4 > 10) || (_local3 > 10)) { showSnowfall(Math.floor(Math.random() * 10)); } if ((_local4 > 1) || (_local3 > 1)) { var _local2 = 0; while (_local2 < bigFloaters.length) { bigFloaters[_local2].affect(_local4, _local3 - 15); _local2++; } } else if (_mc.snowfallA_mc._currentframe < 3) { showSnowfall(1); } prevX = _mc._x; prevY = _mc._y; } }Symbol 55 MovieClip [__Packages.SnowStats] Frame 0class SnowStats { var minutesToSeeTrogdor, _mc, timeElapsed, oldTimeElapsed, lastSecondCalled, running, seenTrogdor, startTime; function SnowStats (timer_mc) { minutesToSeeTrogdor = 2; _mc = timer_mc; _mc._visible = false; timeElapsed = 0; oldTimeElapsed = 0; lastSecondCalled = 0; running = false; startTimer(); trace("SnowStats(): constructed " + _mc._name); seenTrogdor = false; } function startTimer() { if (running) { return(undefined); } running = true; var thisSS = this; startTime = new Date(); _mc.onEnterFrame = function () { thisSS.updateTimer(); }; } function stopTimer() { running = false; oldTimeElapsed = timeElapsed; delete _mc.onEnterFrame; } function updateTimer() { var _local2 = new Date(); timeElapsed = oldTimeElapsed + Math.floor((_local2.getTime() - startTime.getTime()) / 1000); if (timeElapsed > lastSecondCalled) { updateTimerDisplay(); lastSecondCalled = Math.floor(timeElapsed); } } function updateTimerDisplay() { var _local4; var _local2; var _local5; var _local3; _local4 = timeElapsed % 60; _local5 = Math.floor(timeElapsed / 60); _local2 = _local4.toString(); _local3 = _local5.toString(); while (_local2.length < 2) { _local2 = "0" + _local2; } if (((_local3 == minutesToSeeTrogdor.toString()) && (_local2 == "00")) && (!seenTrogdor)) { _mc._parent.gotoAndPlay("trogdor"); stopTimer(); _mc._parent.globe_mc._visible = false; seenTrogdor = true; } trace((("updateTimerDisplay(): called " + _local3) + ":") + _local2); _mc.time_txt.text = (_local3 + ":") + _local2; if (_local4 > 30) { _mc._visible = true; } } }Symbol 56 MovieClip [__Packages.Floater] Frame 0class Floater { static var depthWorth; var globeObj, _mc, xvel, yvel, topX, topY, rvel, depthOffset, origX, origY; function Floater (clip, pGlobe, pDepthOffset) { var thisFloater = this; globeObj = pGlobe; _mc = clip; xvel = 0; yvel = 0; topX = 10; topY = 10; rvel = Math.floor((Math.random() * 10) - 2); depthWorth = 5; trace("Floater created"); _mc.onEnterFrame = function () { thisFloater.update(); }; depthOffset = pDepthOffset; if (depthOffset <= 4) { BOTTOM_EDGE = BOTTOM_EDGE - (depthOffset * depthWorth); } origX = _mc._x; origY = _mc._y; } function update() { point = new Object({x:_mc._x, y:_mc._y}); _mc._parent.localToGlobal(point); if (!globeObj._mc.hitArea_mc.hitTest(point.x, point.y, true)) { _mc._x = origX; _mc._y = origY; } if (rvel > 0) { rvel = rvel - (globeObj.viscosity / 4); } else { rvel = rvel + (globeObj.viscosity / 4); } _mc._x = _mc._x + xvel; var point = new Object({x:_mc._x, y:_mc._y}); _mc._parent.localToGlobal(point); if (!globeObj._mc.hitArea_mc.hitTest(point.x, point.y, true)) { _mc._x = _mc._x - xvel; xvel = (-xvel) / 4; } _mc._y = _mc._y + yvel; point = new Object({x:_mc._x, y:_mc._y}); _mc._parent.localToGlobal(point); if (!globeObj._mc.hitArea_mc.hitTest(point.x, point.y, true)) { _mc._y = _mc._y - yvel; yvel = (-yvel) / 4; } if (_mc._y < BOTTOM_EDGE) { yvel = yvel + globeObj.gravity; _mc.play(); } else { _mc.stop(); yvel = yvel - (yvel / 2); xvel = xvel / 2; _mc._y = BOTTOM_EDGE; rvel = (-rvel) / 4; } _mc._rotation = _mc._rotation + rvel; if (xvel > 0) { xvel = xvel - globeObj.viscosity; } if (xvel < 0) { xvel = xvel + globeObj.viscosity; } if (yvel > 0) { yvel = yvel - globeObj.viscosity; } if (yvel < 0) { yvel = yvel + globeObj.viscosity; } } function affect(x, y) { xvel = xvel + ((x / 12) + (((Math.random() * x) / 6) - (x / 12))); rvel = xvel; yvel = yvel + ((y / 6) + (((Math.random() * y) / 3) - (y / 6))); if ((_mc._y >= BOTTOM_EDGE) && (yvel >= 0)) { yvel = Math.random() * -4; } } var BOTTOM_EDGE = -12; }Symbol 23 Buttonon (keyPress "<Enter>") { gotoAndPlay ("next1"); } on (release) { gotoAndPlay ("next1"); } on (keyPress "<Space>") { gotoAndPlay ("next1"); }Symbol 28 Buttonon (keyPress "<Enter>") { gotoAndStop ("next2"); } on (release) { gotoAndStop ("next2"); } on (keyPress "<Space>") { gotoAndStop ("next2"); }Symbol 43 MovieClip Frame 1stop();Symbol 44 MovieClip Frame 1stop();Symbol 45 MovieClip Frame 1stop();Symbol 47 MovieClip Frame 57stop();Symbol 52 Buttonon (keyPress "<Enter>") { gotoAndStop ("next3"); } on (release) { gotoAndStop ("next3"); } on (keyPress "<Space>") { gotoAndStop ("next3"); }
Library Items
Symbol 1 Graphic | Used by:33 Timeline | |
Symbol 2 Graphic | Used by:Timeline | |
Symbol 3 Graphic | Used by:Timeline | |
Symbol 53 MovieClip [__Packages.Debug] | ||
Symbol 54 MovieClip [__Packages.Snowglobe] | ||
Symbol 55 MovieClip [__Packages.SnowStats] | ||
Symbol 56 MovieClip [__Packages.Floater] | ||
Symbol 4 ShapeTweening | Used by:Timeline | |
Symbol 5 Font | Used by:6 | |
Symbol 6 Text | Uses:5 | Used by:Timeline |
Symbol 7 Graphic | Used by:23 28 52 Timeline | |
Symbol 8 Graphic | Used by:Timeline | |
Symbol 9 Font | Used by:10 12 20 22 25 26 27 51 | |
Symbol 10 Text | Uses:9 | Used by:Timeline |
Symbol 11 Graphic | Used by:Timeline | |
Symbol 12 Text | Uses:9 | Used by:Timeline |
Symbol 13 Graphic | Used by:Timeline | |
Symbol 14 Graphic | Used by:Timeline | |
Symbol 15 Graphic | Used by:Timeline | |
Symbol 16 Graphic | Used by:Timeline | |
Symbol 17 Graphic | Used by:Timeline | |
Symbol 18 Graphic | Used by:Timeline | |
Symbol 19 ShapeTweening | Used by:Timeline | |
Symbol 20 Text | Uses:9 | Used by:Timeline |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Text | Uses:9 | Used by:Timeline |
Symbol 23 Button | Uses:7 | Used by:Timeline |
Symbol 24 ShapeTweening | Used by:Timeline | |
Symbol 25 Text | Uses:9 | Used by:Timeline |
Symbol 26 Text | Uses:9 | Used by:Timeline |
Symbol 27 Text | Uses:9 | Used by:Timeline |
Symbol 28 Button | Uses:7 | Used by:Timeline |
Symbol 29 Graphic | Used by:Timeline | |
Symbol 30 Font | Used by:31 32 | |
Symbol 31 EditableText | Uses:30 | Used by:33 |
Symbol 32 Text | Uses:30 | Used by:33 |
Symbol 33 MovieClip | Uses:1 31 32 | Used by:Timeline |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:34 | Used by:50 |
Symbol 36 Graphic | Used by:50 | |
Symbol 37 Graphic | Used by:50 | |
Symbol 38 Graphic | Used by:50 | |
Symbol 39 Graphic | Used by:40 | |
Symbol 40 MovieClip | Uses:39 | Used by:50 |
Symbol 41 Graphic | Used by:50 | |
Symbol 42 Graphic | Used by:43 44 45 47 | |
Symbol 43 MovieClip | Uses:42 | Used by:50 |
Symbol 44 MovieClip | Uses:42 | Used by:50 |
Symbol 45 MovieClip | Uses:42 | Used by:50 |
Symbol 46 Graphic | Used by:47 | |
Symbol 47 MovieClip | Uses:42 46 | Used by:50 |
Symbol 48 Graphic | Used by:50 | |
Symbol 49 Graphic | Used by:50 | |
Symbol 50 MovieClip | Uses:35 36 37 38 40 41 43 44 45 47 48 49 | Used by:Timeline |
Symbol 51 Text | Uses:9 | Used by:Timeline |
Symbol 52 Button | Uses:7 | Used by:Timeline |
Streaming Sound 1 | Used by:Timeline |
Instance Names
"stats_mc" | Frame 220 | Symbol 33 MovieClip |
"globe_mc" | Frame 220 | Symbol 50 MovieClip |
"time_txt" | Symbol 33 MovieClip Frame 1 | Symbol 31 EditableText |
"hitArea_mc" | Symbol 50 MovieClip Frame 1 | Symbol 35 MovieClip |
"big4" | Symbol 50 MovieClip Frame 1 | Symbol 40 MovieClip |
"big3" | Symbol 50 MovieClip Frame 1 | Symbol 40 MovieClip |
"big5" | Symbol 50 MovieClip Frame 1 | Symbol 40 MovieClip |
"big1" | Symbol 50 MovieClip Frame 1 | Symbol 40 MovieClip |
"big2" | Symbol 50 MovieClip Frame 1 | Symbol 40 MovieClip |
"big18" | Symbol 50 MovieClip Frame 1 | Symbol 43 MovieClip |
"big7" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big8" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big6" | Symbol 50 MovieClip Frame 1 | Symbol 45 MovieClip |
"big9" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big10" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big11" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big13" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big14" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big15" | Symbol 50 MovieClip Frame 1 | Symbol 43 MovieClip |
"big16" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"big12" | Symbol 50 MovieClip Frame 1 | Symbol 45 MovieClip |
"big17" | Symbol 50 MovieClip Frame 1 | Symbol 44 MovieClip |
"snowfallA_mc" | Symbol 50 MovieClip Frame 1 | Symbol 47 MovieClip |
"snowfallB_mc" | Symbol 50 MovieClip Frame 1 | Symbol 47 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 53 as "__Packages.Debug" |
ExportAssets (56) | Timeline Frame 1 | Symbol 54 as "__Packages.Snowglobe" |
ExportAssets (56) | Timeline Frame 1 | Symbol 55 as "__Packages.SnowStats" |
ExportAssets (56) | Timeline Frame 1 | Symbol 56 as "__Packages.Floater" |
Labels
"next1" | Frame 146 |
"next2" | Frame 220 |
"next3" | Frame 226 |
"trogdor" | Frame 240 |
|