Frame 1
Math.randomBetween = function (a, b) {
return(a + Math.floor(Math.random() * ((b - a) + 1)));
};
Instance of Symbol 316 MovieClip "mcIntro" in Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (data) {
if ((getBytesTotal() > 0) && (getBytesLoaded() == getBytesTotal())) {
}
}
Frame 4
stop();
_root.mcIntro.play();
Instance of Symbol 316 MovieClip "mcInterstitial" in Frame 4
onClipEvent (load) {
sndThis = new Sound(this);
}
Frame 5
function ContinueGame() {
_root.mcInterstitial.stop();
_root.mcInterstitial._visible = false;
_root.gotoAndPlay("Loop");
_root.strMessage = "Level " add _root.varLevel;
_root.mcMessage._visible = true;
_root.strSmallMessage = "click to continue";
_root.mcSmallMessage._visible = true;
_root.stop();
_root.bPause = true;
_root.mcSnowman.bHittable = true;
_root.mcSnowman.gotoAndPlay("wait" + String(_root.mcSnowman.nStage));
}
function CreateRandomBag(alstBag, alstElements) {
if (alstBag[2] == undefined) {
alstBag[2] = -1;
}
nPrevItem = alstBag[2];
alstBag[0] = alstElements;
alstBag[1] = alstElements.length;
i = 0;
while (i < alstBag[1]) {
alstBag.push(alstElements[i]);
i++;
}
return(alstBag);
}
function GameOver() {
_root.mcSnowman.bHittable = false;
_global.bGameOver = true;
strMessage = "Game Over";
mcMessage._visible = true;
strSmallMessage = "click to continue";
mcSmallMessage._visible = true;
btnGoEndGame._visible = true;
}
function InitGameVars() {
varScore = 0;
varLevel = 1;
_global.gbPunkSpoke = false;
_global.bGameOver = false;
_global.bNextLevel = false;
gnPrevItem = -1;
mcMessage._visible = false;
mcSmallMessage._visible = false;
strMessage = "Game Over";
bPause = false;
mcSmallBanner._visible = false;
btnGoEndGame._visible = false;
btnContinueGame._visible = false;
_global.bagPunks = new Array();
_global.bagInterstitials = new Array();
_global.bagDawesSmartAss = new Array();
_global.bagTrumanSmartAss = new Array();
_global.bagDawesPos = new Array();
_global.bagTrumanPos = new Array();
_global.bagBanners = new Array();
_global.nTotalPunks = 10;
lstBanners = new Array();
lstBanner = new Array(true, false, "mcTDLogo");
lstBanners.push(lstBanner);
lstBanner = new Array(false, true, "mcTDStrategy", "mcMeasuresUp");
lstBanners.push(lstBanner);
lstBanner = new Array(false, true, "mcTDMedia", "mcOverPerforms");
lstBanners.push(lstBanner);
lstBanner = new Array(false, true, "mcTDEmail", "mcDelivers");
lstBanners.push(lstBanner);
lstBanner = new Array(false, true, "mcTD", "mcDevelopmentSmarts");
lstBanners.push(lstBanner);
lstBanner = new Array(false, true, "mcTDIntegrates", "mcDigitalMarketing");
lstBanners.push(lstBanner);
lstBanner = new Array(false, true, "mcTDRanks", "mcSearchMarketing");
lstBanners.push(lstBanner);
lstBanner = new Array(false, true, "mcTDGames", "mcHaveBrains");
lstBanners.push(lstBanner);
lstLevelData = new Array();
lstPunks = new Array(4, 5, 6, 7, 8);
lstLevel = new Array();
lstLevel.nNeed = 5;
lstLevel.bPunksThrow = false;
lstLevel.bSecondPunk = false;
lstLevel.nBannerIndex = 2;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 4, 5, 6, 7);
lstLevel = new Array();
lstLevel.nNeed = 5;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = false;
lstLevel.nBannerIndex = 1;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);
lstLevel = new Array();
lstLevel.nNeed = 6;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = false;
lstLevel.nBannerIndex = 2;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 4, 7, 8, 9, 10);
lstLevel = new Array();
lstLevel.nNeed = 6;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = false;
lstLevel.nBannerIndex = 3;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 5, 6);
lstLevel = new Array();
lstLevel.nNeed = 7;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = true;
lstLevel.nBannerIndex = 0;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 4, 7, 8, 9, 10);
lstLevel = new Array();
lstLevel.nNeed = 7;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = true;
lstLevel.nBannerIndex = 4;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 5, 6, 8, 9, 10);
lstLevel = new Array();
lstLevel.nNeed = 8;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = true;
lstLevel.nBannerIndex = 5;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 8, 9, 10);
lstLevel = new Array();
lstLevel.nNeed = 9;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = true;
lstLevel.nBannerIndex = 6;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
lstPunks = new Array(1, 2, 3, 8, 9, 10);
lstLevel = new Array();
lstLevel.nNeed = 10;
lstLevel.bPunksThrow = true;
lstLevel.bSecondPunk = true;
lstLevel.nBannerIndex = 7;
lstLevel.lstPunks = lstPunks;
lstLevelData.push(lstLevel);
varNeed = lstLevelData[0].nNeed;
varLevelAdjust = 1;
nBannerIndex = 0;
SetBanner(nBannerIndex);
}
function NextLevel() {
_root.varLevel++;
_root.mcYeti.ReturnYeti();
btnContinueGame._visible = true;
PlayInterstitial();
if (_root.mcSnowman.nStage > 1) {
_root.mcSnowman.nStage--;
}
if (_root.varLevel > _root.lstLevelData.length) {
_root.varLevelAdjust++;
}
_root.varNeed = _root.lstLevelData[_root.varLevel - _root.varLevelAdjust].nNeed + (_root.varLevelAdjust - 1);
if (_root.varLevelAdjust > 1) {
nBannerIndex = RandomBag(_global.bagBanners, [0, 1, 2, 3, 4, 5, 6, 7]);
} else {
nBannerIndex = _root.lstLevelData[_root.varLevel - 1].nBannerIndex;
}
SetBanner(nBannerIndex);
_global.bNextLevel = false;
}
function PlayInterstitial() {
switch (_root.mcSnowman.nStage) {
case 3 :
_root.mcInterstitial.attachMovie("mcBurleHead", "mcBurleHead", 1);
break;
case 2 :
_root.mcInterstitial.attachMovie("mcBurleBody", "mcBurleBody", 1);
break;
default :
nSwitch = RandomBag(_global.bagInterstitials, [1, 2, 3, 5, 6, 7]);
switch (nSwitch) {
case 1 :
_root.mcInterstitial.attachMovie("mcBeaverInter1", "mcBeaverInter1", 1);
break;
case 2 :
_root.mcInterstitial.attachMovie("mcBeaverInter2", "mcBeaverInter2", 1);
break;
case 3 :
_root.mcInterstitial.attachMovie("mcBeaverInter3", "mcBeaverInter3", 1);
break;
case 4 :
_root.mcInterstitial.attachMovie("mcBeaverInter4", "mcBeaverInter4", 1);
break;
case 5 :
_root.mcInterstitial.attachMovie("mcBeaverInter5", "mcBeaverInter5", 1);
break;
case 6 :
_root.mcInterstitial.attachMovie("mcBeaverInter6", "mcBeaverInter6", 1);
break;
case 7 :
default :
_root.mcInterstitial.attachMovie("mcBeaverInter7", "mcBeaverInter7", 1);
}
}
_root.mcInterstitial.sndThis.setVolume(100);
_root.gotoAndPlay("Interstitials");
}
function PunksThrow(anChance) {
if (lstLevelData[varLevel - varLevelAdjust].bPunksThrow) {
nThrowFrame = _currentframe;
RandomThrow(_root.mcPunk.mcPunk, anChance);
RandomThrow(_root.mcPunkB.mcPunk, anChance);
}
}
function RandomBag(alstBag, alstElements) {
if (alstBag and alstBag[1]) {
nReturn = alstBag[2];
while (alstBag[2] == nReturn) {
nRandom = Math.floor(Math.random() * alstBag[1]);
nReturn = alstBag[nRandom + 3];
}
alstBag[2] = nReturn;
alstBag.splice(nRandom + 3, 1);
alstBag[1]--;
} else {
alstBag = CreateRandomBag(alstBag, alstElements);
nReturn = RandomBag(alstBag, alstElements);
}
return(nReturn);
}
function RandomPunk() {
nPunk = RandomBag(_global.bagPunks, lstLevelData[varLevel - varLevelAdjust].lstPunks);
switch (nPunk) {
case 8 :
strReturn = "runt";
break;
case 9 :
strReturn = "skier";
break;
case 10 :
strReturn = "sledders";
break;
default :
strReturn = "punk" + String(nPunk);
}
return(strReturn);
}
function RandomThrow(objPunk, nChance) {
if (objPunk.bCanThrow) {
if (Math.floor(Math.random() * nChance) == 0) {
objPunk.PlayAnim("throw");
}
}
}
function SetBanner(anBannerIndex) {
_root.mcLargeBanner._visible = _root.lstBanners[nBannerIndex][0];
_root.mcTopSmallBanner._visible = _root.lstBanners[nBannerIndex][1];
_root.mcBottomSmallBanner._visible = _root.lstBanners[nBannerIndex][1];
if (_root.mcLargeBanner._visible) {
_root.mcAdvertSmallLeft.mcAdvertSmLt.unloadMovie();
_root.mcAdvertSmallRight.mcAdvertSmRt.unloadMovie();
_root.mcAdvertLarge.attachMovie(_root.lstBanners[nBannerIndex][2], "mcAdvertLG", 1);
} else {
_root.mcAdvertLarge.mcAdvertLG.unloadMovie();
_root.mcAdvertSmallLeft.attachMovie(_root.lstBanners[nBannerIndex][2], "mcAdvertSmLt", 1);
_root.mcAdvertSmallRight.attachMovie(_root.lstBanners[nBannerIndex][3], "mcAdvertSmRt", 1);
}
}
function StopInterstitials() {
_root.mcMessage._visible = true;
strMessage = "Stop Inter";
_root.mcBurleHead._visible = false;
_root.mcBurleHead.stop();
_root.mcBurleBody._visible = false;
_root.mcBurleBody.stop();
_root.mcBeaverInter1._visible = false;
_root.mcBeaverInter1.stop();
_root.mcBeaverInter2._visible = false;
_root.mcBeaverInter2.stop();
_root.mcBeaverInter3._visible = false;
_root.mcBeaverInter3.stop();
_root.mcBeaverInter4._visible = false;
_root.mcBeaverInter4.stop();
_root.mcBeaverInter5._visible = false;
_root.mcBeaverInter5.stop();
_root.mcBeaverInter6._visible = false;
_root.mcBeaverInter6.stop();
}
function ToggleGame() {
if ((_global.bGamePause == false) or (_global.bGamePause == undefined)) {
_global.bGamePause = true;
_global.nGameVolume = _global.sndSong.getVolume();
strMessage = "Paused.";
_root.mcMessage._visible = true;
strSmallMessage = "hit 'p' to continue";
_root.mcSmallMessage._visible = true;
_global.sndSong.setVolume(0);
_root.stop();
} else {
_global.bGamePause = false;
_global.sndSong.setVolume(_global.nGameVolume);
_root.mcMessage._visible = false;
_root.mcSmallMessage._visible = false;
_root.play();
}
}
var glstBag;
var gnItemsLeft;
var gnPrevItem;
var varLevel;
var varLevelAdjust;
InitGameVars();
_root.mcIntro._visible = false;
_root.mcIntro.stop();
this.attachMovie("mcEmpty", "mcEmpty", 400);
Instance of Symbol 457 MovieClip "mcYeti" in Frame 5
onClipEvent (load) {
bActivate = false;
}
on (release) {
if (!_global.bGamePause) {
this.gotoAndPlay("YetiButton");
}
}
onClipEvent (enterFrame) {
if (bActivate) {
bActivate = false;
}
}
Instance of Symbol 475 MovieClip "mcTruman" in Frame 5
onClipEvent (load) {
snChangeX = -17;
snChangeY = 50;
ChangeNumber = function (bRemark) {
bSoundPlaying = false;
this.mcTrumanFace._yscale = 100;
this.mcTrumanFace._xscale = 100;
this._x = this._x + snChangeX;
this._y = this._y + snChangeY;
this.gotoAndPlay("spin");
};
PositiveRemark = function () {
if (!_global.gbPunkSpoke) {
nTrumanPos = _root.RandomBag(_global.bagTrumanPos, [1, 2, 3, 4, 5, 6, 7]);
Talk("BeaverPos" add nTrumanPos);
}
};
SmartAssRemark = function () {
nTrumanSmartAss = _root.RandomBag(_global.bagTrumanSmartAss, [1, 2, 3, 4, 5, 6, 7]);
Talk("Truman" add nTrumanSmartAss);
};
Talk = function (sndThis) {
if (!bSoundPlaying) {
sndRemark = new Sound(this);
sndRemark.attachSound(sndThis);
sndRemark.setVolume(150);
sndRemark.start();
bSoundPlaying = true;
}
};
}
onClipEvent (enterFrame) {
if (bSoundPlaying) {
if (sndRemark.position < sndRemark.duration) {
if ((this.mcTrumanFace._yscale == 100) and (!Math.floor(Math.random() * 3))) {
this.mcTrumanFace._yscale = this.mcTrumanFace._yscale - 25;
this.mcTrumanFace._xscale = this.mcTrumanFace._xscale + 25;
} else {
this.mcTrumanFace._yscale = 100;
this.mcTrumanFace._xscale = 100;
}
} else {
bSoundPlaying = false;
this.mcTrumanFace._yscale = 100;
this.mcTrumanFace._xscale = 100;
}
}
}
Instance of Symbol 477 MovieClip "mcDawes" in Frame 5
onClipEvent (load) {
snChangeX = -17;
snChangeY = 50;
ChangeNumber = function (abRemark) {
bSoundPlaying = false;
this.mcDawesFace._yscale = 100;
this.mcDawesFace._xscale = 100;
this._x = this._x + snChangeX;
this._y = this._y + snChangeY;
this.gotoAndPlay("spin");
bRemark = abRemark;
};
PositiveRemark = function () {
if (!_global.gbPunkSpoke) {
Talk("BeaverPos" add _root.RandomBag(_global.bagDawesPos, [1, 2, 3, 4, 5, 6, 7]));
}
};
SmartAssRemark = function () {
Talk("Dawes" add _root.RandomBag(_global.bagDawesSmartAss, [1, 2, 3, 4, 5, 6, 7]));
};
Talk = function (sndThis) {
if (!bSoundPlaying) {
sndRemark = new Sound(this);
sndRemark.attachSound(sndThis);
sndRemark.setVolume(150);
sndRemark.start();
bSoundPlaying = true;
}
};
}
onClipEvent (enterFrame) {
if (bSoundPlaying) {
if (sndRemark.position < sndRemark.duration) {
if ((this.mcDawesFace._yscale == 100) and (!Math.floor(Math.random() * 3))) {
this.mcDawesFace._yscale = this.mcDawesFace._yscale - 25;
this.mcDawesFace._xscale = this.mcDawesFace._xscale + 25;
} else {
this.mcDawesFace._yscale = 100;
this.mcDawesFace._xscale = 100;
}
} else {
bSoundPlaying = false;
this.mcDawesFace._yscale = 100;
this.mcDawesFace._xscale = 100;
}
}
}
Instance of Symbol 316 MovieClip in Frame 5
onClipEvent (keyDown) {
if (Key.getCode() == 80) {
_root.ToggleGame();
}
}
Instance of Symbol 146 MovieClip "mcSnowball" in Frame 5
onClipEvent (enterFrame) {
if (bFlying) {
_x = (_x + (1.5 * nXDelta));
_y = (_y - (2.5 * nYDelta));
nYDelta = nYDelta - 8;
nXDelta = nXDelta - 2;
if ((_y >= nYEnd) and (nYDelta <= 0)) {
bFlying = false;
if (this.HitPunk(_root.mcPunk)) {
} else if (this.HitPunk(_root.mcPunkB)) {
} else if (this.hitTest(_root.mcTruman.HitArea)) {
_root.mcTruman.SmartAssRemark();
} else if (this.hitTest(_root.mcDawes.HitArea)) {
_root.mcDawes.SmartAssRemark();
} else if (this.hitTest(_root.mcYeti.HitArea)) {
_root.mcYeti.bActivate = true;
_root.mcYeti.gotoAndPlay("YetiButton");
_root.mcYetiRampage.bHitSnowman = true;
_root.mcSnowman.bHittable = true;
} else if (this.hitTest(_root.mcYeti.WarningArea1) or this.hitTest(_root.mcYeti.WarningArea2)) {
nRandom = Math.floor(Math.random() * 2) + 1;
if (nRandom == 1) {
_root.mcDawes.Talk("sndNoHitYeti1");
} else {
_root.mcTruman.Talk("sndNoHitYeti2");
}
}
this.gotoAndPlay("hit");
}
}
}
Instance of Symbol 549 MovieClip "mcSnowman" in Frame 5
onClipEvent (load) {
_global.bBurleStart = true;
this.PlayAnim = function (strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
};
this.Toss = function () {
bTossing = false;
this.PlayAnim("throw" + String(nStage));
sndSnowball = new Sound(this);
sndSnowball.attachSound("sndSnowball");
sndSnowball.setVolume(200);
sndSnowball.start();
_root.mcSnowball.duplicateMovieClip("mcSnowball_1", 500);
_root.mcSnowball_1._x = this._x + (this._width / 2);
_root.mcSnowball_1._y = this._y - this._height;
_root.mcSnowball_1.bFlying = true;
_root.mcSnowball_1.nYDelta = nPower * 3;
_root.mcSnowball_1.nXDelta = nPower * 4;
if (nPower <= 0.5) {
nPower = 0.5;
}
_root.mcSnowball_1.nYEnd = (_root._ymouse * 0.5) / nPower;
nPower = -1;
};
this.bHittable = false;
this.bInterruptable = true;
this.gotoAndPlay("wait1");
this.nStage = 1;
nPower = -1;
}
onClipEvent (enterFrame) {
if ((!_global.bGameOver) and (!_global.bGamePause)) {
if (_root.mcWalkingArea.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = _root._xmouse;
this._y = _root._ymouse + (this._height / 2);
} else if (_root.mcDontAutoThrowArea.hitTest(_root._xmouse, _root._ymouse, true)) {
} else if (bTossing) {
Toss();
}
if (nPower >= 0) {
nPower = nPower + 0.65;
if (this.mcThrowArm._rotation >= -120) {
this.mcThrowArm._rotation = this.mcThrowArm._rotation - 10;
}
}
}
}
on (press) {
if ((!_global.bGameOver) and (!_global.bGamePause)) {
if (_root.bPause) {
_root.mcMessage._visible = false;
_root.btnContinueGame._visible = false;
_root.mcSmallMessage._visible = false;
_root.bPause = false;
_root.play();
}
this.PlayAnim("waitsnowball" + String(nStage));
nPower = 0;
bTossing = true;
}
}
on (release) {
if ((!_global.bGameOver) and (!_global.bGamePause)) {
Toss();
}
}
on (releaseOutside) {
if ((!_global.bGameOver) and bTossing) {
Toss();
}
}
Instance of Symbol 457 MovieClip "mcYetiRampage" in Frame 5
onClipEvent (load) {
bYetiCrunch = false;
bYetiSmash = false;
}
onClipEvent (enterFrame) {
if (bStartRampage) {
sndYeti = new Sound(this);
sndYeti.attachSound("sndYetiScream");
sndYeti.setVolume(90);
sndYeti.start();
sndYetiTalk = new Sound(this);
sndYeti.onSoundComplete = YetiTalk();
if (this.bHitSnowman) {
nSaveScore = _root.varScore;
this._y = 700;
bHitPunks = false;
} else {
this._y = 500;
bHitPunks = true;
}
this._x = 900;
this.gotoAndPlay("Rampage");
bStartRampage = false;
bYetiHitSnowman = false;
bRampage = true;
}
if (bRampage) {
this._x = this._x - 10;
this._y = this._y - 4.5;
if (_root.mcPunk.bHittable and bHitPunks) {
if (this.HitArea.hitTest(_root.mcPunk)) {
_root.mcPunk.bHittable = false;
_root.varScore = _root.varScore + _root.mcPunk.mcPunk.nScore;
_root.varNeed--;
_root.mcPunk.mcPunk.gotoAndPlay("hit");
}
}
if (_root.mcPunkB.bHittable and bHitPunks) {
if (this.HitArea.hitTest(_root.mcPunkB)) {
_root.mcPunkB.bHittable = false;
_root.varScore = _root.varScore + _root.mcPunkB.mcPunk.nScore;
_root.varNeed--;
_root.mcPunkB.mcPunk.gotoAndPlay("hit");
}
}
if (_root.mcSnowman.bHittable and (bYetiHitSnowman == false)) {
if (this.HitArea.hitTest(_root.mcSnowman)) {
_root.mcSnowman.bInterruptable = false;
_root.mcSnowman.gotoAndPlay("hit" + String(_root.mcSnowman.nStage));
_root.mcSnowman.bHittable = false;
bYetiHitSnowman = true;
}
}
if (this._x < -100) {
this.stop();
bRampage = false;
if (bHitSnowman) {
bHitSnowman = false;
_root.mcSnowman.bHittable = true;
}
if ((_root.varNeed <= 0) and (!_global.bGameOver)) {
_global.bNextLevel = true;
}
}
}
}
Instance of Symbol 316 MovieClip "mcSong" in Frame 5
onClipEvent (load) {
_global.sndSong = new Sound(this);
_global.sndSong.attachSound("snowman2.aif");
_global.sndSong.setVolume(sndSong.getVolume() * 0.4);
_global.sndSong.start(0, 999999);
}
onClipEvent (unload) {
_global.sndSong.stop();
}
Frame 6
if (bPause) {
stop();
}
_root.mcPunk.attachMovie(RandomPunk(), "mcPunk", 1);
_root.mcPunk.mcPunk.bInterruptable = true;
_root.mcPunk.bHittable = true;
_root.mcPunk.mcPunk.bCanThrow = true;
_global.gbPunkSpoke = false;
_root.mcPunk.PlayAnim("normal");
Frame 11
_root.PunksThrow(4);
Frame 14
_root.PunksThrow(4);
Frame 17
_root.PunksThrow(4);
Frame 20
_root.PunksThrow(3);
Frame 23
_root.PunksThrow(3);
Frame 26
_root.PunksThrow(2);
if (lstLevelData[_root.varLevel - _root.varLevelAdjust].bSecondPunk and (!mcYetiRampage.bRampage)) {
_root.mcPunkB.attachMovie(RandomPunk(), "mcPunk", 1);
_root.mcPunkB.bHittable = true;
_root.mcPunkB.mcPunk.bCanThrow = true;
_global.gbPunkSpoke = false;
_root.mcPunkB.mcPunk.bInterruptable = true;
_root.mcPunkB.PlayAnim("normal");
}
Frame 29
_root.PunksThrow(2);
Frame 32
_root.PunksThrow(2);
Frame 35
_root.PunksThrow(2);
Frame 38
_root.PunksThrow(2);
Frame 41
_root.PunksThrow(2);
Frame 44
_root.PunksThrow(2);
Frame 45
if (!lstLevelData[_root.varLevel - _root.varLevelAdjust].bSecondPunk) {
if (_global.bNextLevel) {
NextLevel();
} else {
gotoAndPlay (6);
}
}
Frame 47
_root.PunksThrow(2);
Frame 50
_root.PunksThrow(2);
Frame 53
_root.PunksThrow(2);
Frame 63
if (_global.bNextLevel) {
NextLevel();
} else {
gotoAndPlay (6);
}
Frame 86
mcInterstitial._visible = true;
trace("Play mcInterstitial");
mcSong.sndSong.stop();
stop();
mcInterstitial.play();
Frame 89
ContinueGame();
Frame 90
stop();
Instance of Symbol 475 MovieClip "mcTruman" in Frame 90
onClipEvent (load) {
snChangeX = -30;
snChangeY = 50;
ChangeNumber = function (bRemark) {
this._x = this._x + snChangeX;
this._y = this._y + snChangeY;
this.gotoAndPlay("spin");
};
PositiveRemark = function () {
if (!_global.gbPunkSpoke) {
nTrumanPos = _root.RandomBag(_global.bagTrumanPos, [1, 2, 3, 4, 5, 6, 7]);
Talk("BeaverPos" add nTrumanPos);
}
};
SmartAssRemark = function () {
nTrumanSmartAss = _root.RandomBag(_global.bagTrumanSmartAss, [1, 2, 3, 4, 5, 6]);
Talk("Truman" add nTrumanSmartAss);
};
Talk = function (sndThis) {
if (!bSoundPlaying) {
sndRemark = new Sound(this);
sndRemark.attachSound(sndThis);
sndRemark.setVolume(150);
sndRemark.start();
bSoundPlaying = true;
}
};
}
onClipEvent (enterFrame) {
if (bSoundPlaying) {
if (sndRemark.position < sndRemark.duration) {
if ((this.mcTrumanFace._yscale == 100) and (!Math.floor(Math.random() * 3))) {
this.mcTrumanFace._yscale = this.mcTrumanFace._yscale - 25;
this.mcTrumanFace._xscale = this.mcTrumanFace._xscale + 25;
} else {
this.mcTrumanFace._yscale = 100;
this.mcTrumanFace._xscale = 100;
}
} else {
bSoundPlaying = false;
this.mcTrumanFace._yscale = 100;
this.mcTrumanFace._xscale = 100;
}
}
}
Instance of Symbol 477 MovieClip "mcDawes" in Frame 90
onClipEvent (load) {
snChangeX = -17;
snChangeY = 50;
ChangeNumber = function (abRemark) {
this._x = this._x + snChangeX;
this._y = this._y + snChangeY;
this.gotoAndPlay("spin");
bRemark = abRemark;
};
PositiveRemark = function () {
if (!_global.gbPunkSpoke) {
Talk("BeaverPos" add _root.RandomBag(_global.bagDawesPos, [1, 2, 3, 4, 5, 6, 7]));
}
};
SmartAssRemark = function () {
Talk("Dawes" add _root.RandomBag(_global.bagDawesSmartAss, [1, 2, 3, 4, 5, 6]));
};
Talk = function (sndThis) {
if (!bSoundPlaying) {
sndRemark = new Sound(this);
sndRemark.attachSound(sndThis);
sndRemark.setVolume(150);
sndRemark.start();
bSoundPlaying = true;
}
};
}
onClipEvent (enterFrame) {
if (bSoundPlaying) {
if (sndRemark.position < sndRemark.duration) {
if ((this.mcDawesFace._yscale == 100) and (!Math.floor(Math.random() * 3))) {
this.mcDawesFace._yscale = this.mcDawesFace._yscale - 25;
this.mcDawesFace._xscale = this.mcDawesFace._xscale + 25;
} else {
this.mcDawesFace._yscale = 100;
this.mcDawesFace._xscale = 100;
}
} else {
bSoundPlaying = false;
this.mcDawesFace._yscale = 100;
this.mcDawesFace._xscale = 100;
}
}
}
Symbol 45 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 48 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 51 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 54 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 55 MovieClip [UpArrow] Frame 1
stop();
Symbol 55 MovieClip [UpArrow] Frame 2
stop();
Symbol 55 MovieClip [UpArrow] Frame 3
stop();
Symbol 56 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 61 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 62 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 63 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 66 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 69 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 72 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 73 MovieClip [DownArrow] Frame 1
stop();
Symbol 73 MovieClip [DownArrow] Frame 2
stop();
Symbol 73 MovieClip [DownArrow] Frame 3
stop();
Symbol 99 MovieClip [sledders] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 10;
Symbol 99 MovieClip [sledders] Frame 4
PlayAnim("normal");
Symbol 99 MovieClip [sledders] Frame 6
if (Math.floor(Math.random() * 2) == 0) {
PlayAnim("release1");
} else {
PlayAnim("release2");
}
Symbol 99 MovieClip [sledders] Frame 9
strCandyName = "mcCandyA" + String(_root.nThrowFrame);
_root.attachMovie("mcCandy", strCandyName, _root.nThrowframe + 321);
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
_root[strCandyName]._x = pt.x;
_root[strCandyName]._y = pt.y;
Symbol 99 MovieClip [sledders] Frame 15
if (Math.floor(Math.random() * 2) == 0) {
PlayAnim("release2");
} else {
PlayAnim("normal");
}
Symbol 99 MovieClip [sledders] Frame 18
strCandyName = "mcCandyB" + String(_root.nThrowFrame);
_root.attachMovie("mcCandy", strCandyName, _root.nThrowFrame + 322);
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
_root[strCandyName]._x = pt.x;
_root[strCandyName]._y = pt.y;
Symbol 99 MovieClip [sledders] Frame 26
if (Math.floor(Math.random() * 2) == 0) {
PlayAnim("release1");
} else {
PlayAnim("normal");
}
Symbol 99 MovieClip [sledders] Frame 27
this.bInterruptable = false;
bCanThrow = false;
trace("Sledder HIT: bInterruptable is " + bInterruptable);
Symbol 99 MovieClip [sledders] Frame 61
stop();
Symbol 109 MovieClip [skier] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 5;
Symbol 109 MovieClip [skier] Frame 3
stop();
Symbol 109 MovieClip [skier] Frame 4
_global.gbPunkSpoke = true;
Symbol 109 MovieClip [skier] Frame 26
stop();
Symbol 117 MovieClip [runt] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 10;
bCanThrow = true;
Symbol 117 MovieClip [runt] Frame 3
stop();
Symbol 117 MovieClip [runt] Frame 4
bCanThrow = false;
_global.gbPunkSpoke = true;
sndRunt = new Sound(this);
sndRunt.attachSound("sndRuntHit");
sndRunt.start(0.1);
Symbol 117 MovieClip [runt] Frame 33
stop();
Symbol 117 MovieClip [runt] Frame 34
bCanThrow = false;
Symbol 117 MovieClip [runt] Frame 40
_root.attachMovie("mcHelmet", "mcHelmet", 300);
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
_root.mcHelmet._x = pt.x;
_root.mcHelmet._y = pt.y;
Symbol 117 MovieClip [runt] Frame 48
stop();
Symbol 122 MovieClip [punk7] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 1;
Symbol 122 MovieClip [punk7] Frame 3
stop();
Symbol 122 MovieClip [punk7] Frame 4
this.bInterruptable = false;
Symbol 122 MovieClip [punk7] Frame 31
stop();
Symbol 127 MovieClip [punk6] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 1;
Symbol 127 MovieClip [punk6] Frame 3
stop();
Symbol 127 MovieClip [punk6] Frame 4
this.bInterruptable = false;
Symbol 127 MovieClip [punk6] Frame 31
stop();
Symbol 132 MovieClip [punk5] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 1;
Symbol 132 MovieClip [punk5] Frame 3
stop();
Symbol 132 MovieClip [punk5] Frame 4
_global.gbPunkSpoke = true;
this.bInterruptable = false;
sndPunk = new Sound(this);
sndPunk.attachSound(("sndPunk" add String(Math.floor(Math.random() * 8) + 1)) add "Hit");
sndPunk.start();
Symbol 132 MovieClip [punk5] Frame 31
stop();
Symbol 137 MovieClip [punk4] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 1;
Symbol 137 MovieClip [punk4] Frame 3
stop();
Symbol 137 MovieClip [punk4] Frame 4
_global.gbPunkSpoke = true;
this.bInterruptable = false;
sndPunk = new Sound(this);
sndPunk.attachSound(("sndPunk" add String(Math.floor(Math.random() * 8) + 1)) add "Hit");
sndPunk.start();
Symbol 137 MovieClip [punk4] Frame 31
stop();
Symbol 146 MovieClip Frame 1
function HitPunk(mcHitPunk) {
if (mcHitPunk.bHittable) {
bReturn = this.hitTest(mcHitPunk.mcPunk.HitArea);
if (bReturn) {
mcHitPunk.mcPunk.bInterruptable = false;
mcHitPunk.mcPunk.gotoAndPlay("hit");
mcHitPunk.bHittable = false;
_root.mcDawes.ChangeNumber(true);
_root.mcTruman.ChangeNumber(false);
_root.varScore = _root.varScore + mcHitPunk.mcPunk.nScore;
_root.varNeed--;
if (_root.varNeed <= 0) {
_root.mcSnowman.bHittable = false;
_global.bNextLevel = true;
}
}
}
return(bReturn);
}
var bFlying;
var nChange = 20;
stop();
Symbol 146 MovieClip Frame 12
stop();
Symbol 148 MovieClip [punk3] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 2;
Symbol 148 MovieClip [punk3] Frame 3
stop();
Symbol 148 MovieClip [punk3] Frame 4
nScore = 1;
Symbol 148 MovieClip [punk3] Frame 6
stop();
Symbol 148 MovieClip [punk3] Frame 7
bCanThrow = false;
Symbol 148 MovieClip [punk3] Frame 9
_root.attachMovie("mcSnowball", "mcPunk3Snowball", 303);
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
_root.mcPunk3Snowball._x = pt.x;
_root.mcPunk3Snowball._y = pt.y;
gotoAndPlay (4);
Symbol 148 MovieClip [punk3] Frame 10
_global.gbPunkSpoke = true;
this.bInterruptable = false;
bCanThrow = false;
sndPunk = new Sound(this);
sndPunk.attachSound(("sndPunk" add String(Math.floor(Math.random() * 8) + 1)) add "Hit");
sndPunk.start();
Symbol 148 MovieClip [punk3] Frame 37
stop();
Symbol 152 MovieClip [punk2] Frame 1
function PlayAnim(strAnim) {
if (this.bInterruptable) {
this.gotoAndPlay(strAnim);
}
}
nScore = 2;
Symbol 152 MovieClip [punk2] Frame 3
stop();
Symbol 152 MovieClip [punk2] Frame 6
stop();
Symbol 152 MovieClip [punk2] Frame 7
bCanThrow = false;
Symbol 152 MovieClip [punk2] Frame 9
_root.attachMovie("mcSnowball", "mcPunk2Snowball", 302);
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
_root.mcPunk2Snowball._x = pt.x;
_root.mcPunk2Snowball._y = pt.y;
gotoAndPlay (4);
Symbol 152 MovieClip [punk2] Frame 10
_global.gbPunkSpoke = true;
this.bInterruptable = false;
bCanThrow = false;
sndPunk = new Sound(this);
sndPunk.attachSound(("sndPunk" add String(Math.floor(Math.random() * 8) + 1)) add "Hit");
sndPunk.start();
Symbol 152 MovieClip [punk2] Frame 37
stop();
Symbol 157 MovieClip [punk1] Frame 1
function PlayAnim(strAnim) {
trace(((("PlayAnim(): " + strAnim) + "(Interruptable= ") + this.bInterruptable) + ")");
if (this.bInterruptable) {
trace("Play " + strAnim);
this.gotoAndPlay(strAnim);
}
}
nScore = 2;
Symbol 157 MovieClip [punk1] Frame 3
stop();
Symbol 157 MovieClip [punk1] Frame 6
stop();
Symbol 157 MovieClip [punk1] Frame 7
bCanThrow = false;
Symbol 157 MovieClip [punk1] Frame 9
_root.attachMovie("mcSnowball", "mcPunk1Snowball", 301);
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
_root.mcPunk1Snowball._x = pt.x;
_root.mcPunk1Snowball._y = pt.y;
gotoAndPlay (4);
Symbol 157 MovieClip [punk1] Frame 10
_global.gbPunkSpoke = true;
bCanThrow = false;
sndPunk = new Sound(this);
sndPunk.attachSound(("sndPunk" add String(Math.floor(Math.random() * 8) + 1)) add "Hit");
sndPunk.start();
Symbol 157 MovieClip [punk1] Frame 36
stop();
Instance of Symbol 146 MovieClip "snowball" in Symbol 158 MovieClip [mcSnowball] Frame 1
onClipEvent (load) {
pt = new Object();
pt.x = _parent._x;
pt.y = _parent._y;
_root.localToGlobal(pt);
nRatio = ((_root._xmouse - pt.x) / (_root._ymouse - pt.y)) + (Math.random() / 2);
nDeltaX = nRatio * 15;
nDeltaY = 15;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + nDeltaY;
_parent._x = _parent._x + nDeltaX;
if (_root.mcSnowman.bHittable and _parent.hitTest(_root.mcSnowman.HitArea)) {
_root.mcSnowman.bInterruptable = false;
_root.mcSnowman.bHittable = false;
_root.mcSnowman.gotoAndPlay("hit" + String(_root.mcSnowman.nStage));
_parent.snowball.gotoAndPlay("hit");
}
if (_parent._y > 500) {
_parent.removeMovieClip();
}
}
Instance of Symbol 159 MovieClip in Symbol 160 MovieClip [mcCandy] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y + 15;
_parent._x = _parent._x - 12;
_parent._rotation = _parent._rotation - 75;
if (_root.mcSnowman.bHittable and _parent.hitTest(_root.mcSnowman.HitArea)) {
_root.mcSnowman.bInterruptable = false;
_root.mcSnowman.gotoAndPlay("hit" + String(_root.mcSnowman.nStage));
}
if (_parent._y > 600) {
_parent.removeMovieClip();
}
}
Symbol 216 Button
on (release) {
gotoAndPlay (39);
}
Symbol 221 MovieClip [mcBeaverInter1] Frame 39
stop();
_root.ContinueGame();
this._visible = false;
Symbol 222 Button
on (release) {
gotoAndPlay (28);
}
Symbol 224 MovieClip [mcBeaverInter2] Frame 28
stop();
_root.ContinueGame();
this._visible = false;
Symbol 225 Button
on (release) {
gotoAndPlay (45);
}
Symbol 227 MovieClip [mcBeaverInter3] Frame 45
stop();
_root.ContinueGame();
this._visible = false;
Symbol 232 Button
on (release) {
gotoAndPlay (50);
}
Symbol 237 MovieClip [mcBeaverInter5] Frame 50
stop();
_root.ContinueGame();
this._visible = false;
Symbol 238 Button
on (release) {
gotoAndPlay (47);
}
Symbol 240 MovieClip [mcBeaverInter6] Frame 47
stop();
_root.ContinueGame();
this._visible = false;
Symbol 241 Button
on (release) {
gotoAndPlay (52);
}
Symbol 243 MovieClip [mcBeaverInter7] Frame 52
stop();
_root.ContinueGame();
this._visible = false;
Symbol 254 Button
on (release) {
gotoAndPlay (239);
}
Symbol 291 MovieClip [mcBurleHead] Frame 239
stop();
_root.ContinueGame();
this._visible = false;
Symbol 292 Button
on (release) {
gotoAndPlay (105);
}
Symbol 299 MovieClip [mcBurleBody] Frame 105
stop();
_root.ContinueGame();
this._visible = false;
Symbol 302 MovieClip [mcHelmet] Frame 1
Instance of Symbol 301 MovieClip in Symbol 302 MovieClip [mcHelmet] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y + 20;
_parent._x = _parent._x - 18;
_parent._rotation = _parent._rotation - 75;
if (_root.mcSnowman.bHittable and _parent.hitTest(_root.mcSnowman.HitArea)) {
_root.mcSnowman.bInterruptable = false;
_root.mcSnowman.gotoAndPlay("hit" + String(_root.mcSnowman.nStage));
}
if (_parent._y > 500) {
_parent.removeMovieClip();
}
}
Instance of Symbol 304 MovieClip in Symbol 305 MovieClip [expflake1] Frame 1
onClipEvent (load) {
mySpeed = Math.randomBetween(1, 3);
if (Math.floor(Math.random() * 2) == 0) {
myRotation = Math.randomBetween(1, 4);
} else {
myRotation = Math.randomBetween(-4, -1);
}
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + mySpeed;
_parent._rotation = _parent._rotation + myRotation;
if (_parent._y > 600) {
_parent.removeMovieClip();
}
}
Instance of Symbol 307 MovieClip in Symbol 308 MovieClip [expflake2] Frame 1
onClipEvent (load) {
mySpeed = Math.randomBetween(1, 2);
if (Math.floor(Math.random() * 2) == 0) {
myRotation = Math.randomBetween(1, 5);
} else {
myRotation = Math.randomBetween(-5, -1);
}
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + mySpeed;
_parent._rotation = _parent._rotation + myRotation;
if (_parent._y > 600) {
_parent.removeMovieClip();
}
}
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip [expflake3] Frame 1
onClipEvent (load) {
mySpeed = Math.randomBetween(2, 3);
if (Math.floor(Math.random() * 2) == 0) {
myRotation = Math.randomBetween(2, 6);
} else {
myRotation = Math.randomBetween(-6, -2);
}
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + mySpeed;
_parent._rotation = _parent._rotation + myRotation;
if (_parent._y > 600) {
_parent.removeMovieClip();
}
}
Symbol 314 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 315 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var tmp = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
tmp = Math.min(tmp, this.maxPos);
this.setScrollPosition(Math.max(tmp, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var wasEnabled = this.enable;
if (enabledFlag && (!wasEnabled)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (wasEnabled)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var delt = this.smallScroll;
if (inc != "one") {
delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var newPos = (this.getScrollPosition() + (mode * delt));
if (newPos > this.maxPos) {
newPos = this.maxPos;
} else if (newPos < this.minPos) {
newPos = this.minPos;
}
this.setScrollPosition(newPos);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var c = this.controller;
c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var pos = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxhscroll));
} else {
var pos = this.textField.scroll;
var pageSize = (this.textField.bottomScroll - this.textField.scroll);
this.setScrollProperties(pageSize, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 338 Button
on (release) {
if (bActive) {
_parent.sndPreloadSong.stop();
_parent._visible = false;
mcPlayButton.Activate();
_root.play();
_parent.stop();
}
}
Symbol 342 MovieClip Frame 1
function Activate() {
if ((bActive == undefined) or (bActive == false)) {
bActive = true;
mcInactive._visible = false;
mcPlayActive._visible = true;
}
}
var bActive;
Symbol 349 Button
on (release) {
gotoAndPlay (7);
}
Symbol 368 Button
on (release) {
gotoAndPlay (2);
}
Symbol 371 MovieClip Frame 1
_parent.stop();
sndPreloadSong = new Sound(this);
sndPreloadSong.attachSound("snowman2.aif");
sndPreloadSong.start(0, 99999);
nSnowballStart = mcSnowballSlider._x;
nSnowballDistance = 115 - nSnowBallStart;
nStartTime = getTimer();
Instance of Symbol 315 MovieClip [FScrollBarSymbol] in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "txtStory";
horizontal = false;
}
Instance of Symbol 342 MovieClip "mcPlayButton" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
bActive = false;
mcPlayActive._visible = false;
}
Instance of Symbol 355 MovieClip "mcFlakeMaker" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
function makeAFlake() {
whichFlake = Math.randomBetween(1, 3);
this.attachMovie("expflake" + whichFlake, "newflake" + depth, depth);
pt = new Object();
pt.x = Math.randomBetween(0, 550);
pt.y = Math.randomBetween(-10, 0);
this.globalToLocal(pt);
this["newflake" + depth]._x = pt.x;
this["newflake" + depth]._y = pt.y;
depth++;
}
depth = 1;
i = 1;
while (i < 6) {
makeAFlake();
i++;
}
nIntervalCount = 21;
}
onClipEvent (enterFrame) {
if (nIntervalCount > 20) {
makeAFlake();
nIntervalCount = Math.randomBetween(5, 9);
}
nIntervalCount++;
}
Symbol 371 MovieClip Frame 2
kBytesLoaded = (_parent.getBytesLoaded() + _parent.mcIntro.getBytesLoaded()) / 1024;
kBytesTotal = (_parent.getBytesTotal() + _parent.mcIntro.getBytesTotal()) / 1024;
kBytesRemaining = kBytesTotal - kBytesLoaded;
nPercentLoaded = (100 * kBytesLoaded) / kBytesTotal;
nPercentRemaining = 100 - nPercentLoaded;
varProgress = Math.floor(nPercentRemaining) add "%";
mcProgressFill._xscale = nPercentLoaded;
mcSnowballSlider._x = nSnowballStart + ((nSnowballDistance * nPercentLoaded) / 100);
Symbol 371 MovieClip Frame 3
if (nPercentLoaded >= 99) {
mcPlayButton.Activate();
}
gotoAndPlay (2);
Instance of Symbol 315 MovieClip [FScrollBarSymbol] in Symbol 371 MovieClip Frame 7
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "txtRules";
horizontal = false;
}
Symbol 371 MovieClip Frame 8
kBytesLoaded = (_parent.getBytesLoaded() + _parent.mcIntro.getBytesLoaded()) / 1024;
kBytesTotal = (_parent.getBytesTotal() + _parent.mcIntro.getBytesTotal()) / 1024;
kBytesRemaining = kBytesTotal - kBytesLoaded;
nPercentLoaded = (100 * kBytesLoaded) / kBytesTotal;
nPercentRemaining = 100 - nPercentLoaded;
varProgress = Math.floor(nPercentRemaining) add "%";
mcProgressFill._xscale = nPercentLoaded;
mcSnowballSlider._x = nSnowballStart + ((nSnowballDistance * nPercentLoaded) / 100);
Symbol 371 MovieClip Frame 9
if (nPercentLoaded >= 99) {
mcPlayButton.Activate();
}
gotoAndPlay(this._currentframe - 1);
Symbol 374 Button
on (release) {
gotoAndPlay (418);
}
Symbol 436 MovieClip Frame 1
function GetCurrFrame() {
trace("GetCurrFrame(): " + this._currentframe);
return(this._currentframe);
}
trace("STARTING THE INTRO");
Symbol 436 MovieClip Frame 34
trace((((("INTRO: currentframe is " + this._currentframe) + " or ") + _root.mcIntro._currentframe) + " TOTAL is ") + this._totalframes);
Symbol 436 MovieClip Frame 530
stop();
_parent.play();
Symbol 457 MovieClip Frame 1
function ReturnYeti() {
this._x = nOriginalX;
bActivate = false;
}
function YetiTalk() {
if (Math.floor(Math.random() * 2)) {
sndYetiTalk.attachSound("sndYetiCrunch");
} else {
sndYetiTalk.attachSound("sndYetiSmash");
}
sndYetiTalk.start();
}
var bActivate;
var bRampage;
var bStartRampage;
stop();
Symbol 457 MovieClip Frame 5
stop();
_root.mcYetiRampage.bStartRampage = true;
nOriginalX = this._x;
this._x = -1000;
Symbol 457 MovieClip Frame 10
gotoAndPlay (1);
Symbol 457 MovieClip Frame 15
gotoAndPlay (1);
Symbol 457 MovieClip Frame 21
sndSmash = new Sound(mcSounds);
sndYeti = new Sound(mcSounds);
if (Math.floor(Math.random() * 2)) {
if ((Math.floor(Math.random() * 4) == 0) and (bYetiSmash == false)) {
bYetiSmash = true;
sndYeti.attachSound("sndYetiSmash");
}
sndSmash.attachSound("sndBonk");
} else {
if ((Math.floor(Math.random() * 5) == 0) and (bYetiCrunch == false)) {
bYetiCrunch = true;
sndYeti.attachSound("sndYetiCrunch");
}
sndSmash.attachSound("sndImpact");
}
sndSmash.setVolume(200);
sndSmash.start();
sndYeti.start();
Symbol 457 MovieClip Frame 32
gotoAndPlay (16);
Symbol 462 Button
on (release) {
getURL ("http://www.transcendigital.net");
}
Symbol 475 MovieClip Frame 3
stop();
Symbol 475 MovieClip Frame 4
sndSpin = new Sound(this);
sndSpin.attachSound("spinwobble.aif");
Symbol 475 MovieClip Frame 16
this._x = this._x - snChangeX;
this._y = this._y - snChangeY;
sndSpin.stop();
if (bRemark) {
PositiveRemark();
}
gotoAndPlay (1);
Symbol 477 MovieClip Frame 1
var bRemark;
Symbol 477 MovieClip Frame 3
stop();
Symbol 477 MovieClip Frame 4
sndSpin = new Sound(this);
sndSpin.attachSound("spinwobble.aif");
sndSpin.setVolume(30);
sndSpin.start();
Symbol 477 MovieClip Frame 16
this._x = this._x - snChangeX;
this._y = this._y - snChangeY;
sndSpin.stop();
gotoAndPlay (1);
if (bRemark) {
PositiveRemark();
}
Symbol 484 Button
on (release) {
if (_global.bGameOver) {
gotoAndPlay (90);
}
}
Symbol 485 Button
on (release) {
_root.btnContinueGame._visible = false;
_root.mcMessage._visible = false;
_root.mcSmallMessage._visible = false;
_root.bPause = false;
_root.play();
}
Symbol 549 MovieClip Frame 3
this.PlayAnim("waitsnowball1");
Symbol 549 MovieClip Frame 6
PlayAnim("wait1");
Symbol 549 MovieClip Frame 9
PlayAnim("Dsnowball1");
Symbol 549 MovieClip Frame 12
PlayAnim("DLsnowball1");
Symbol 549 MovieClip Frame 15
PlayAnim("Lsnowball1");
Symbol 549 MovieClip Frame 18
PlayAnim("ULsnowball1");
Symbol 549 MovieClip Frame 21
PlayAnim("Usnowball1");
Symbol 549 MovieClip Frame 24
PlayAnim("URsnowball1");
Symbol 549 MovieClip Frame 27
PlayAnim("Rsnowball1");
Symbol 549 MovieClip Frame 30
PlayAnim("DRsnowball1");
Symbol 549 MovieClip Frame 33
PlayAnim("D1");
Symbol 549 MovieClip Frame 36
PlayAnim("DL1");
Symbol 549 MovieClip Frame 39
PlayAnim("L1");
Symbol 549 MovieClip Frame 42
PlayAnim("UL1");
Symbol 549 MovieClip Frame 45
PlayAnim("U1");
Symbol 549 MovieClip Frame 48
PlayAnim("UR1");
Symbol 549 MovieClip Frame 51
PlayAnim("R1");
Symbol 549 MovieClip Frame 54
PlayAnim("DR1");
Symbol 549 MovieClip Frame 62
PlayAnim("wait1");
Symbol 549 MovieClip Frame 63
PlayAnim("wait1");
Symbol 549 MovieClip Frame 66
PlayAnim("waitsnowball2");
Symbol 549 MovieClip Frame 69
PlayAnim("wait2");
Symbol 549 MovieClip Frame 72
PlayAnim("Dsnowball2");
Symbol 549 MovieClip Frame 75
PlayAnim("DLsnowball2");
Symbol 549 MovieClip Frame 78
PlayAnim("Lsnowball2");
Symbol 549 MovieClip Frame 81
PlayAnim("ULsnowball2");
Symbol 549 MovieClip Frame 84
PlayAnim("Usnowball2");
Symbol 549 MovieClip Frame 87
PlayAnim("URsnowball2");
Symbol 549 MovieClip Frame 90
PlayAnim("Rsnowball2");
Symbol 549 MovieClip Frame 93
PlayAnim("DRsnowball2");
Symbol 549 MovieClip Frame 96
PlayAnim("D2");
Symbol 549 MovieClip Frame 99
PlayAnim("DL2");
Symbol 549 MovieClip Frame 102
PlayAnim("L2");
Symbol 549 MovieClip Frame 105
PlayAnim("UL2");
Symbol 549 MovieClip Frame 108
PlayAnim("U2");
Symbol 549 MovieClip Frame 111
PlayAnim("UR2");
Symbol 549 MovieClip Frame 114
PlayAnim("R2");
Symbol 549 MovieClip Frame 117
PlayAnim("DR2");
Symbol 549 MovieClip Frame 126
PlayAnim("wait2");
Symbol 549 MovieClip Frame 129
PlayAnim("waitsnowball3");
Symbol 549 MovieClip Frame 132
PlayAnim("wait3");
Symbol 549 MovieClip Frame 135
PlayAnim("Dsnowball3");
Symbol 549 MovieClip Frame 138
PlayAnim("DLsnowball3");
Symbol 549 MovieClip Frame 141
PlayAnim("Lsnowball3");
Symbol 549 MovieClip Frame 144
PlayAnim("ULsnowball3");
Symbol 549 MovieClip Frame 147
PlayAnim("Usnowball3");
Symbol 549 MovieClip Frame 150
PlayAnim("URsnowball3");
Symbol 549 MovieClip Frame 153
PlayAnim("Rsnowball3");
Symbol 549 MovieClip Frame 156
PlayAnim("DRsnowball3");
Symbol 549 MovieClip Frame 159
PlayAnim("D3");
Symbol 549 MovieClip Frame 162
PlayAnim("DL3");
Symbol 549 MovieClip Frame 165
PlayAnim("L3");
Symbol 549 MovieClip Frame 168
PlayAnim("UL3");
Symbol 549 MovieClip Frame 171
PlayAnim("U3");
Symbol 549 MovieClip Frame 174
PlayAnim("UR3");
Symbol 549 MovieClip Frame 177
PlayAnim("R3");
Symbol 549 MovieClip Frame 180
PlayAnim("DR3");
Symbol 549 MovieClip Frame 189
PlayAnim("wait3");
Symbol 549 MovieClip Frame 190
this.bInterruptable = false;
sndBurle = new Sound(this);
if (Math.floor(Math.random() * 2)) {
sndBurle.attachSound("sndBurleHit2");
} else {
sndBurle.attachSound("sndBurleHit1");
}
sndBurle.start();
Symbol 549 MovieClip Frame 214
stop();
this.bInterruptable = true;
this.bHittable = true;
this.nStage = 2;
PlayAnim("wait2");
Symbol 549 MovieClip Frame 215
this.bInterruptable = false;
sndBurle = new Sound(this);
if (Math.floor(Math.random() * 2)) {
sndBurle.attachSound("sndBurleHit2");
} else {
sndBurle.attachSound("sndBurleHit1");
}
sndBurle.start();
Symbol 549 MovieClip Frame 240
this.bInterruptable = true;
this.bHittable = true;
this.nStage = 3;
PlayAnim("wait3");
Symbol 549 MovieClip Frame 241
this.bInterruptable = false;
sndBurle = new Sound(this);
if (Math.floor(Math.random() * 2)) {
sndBurle.attachSound("sndBurleHit2");
} else {
sndBurle.attachSound("sndBurleHit1");
}
sndBurle.start();
Symbol 549 MovieClip Frame 267
this.bInterruptable = true;
_root.GameOver();
sndBurleSoundControl = new Sound(this);
sndBurleSoundControl.setVolume(75);
Symbol 549 MovieClip Frame 363
gotoAndPlay (268);
Symbol 554 Button
on (press) {
bPress = true;
}
on (release) {
if (bPress) {
_root.mcInterstitial.stop();
_root.mcInterstitial.sndThis.setVolume(0);
_root.mcInterstitial.unloadmovie();
ContinueGame();
}
}
Symbol 568 Button
on (release) {
gotoAndPlay (5);
}
Symbol 575 Button
on (release) {
nScore = _root.varScore ^ 666;
nFormScore = (((_root.varScore + 7) * 4) - 3) * 6;
getURL ((("http://www.transcendigital.net/sno_problem/high-scores.php?a=" + nScore) + "&b=") + nFormScore);
}
Symbol 582 Button
on (release) {
getURL ("http://www.transcendigital.net/sno_problem/friend.php");
}
Symbol 589 Button
on (release) {
getURL ("http://www.transcendigital.net/sno_problem/info.php");
}