Section 1
//BtnSs (FWG.BtnSs)
package FWG {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class BtnSs extends SBtn {
public function BtnSs(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FWG
Section 2
//BtnSubmit (FWG.BtnSubmit)
package FWG {
public dynamic class BtnSubmit extends SBtn {
}
}//package FWG
Section 3
//BtnVh (FWG.BtnVh)
package FWG {
public dynamic class BtnVh extends SBtn {
}
}//package FWG
Section 4
//BtnX (FWG.BtnX)
package FWG {
public dynamic class BtnX extends SBtn {
}
}//package FWG
Section 5
//SBtn (FWG.SBtn)
package FWG {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
public class SBtn extends MovieClip {
public var _rollOver:Function;
public var _rollOut:Function;
public var _press:Function;
public var _release:Function;
public var btn;
public function SBtn(){
var child:*;
super();
btn = this.getChildAt(0);
_rollOver = function (){
};
_rollOut = function (){
};
_press = function (){
};
_release = function (){
};
if ((btn is MovieClip)){
btn.buttonMode = true;
btn.gotoAndStop(1);
};
btn.addEventListener(MouseEvent.MOUSE_OVER, _onRollOver, false, 0, true);
btn.addEventListener(MouseEvent.MOUSE_OUT, _onRollOut, false, 0, true);
btn.addEventListener(MouseEvent.MOUSE_DOWN, _onPress, false, 0, true);
btn.addEventListener(MouseEvent.MOUSE_UP, _onRelease, false, 0, true);
var i:int = this.numChildren;
while ((i = (i - 1)), (i - 1) >= 0) {
child = this.getChildAt(i);
if ((child is InteractiveObject)){
child.mouseEnabled = false;
if ((child is DisplayObjectContainer)){
child.mouseChildren = false;
};
};
};
btn.mouseEnabled = true;
}
public function _onRollOver(_arg1:MouseEvent):void{
rollOver();
_rollOver();
}
public function _onRollOut(_arg1:MouseEvent):void{
rollOut();
_rollOut();
}
public function _onPress(_arg1:MouseEvent):void{
press();
_press();
}
public function _onRelease(_arg1:MouseEvent):void{
release();
_release();
}
public function rollOver():void{
}
public function rollOut():void{
}
public function press():void{
}
public function release():void{
}
}
}//package FWG
Section 6
//SubmitScore (FWG.SubmitScore)
package FWG {
import flash.net.*;
import flash.events.*;
import flash.display.*;
public class SubmitScore extends Sprite {
public var game_name:String;
public var score:int;
private var windowBody;
private var windowBg;
public function SubmitScore(){
GameI.submitScore = this;
windowBody = this.getChildAt(1);
windowBg = this.getChildAt(0);
windowBody.stop();
windowBody.btnSubmit._release = checkSubmit;
windowBody.btnX._release = fadeHide;
hide();
}
public function show():void{
this.addChild(windowBg);
this.addChild(windowBody);
windowBody.nameTxt.maxChars = 10;
windowBody.nameTxt.text = "";
windowBody.scoreTxt.text = score;
trace(((("playerName=" + windowBody.nameTxt.text) + ",score=") + windowBody.scoreTxt.text));
}
public function hide():void{
this.removeChild(windowBody);
this.removeChild(windowBg);
}
public function fadeShow():void{
show();
windowBody.nameTxt.stage.focus = windowBody.nameTxt;
windowBody.nameTxt.setSelection(0, windowBody.nameTxt.text.length);
}
public function fadeHide():void{
hide();
}
public function checkSubmit():void{
var _local2:URLVariables;
var _local1:String = windowBody.nameTxt.text;
if (_local1 == ""){
_local1 = ("guest" + int((Math.random() * 1000)));
};
if (score > 0){
_local2 = new URLVariables();
_local2.game = game_name;
_local2.score = windowBody.scoreTxt.text;
_local2.name = _local1;
Net.sendData(_local2, "http://www.freeworldgroup.com/score/score.asp", completeHandler, errorHandler);
windowBody.gotoAndStop(2);
GameI.btnSs.visible = false;
} else {
trace("score is 0! can't submit!");
};
}
private function completeHandler(_arg1:Event):void{
windowBody.gotoAndStop(3);
}
private function errorHandler(_arg1:IOErrorEvent):void{
trace(("error: " + _arg1));
}
}
}//package FWG
Section 7
//Container_55 (RealChristmas_fla.Container_55)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Container_55 extends MovieClip {
public var doom:MovieClip;
public var shake:MovieClip;
public var doom2:MovieClip;
public var wall2:MovieClip;
public var ground:MovieClip;
public var rightw:MovieClip;
public var player:MovieClip;
public var mash:MovieClip;
public var Score:TextField;
public var BScore:TextField;
public var Msfx:MovieClip;
public var leftw:MovieClip;
public var butterBar:MovieClip;
public var blu:MovieClip;
public var bg:MovieClip;
public var pauseClip:MovieClip;
public var MMusic:MovieClip;
public var bg2:MovieClip;
public var powtext:MovieClip;
public var bg3:MovieClip;
public var wall:MovieClip;
public var life:MovieClip;
public var multiply:Boolean;
public var infinite:Boolean;
public var bigC:int;
public var gravity:Number;
public var right:Boolean;
public var left:Boolean;
public var up:Boolean;
public var down:Boolean;
public var space:Boolean;
public var speed:Number;
public var jumping:Boolean;
public var Tiles:Array;
public var count:Number;
public var countess:int;
public var speed2:int;
public var spada:int;
public var acheck:Boolean;
public var AppleArray:Array;
public var Platforms:Array;
public var playSpeed:int;
public var buttered:Boolean;
public var score:int;
public var scoreCounter:Number;
public var Paused:Boolean;
public var P:Boolean;
public var dona:Boolean;
public var death:Boolean;
public var Dir:String;
public var countee:int;
public var shaks:int;
public var hatchoo:Boolean;
public var counah:int;
public var white:Boolean;
public var righty:int;
public var lefty:int;
public var butterSpeed:int;
public var count3:int;
public var Ttime:int;
public var glooCount:int;
public var Gcount:int;
public var angel:Boolean;
public var F:int;
public var Gmax:int;
public function Container_55(){
addFrameScript(0, frame1);
}
public function KeyDown(_arg1:KeyboardEvent){
if ((((((glooCount >= 3)) && ((F < 3)))) && ((mash.currentFrame == 1)))){
F++;
mash.play();
};
trace(("EFF : " + F));
glooCount--;
if (glooCount <= 0){
mash.gotoAndStop(1);
};
if (_arg1.keyCode == 80){
P = true;
if (Paused == true){
Paused = false;
pauseClip.x = 1000;
stage.frameRate = 30;
dona = true;
};
};
if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){
left = true;
};
if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){
right = true;
};
if ((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))){
down = true;
if (angel == false){
} else {
if (angel == true){
};
};
};
if ((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))){
up = true;
};
if (_arg1.keyCode == 32){
space = true;
};
}
public function KeyUp(_arg1:KeyboardEvent){
if (_arg1.keyCode == 80){
P = false;
};
if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){
left = false;
};
if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){
right = false;
};
if ((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))){
down = false;
};
if ((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))){
up = false;
};
if (_arg1.keyCode == 32){
space = false;
};
}
public function Main(_arg1:Event){
var _local2:int;
var _local3:int;
var _local4:D1;
var _local5:D2;
var _local6:SoundChannel;
var _local7:SoundTransform;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:MovieClip;
if (MovieClip(root).currentFrame != 5){
player.alpha = 0;
};
Gcount = (Gcount + 20);
if (bg.currentFrame > 1){
if (blu.currentFrame < 2){
blu.gotoAndStop(2);
};
};
if (bg.currentFrame > 90){
if (blu.currentFrame < 3){
blu.gotoAndStop(3);
};
};
if (bg.currentFrame > 185){
if (blu.currentFrame < 4){
blu.gotoAndStop(4);
};
};
if (bg.currentFrame > 290){
if (blu.currentFrame < 5){
blu.gotoAndStop(5);
};
};
if (bg.currentFrame > 420){
if (blu.currentFrame < 6){
blu.gotoAndStop(6);
};
};
if (MovieClip(root).currentFrame == 5){
if (buttered == false){
if (death == false){
if (player != null){
if (MovieClip(root).tarboushEquipped == true){
if (player.tost != null){
player.tost.tosty.tarboushy.alpha = 1;
};
};
if (MovieClip(root).hairdoEquipped == true){
if (player.tost != null){
if (player.tost.tosty != null){
player.tost.tosty.mrty.alpha = 1;
};
};
};
if (MovieClip(root).glassesEquipped == true){
player.tost.tosty.glassy.alpha = 1;
};
if (MovieClip(root).hatEquipped == true){
if (player.tost != null){
if (player.tost.tosty != null){
player.tost.tosty.hatty.alpha = 1;
};
};
};
if (MovieClip(root).beardEquipped == true){
if (player.tost != null){
if (player.tost.tosty != null){
player.tost.tosty.beardy.alpha = 1;
};
};
};
if (MovieClip(root).suitEquipped == true){
if (player.tost != null){
if (player.tost.tosty != null){
player.tost.tosty.suity.alpha = 1;
};
};
};
if (MovieClip(root).chickhatEquipped == true){
if (player.tost != null){
if (player.tost.tosty != null){
player.tost.tosty.chiky1.alpha = 1;
};
};
};
if (MovieClip(root).chicksuitEquipped == true){
if (player.tost != null){
if (player.tost.tosty != null){
player.tost.tosty.chiky2.alpha = 1;
};
};
};
};
};
};
if (death == false){
Ttime++;
if (MovieClip(root).TotalTime < Ttime){
MovieClip(root).TotalTime = Ttime;
};
if (buttered == true){
MovieClip(root).ButterTime++;
};
bg2.gotoAndStop(bg.currentFrame);
bg3.gotoAndStop(bg.currentFrame);
bg.x = (bg.x - 1);
bg2.x = (bg2.x - 1);
bg3.x = (bg3.x - 1);
if (bg3.x <= -77){
bg2.x = (bg2.x + 1709);
bg.x = (bg.x + 1709);
bg3.x = (bg3.x + 1709);
};
if (((((player.hitTestObject(doom)) && (!((player.alpha == 0))))) && ((life.currentFrame == 38)))){
_local2 = 0;
while (_local2 < Platforms.length) {
Platforms[_local2].checky = true;
_local2++;
};
death = true;
_local3 = 0;
while (_local3 < AppleArray.length) {
removeChild(AppleArray[_local3]);
_local3++;
};
if (MovieClip(root).SFXmute == false){
_local4 = new D1();
_local5 = new D2();
_local7 = new SoundTransform();
_local7.volume = 3;
_local6 = _local5.play(0, 1, _local7);
};
MovieClip(root).init = true;
MovieClip(root).m.stop();
} else {
if (((((player.hitTestObject(doom)) && (!((player.alpha == 0))))) && (!((life.currentFrame == 38))))){
player.x = 330;
player.y = 170;
life.gotoAndStop(38);
};
};
if ((((((player.y >= 590)) && (!((player.alpha == 0))))) || (((((player.hitTestObject(doom2)) && (!((player.alpha == 0))))) && ((life.currentFrame == 38)))))){
death = true;
_local2 = 0;
while (_local2 < Platforms.length) {
Platforms[_local2].checky = true;
_local2++;
};
_local8 = 0;
while (_local8 < AppleArray.length) {
removeChild(AppleArray[_local8]);
_local8++;
};
if (MovieClip(root).SFXmute == false){
_local4 = new D1();
_local5 = new D2();
_local7 = new SoundTransform();
_local7.volume = 3;
_local6 = _local5.play(0, 1, _local7);
};
MovieClip(root).init = true;
MovieClip(root).m.stop();
} else {
if ((((((player.y >= 590)) && (!((player.alpha == 0))))) || (((((player.hitTestObject(doom2)) && (!((player.alpha == 0))))) && (!((life.currentFrame == 38))))))){
player.x = 330;
player.y = 170;
life.gotoAndStop(38);
};
};
if ((((((P == true)) && ((Paused == false)))) && ((dona == false)))){
Paused = true;
pauseClip.x = -83;
stage.frameRate = 0;
dona = true;
} else {
if ((((((P == true)) && ((Paused == true)))) && ((dona == false)))){
};
};
if (P == false){
dona = false;
};
if (Paused == false){
score = ((Math.round((ground.x / -100)) + Math.round((ground.y / -100))) + scoreCounter);
if (MovieClip(root).BestScore < score){
MovieClip(root).BestScore = score;
};
BScore.text = String(MovieClip(root).BestScore);
MovieClip(root).SaveData.data.BestScore = MovieClip(root).BestScore;
MovieClip(root).SaveData.flush();
Score.text = String(score);
trace(MovieClip(root).BestScore);
if (player.hitTestObject(wall)){
player.x = (player.x - speed);
ground.x = (ground.x - speed);
_local10 = 0;
while (_local10 < AppleArray.length) {
AppleArray[_local10].x = (AppleArray[_local10].x - speed);
_local10++;
};
count++;
};
if (player.hitTestObject(wall2)){
if (player.y >= 440){
player.y = 440;
};
ground.y = (ground.y - gravity);
_local11 = 0;
while (_local11 < AppleArray.length) {
AppleArray[_local11].y = (AppleArray[_local11].y - gravity);
_local11++;
};
count = (count + 2);
};
if (buttered == false){
if (Dir == "down"){
if (down == true){
player.y = (player.y + 5);
};
count3++;
if (count3 >= 40){
AddApple();
count3 = 0;
};
};
_local12 = 5;
if (Dir == "down"){
_local12 = 6;
};
if (ground.x > -700){
_local2 = 1000;
};
_local2 = (90 - (speed2 * _local12));
if (_local2 <= 15){
_local2 = 15;
};
if ((((count >= _local2)) && ((Dir == "right")))){
BigTile(((Math.round((Math.random() * 300)) - ground.x) + 900), ((Math.round((Math.random() * 100)) + 200) - ground.y));
AddApple();
count = 0;
countess++;
};
if ((((count >= _local2)) && ((Dir == "down")))){
BigTile((Math.round((Math.random() * 600)) - ground.x), (500 - ground.y));
count = 0;
countess++;
};
} else {
if (Dir == "right"){
if (count >= 5){
BigTile(((Math.round((Math.random() * 300)) - ground.x) + 900), ((Math.round((Math.random() * 100)) + 200) - ground.y));
count = 0;
};
};
if (Dir == "down"){
if (count >= 15){
BigTile((Math.round((Math.random() * 600)) - ground.x), (500 - ground.y));
count = 0;
};
};
};
count++;
if (buttered == false){
};
if ((((speed2 >= 40)) && ((buttered == false)))){
speed2 = 40;
};
if (countess >= 10){
speed2 = (speed2 + 1);
spada = (spada + 1);
countess = 0;
};
if (countee >= 500){
if (Dir == "right"){
Dir = "down";
count = _local2;
wall.x = 1000;
wall2.x = 0;
rightw.x = 790;
leftw.x = -90;
speed2 = Math.round((speed2 / 3));
BigTile(100, (500 - ground.y));
BigTile(250, (500 - ground.y));
BigTile(400, (500 - ground.y));
} else {
if (Dir == "down"){
Dir = "right";
rightw.x = -300;
leftw.x = -300;
count = _local2;
_local13 = new BigBee();
ground.addChild(_local13);
_local13.x = (70 - ground.x);
_local13.y = (400 - ground.y);
if ((((score >= 400)) && ((score < 1200)))){
_local13.p1.gotoAndStop(2);
_local13.p2.gotoAndStop(2);
_local13.p3.gotoAndStop(2);
_local13.p4.gotoAndStop(2);
_local13.p5.gotoAndStop(2);
};
if (score >= 1200){
_local13.p1.gotoAndStop(3);
_local13.p2.gotoAndStop(3);
_local13.p3.gotoAndStop(3);
_local13.p4.gotoAndStop(3);
_local13.p5.gotoAndStop(3);
};
wall.x = 625;
wall2.x = 1000;
};
};
countee = 0;
};
if (speed2 == 10){
playSpeed = 5;
};
if (Dir == "right"){
ground.x = (ground.x - speed2);
if (player.rotation != 0){
player.rotation = 0;
};
};
if (Dir == "down"){
ground.y = (ground.y - speed2);
if (buttered == true){
player.rotation = 90;
} else {
player.rotation = 0;
};
};
if (right == true){
speed = (speed + (playSpeed + righty));
};
if (left == true){
speed = (speed - (playSpeed + lefty));
};
speed = (speed * 0.75);
butterSpeed = (butterSpeed * 0.7);
if (glooCount > 0){
speed = 0;
gravity = 0;
};
player.x = (player.x + speed);
gravity++;
if (gravity >= 15){
gravity = 15;
};
if (angel == false){
player.y = (player.y + gravity);
};
if ((((buttered == true)) && ((Dir == "down")))){
acheck = true;
} else {
acheck = false;
};
if (buttered == false){
butterSpeed = 0;
if ((((player.y <= 20)) && ((Dir == "right")))){
player.y = 20;
gravity = 0;
};
};
if (buttered == true){
if (up == true){
gravity = (gravity - 2);
};
if (player.y <= 20){
player.y = 20;
gravity = 0;
};
};
if (acheck == false){
Collisions();
};
if (infinite == true){
if (butterBar.bar.x < 0){
butterBar.bar.x = 0;
};
bigC++;
if (bigC >= 300){
infinite = false;
bigC = 0;
};
};
if (white == true){
bigC++;
if (bigC >= 1300){
white = false;
bigC = 0;
};
};
if (multiply == true){
scoreCounter = (scoreCounter + 2);
bigC++;
if (bigC >= 300){
multiply = false;
bigC = 0;
};
};
if ((((((space == true)) && ((butterBar.bar.x > -530)))) && ((glooCount < 0)))){
if (buttered == false){
spada = speed2;
buttered = true;
};
if (score <= 1000){
if (infinite == false){
butterBar.bar.x = (butterBar.bar.x - 1.5);
};
} else {
if (infinite == false){
butterBar.bar.x = (butterBar.bar.x - 3);
};
};
} else {
buttered = false;
if (speed2 > spada){
speed2 = (speed2 - 3);
};
if (speed2 <= spada){
speed2 = spada;
};
if (player.currentFrame == 70){
player.gotoAndStop(1);
};
};
if (buttered == true){
player.gotoAndStop(70);
if (speed2 <= 40){
speed2 = (speed2 + 3);
};
};
_local9 = 0;
while (_local9 < AppleArray.length) {
AppleArray[_local9].x = (AppleArray[_local9].x - speed2);
if (player.hitTestObject(AppleArray[_local9])){
if (AppleArray[_local9].currentFrame == 1){
AppleArray[_local9].play();
};
};
_local9++;
};
if ((((up == true)) && ((jumping == false)))){
if (buttered == false){
player.gotoAndPlay(20);
};
gravity = -17;
jumping = true;
};
};
};
};
}
public function Collisions(){
var _local1:Fall;
var _local2:SoundChannel;
var _local3:SoundTransform;
if (player.hitTestObject(rightw)){
player.x = (player.x - speed2);
};
if (player.hitTestObject(leftw)){
player.x = (player.x + speed2);
};
if (ground.hitTestPoint(player.x, player.y, true)){
if (hatchoo == false){
shake.play();
if (MovieClip(root).SFXmute == false){
_local1 = new Fall();
_local3 = new SoundTransform();
_local3.volume = 0.5;
_local2 = _local1.play(0, 1, _local3);
};
hatchoo = true;
};
if ((((buttered == false)) && ((Dir == "right")))){
player.x = (player.x - speed2);
gravity = 0;
jumping = false;
if ((((player.currentFrame > 19)) && ((player.currentFrame < 70)))){
player.gotoAndPlay(1);
};
} else {
if (Dir != "down"){
gravity = -20;
jumping = true;
};
if (Dir == "down"){
gravity = -20;
jumping = true;
};
};
righty = (speed2 / 3);
lefty = 0;
} else {
righty = 0;
};
if (gravity < 0){
hatchoo = false;
};
while (ground.hitTestPoint(player.x, player.y, true)) {
player.y--;
if (buttered == true){
gravity = -20;
};
};
while (ground.hitTestPoint(player.x, (player.y - 5), true)) {
player.y--;
if (buttered == true){
gravity = -20;
};
};
while (ground.hitTestPoint((player.x + (player.width / 2)), (player.y - (player.height / 2)), true)) {
player.x--;
if (buttered == true){
gravity = -20;
};
};
while (ground.hitTestPoint((player.x - (player.width / 2)), (player.y - (player.height / 2)), true)) {
player.x++;
if (buttered == true){
gravity = -20;
};
};
if (ground.hitTestPoint(player.x, (player.y - player.height), true)){
gravity = 4;
if (buttered == true){
gravity = -20;
};
};
}
public function BigTile(_arg1, _arg2){
var _local4:MovieClip;
if (Platforms.length < 21){
_local4 = new BigT();
ground.addChild(_local4);
_local4.x = _arg1;
_local4.y = _arg2;
if ((((score >= 400)) && ((score < 600)))){
if ((Math.random() * 100) <= 30){
_local4.nextFrame();
};
};
if ((((score >= 600)) && ((score < 700)))){
if ((Math.random() * 100) <= 50){
_local4.nextFrame();
};
if (bg.currentFrame == 1){
bg.play();
};
};
if (score >= 700){
_local4.nextFrame();
};
if ((Math.random() * 100) <= 5){
if ((((_local4.currentFrame == 1)) && (!((_local4.gloo2 == null))))){
_local4.gloo1.alpha = 0.8;
} else {
if ((((_local4.currentFrame == 2)) && (!((_local4.gloo2 == null))))){
_local4.gloo2.alpha = 0.8;
} else {
if ((((_local4.currentFrame == 3)) && (!((_local4.gloo3 == null))))){
_local4.gloo3.alpha = 0.8;
} else {
if ((((_local4.currentFrame == 4)) && (!((_local4.gloo4 == null))))){
_local4.gloo4.alpha = 0.8;
} else {
if ((((_local4.currentFrame == 5)) && (!((_local4.gloo5 == null))))){
_local4.gloo5.alpha = 0.8;
};
};
};
};
};
};
if (((((Math.random() * 100) <= 10)) || ((white == true)))){
if (_local4.currentFrame == 1){
_local4.glw.alpha = 1;
} else {
if (_local4.currentFrame == 2){
_local4.glw2.alpha = 1;
} else {
if (_local4.currentFrame == 3){
_local4.glw3.alpha = 1;
} else {
if (_local4.currentFrame == 4){
_local4.glw4.alpha = 1;
} else {
if (_local4.currentFrame == 5){
_local4.glw5.alpha = 1;
};
};
};
};
};
} else {
if ((Math.random() * 100) <= 20){
if (_local4.currentFrame == 1){
_local4.glo.alpha = 1;
} else {
if (_local4.currentFrame == 2){
_local4.glo2.alpha = 1;
} else {
if (_local4.currentFrame == 3){
_local4.glo3.alpha = 1;
} else {
if (_local4.currentFrame == 4){
_local4.glo4.alpha = 1;
} else {
if (_local4.currentFrame == 5){
_local4.glo5.alpha = 1;
};
};
};
};
};
};
};
Platforms.push(_local4);
} else {
if (Platforms[counah].currentFrame == 1){
if (Platforms[counah].glo != null){
Platforms[counah].glo.alpha = 0;
Platforms[counah].glw.alpha = 0;
};
};
if (Platforms[counah].currentFrame == 2){
if (Platforms[counah].glo2 != null){
Platforms[counah].glo2.alpha = 0;
Platforms[counah].glw2.alpha = 0;
};
};
if (Platforms[counah].currentFrame == 3){
if (Platforms[counah].glo3 != null){
Platforms[counah].glo3.alpha = 0;
Platforms[counah].glw3.alpha = 0;
};
};
if (Platforms[counah].currentFrame == 4){
if (Platforms[counah].glo4 != null){
Platforms[counah].glo4.alpha = 0;
Platforms[counah].glw4.alpha = 0;
};
};
if (Platforms[counah].currentFrame == 5){
if (Platforms[counah].glo5 != null){
Platforms[counah].glo5.alpha = 0;
Platforms[counah].glw5.alpha = 0;
};
};
Platforms[counah].gotoAndStop(1);
Platforms[counah].x = _arg1;
Platforms[counah].y = _arg2;
if ((((score >= 400)) && ((score < 600)))){
if ((Math.random() * 100) <= 30){
Platforms[counah].nextFrame();
};
};
if ((((score >= 600)) && ((score < 700)))){
if ((Math.random() * 100) <= 50){
Platforms[counah].nextFrame();
};
if (bg.currentFrame == 1){
bg.play();
};
};
if (score >= 700){
Platforms[counah].nextFrame();
};
if ((((score >= 1200)) && ((score < 1400)))){
if ((Math.random() * 100) <= 30){
Platforms[counah].gotoAndStop(3);
};
};
if ((((score >= 1400)) && ((score < 1500)))){
if ((Math.random() * 100) <= 50){
Platforms[counah].gotoAndStop(3);
};
if (bg.currentFrame == 90){
bg.play();
};
};
if (score >= 1500){
Platforms[counah].gotoAndStop(3);
if (bg.currentFrame == 90){
bg.play();
};
};
if ((((score >= 3500)) && ((score < 3800)))){
if ((Math.random() * 100) <= 30){
Platforms[counah].gotoAndStop(4);
};
};
if ((((score >= 3800)) && ((score < 4000)))){
if ((Math.random() * 100) <= 50){
Platforms[counah].gotoAndStop(4);
};
if (bg.currentFrame == 185){
bg.play();
};
};
if (score >= 4000){
Platforms[counah].gotoAndStop(4);
};
if ((((score >= 6000)) && ((score < 6200)))){
if ((Math.random() * 100) <= 30){
Platforms[counah].gotoAndStop(5);
};
};
if ((((score >= 6200)) && ((score < 6500)))){
if ((Math.random() * 100) <= 50){
Platforms[counah].gotoAndStop(5);
};
if (bg.currentFrame == 290){
bg.play();
};
};
if (score >= 6700){
Platforms[counah].gotoAndStop(5);
};
if ((((score >= 9000)) && ((score < 9200)))){
if ((Math.random() * 100) <= 30){
Platforms[counah].gotoAndStop(6);
};
};
if ((((score >= 9200)) && ((score < 9500)))){
if ((Math.random() * 100) <= 50){
Platforms[counah].gotoAndStop(6);
};
if (bg.currentFrame == 420){
bg.play();
};
};
if (score >= 9700){
Platforms[counah].gotoAndStop(6);
};
if ((Math.random() * 100) <= 5){
if ((((Platforms[counah].currentFrame == 1)) && (!((Platforms[counah].gloo1 == null))))){
Platforms[counah].gloo1.alpha = 0.8;
} else {
if ((((Platforms[counah].currentFrame == 2)) && (!((Platforms[counah].gloo2 == null))))){
Platforms[counah].gloo2.alpha = 0.8;
} else {
if ((((Platforms[counah].currentFrame == 3)) && (!((Platforms[counah].gloo3 == null))))){
Platforms[counah].gloo3.alpha = 0.8;
} else {
if ((((Platforms[counah].currentFrame == 4)) && (!((Platforms[counah].gloo4 == null))))){
Platforms[counah].gloo4.alpha = 0.8;
} else {
if ((((Platforms[counah].currentFrame == 5)) && (!((Platforms[counah].gloo5 == null))))){
Platforms[counah].gloo5.alpha = 0.8;
} else {
if ((((Platforms[counah].currentFrame == 6)) && (!((Platforms[counah].gloo6 == null))))){
Platforms[counah].gloo6.alpha = 0.8;
};
};
};
};
};
};
};
if (((((Math.random() * 100) <= 10)) || ((white == true)))){
if (Platforms[counah].currentFrame == 1){
if (Platforms[counah].glw != null){
Platforms[counah].glw.alpha = 1;
};
} else {
if (Platforms[counah].currentFrame == 2){
if (Platforms[counah].glw2 != null){
Platforms[counah].glw2.alpha = 1;
};
} else {
if (Platforms[counah].currentFrame == 3){
if (Platforms[counah].glw3 != null){
Platforms[counah].glw3.alpha = 1;
};
} else {
if (Platforms[counah].currentFrame == 4){
if (Platforms[counah].glw4 != null){
Platforms[counah].glw4.alpha = 1;
};
} else {
if (Platforms[counah].currentFrame == 5){
if (Platforms[counah].glw5 != null){
Platforms[counah].glw5.alpha = 1;
};
} else {
if (Platforms[counah].currentFrame == 6){
if (Platforms[counah].glw6 != null){
Platforms[counah].glw6.alpha = 1;
};
};
};
};
};
};
};
} else {
if ((Math.random() * 100) <= 20){
if (Platforms[counah].currentFrame == 1){
if (Platforms[counah].glo != null){
Platforms[counah].glo.alpha = 1;
};
};
if (Platforms[counah].currentFrame == 2){
if (Platforms[counah].glo2 != null){
Platforms[counah].glo2.alpha = 1;
};
};
if (Platforms[counah].currentFrame == 3){
if (Platforms[counah].glo3 != null){
Platforms[counah].glo3.alpha = 1;
};
};
if (Platforms[counah].currentFrame == 4){
if (Platforms[counah].glo4 != null){
Platforms[counah].glo4.alpha = 1;
};
};
if (Platforms[counah].currentFrame == 5){
if (Platforms[counah].glo5 != null){
Platforms[counah].glo5.alpha = 1;
};
};
if (Platforms[counah].currentFrame == 6){
if (Platforms[counah].glo6 != null){
Platforms[counah].glo6.alpha = 1;
};
};
};
};
counah++;
if (counah == 20){
counah = 0;
};
};
var _local3:int;
while (_local3 < Platforms.length) {
if (_local3 > 0){
if (Platforms[_local3].x > 0){
while (Platforms[_local3].hitTestObject(Platforms[(_local3 - 1)])) {
Platforms[_local3].x = (Platforms[_local3].x + 100);
};
};
};
_local3++;
};
}
public function AddApple(){
var _local2:MovieClip;
if (Gcount >= Gmax){
_local2 = new Giftbox();
addChild(_local2);
_local2.x = (Math.round((Math.random() * 600)) + 800);
_local2.y = (Math.round((Math.random() * 200)) + 50);
Gcount = 0;
Gmax = ((Math.random() * 6000) + 20000);
} else {
_local2 = new Apple();
addChild(_local2);
_local2.x = (Math.round((Math.random() * 600)) + 800);
_local2.y = (Math.round((Math.random() * 200)) + 50);
};
swapChildren(_local2, pauseClip);
AppleArray.push(_local2);
var _local1:int;
while (_local1 < AppleArray.length) {
if (AppleArray[_local1].x < -200){
removeChild(AppleArray[_local1]);
AppleArray.splice(_local1, 1);
};
_local1++;
};
}
public function Shake(_arg1){
_arg1.y = (_arg1.y - shaks);
shaks = (shaks * -1);
}
function frame1(){
stage.addEventListener(Event.ENTER_FRAME, Main);
stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyDown);
stage.addEventListener(KeyboardEvent.KEY_UP, KeyUp);
life.gotoAndStop(38);
blu.In.gotoAndPlay(30);
multiply = false;
infinite = false;
bigC = 0;
gravity = 0;
right = false;
left = false;
up = false;
down = false;
space = false;
speed = 0;
jumping = false;
Tiles = [];
count = 60;
countess = 0;
speed2 = 6;
spada = speed2;
acheck = false;
AppleArray = [];
Platforms = [];
playSpeed = 3;
buttered = false;
score = 0;
scoreCounter = 0;
Paused = false;
P = false;
dona = false;
death = false;
Dir = "right";
countee = 0;
shaks = 3;
hatchoo = false;
counah = 0;
white = false;
righty = 0;
lefty = 0;
butterSpeed = 0;
count3 = 0;
Ttime = 0;
glooCount = 0;
Gcount = 0;
angel = false;
F = 0;
Gmax = ((Math.random() * 6000) + 20000);
powtext.alpha = 0;
}
}
}//package RealChristmas_fla
Section 8
//FWG_117 (RealChristmas_fla.FWG_117)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import FWG.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class FWG_117 extends MovieClip {
public var btnX:BtnX;
public var scoreTxt:TextField;
public var btnSubmit:BtnSubmit;
public var nameTxt:TextField;
public var btnVh:BtnVh;
public function FWG_117(){
addFrameScript(2, frame3, 4, frame5);
}
function frame3(){
btnVh._release = function ():void{
Net.getURL(("http://www.freeworldgroup.com/score/index.asp?game=" + SubmitScore(parent).game_name));
};
}
function frame5(){
btnVh._release = function ():void{
Net.getURL(("http://www.freeworldgroup.com/score/index.asp?game=" + SubmitScore(parent).game_name));
};
}
}
}//package RealChristmas_fla
Section 9
//Grassay_13 (RealChristmas_fla.Grassay_13)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Grassay_13 extends MovieClip {
public var glw:MovieClip;
public function Grassay_13(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package RealChristmas_fla
Section 10
//logo_gra_4 (RealChristmas_fla.logo_gra_4)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class logo_gra_4 extends MovieClip {
public function logo_gra_4(){
addFrameScript(0, frame1);
}
function frame1(){
this.onRelease = function (){
getURL("http://www.freeworldgroup.com", "_blank");
};
}
}
}//package RealChristmas_fla
Section 11
//MainTimeline (RealChristmas_fla.MainTimeline)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import FWG.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class MainTimeline extends MovieClip {
public var beard:MovieClip;
public var black:MovieClip;
public var g:MovieClip;
public var howb:MovieClip;
public var Addd:SimpleButton;
public var t1:SimpleButton;
public var Try:MovieClip;
public var loadBar:MovieClip;
public var mrt:MovieClip;
public var more:SimpleButton;
public var cust:SimpleButton;
public var cont:MovieClip;
public var hat:MovieClip;
public var btnSs:BtnSs;
public var tarboush:MovieClip;
public var bg:MovieClip;
public var chiksuit:MovieClip;
public var glasses:MovieClip;
public var Vscores:MovieClip;
public var gg:MovieClip;
public var suit:MovieClip;
public var toastie:MovieClip;
public var texty:MovieClip;
public var window:MovieClip;
public var back:MovieClip;
public var scorehoho:TextField;
public var achieveb:MovieClip;
public var chikhat:MovieClip;
public var playb:MovieClip;
public var SaveData:SharedObject;
public var tarboushEquipped:Boolean;
public var hairdoEquipped:Boolean;
public var glassesEquipped:Boolean;
public var hatEquipped:Boolean;
public var beardEquipped:Boolean;
public var suitEquipped:Boolean;
public var chickhatEquipped:Boolean;
public var chicksuitEquipped:Boolean;
public var tarboushUnlocked:Boolean;
public var hairdoUnlocked:Boolean;
public var glassesUnlocked:Boolean;
public var hatUnlocked:Boolean;
public var beardUnlocked:Boolean;
public var suitUnlocked:Boolean;
public var chickhatUnlocked:Boolean;
public var chicksuitUnlocked:Boolean;
public var BestScore:int;
public var ButterTime:int;
public var ButterSticks:int;
public var NumberOfJumps:int;
public var TotalTime:int;
public var giftC:int;
public var FinalD:Boolean;
public var i:int;
public var Frrame:int;
public var playad:Boolean;
public var howto:Boolean;
public var playto:Boolean;
public var uppa:Boolean;
public var Scorh:Number;
public var init:Boolean;
public var music:Drums;
public var m:SoundChannel;
public var transy:SoundTransform;
public var played:Boolean;
public var SFXmute:Boolean;
public var Mute:Boolean;
public var snowFlakes:Array;
public var numFlakes:uint;
public var screenArea:Rectangle;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
public function Down(_arg1:MouseEvent){
if (loadBar.currentFrame == 100){
loadBar.gotoAndStop(101);
stage.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
removeEventListener(Event.ENTER_FRAME, loading);
};
}
public function loading(_arg1:Event):void{
var _local2:Number = this.stage.loaderInfo.bytesTotal;
var _local3:Number = this.stage.loaderInfo.bytesLoaded;
var _local4:int = ((_local3 / _local2) * 100);
loadBar.gotoAndStop(_local4);
}
public function PlayDown(_arg1:MouseEvent){
if (playad != true){
Frrame = 3;
playad = true;
} else {
Frrame = 5;
};
black.play();
playto = true;
}
public function HowDown(_arg1:MouseEvent){
howto = true;
Frrame = 3;
black.play();
}
public function AchieveDown(_arg1:MouseEvent){
Frrame = 7;
black.play();
}
public function MoreDown(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/");
navigateToURL(_local2, "_blank");
}
public function TeeDown(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/games9/gameindex/toastache.htm");
navigateToURL(_local2, "_blank");
}
public function Adown(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/koalafiles.htm");
navigateToURL(_local2, "_blank");
}
public function PlayOver(_arg1:MouseEvent){
playb.gotoAndStop(2);
}
public function PlayOut(_arg1:MouseEvent){
if (this.currentFrame == 2){
playb.gotoAndStop(1);
};
}
public function HowOver(_arg1:MouseEvent){
howb.gotoAndStop(2);
}
public function HowOut(_arg1:MouseEvent){
if (this.currentFrame == 2){
howb.gotoAndStop(1);
};
}
public function AchieveOver(_arg1:MouseEvent){
achieveb.gotoAndStop(2);
}
public function AchieveOut(_arg1:MouseEvent){
if (this.currentFrame == 2){
achieveb.gotoAndStop(1);
};
}
public function Vdown(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/score/index.asp?game=toastachexmas");
navigateToURL(_local2, "_blank");
}
public function Vover(_arg1:MouseEvent){
Vscores.gotoAndStop(2);
}
public function Vout(_arg1:MouseEvent){
Vscores.gotoAndStop(1);
}
public function custDown(_arg1:MouseEvent){
Frrame = 8;
black.play();
}
public function Dowwn(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/");
navigateToURL(_local2, "_blank");
}
public function DDown(_arg1:MouseEvent){
if (uppa == true){
nextFrame();
stage.removeEventListener(MouseEvent.MOUSE_DOWN, DDown);
};
}
public function UP(_arg1:MouseEvent){
uppa = true;
}
public function DDDown(_arg1:MouseEvent){
playad = true;
if (playto == true){
nextFrame();
} else {
if (howto == true){
gotoAndStop(2);
};
};
stage.focus = stage;
stage.removeEventListener(MouseEvent.MOUSE_DOWN, DDDown);
}
public function Frame(_arg1:Event){
if (currentFrame == 5){
if (BestScore >= 2000){
tarboushUnlocked = true;
};
if (Math.round((ButterTime / 30)) >= 60){
hairdoUnlocked = true;
};
if (ButterSticks >= 100){
glassesUnlocked = true;
};
if (NumberOfJumps >= 200){
hatUnlocked = true;
};
if (Math.round((TotalTime / 30)) >= 120){
beardUnlocked = true;
};
if (init == true){
Frrame = 6;
Scorh = cont.score;
if (black.currentFrame != 20){
black.play();
};
};
};
}
public function muteM(_arg1:MouseEvent){
if (cont.death == false){
if (Mute == true){
cont.MMusic.prevFrame();
Mute = false;
m = music.play(0, 9999999999, transy);
} else {
if (Mute == false){
cont.MMusic.nextFrame();
Mute = true;
m.stop();
};
};
};
}
public function muteS(_arg1:MouseEvent){
if (cont.death == false){
if (SFXmute == false){
SFXmute = true;
cont.Msfx.nextFrame();
} else {
if (SFXmute == true){
SFXmute = false;
cont.Msfx.prevFrame();
};
};
};
}
public function frameLoop(_arg1:Event){
var _local2:SnowFlake;
if (snowFlakes.length < numFlakes){
_local2 = new SnowFlake(screenArea);
snowFlakes.push(_local2);
addChild(_local2);
_local2.cacheAsBitmap = true;
};
var _local3:Number = -3;
var _local4:uint;
while (_local4 < snowFlakes.length) {
_local2 = snowFlakes[_local4];
_local2.update(_local3);
_local4++;
};
}
public function Tdown(_arg1:MouseEvent){
gotoAndStop(5);
}
public function Tover(_arg1:MouseEvent){
Try.gotoAndStop(2);
}
public function Tout(_arg1:MouseEvent){
if (this.currentFrame == 6){
Try.gotoAndStop(1);
};
}
public function Bdown(_arg1:MouseEvent){
gotoAndStop(2);
}
public function Bover(_arg1:MouseEvent){
back.gotoAndStop(2);
}
public function Bout(_arg1:MouseEvent){
if (this.currentFrame == 6){
back.gotoAndStop(1);
};
}
public function B1down(_arg1:MouseEvent){
}
public function B1over(_arg1:MouseEvent){
btnSs.gotoAndStop(2);
}
public function B1out(_arg1:MouseEvent){
if (this.currentFrame == 6){
btnSs.gotoAndStop(1);
};
}
public function MoreeDown(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/");
navigateToURL(_local2, "_blank");
}
public function TeesDown(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/games9/gameindex/toastache.htm");
navigateToURL(_local2, "_blank");
}
public function Bodown(_arg1:MouseEvent){
gotoAndStop(2);
}
public function Boover(_arg1:MouseEvent){
back.gotoAndStop(2);
}
public function Boout(_arg1:MouseEvent){
if (this.currentFrame == 7){
back.gotoAndStop(1);
};
}
public function stOver(_arg1:MouseEvent){
}
public function tarOver(_arg1:MouseEvent){
texty.gotoAndStop(2);
}
public function mrOver(_arg1:MouseEvent){
texty.gotoAndStop(3);
}
public function glasOver(_arg1:MouseEvent){
texty.gotoAndStop(4);
}
public function hatOver(_arg1:MouseEvent){
texty.gotoAndStop(5);
}
public function bearOver(_arg1:MouseEvent){
texty.gotoAndStop(6);
}
public function suitOver(_arg1:MouseEvent){
texty.gotoAndStop(7);
}
public function chik1Over(_arg1:MouseEvent){
texty.gotoAndStop(8);
}
public function chik2Over(_arg1:MouseEvent){
texty.gotoAndStop(9);
}
public function Boodown(_arg1:MouseEvent){
gotoAndStop(2);
}
public function Booover(_arg1:MouseEvent){
back.gotoAndStop(2);
}
public function Booout(_arg1:MouseEvent){
if (this.currentFrame == 8){
back.gotoAndStop(1);
};
}
public function tarDown(_arg1:MouseEvent){
if (tarboushUnlocked == true){
if (toastie.tarboushy.alpha == 0){
toastie.tarboushy.alpha = 1;
toastie.hatty.alpha = 0;
toastie.chiky1.alpha = 0;
chickhatEquipped = false;
hatEquipped = false;
hairdoEquipped = false;
toastie.mrty.alpha = 0;
tarboushEquipped = true;
} else {
toastie.tarboushy.alpha = 0;
tarboushEquipped = false;
};
};
}
public function mrDown(_arg1:MouseEvent){
if (hairdoUnlocked == true){
if (toastie.mrty.alpha == 0){
toastie.mrty.alpha = 1;
toastie.chiky1.alpha = 0;
chickhatEquipped = false;
toastie.tarboushy.alpha = 0;
toastie.hatty.alpha = 0;
hatEquipped = false;
tarboushEquipped = false;
hairdoEquipped = true;
} else {
toastie.mrty.alpha = 0;
hairdoEquipped = true;
};
};
}
public function glasDown(_arg1:MouseEvent){
if (glassesUnlocked == true){
if (toastie.glassy.alpha == 0){
toastie.glassy.alpha = 1;
glassesEquipped = true;
} else {
toastie.glassy.alpha = 0;
glassesEquipped = false;
};
};
}
public function hatDown(_arg1:MouseEvent){
if (hatUnlocked == true){
if (toastie.hatty.alpha == 0){
toastie.hatty.alpha = 1;
toastie.chiky1.alpha = 0;
chickhatEquipped = false;
toastie.tarboushy.alpha = 0;
toastie.mrty.alpha = 0;
hairdoEquipped = false;
tarboushEquipped = false;
hatEquipped = true;
} else {
toastie.hatty.alpha = 0;
hatEquipped = false;
};
};
}
public function bearDown(_arg1:MouseEvent){
if (beardUnlocked == true){
if (toastie.beardy.alpha == 0){
toastie.beardy.alpha = 1;
toastie.suity.alpha = 0;
suitEquipped = false;
beardEquipped = true;
toastie.chiky2.alpha = 0;
chicksuitEquipped = false;
} else {
toastie.beardy.alpha = 0;
beardEquipped = false;
};
};
}
public function suitDown(_arg1:MouseEvent){
if (suitUnlocked == true){
if (toastie.suity.alpha == 0){
toastie.beardy.alpha = 0;
toastie.suity.alpha = 1;
suitEquipped = true;
beardEquipped = false;
toastie.chiky2.alpha = 0;
chicksuitEquipped = false;
} else {
toastie.suity.alpha = 0;
suitEquipped = false;
};
};
}
public function chik1Down(_arg1:MouseEvent){
if (chickhatUnlocked == true){
if (toastie.chiky1.alpha == 0){
toastie.tarboushy.alpha = 0;
toastie.hatty.alpha = 0;
toastie.chiky1.alpha = 1;
chickhatEquipped = true;
hatEquipped = false;
hairdoEquipped = false;
toastie.mrty.alpha = 0;
tarboushEquipped = false;
} else {
toastie.chiky1.alpha = 0;
chickhatEquipped = false;
};
};
}
public function chik2Down(_arg1:MouseEvent){
if (chicksuitUnlocked == true){
if (toastie.chiky2.alpha == 0){
toastie.beardy.alpha = 0;
toastie.suity.alpha = 0;
toastie.chiky2.alpha = 1;
chicksuitEquipped = true;
suitEquipped = false;
beardEquipped = false;
} else {
toastie.chiky2.alpha = 0;
chicksuitEquipped = false;
};
};
}
function frame1(){
MochiBot.track(this, "be9cebbe");
stop();
SaveData = SharedObject.getLocal("Toastache01");
tarboushEquipped = false;
hairdoEquipped = false;
glassesEquipped = false;
hatEquipped = true;
beardEquipped = true;
suitEquipped = false;
chickhatEquipped = false;
chicksuitEquipped = false;
tarboushUnlocked = false;
hairdoUnlocked = false;
glassesUnlocked = false;
hatUnlocked = true;
beardUnlocked = true;
suitUnlocked = false;
chickhatUnlocked = false;
chicksuitUnlocked = false;
if (SaveData.data.BestScore == undefined){
SaveData.data.BestScore = BestScore;
} else {
BestScore = SaveData.data.BestScore;
};
stage.addEventListener(MouseEvent.MOUSE_DOWN, Down);
addEventListener(Event.ENTER_FRAME, loading);
}
function frame2(){
removeEventListener(Event.ENTER_FRAME, frameLoop);
if (snowFlakes != null){
i = 0;
while (i < snowFlakes.length) {
if (contains(snowFlakes[i]) == true){
removeChild(snowFlakes[i]);
};
i++;
};
};
if (FinalD == true){
chicksuitUnlocked = true;
};
if (giftC >= 10){
chickhatUnlocked = true;
};
if (BestScore >= 5000){
suitUnlocked = true;
};
if (BestScore >= 2000){
tarboushUnlocked = true;
};
if (Math.round((ButterTime / 30)) >= 60){
hairdoUnlocked = true;
};
if (ButterSticks >= 100){
glassesUnlocked = true;
};
if (NumberOfJumps >= 200){
hatUnlocked = true;
};
if (Math.round((TotalTime / 30)) >= 120){
beardUnlocked = true;
};
howto = false;
playto = false;
howto = false;
playto = false;
black.mouseEnabled = false;
black.gotoAndStop(1);
playb.buttonMode = true;
howb.buttonMode = true;
achieveb.buttonMode = true;
Vscores.buttonMode = true;
playb.addEventListener(MouseEvent.MOUSE_DOWN, PlayDown);
howb.addEventListener(MouseEvent.MOUSE_DOWN, HowDown);
achieveb.addEventListener(MouseEvent.MOUSE_DOWN, AchieveDown);
more.addEventListener(MouseEvent.MOUSE_DOWN, MoreDown);
t1.addEventListener(MouseEvent.MOUSE_DOWN, TeeDown);
Addd.addEventListener(MouseEvent.MOUSE_DOWN, Adown);
playb.addEventListener(MouseEvent.MOUSE_OUT, PlayOut);
howb.addEventListener(MouseEvent.MOUSE_OUT, HowOut);
achieveb.addEventListener(MouseEvent.MOUSE_OUT, AchieveOut);
playb.addEventListener(MouseEvent.MOUSE_OVER, PlayOver);
howb.addEventListener(MouseEvent.MOUSE_OVER, HowOver);
achieveb.addEventListener(MouseEvent.MOUSE_OVER, AchieveOver);
Vscores.addEventListener(MouseEvent.MOUSE_DOWN, Vdown);
Vscores.addEventListener(MouseEvent.MOUSE_OVER, Vover);
Vscores.addEventListener(MouseEvent.MOUSE_OUT, Vout);
cust.addEventListener(MouseEvent.MOUSE_DOWN, custDown);
g.buttonMode = true;
g.addEventListener(MouseEvent.MOUSE_DOWN, Dowwn);
}
function frame3(){
uppa = true;
if (black.currentFrame == 20){
black.play();
};
stage.addEventListener(MouseEvent.MOUSE_DOWN, DDown);
stage.addEventListener(MouseEvent.MOUSE_UP, UP);
}
function frame4(){
stage.addEventListener(MouseEvent.MOUSE_DOWN, DDDown);
}
function frame5(){
stop();
if (black.currentFrame == 20){
black.play();
};
init = false;
addEventListener(Event.ENTER_FRAME, Frame);
music = new Drums();
transy = new SoundTransform();
transy.volume = 0.7;
if ((((Mute == false)) && ((played == true)))){
m = music.play(0, 9999999999, transy);
};
if (played != true){
m = music.play(0, 9999999999, transy);
SFXmute = false;
Mute = false;
played = true;
};
cont.Msfx.buttonMode = true;
cont.MMusic.buttonMode = true;
cont.pauseClip.mouseEnabled = false;
cont.pauseClip.enabled = false;
cont.MMusic.addEventListener(MouseEvent.MOUSE_DOWN, muteM);
cont.Msfx.addEventListener(MouseEvent.MOUSE_DOWN, muteS);
if (Mute == true){
cont.MMusic.gotoAndStop(2);
} else {
if (Mute == false){
cont.MMusic.gotoAndStop(1);
};
};
if (SFXmute == false){
cont.Msfx.gotoAndStop(1);
} else {
if (SFXmute == true){
cont.Msfx.gotoAndStop(2);
};
};
snowFlakes = new Array();
numFlakes = 200;
screenArea = new Rectangle(0, 0, 700, 450);
addEventListener(Event.ENTER_FRAME, frameLoop);
}
function frame6(){
GameI.btnSs = btnSs;
GameI.submitScore.game_name = "toastachexmas";
GameI.submitScore.score = Scorh;
btnSs._release = function ():void{
GameI.submitScore.fadeShow();
};
if (black.currentFrame == 20){
black.play();
};
init = false;
scorehoho.text = String(Scorh);
Try.buttonMode = true;
back.buttonMode = true;
btnSs.buttonMode = true;
removeEventListener(Event.ENTER_FRAME, Frame);
Try.addEventListener(MouseEvent.MOUSE_DOWN, Tdown);
Try.addEventListener(MouseEvent.MOUSE_OVER, Tover);
Try.addEventListener(MouseEvent.MOUSE_OUT, Tout);
back.addEventListener(MouseEvent.MOUSE_DOWN, Bdown);
back.addEventListener(MouseEvent.MOUSE_OVER, Bover);
back.addEventListener(MouseEvent.MOUSE_OUT, Bout);
btnSs.addEventListener(MouseEvent.MOUSE_DOWN, B1down);
btnSs.addEventListener(MouseEvent.MOUSE_OVER, B1over);
btnSs.addEventListener(MouseEvent.MOUSE_OUT, B1out);
more.addEventListener(MouseEvent.MOUSE_DOWN, MoreeDown);
window.mouseEnabled = false;
window.enabled = false;
t1.addEventListener(MouseEvent.MOUSE_DOWN, TeesDown);
}
function frame7(){
if (black.currentFrame == 20){
black.play();
};
back.addEventListener(MouseEvent.MOUSE_DOWN, Bodown);
back.addEventListener(MouseEvent.MOUSE_OVER, Boover);
back.addEventListener(MouseEvent.MOUSE_OUT, Boout);
back.buttonMode = true;
bg.buttonMode = false;
bg.mouseEnabled = false;
if (tarboushUnlocked == true){
tarboush.locky.alpha = 0;
};
if (hairdoUnlocked == true){
mrt.locky.alpha = 0;
};
if (glassesUnlocked == true){
glasses.locky.alpha = 0;
};
if (hatUnlocked == true){
hat.locky.alpha = 0;
};
if (beardUnlocked == true){
beard.locky.alpha = 0;
};
if (chickhatUnlocked == true){
chikhat.locky.alpha = 0;
};
if (suitUnlocked == true){
suit.locky.alpha = 0;
};
if (chicksuitUnlocked == true){
chiksuit.locky.alpha = 0;
};
tarboush.buttonMode = true;
mrt.buttonMode = true;
glasses.buttonMode = true;
hat.buttonMode = true;
beard.buttonMode = true;
suit.buttonMode = true;
chiksuit.buttonMode = true;
chikhat.buttonMode = true;
tarboush.addEventListener(MouseEvent.MOUSE_OVER, tarOver);
mrt.addEventListener(MouseEvent.MOUSE_OVER, mrOver);
glasses.addEventListener(MouseEvent.MOUSE_OVER, glasOver);
hat.addEventListener(MouseEvent.MOUSE_OVER, hatOver);
beard.addEventListener(MouseEvent.MOUSE_OVER, bearOver);
suit.addEventListener(MouseEvent.MOUSE_OVER, suitOver);
chiksuit.addEventListener(MouseEvent.MOUSE_OVER, chik1Over);
chikhat.addEventListener(MouseEvent.MOUSE_OVER, chik2Over);
stage.addEventListener(MouseEvent.MOUSE_OVER, stOver);
}
function frame8(){
if (black.currentFrame == 20){
black.play();
};
if (tarboushUnlocked == true){
tarboush.locky.alpha = 0;
};
if (hairdoUnlocked == true){
mrt.locky.alpha = 0;
};
if (glassesUnlocked == true){
glasses.locky.alpha = 0;
};
if (hatUnlocked == true){
hat.locky.alpha = 0;
};
if (beardUnlocked == true){
beard.locky.alpha = 0;
};
if (chickhatUnlocked == true){
chikhat.locky.alpha = 0;
};
if (suitUnlocked == true){
suit.locky.alpha = 0;
};
if (chicksuitUnlocked == true){
chiksuit.locky.alpha = 0;
};
if (tarboushEquipped == true){
toastie.tarboushy.alpha = 1;
};
if (hairdoEquipped == true){
toastie.mrty.alpha = 1;
};
if (glassesEquipped == true){
toastie.glassy.alpha = 1;
};
if (hatEquipped == true){
toastie.hatty.alpha = 1;
};
if (beardEquipped == true){
toastie.beardy.alpha = 1;
};
if (suitEquipped == true){
toastie.suity.alpha = 1;
};
if (chickhatEquipped == true){
toastie.chik1.alpha = 1;
};
if (chicksuitEquipped == true){
toastie.chik2.alpha = 1;
};
tarboush.buttonMode = true;
mrt.buttonMode = true;
glasses.buttonMode = true;
hat.buttonMode = true;
beard.buttonMode = true;
suit.buttonMode = true;
chiksuit.buttonMode = true;
chikhat.buttonMode = true;
back.addEventListener(MouseEvent.MOUSE_DOWN, Boodown);
back.addEventListener(MouseEvent.MOUSE_OVER, Booover);
back.addEventListener(MouseEvent.MOUSE_OUT, Booout);
back.buttonMode = true;
tarboush.addEventListener(MouseEvent.MOUSE_DOWN, tarDown);
mrt.addEventListener(MouseEvent.MOUSE_DOWN, mrDown);
glasses.addEventListener(MouseEvent.MOUSE_DOWN, glasDown);
hat.addEventListener(MouseEvent.MOUSE_DOWN, hatDown);
beard.addEventListener(MouseEvent.MOUSE_DOWN, bearDown);
chikhat.addEventListener(MouseEvent.MOUSE_DOWN, chik1Down);
chiksuit.addEventListener(MouseEvent.MOUSE_DOWN, chik2Down);
suit.addEventListener(MouseEvent.MOUSE_DOWN, suitDown);
}
}
}//package RealChristmas_fla
Section 12
//mc_shadow_guy_75 (RealChristmas_fla.mc_shadow_guy_75)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mc_shadow_guy_75 extends MovieClip {
public var tost:MovieClip;
public var jump1:JUMP1;
public var jump2:JUMP2;
public var jump3:JUMP3;
public var jump4:JUMP4;
public var me:SoundChannel;
public var transforma:SoundTransform;
public var Random:int;
public var b1:B1;
public var b2:B2;
public var b3:B3;
public var b4:B4;
public var Bme:SoundChannel;
public var Btransforma:SoundTransform;
public var BRandom:int;
public function mc_shadow_guy_75(){
addFrameScript(11, frame12, 19, frame20, 68, frame69, 69, frame70);
}
function frame12(){
stop();
gotoAndPlay("run");
}
function frame20(){
jump1 = new JUMP1();
jump2 = new JUMP2();
jump3 = new JUMP3();
jump4 = new JUMP4();
MovieClip(root).NumberOfJumps++;
transforma = new SoundTransform();
transforma.volume = 8;
Random = Math.round((Math.random() * 15));
if (MovieClip(root).SFXmute == false){
if (Random <= 5){
me = jump1.play(0, 1, transforma);
};
if ((((Random <= 10)) && ((Random > 5)))){
me = jump2.play(0, 1, transforma);
};
if ((((Random <= 15)) && ((Random > 10)))){
me = jump4.play(0, 1, transforma);
};
};
}
function frame69(){
stop();
}
function frame70(){
stop();
b1 = new B1();
b2 = new B2();
b3 = new B3();
b4 = new B4();
Btransforma = new SoundTransform();
Btransforma.volume = 8;
BRandom = Math.round((Math.random() * 20));
if (MovieClip(root).SFXmute == false){
if (BRandom <= 5){
Bme = b1.play(0, 1, Btransforma);
};
if ((((BRandom <= 10)) && ((BRandom > 5)))){
Bme = b2.play(0, 1, Btransforma);
};
if ((((BRandom <= 15)) && ((BRandom > 10)))){
Bme = b3.play(0, 1, Btransforma);
};
if ((((BRandom <= 20)) && ((BRandom > 15)))){
Bme = b4.play(0, 1, Btransforma);
};
};
}
}
}//package RealChristmas_fla
Section 13
//SplashScreen_8 (RealChristmas_fla.SplashScreen_8)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class SplashScreen_8 extends MovieClip {
public function SplashScreen_8(){
addFrameScript(97, frame98);
}
function frame98(){
MovieClip(this.parent).nextFrame();
stop();
}
}
}//package RealChristmas_fla
Section 14
//sprite36_5 (RealChristmas_fla.sprite36_5)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class sprite36_5 extends MovieClip {
public function sprite36_5(){
addFrameScript(139, frame140);
}
function frame140(){
MovieClip(this.parent).nextFrame();
}
}
}//package RealChristmas_fla
Section 15
//Symbol10_51 (RealChristmas_fla.Symbol10_51)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol10_51 extends MovieClip {
public function Symbol10_51(){
addFrameScript(15, frame16);
}
function frame16(){
gotoAndPlay(1);
}
}
}//package RealChristmas_fla
Section 16
//Symbol104_89 (RealChristmas_fla.Symbol104_89)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol104_89 extends MovieClip {
public var In:MovieClip;
public function Symbol104_89(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame1(){
stop();
}
function frame2(){
In.gotoAndPlay(30);
}
function frame3(){
In.gotoAndPlay(30);
}
function frame4(){
In.gotoAndPlay(30);
}
function frame5(){
In.gotoAndPlay(91);
}
function frame6(){
In.gotoAndPlay(30);
}
}
}//package RealChristmas_fla
Section 17
//Symbol105_90 (RealChristmas_fla.Symbol105_90)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol105_90 extends MovieClip {
public var ran:Number;
public var ran1:Number;
public function Symbol105_90(){
addFrameScript(0, frame1, 314, frame315, 599, frame600);
}
function frame1(){
}
function frame315(){
ran = (Math.random() * 10);
if (ran >= 5){
gotoAndPlay(1);
};
trace(ran);
}
function frame600(){
ran1 = (Math.random() * 10);
if (ran1 >= 5){
gotoAndPlay(1);
};
trace(ran1);
}
}
}//package RealChristmas_fla
Section 18
//Symbol105copy_91 (RealChristmas_fla.Symbol105copy_91)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol105copy_91 extends MovieClip {
public var ran:Number;
public var ran1:Number;
public function Symbol105copy_91(){
addFrameScript(0, frame1, 314, frame315, 599, frame600);
}
function frame1(){
}
function frame315(){
ran = (Math.random() * 10);
if (ran >= 5){
gotoAndPlay(1);
};
trace(ran);
}
function frame600(){
ran1 = (Math.random() * 10);
if (ran1 >= 5){
gotoAndPlay(1);
};
trace(ran1);
}
}
}//package RealChristmas_fla
Section 19
//Symbol105copy2_92 (RealChristmas_fla.Symbol105copy2_92)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol105copy2_92 extends MovieClip {
public var ran:Number;
public var ran1:Number;
public function Symbol105copy2_92(){
addFrameScript(0, frame1, 314, frame315, 599, frame600);
}
function frame1(){
}
function frame315(){
ran = (Math.random() * 10);
if (ran >= 5){
gotoAndPlay(1);
};
trace(ran);
}
function frame600(){
ran1 = (Math.random() * 10);
if (ran1 >= 5){
gotoAndPlay(1);
};
trace(ran1);
}
}
}//package RealChristmas_fla
Section 20
//Symbol105copy3_93 (RealChristmas_fla.Symbol105copy3_93)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol105copy3_93 extends MovieClip {
public var ran:Number;
public var ran1:Number;
public function Symbol105copy3_93(){
addFrameScript(0, frame1, 314, frame315, 599, frame600);
}
function frame1(){
}
function frame315(){
ran = (Math.random() * 10);
if (ran >= 5){
gotoAndPlay(1);
};
trace(ran);
}
function frame600(){
ran1 = (Math.random() * 10);
if (ran1 >= 5){
gotoAndPlay(1);
};
trace(ran1);
}
}
}//package RealChristmas_fla
Section 21
//Symbol105copy4_95 (RealChristmas_fla.Symbol105copy4_95)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol105copy4_95 extends MovieClip {
public var ran:Number;
public var ran1:Number;
public function Symbol105copy4_95(){
addFrameScript(0, frame1, 314, frame315, 599, frame600);
}
function frame1(){
}
function frame315(){
ran = (Math.random() * 10);
if (ran >= 5){
gotoAndPlay(1);
};
trace(ran);
}
function frame600(){
ran1 = (Math.random() * 10);
if (ran1 >= 5){
gotoAndPlay(1);
};
trace(ran1);
}
}
}//package RealChristmas_fla
Section 22
//Symbol105copy6_94 (RealChristmas_fla.Symbol105copy6_94)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol105copy6_94 extends MovieClip {
public var ran:Number;
public var ran1:Number;
public function Symbol105copy6_94(){
addFrameScript(0, frame1, 314, frame315, 599, frame600);
}
function frame1(){
}
function frame315(){
ran = (Math.random() * 10);
if (ran >= 5){
gotoAndPlay(1);
};
trace(ran);
}
function frame600(){
ran1 = (Math.random() * 10);
if (ran1 >= 5){
gotoAndPlay(1);
};
trace(ran1);
}
}
}//package RealChristmas_fla
Section 23
//Symbol106_33 (RealChristmas_fla.Symbol106_33)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol106_33 extends MovieClip {
public function Symbol106_33(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 24
//Symbol107_34 (RealChristmas_fla.Symbol107_34)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol107_34 extends MovieClip {
public function Symbol107_34(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 25
//Symbol111_35 (RealChristmas_fla.Symbol111_35)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol111_35 extends MovieClip {
public function Symbol111_35(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 26
//Symbol115_102 (RealChristmas_fla.Symbol115_102)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol115_102 extends MovieClip {
public function Symbol115_102(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
stop();
}
function frame40(){
gotoAndPlay(2);
}
}
}//package RealChristmas_fla
Section 27
//Symbol157_77 (RealChristmas_fla.Symbol157_77)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol157_77 extends MovieClip {
public var bar:MovieClip;
public function Symbol157_77(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 28
//Symbol18_2 (RealChristmas_fla.Symbol18_2)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol18_2 extends MovieClip {
public var but:SimpleButton;
public var g:MovieClip;
public var bar:MovieClip;
public function Symbol18_2(){
addFrameScript(0, frame1, 100, frame101, 102, frame103);
}
public function Downn(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com/");
navigateToURL(_local2, "_blank");
}
public function DD(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freeworldgroup.com");
navigateToURL(_local2, "_blank");
}
function frame1(){
stop();
g.buttonMode = true;
g.addEventListener(MouseEvent.MOUSE_DOWN, Downn);
}
function frame101(){
but.addEventListener(MouseEvent.MOUSE_DOWN, DD);
stop();
}
function frame103(){
MovieClip(this.parent).nextFrame();
}
}
}//package RealChristmas_fla
Section 29
//Symbol22_79 (RealChristmas_fla.Symbol22_79)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol22_79 extends MovieClip {
public function Symbol22_79(){
addFrameScript(0, frame1, 1, frame2, 3, frame4);
}
public function frama(_arg1:Event){
MovieClip(root).cont.Shake(MovieClip(root).cont);
}
function frame1(){
stop();
}
function frame2(){
addEventListener(Event.ENTER_FRAME, frama);
}
function frame4(){
removeEventListener(Event.ENTER_FRAME, frama);
}
}
}//package RealChristmas_fla
Section 30
//Symbol26_96 (RealChristmas_fla.Symbol26_96)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol26_96 extends MovieClip {
public function Symbol26_96(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 31
//Symbol28_100 (RealChristmas_fla.Symbol28_100)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol28_100 extends MovieClip {
public function Symbol28_100(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 32
//Symbol35_111 (RealChristmas_fla.Symbol35_111)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol35_111 extends MovieClip {
public function Symbol35_111(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 33
//Symbol43_37 (RealChristmas_fla.Symbol43_37)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol43_37 extends MovieClip {
public function Symbol43_37(){
addFrameScript(0, frame1, 19, frame20, 29, frame30);
}
function frame1(){
stop();
}
function frame20(){
stop();
MovieClip(root).gotoAndStop(MovieClip(root).Frrame);
}
function frame30(){
stop();
}
}
}//package RealChristmas_fla
Section 34
//Symbol46_112 (RealChristmas_fla.Symbol46_112)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol46_112 extends MovieClip {
public function Symbol46_112(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 35
//Symbol56_124 (RealChristmas_fla.Symbol56_124)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol56_124 extends MovieClip {
public var buttertime:TextField;
public var bestscore:TextField;
public var esmo:TextField;
public var butterno:TextField;
public function Symbol56_124(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame1(){
stop();
}
function frame2(){
bestscore.text = String(MovieClip(root).BestScore);
}
function frame3(){
buttertime.text = String(Math.round((MovieClip(root).ButterTime / 30)));
}
function frame4(){
butterno.text = String(MovieClip(root).ButterSticks);
}
function frame5(){
}
function frame6(){
}
function frame7(){
}
function frame8(){
}
function frame9(){
esmo.text = String(MovieClip(root).giftC);
}
}
}//package RealChristmas_fla
Section 36
//Symbol79_104 (RealChristmas_fla.Symbol79_104)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import FWG.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol79_104 extends MovieClip {
public var subby:SimpleButton;
public var nam:TextField;
public var high:SimpleButton;
public function Symbol79_104(){
addFrameScript(2, frame3);
}
public function hehe(_arg1:MouseEvent){
Net.getURL(("http://www.freeworldgroup.com/score/index.asp?game=" + SubmitScore(parent).game_name));
}
function frame3(){
high.addEventListener(MouseEvent.MOUSE_DOWN, hehe);
}
}
}//package RealChristmas_fla
Section 37
//Symbol87_83 (RealChristmas_fla.Symbol87_83)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol87_83 extends MovieClip {
public function Symbol87_83(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 38
//Symbol89_84 (RealChristmas_fla.Symbol89_84)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol89_84 extends MovieClip {
public var In:MovieClip;
public function Symbol89_84(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 39
//Symbol9_56 (RealChristmas_fla.Symbol9_56)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol9_56 extends MovieClip {
public function Symbol9_56(){
addFrameScript(0, frame1, 89, frame90, 184, frame185, 289, frame290, 419, frame420, 579, frame580);
}
function frame1(){
stop();
stop();
}
function frame90(){
stop();
stop();
}
function frame185(){
stop();
}
function frame290(){
stop();
}
function frame420(){
stop();
}
function frame580(){
stop();
MovieClip(root).FinalD = true;
}
}
}//package RealChristmas_fla
Section 40
//Symbol90_85 (RealChristmas_fla.Symbol90_85)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol90_85 extends MovieClip {
public function Symbol90_85(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
}
}
}//package RealChristmas_fla
Section 41
//Symbol91_86 (RealChristmas_fla.Symbol91_86)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol91_86 extends MovieClip {
public function Symbol91_86(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
}
}
}//package RealChristmas_fla
Section 42
//Symbol92_87 (RealChristmas_fla.Symbol92_87)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol92_87 extends MovieClip {
public function Symbol92_87(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
}
}
}//package RealChristmas_fla
Section 43
//Symbol93_88 (RealChristmas_fla.Symbol93_88)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Symbol93_88 extends MovieClip {
public function Symbol93_88(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
}
}
}//package RealChristmas_fla
Section 44
//toaster_16 (RealChristmas_fla.toaster_16)
package RealChristmas_fla {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class toaster_16 extends MovieClip {
public function toaster_16(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package RealChristmas_fla
Section 45
//HitRec (ui.HitRec)
package ui {
import flash.display.*;
public dynamic class HitRec extends MovieClip {
}
}//package ui
Section 46
//WindowBg (ui.WindowBg)
package ui {
import flash.display.*;
public dynamic class WindowBg extends MovieClip {
}
}//package ui
Section 47
//Apple (Apple)
package {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Apple extends MovieClip {
public function Apple(){
addFrameScript(0, frame1, 1, frame2, 9, frame10);
}
function frame1(){
stop();
}
function frame2(){
if (MovieClip(root) != null){
if (MovieClip(root).cont.butterBar.bar.x < -15){
MovieClip(root).cont.butterBar.bar.x = (MovieClip(root).cont.butterBar.bar.x + 10);
};
if (MovieClip(root).cont.multiply == false){
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 10);
} else {
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 50);
};
MovieClip(root).ButterSticks++;
};
}
function frame10(){
stop();
}
}
}//package
Section 48
//B1 (B1)
package {
import flash.media.*;
public dynamic class B1 extends Sound {
}
}//package
Section 49
//B2 (B2)
package {
import flash.media.*;
public dynamic class B2 extends Sound {
}
}//package
Section 50
//B3 (B3)
package {
import flash.media.*;
public dynamic class B3 extends Sound {
}
}//package
Section 51
//B4 (B4)
package {
import flash.media.*;
public dynamic class B4 extends Sound {
}
}//package
Section 52
//BigBee (BigBee)
package {
import flash.display.*;
public dynamic class BigBee extends MovieClip {
public var p1:BigT;
public var p2:BigT;
public var p3:BigT;
public var p4:BigT;
public var p5:BigT;
}
}//package
Section 53
//BigT (BigT)
package {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class BigT extends MovieClip {
public var gloo1:MovieClip;
public var glo:MovieClip;
public var glw5:MovieClip;
public var gloo2:MovieClip;
public var glw6:MovieClip;
public var gloo3:MovieClip;
public var gloo4:MovieClip;
public var gloo5:MovieClip;
public var gloo6:MovieClip;
public var glo2:MovieClip;
public var glo3:MovieClip;
public var glo4:MovieClip;
public var glo5:MovieClip;
public var glw:MovieClip;
public var glo6:MovieClip;
public var glw2:MovieClip;
public var glw3:MovieClip;
public var glw4:MovieClip;
public var checky:Boolean;
public var badum:Boolean;
public function BigT(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
public function Check(_arg1:Event){
if ((((((checky == false)) && (!((MovieClip(root) == null))))) && (!((MovieClip(root).cont == null))))){
if (currentFrame == 1){
if (((((gloo1.hitTestObject(MovieClip(root).cont.player)) && ((gloo1.alpha >= 0.5)))) && ((badum == false)))){
if (MovieClip(root).cont.buttered == false){
MovieClip(root).cont.glooCount = 6;
};
badum = true;
};
if (((glw.hitTestObject(MovieClip(root).cont.player)) && ((glw.alpha == 1)))){
if (MovieClip(root).cont.multiply == false){
MovieClip(root).cont.scoreCounter++;
} else {
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 3);
};
} else {
if (((glo.hitTestObject(MovieClip(root).cont.player)) && ((glo.alpha == 1)))){
if (MovieClip(root).cont.score > 0){
MovieClip(root).cont.scoreCounter--;
};
};
};
};
};
}
public function Check2(_arg1:Event){
if ((((((checky == false)) && (!((MovieClip(root) == null))))) && (!((MovieClip(root).cont == null))))){
if (currentFrame == 2){
if (((((gloo2.hitTestObject(MovieClip(root).cont.player)) && ((gloo2.alpha >= 0.5)))) && ((badum == false)))){
if (MovieClip(root).cont.buttered == false){
MovieClip(root).cont.glooCount = 6;
};
badum = true;
trace("a");
};
if (((glw2.hitTestObject(MovieClip(root).cont.player)) && ((glw2.alpha == 1)))){
if (MovieClip(root).cont.multiply == false){
MovieClip(root).cont.scoreCounter++;
} else {
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 3);
};
} else {
if (((glo2.hitTestObject(MovieClip(root).cont.player)) && ((glo2.alpha == 1)))){
if (MovieClip(root).cont.score > 0){
MovieClip(root).cont.scoreCounter--;
};
};
};
};
};
}
public function Check3(_arg1:Event){
if ((((((checky == false)) && (!((MovieClip(root) == null))))) && (!((MovieClip(root).cont == null))))){
if (currentFrame == 3){
if (((((gloo3.hitTestObject(MovieClip(root).cont.player)) && ((gloo3.alpha >= 0.5)))) && ((badum == false)))){
if (MovieClip(root).cont.buttered == false){
MovieClip(root).cont.glooCount = 6;
};
badum = true;
};
if (((glw3.hitTestObject(MovieClip(root).cont.player)) && ((glw3.alpha == 1)))){
if (MovieClip(root).cont.multiply == false){
MovieClip(root).cont.scoreCounter++;
} else {
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 3);
};
} else {
if (((glo3.hitTestObject(MovieClip(root).cont.player)) && ((glo3.alpha == 1)))){
if (MovieClip(root).cont.score > 0){
MovieClip(root).cont.scoreCounter--;
};
};
};
};
};
}
public function Check4(_arg1:Event){
if ((((((checky == false)) && (!((MovieClip(root) == null))))) && (!((MovieClip(root).cont == null))))){
if (currentFrame == 4){
if (((((gloo4.hitTestObject(MovieClip(root).cont.player)) && ((gloo4.alpha >= 0.5)))) && ((badum == false)))){
if (MovieClip(root).cont.buttered == false){
MovieClip(root).cont.glooCount = 3;
};
badum = true;
};
if (((glw4.hitTestObject(MovieClip(root).cont.player)) && ((glw4.alpha == 1)))){
if (MovieClip(root).cont.multiply == false){
MovieClip(root).cont.scoreCounter++;
} else {
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 3);
};
} else {
if (((glo4.hitTestObject(MovieClip(root).cont.player)) && ((glo4.alpha == 1)))){
if (MovieClip(root).cont.score > 0){
MovieClip(root).cont.scoreCounter--;
};
};
};
};
};
}
public function Check5(_arg1:Event){
if ((((((checky == false)) && (!((MovieClip(root) == null))))) && (!((MovieClip(root).cont == null))))){
if (currentFrame == 5){
if (((((gloo5.hitTestObject(MovieClip(root).cont.player)) && ((gloo5.alpha >= 0.5)))) && ((badum == false)))){
if (MovieClip(root).cont.buttered == false){
MovieClip(root).cont.glooCount = 3;
};
badum = true;
};
if (((glw5.hitTestObject(MovieClip(root).cont.player)) && ((glw5.alpha == 1)))){
if (MovieClip(root).cont.multiply == false){
MovieClip(root).cont.scoreCounter++;
} else {
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 3);
};
} else {
if (((glo5.hitTestObject(MovieClip(root).cont.player)) && ((glo5.alpha == 1)))){
if (MovieClip(root).cont.score > 0){
MovieClip(root).cont.scoreCounter--;
};
};
};
};
};
}
public function Check6(_arg1:Event){
if ((((((checky == false)) && (!((MovieClip(root) == null))))) && (!((MovieClip(root).cont == null))))){
if (currentFrame == 6){
if (((((gloo6.hitTestObject(MovieClip(root).cont.player)) && ((gloo6.alpha >= 0.5)))) && ((badum == false)))){
if (MovieClip(root).cont.buttered == false){
MovieClip(root).cont.glooCount = 3;
};
badum = true;
};
if (((glw6.hitTestObject(MovieClip(root).cont.player)) && ((glw6.alpha == 1)))){
if (MovieClip(root).cont.multiply == false){
MovieClip(root).cont.scoreCounter++;
} else {
MovieClip(root).cont.scoreCounter = (MovieClip(root).cont.scoreCounter + 3);
};
} else {
if (((glo6.hitTestObject(MovieClip(root).cont.player)) && ((glo6.alpha == 1)))){
if (MovieClip(root).cont.score > 0){
MovieClip(root).cont.scoreCounter--;
};
};
};
};
};
}
function frame1(){
checky = false;
badum = false;
stop();
addEventListener(Event.ENTER_FRAME, Check);
}
function frame2(){
stop();
removeEventListener(Event.ENTER_FRAME, Check);
addEventListener(Event.ENTER_FRAME, Check2);
}
function frame3(){
stop();
removeEventListener(Event.ENTER_FRAME, Check);
removeEventListener(Event.ENTER_FRAME, Check2);
addEventListener(Event.ENTER_FRAME, Check3);
}
function frame4(){
stop();
removeEventListener(Event.ENTER_FRAME, Check);
removeEventListener(Event.ENTER_FRAME, Check2);
removeEventListener(Event.ENTER_FRAME, Check3);
addEventListener(Event.ENTER_FRAME, Check4);
}
function frame5(){
stop();
removeEventListener(Event.ENTER_FRAME, Check);
removeEventListener(Event.ENTER_FRAME, Check2);
removeEventListener(Event.ENTER_FRAME, Check3);
removeEventListener(Event.ENTER_FRAME, Check4);
addEventListener(Event.ENTER_FRAME, Check5);
}
function frame6(){
stop();
removeEventListener(Event.ENTER_FRAME, Check);
removeEventListener(Event.ENTER_FRAME, Check2);
removeEventListener(Event.ENTER_FRAME, Check3);
removeEventListener(Event.ENTER_FRAME, Check4);
removeEventListener(Event.ENTER_FRAME, Check5);
addEventListener(Event.ENTER_FRAME, Check6);
}
}
}//package
Section 54
//D1 (D1)
package {
import flash.media.*;
public dynamic class D1 extends Sound {
}
}//package
Section 55
//D2 (D2)
package {
import flash.media.*;
public dynamic class D2 extends Sound {
}
}//package
Section 56
//Drums (Drums)
package {
import flash.media.*;
public dynamic class Drums extends Sound {
}
}//package
Section 57
//Fall (Fall)
package {
import flash.media.*;
public dynamic class Fall extends Sound {
}
}//package
Section 58
//GameI (GameI)
package {
import FWG.*;
public class GameI {
public static var btnSs:BtnSs;
public static var submitScore:SubmitScore;
}
}//package
Section 59
//Giftbox (Giftbox)
package {
import flash.net.*;
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Giftbox extends MovieClip {
public var r:Number;
public function Giftbox(){
addFrameScript(0, frame1, 1, frame2, 9, frame10);
}
function frame1(){
stop();
}
function frame2(){
r = (Math.random() * 100);
MovieClip(root).giftC++;
if ((((r >= 0)) && ((r < 25)))){
MovieClip(root).cont.white = true;
MovieClip(root).cont.powtext.alpha = 1;
MovieClip(root).cont.powtext.gotoAndStop(2);
if (MovieClip(root).cont.powtext.In != null){
MovieClip(root).cont.powtext.In.gotoAndPlay(1);
};
} else {
if ((((r >= 25)) && ((r < 50)))){
MovieClip(root).cont.multiply = true;
MovieClip(root).cont.powtext.alpha = 1;
MovieClip(root).cont.powtext.gotoAndStop(4);
if (MovieClip(root).cont.powtext.In != null){
MovieClip(root).cont.powtext.In.gotoAndPlay(1);
};
} else {
if ((((r >= 50)) && ((r < 75)))){
MovieClip(root).cont.life.gotoAndPlay(2);
MovieClip(root).cont.powtext.alpha = 1;
MovieClip(root).cont.powtext.gotoAndStop(3);
if (MovieClip(root).cont.powtext.In != null){
MovieClip(root).cont.powtext.In.gotoAndPlay(1);
};
} else {
MovieClip(root).cont.infinite = true;
MovieClip(root).cont.powtext.alpha = 1;
MovieClip(root).cont.powtext.gotoAndStop(1);
if (MovieClip(root).cont.powtext.In != null){
MovieClip(root).cont.powtext.In.gotoAndPlay(1);
};
};
};
};
}
function frame10(){
stop();
}
}
}//package
Section 60
//JUMP1 (JUMP1)
package {
import flash.media.*;
public dynamic class JUMP1 extends Sound {
}
}//package
Section 61
//JUMP2 (JUMP2)
package {
import flash.media.*;
public dynamic class JUMP2 extends Sound {
}
}//package
Section 62
//JUMP3 (JUMP3)
package {
import flash.media.*;
public dynamic class JUMP3 extends Sound {
}
}//package
Section 63
//JUMP4 (JUMP4)
package {
import flash.media.*;
public dynamic class JUMP4 extends Sound {
}
}//package
Section 64
//MedT (MedT)
package {
import flash.display.*;
public dynamic class MedT extends MovieClip {
}
}//package
Section 65
//MedT2 (MedT2)
package {
import flash.display.*;
public dynamic class MedT2 extends MovieClip {
}
}//package
Section 66
//MochiBot (MochiBot)
package {
import flash.net.*;
import flash.display.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
if (Security.sandboxType == "localWithFile"){
return (null);
};
var _local3:MochiBot = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
var _local4 = "http://core.mochibot.com/my/core.swf";
var _local5:URLVariables = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
var _local6:String = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
var _local7:URLRequest = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
var _local8:Loader = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 67
//Net (Net)
package {
import flash.net.*;
import flash.events.*;
public class Net {
private static var request:URLRequest;
private static var loader:URLLoader;
public static function getURL(_arg1:String):void{
var url = _arg1;
try {
navigateToURL(new URLRequest(url), "_blank");
} catch(e) {
trace(("Net.getURL:e=" + e));
};
}
public static function sendData(_arg1:URLVariables, _arg2:String, _arg3:Function, _arg4:Function):void{
request = new URLRequest(_arg2);
request.data = _arg1;
request.method = URLRequestMethod.POST;
trace(((("sendToURL: " + request.url) + "?") + request.data));
sendToURL(request);
loader = new URLLoader();
loader.addEventListener(Event.COMPLETE, _arg3, false, 0, true);
loader.addEventListener(IOErrorEvent.IO_ERROR, _arg4, false, 0, true);
loader.load(request);
}
}
}//package
Section 68
//SmallT (SmallT)
package {
import flash.display.*;
public dynamic class SmallT extends MovieClip {
}
}//package
Section 69
//SnowFlake (SnowFlake)
package {
import flash.geom.*;
import flash.display.*;
import flash.filters.*;
public class SnowFlake extends Sprite {
public var xVel:Number;
public var yVel:Number;
public var size:Number;
public var screenArea:Rectangle;
public function SnowFlake(_arg1:Rectangle){
var _local3:Number;
super();
graphics.lineStyle(3, 0xFFFFFF);
graphics.moveTo(0, 0);
graphics.lineTo(0.2, 0.2);
screenArea = _arg1;
x = (Math.random() * screenArea.width);
var _local2:Number = ((Math.random() * 600) - 250);
size = calculatePerspectiveSize(_local2);
scaleX = (scaleY = size);
if (_local2 < -150){
_local3 = (_local2 + 150);
_local3 = (_local3 / -100);
_local3 = ((_local3 * 20) + 2);
filters = [new BlurFilter(_local3, _local3, 2)];
} else {
filters = [new BlurFilter(2, 2, 2)];
};
cacheAsBitmap = true;
xVel = ((Math.random() * 2) - 1);
yVel = 3;
xVel = (xVel * size);
yVel = (yVel * size);
}
public function update(_arg1:Number):void{
x = (x + xVel);
y = (y + yVel);
x = (x + (_arg1 * size));
if (y > screenArea.bottom){
y = screenArea.top;
};
if (x > screenArea.right){
x = screenArea.left;
} else {
if (x < screenArea.left){
x = screenArea.right;
};
};
}
public function calculatePerspectiveSize(_arg1:Number):Number{
var _local2:Number = 300;
return ((_local2 / (_arg1 + _local2)));
}
}
}//package
Section 70
//Stars (Stars)
package {
import flash.display.*;
public dynamic class Stars extends MovieClip {
}
}//package
Section 71
//STARZ (STARZ)
package {
import flash.display.*;
public dynamic class STARZ extends MovieClip {
}
}//package