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

xmas04_pq homestar.swf

This is the info page for
Flash #226231

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


Text
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 10
ifFrameLoaded (365) { gotoAndPlay (16); }
Frame 15
gotoAndPlay (1);
Frame 220
new Debug(); new Snowglobe(globe_mc, 0.2, 0.12, stats_mc); stop();
Frame 226
globe_mc._visible = true;
Frame 400
stop();
Symbol 53 MovieClip [__Packages.Debug] Frame 0
class 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 0
class 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 0
class 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 0
class 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 Button
on (keyPress "<Enter>") { gotoAndPlay ("next1"); } on (release) { gotoAndPlay ("next1"); } on (keyPress "<Space>") { gotoAndPlay ("next1"); }
Symbol 28 Button
on (keyPress "<Enter>") { gotoAndStop ("next2"); } on (release) { gotoAndStop ("next2"); } on (keyPress "<Space>") { gotoAndStop ("next2"); }
Symbol 43 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 57
stop();
Symbol 52 Button
on (keyPress "<Enter>") { gotoAndStop ("next3"); } on (release) { gotoAndStop ("next3"); } on (keyPress "<Space>") { gotoAndStop ("next3"); }

Library Items

Symbol 1 GraphicUsed by:33  Timeline
Symbol 2 GraphicUsed by:Timeline
Symbol 3 GraphicUsed by:Timeline
Symbol 53 MovieClip [__Packages.Debug]
Symbol 54 MovieClip [__Packages.Snowglobe]
Symbol 55 MovieClip [__Packages.SnowStats]
Symbol 56 MovieClip [__Packages.Floater]
Symbol 4 ShapeTweeningUsed by:Timeline
Symbol 5 FontUsed by:6
Symbol 6 TextUses:5Used by:Timeline
Symbol 7 GraphicUsed by:23 28 52  Timeline
Symbol 8 GraphicUsed by:Timeline
Symbol 9 FontUsed by:10 12 20 22 25 26 27 51
Symbol 10 TextUses:9Used by:Timeline
Symbol 11 GraphicUsed by:Timeline
Symbol 12 TextUses:9Used by:Timeline
Symbol 13 GraphicUsed by:Timeline
Symbol 14 GraphicUsed by:Timeline
Symbol 15 GraphicUsed by:Timeline
Symbol 16 GraphicUsed by:Timeline
Symbol 17 GraphicUsed by:Timeline
Symbol 18 GraphicUsed by:Timeline
Symbol 19 ShapeTweeningUsed by:Timeline
Symbol 20 TextUses:9Used by:Timeline
Symbol 21 GraphicUsed by:Timeline
Symbol 22 TextUses:9Used by:Timeline
Symbol 23 ButtonUses:7Used by:Timeline
Symbol 24 ShapeTweeningUsed by:Timeline
Symbol 25 TextUses:9Used by:Timeline
Symbol 26 TextUses:9Used by:Timeline
Symbol 27 TextUses:9Used by:Timeline
Symbol 28 ButtonUses:7Used by:Timeline
Symbol 29 GraphicUsed by:Timeline
Symbol 30 FontUsed by:31 32
Symbol 31 EditableTextUses:30Used by:33
Symbol 32 TextUses:30Used by:33
Symbol 33 MovieClipUses:1 31 32Used by:Timeline
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:50
Symbol 36 GraphicUsed by:50
Symbol 37 GraphicUsed by:50
Symbol 38 GraphicUsed by:50
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:50
Symbol 41 GraphicUsed by:50
Symbol 42 GraphicUsed by:43 44 45 47
Symbol 43 MovieClipUses:42Used by:50
Symbol 44 MovieClipUses:42Used by:50
Symbol 45 MovieClipUses:42Used by:50
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:42 46Used by:50
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:35 36 37 38 40 41 43 44 45 47 48 49Used by:Timeline
Symbol 51 TextUses:9Used by:Timeline
Symbol 52 ButtonUses:7Used by:Timeline
Streaming Sound 1Used by:Timeline

Instance Names

"stats_mc"Frame 220Symbol 33 MovieClip
"globe_mc"Frame 220Symbol 50 MovieClip
"time_txt"Symbol 33 MovieClip Frame 1Symbol 31 EditableText
"hitArea_mc"Symbol 50 MovieClip Frame 1Symbol 35 MovieClip
"big4"Symbol 50 MovieClip Frame 1Symbol 40 MovieClip
"big3"Symbol 50 MovieClip Frame 1Symbol 40 MovieClip
"big5"Symbol 50 MovieClip Frame 1Symbol 40 MovieClip
"big1"Symbol 50 MovieClip Frame 1Symbol 40 MovieClip
"big2"Symbol 50 MovieClip Frame 1Symbol 40 MovieClip
"big18"Symbol 50 MovieClip Frame 1Symbol 43 MovieClip
"big7"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big8"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big6"Symbol 50 MovieClip Frame 1Symbol 45 MovieClip
"big9"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big10"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big11"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big13"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big14"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big15"Symbol 50 MovieClip Frame 1Symbol 43 MovieClip
"big16"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"big12"Symbol 50 MovieClip Frame 1Symbol 45 MovieClip
"big17"Symbol 50 MovieClip Frame 1Symbol 44 MovieClip
"snowfallA_mc"Symbol 50 MovieClip Frame 1Symbol 47 MovieClip
"snowfallB_mc"Symbol 50 MovieClip Frame 1Symbol 47 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 53 as "__Packages.Debug"
ExportAssets (56)Timeline Frame 1Symbol 54 as "__Packages.Snowglobe"
ExportAssets (56)Timeline Frame 1Symbol 55 as "__Packages.SnowStats"
ExportAssets (56)Timeline Frame 1Symbol 56 as "__Packages.Floater"

Labels

"next1"Frame 146
"next2"Frame 220
"next3"Frame 226
"trogdor"Frame 240




http://swfchan.com/46/226231/info.shtml
Created: 7/10 -2019 03:52:36 Last modified: 7/10 -2019 03:52:36 Server time: 22/12 -2024 10:03:25