STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229594 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #250993 |
Lone Elf |
A Johnny Krysys Game |
EVERYTHING, BY EVERYONE. |
Play |
Skip Tutorial |
Alright Santa, 12 hours until Christmas. I know with the current Layoffs you were worried things wouldn't get finished. |
Click to Continue |
I'm sticking with you, free of charge to make sure everyone has a joyful Christmas! |
Here comes a kid now. You can sometimes see what the kid is thinking about, to give you a clue what they might want before they get to you. |
The bar above their head allows you to see their current level of patience. Make a kid wait, he gets impatient and leaves. |
Once they're waiting at the front of the line, Click on them to call them over. They'll rattle off what they want to you. |
Click "Child" to Continue |
Alright, I can see it here on my screen. Kids never want more than one of the same item, and always want one to three things. |
Let me just run over to (click) these tables to gather the correct toys. |
Click "Bike" to continue |
Once I have the correct toys, I just need to run over to (click) the final Table. |
Click Final Table to continue |
Keep in mind, I can only fit 4 toys per table, indicated by the dots near the table, and will need to build more as we go along. |
That's easy enough though. I just have to run over to (click) my work bench here, and then run over to (click) the tables that need to be restocked. |
Click Workbench to Continue |
When I'm done building, I need to return my tools (click) to my workbench again before getting presents together again. |
Click WorkBench to Continue |
Let's see how many children's wishes we can make come true, and how much joy we can get from doing it accurately and effeciently. |
Click to Continue |
12 hours to go. Let's make it count. |
Merry Christmas! |
Happy Children: |
Total Joy %: |
Replay |
ActionScript [AS3]
Section 1//boy_41 (Pinkslip_Christmas_fla.boy_41) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class boy_41 extends MovieClip { public function boy_41(){ super(); addFrameScript(118, frame119, 131, frame132, 149, frame150, 162, frame163); } function frame163(){ gotoAndPlay("angry"); } function frame119(){ gotoAndPlay("waiting"); } function frame132(){ gotoAndPlay("walking"); } function frame150(){ gotoAndPlay("onLap"); } } }//package Pinkslip_Christmas_flaSection 2//DummyClip_33 (Pinkslip_Christmas_fla.DummyClip_33) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class DummyClip_33 extends MovieClip { public function DummyClip_33(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Pinkslip_Christmas_flaSection 3//girl_42 (Pinkslip_Christmas_fla.girl_42) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class girl_42 extends MovieClip { public function girl_42(){ super(); addFrameScript(118, frame119, 119, frame120, 127, frame128, 149, frame150, 150, frame151, 158, frame159); } function frame151(){ play(); } function frame159(){ gotoAndPlay("angry"); } function frame120(){ play(); } function frame128(){ gotoAndPlay("walking"); } function frame119(){ gotoAndPlay("waiting"); } function frame150(){ gotoAndPlay("onLap"); } } }//package Pinkslip_Christmas_flaSection 4//MainTimeline (Pinkslip_Christmas_fla.MainTimeline) package Pinkslip_Christmas_fla { import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class MainTimeline extends MovieClip { public var clock:Calendar; public var complete:Complete_button; public var joyBox:TextField; public var playButton:MovieClip; public var controller:Controller; public var totalKids:Number; public var happyBox:TextField; public var assembly:AssemblyTable; public var replay:SimpleButton; public var totalJoy:Number; public function MainTimeline(){ super(); addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5); } public function replayFunction(e:MouseEvent){ gotoAndStop(4); replay.removeEventListener(MouseEvent.CLICK, replayFunction); } public function mClick(e:MouseEvent){ play(); playButton.removeEventListener(MouseEvent.CLICK, mClick); } function frame1(){ stop(); NewgroundsAPI.linkAPI(this); NewgroundsAPI.connectMovie(10447); } function frame4(){ totalJoy = 0; totalKids = 0; stop(); controller = new Controller(this); controller.Init(); } function frame5(){ stop(); joyBox.text = (totalJoy.toString() + "%"); happyBox.text = totalKids.toString(); replay.addEventListener(MouseEvent.CLICK, replayFunction); } function frame2(){ stop(); playButton.addEventListener(MouseEvent.CLICK, mClick); } } }//package Pinkslip_Christmas_flaSection 5//NG_AD_OBJECT_28 (Pinkslip_Christmas_fla.NG_AD_OBJECT_28) package Pinkslip_Christmas_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class NG_AD_OBJECT_28 extends MovieClip { public var ng_ad:MovieClip; public var NG_Button:SimpleButton; public function NG_AD_OBJECT_28(){ super(); addFrameScript(0, frame1); } public function loadNGSite(event:Event){ NewgroundsAPI.loadNewgrounds(); } public function startAd(ngad_url){ var ad_loader:URLLoader; ad_loader = new URLLoader(new URLRequest(ngad_url)); ad_loader.addEventListener(Event.COMPLETE, ad_Loaded); } function frame1(){ Security.allowDomain("70.87.128.99"); Security.allowInsecureDomain("70.87.128.99"); Security.allowDomain("ads.shizmoo.com"); Security.allowInsecureDomain("ads.shizmoo.com"); Security.allowDomain("www.cpmstar.com"); Security.allowInsecureDomain("www.cpmstar.com"); Security.allowDomain("server.cpmstar.com"); Security.allowInsecureDomain("server.cpmstar.com"); if (NewgroundsAPI.getAdURL()){ startAd(NewgroundsAPI.getAdURL()); }; NewgroundsAPI.addEventListener(NewgroundsAPI.ADS_APPROVED, startAd); NG_Button.addEventListener(MouseEvent.CLICK, loadNGSite); stop(); } public function ad_Loaded(event:Event){ var url:*; var ad_loader:Loader; url = String(event.target.data); ad_loader = new Loader(); ad_loader.load(new URLRequest(url)); ng_ad.addChild(ad_loader); } } }//package Pinkslip_Christmas_flaSection 6//NG_TANK_30 (Pinkslip_Christmas_fla.NG_TANK_30) package Pinkslip_Christmas_fla { import flash.events.*; import flash.display.*; public dynamic class NG_TANK_30 extends MovieClip { public var NG_Logo:SimpleButton; public function NG_TANK_30(){ super(); addFrameScript(0, frame1); } public function loadNGSite(event:Event){ NewgroundsAPI.loadNewgrounds(); } function frame1(){ NG_Logo.addEventListener(MouseEvent.CLICK, loadNGSite); } } }//package Pinkslip_Christmas_flaSection 7//Timeline_1 (Pinkslip_Christmas_fla.Timeline_1) package Pinkslip_Christmas_fla { import flash.events.*; import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class Timeline_1 extends MovieClip { public const FRAME_RATE_ADJUST:Boolean = true; public const LOADER_FRAME_RATE:Number = 30; public const AUTO_PLAY:Boolean = false; public var bar:MovieClip; public var ngButton:SimpleButton; public var playButton:SimpleButton; public var movieFrameRate:Number; public var loadingComplete:Boolean; public var initialized:Boolean; public function Timeline_1(){ super(); addFrameScript(0, frame1, 50, frame51); } public function init():void{ if (initialized){ return; }; movieFrameRate = 0; if (((FRAME_RATE_ADJUST) && (stage))){ movieFrameRate = stage.frameRate; stage.frameRate = LOADER_FRAME_RATE; }; initialized = true; stop(); if (((root) && ((root is MovieClip)))){ MovieClip(root).stop(); }; loadingComplete = false; ngButton.addEventListener(MouseEvent.CLICK, ngButtonClickHandler, false, 0, true); addEventListener(Event.ENTER_FRAME, enterFrameHandler, false, 0, true); if (meetsVersion([9, 0, 28, 0])){ addEventListener(Event.REMOVED_FROM_STAGE, cleanup, false, 0, true); }; enterFrameHandler(); } public function enterFrameHandler(e:Event=null):void{ var loaded:Number; if (((((!(movieFrameRate)) && (FRAME_RATE_ADJUST))) && (stage))){ movieFrameRate = stage.frameRate; stage.frameRate = LOADER_FRAME_RATE; }; if (!loadingComplete){ loaded = 0; if (loaderInfo){ loaded = (loaderInfo.bytesLoaded / loaderInfo.bytesTotal); }; if (bar){ bar.scaleX = loaded; }; if (loaded == 1){ loadingComplete = true; if (AUTO_PLAY){ startMovie(); } else { gotoAndPlay("loaded"); }; }; }; } public function meetsVersion(version:Array):Boolean{ var playerVersion:Array; var i:uint; playerVersion = String(Capabilities.version.split(" ")[1]).split(","); i = 0; while (i < version.length) { if (uint(playerVersion[i]) > version[i]){ return (true); }; if (uint(playerVersion[i]) < version[i]){ return (false); }; i++; }; return (true); } public function playButtonClickHandler(e:Event=null):void{ startMovie(); } function frame1(){ initialized = false; init(); } public function ngButtonClickHandler(e:Event):void{ navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank"); } public function cleanup(e:Event=null){ if (initialized){ ngButton.removeEventListener(MouseEvent.CLICK, ngButtonClickHandler); removeEventListener(Event.ENTER_FRAME, enterFrameHandler); if (meetsVersion([9, 0, 28, 0])){ removeEventListener(Event.REMOVED_FROM_STAGE, cleanup); }; if (movieFrameRate){ stage.frameRate = movieFrameRate; movieFrameRate = 0; }; }; initialized = false; } function frame51(){ stop(); if (((playButton) && (!(playButton.hasEventListener(MouseEvent.CLICK))))){ playButton.addEventListener(MouseEvent.CLICK, playButtonClickHandler, false, 0, true); }; } public function startMovie():void{ cleanup(); if (((root) && ((root is MovieClip)))){ MovieClip(root).play(); }; dispatchEvent(new Event(Event.COMPLETE)); } } }//package Pinkslip_Christmas_flaSection 8//Timeline_10 (Pinkslip_Christmas_fla.Timeline_10) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class Timeline_10 extends MovieClip { public var mc0:MovieClip; public function Timeline_10(){ super(); } } }//package Pinkslip_Christmas_flaSection 9//Timeline_11 (Pinkslip_Christmas_fla.Timeline_11) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class Timeline_11 extends MovieClip { public var mc1:MovieClip; public var mc2:MovieClip; public var mc0:MovieClip; public function Timeline_11(){ super(); } } }//package Pinkslip_Christmas_flaSection 10//Timeline_15 (Pinkslip_Christmas_fla.Timeline_15) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class Timeline_15 extends MovieClip { public var mc1:MovieClip; public var mc3:MovieClip; public var mc2:MovieClip; public var mc0:MovieClip; public function Timeline_15(){ super(); } } }//package Pinkslip_Christmas_flaSection 11//Timeline_20 (Pinkslip_Christmas_fla.Timeline_20) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class Timeline_20 extends MovieClip { public var mc0:MovieClip; public function Timeline_20(){ super(); } } }//package Pinkslip_Christmas_flaSection 12//Timeline_25 (Pinkslip_Christmas_fla.Timeline_25) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class Timeline_25 extends MovieClip { public function Timeline_25(){ super(); addFrameScript(39, frame40); } function frame40(){ stop(); } } }//package Pinkslip_Christmas_flaSection 13//Timeline_5 (Pinkslip_Christmas_fla.Timeline_5) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class Timeline_5 extends MovieClip { public var mc1:MovieClip; public var mc3:MovieClip; public var mc5:MovieClip; public var mc2:MovieClip; public var mc0:MovieClip; public var mc4:MovieClip; public function Timeline_5(){ super(); } } }//package Pinkslip_Christmas_flaSection 14//Timeline_8 (Pinkslip_Christmas_fla.Timeline_8) package Pinkslip_Christmas_fla { import flash.display.*; public dynamic class Timeline_8 extends MovieClip { public var mc1:MovieClip; public var mc0:MovieClip; public function Timeline_8(){ super(); } } }//package Pinkslip_Christmas_flaSection 15//AssemblyTable (AssemblyTable) package { import flash.display.*; public dynamic class AssemblyTable extends MovieClip { public function AssemblyTable(){ super(); } } }//packageSection 16//Blip (Blip) package { import flash.display.*; public dynamic class Blip extends MovieClip { public function Blip(){ super(); addFrameScript(0, frame1, 9, frame10); } function frame10(){ stop(); } function frame1(){ stop(); } } }//packageSection 17//BooSound (BooSound) package { import flash.media.*; public dynamic class BooSound extends Sound { public function BooSound(){ super(); } } }//packageSection 18//Brink (Brink) package { import flash.media.*; public dynamic class Brink extends Sound { public function Brink(){ super(); } } }//packageSection 19//Calendar (Calendar) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Calendar extends MovieClip { public function Calendar(){ super(); addFrameScript(0, frame1, 1199, frame1200); } function frame1(){ stop(); } function frame1200(){ stop(); MovieClip(root).controller.gameOver = true; } } }//packageSection 20//Cart (Cart) package { import flash.display.*; public dynamic class Cart extends MovieClip { public function Cart(){ super(); addFrameScript(0, frame1, 9, frame10, 19, frame20, 29, frame30, 39, frame40, 49, frame50, 59, frame60, 69, frame70, 79, frame80, 88, frame89); } function frame70(){ stop(); } function frame80(){ stop(); } function frame89(){ stop(); } function frame10(){ stop(); } function frame1(){ stop(); } function frame20(){ stop(); } function frame30(){ stop(); } function frame40(){ stop(); } function frame50(){ stop(); } function frame60(){ stop(); } } }//packageSection 21//CartSound (CartSound) package { import flash.media.*; public dynamic class CartSound extends Sound { public function CartSound(){ super(); } } }//packageSection 22//CheerSound (CheerSound) package { import flash.media.*; public dynamic class CheerSound extends Sound { public function CheerSound(){ super(); } } }//packageSection 23//Complete_button (Complete_button) package { import flash.display.*; public dynamic class Complete_button extends MovieClip { public function Complete_button(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//packageSection 24//Controller (Controller) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.utils.*; public class Controller extends MovieClip { public var fin:FinishSound; public var healthBar:HealthBar; public var toolSound:ToolSound; public var tables:Array; public var canClickTute:Boolean; public var tutorialUp:Boolean; public var elf:Elf; public var screenCover:Screen_Cover; public var skipT:SkipTute; public var bgMusic:SoundChannel; public var cart:Array; public var cheer:CheerSound; public var sadKids:int; public var tutorial:Tutorial; public var happyKids:int; public var myParent:MovieClip; public var cartIndex:int; public var canClick:Boolean; public var displayGifts:Array; public var brink:Brink; public var boo:BooSound; public var cartSound:CartSound; public var joy:Number; public var clockTimer:Timer; public var tempWishList:Array; public var cartList:Array; public var santaLine:SantaLine; public var gameOver:Boolean; public var talkTimer:Timer; public function Controller(_myParent){ super(); brink = new Brink(); playMusic(); boo = new BooSound(); cheer = new CheerSound(); fin = new FinishSound(); cartSound = new CartSound(); toolSound = new ToolSound(); canClickTute = true; tutorialUp = true; joy = 0; happyKids = 0; sadKids = 0; gameOver = false; cartIndex = 0; canClick = false; myParent = _myParent; this.x = 0; this.y = 0; graphics.lineStyle(1, 0); graphics.drawRect(0, 80, 550, 320); myParent.addChild(this); tables = new Array(); } public function showGifts(e:TimerEvent){ var c:int; var gift:Gift; var gift2:Gift; removeChild(screenCover); c = (talkTimer.currentCount - 1); gift = tempWishList[c]; gift.x = 70; gift.y = 10; addChild(gift); gift.gotoAndStop(gift.thumbNail); gift2 = displayGifts[c]; gift2.x = 495; gift2.y = 135; addChild(gift2); addChild(screenCover); gift2.gotoAndStop(gift2.icon); if (talkTimer.currentCount == tempWishList.length){ talkTimer.reset(); talkTimer.start(); }; } public function updateJoy(_patience:Number){ var patScore:Number; if (joy < 100){ patScore = (_patience / 10); joy = (joy + ((10 + patScore) / 3)); healthBar.setHealth(joy); }; } public function nextStep(e:MouseEvent){ if (canClickTute){ tutorialGo(); }; } public function tableClick(e:MouseEvent){ var table:*; if (tutorialUp){ tutorialGo(); }; if (canClick){ table = e.currentTarget; elf.go = true; elf.tookGift = false; elf.SetDest(table.destX, table.destY, table); }; } public function updateSad(_amount:Number){ if (joy > 0){ joy = (joy - _amount); healthBar.setHealth(joy); }; } public function giftComplete(){ var numCorrect:int; var i:uint; var k:uint; var z:uint; var m:uint; var j:uint; if (santaLine.santaOccupied){ numCorrect = 0; i = 0; while (i < tempWishList.length) { j = 0; while (j < cart.length) { if (tempWishList[i].type == cart[j].type){ numCorrect++; }; j++; }; i++; }; if (numCorrect == tempWishList.length){ cheer.play(); happyKids++; myParent.totalKids++; updateJoy(santaLine.kidAtSanta.patience); } else { boo.play(); sadKids++; updateSad(5); }; santaLine.kidAtSanta.isDone(); santaLine.santaOccupied = false; santaLine.santaState("idle"); myParent.complete.play(); talkTimer.removeEventListener(TimerEvent.TIMER, showGifts); k = 0; while (k < tempWishList.length) { removeChild(tempWishList[k]); k++; }; z = 0; while (z < displayGifts.length) { removeChild(displayGifts[z]); z++; }; tempWishList = new Array(); cart = new Array(); m = 0; while (m < cartList.length) { cartList[m].gotoAndStop("blank"); cartIndex = 0; m++; }; elf.startDest(); }; } public function startClock(){ clockTimer.start(); } public function drawScreen(){ var screen:Screen; var i:uint; var j:uint; var m:uint; var hc:Health_Cover; var ii:uint; var blip:Blip; var jj:uint; var cartImg:Cart; screen = new Screen(); screen.x = 495; screen.y = 135; addChild(screen); screenCover = new Screen_Cover(); screenCover.x = screen.x; screenCover.y = screen.y; addChild(screenCover); i = 0; while (i < 5) { addChild(tables[i]); tables[i].x = (90 + (i * 75)); tables[i].y = 115; tables[i].destX = tables[i].x; tables[i].destY = (tables[i].y + 20); ii = 0; while (ii < 4) { blip = tables[i].blipArray[ii]; addChild(blip); blip.x = ((tables[i].x - 10) + (ii * 10)); blip.y = 90; ii++; }; i++; }; elf = new Elf(this); addChild(elf); j = 5; while (j < tables.length) { addChild(tables[j]); tables[j].x = (90 + ((j - 5) * 75)); tables[j].y = 310; tables[j].destX = tables[j].x; tables[j].destY = (tables[j].y - 20); jj = 0; while (jj < 4) { blip = tables[j].blipArray[jj]; addChild(blip); blip.x = ((tables[j].x - 20) + (jj * 10)); blip.y = 340; jj++; }; j++; }; m = 0; while (m < 3) { cartImg = new Cart(); cartList.push(cartImg); cartImg.x = ((screen.x - 33) + (m * 33)); cartImg.y = (screen.y + 65); addChild(cartImg); m++; }; healthBar = new HealthBar(70, 370, 350, 20, 0xDDDDDD, 4294901760); hc = new Health_Cover(); hc.x = healthBar.x; hc.alpha = 0.5; hc.y = healthBar.y; healthBar.setHealth(0); addChild(healthBar); addChild(hc); skipT = new SkipTute(); skipT.x = 240; skipT.y = 380; skipT.addEventListener(MouseEvent.CLICK, skipTutorial); addChild(skipT); tutorial = new Tutorial(); tutorial.addEventListener(MouseEvent.CLICK, nextStep); tutorial.kidSanta = false; tutorial.x = (elf.x + 95); tutorial.y = elf.y; addChild(tutorial); } public function toComplete(e:MouseEvent){ var fin:*; fin = e.currentTarget; elf.FinishDest((fin.x - 40), fin.y); } public function tutorialGo(){ tutorial.nextFrame(); tutorial.x = (elf.x + 95); tutorial.y = elf.y; } public function onLap(wishList:Array){ var j:uint; var tempGift:Gift; canClick = true; tempWishList = wishList; displayGifts = new Array(); j = 0; while (j < tempWishList.length) { tempGift = new Gift(tempWishList[j].type); displayGifts.push(tempGift); j++; }; talkTimer = new Timer(1000); talkTimer.addEventListener(TimerEvent.TIMER, showGifts); talkTimer.start(); } public function Init(){ cart = new Array(); cartList = new Array(); populateTables(); drawScreen(); santaLine = new SantaLine(this); addChild(santaLine); myParent.complete.addEventListener(MouseEvent.CLICK, toComplete); myParent.assembly.addEventListener(MouseEvent.CLICK, toAssembly); clockTimer = new Timer(120); clockTimer.addEventListener(TimerEvent.TIMER, clockGo); } public function AddGifts(_table:Item_table){ var present:Boolean; var table:Item_table; var blp:uint; var i:uint; var k:uint; var m:uint; present = false; table = _table; if (elf.hasTool){ if (tutorialUp){ tutorialGo(); canClickTute = true; }; if (table.inventory < 4){ toolSound.play(); table.inventory = 4; blp = 0; while (blp < table.blipArray.length) { table.blipArray[blp].gotoAndStop("green"); blp++; }; }; } else { if (table.inventory > 0){ if (cart.length == 0){ if (tutorialUp){ tutorialGo(); }; cartSound.play(); cart.push(table); table.blipArray[(table.inventory - 1)].gotoAndStop("red"); table.inventory--; cartList[cartIndex].gotoAndStop(cart[cartIndex].type); cartIndex++; } else { i = 0; while (i < cart.length) { if (table.type == cart[i].type){ present = true; }; i++; }; if (((!(present)) && ((cartIndex < 3)))){ cart.push(table); table.blipArray[(table.inventory - 1)].gotoAndStop("red"); table.inventory--; cartList[cartIndex].gotoAndStop(cart[cartIndex].type); cartIndex++; } else { if (cartIndex < 3){ table.inventory++; table.blipArray[(table.inventory - 1)].gotoAndStop("green"); }; k = 0; while (k < cart.length) { if (cart[k].type == table.type){ m = 0; while (m < cartList.length) { if (cartList[m].currentLabel == cart[k].type){ cartList[m].gotoAndStop("blank"); cartIndex--; sortCart(); }; m++; }; cart.splice(k, 1); break; }; k++; }; }; }; }; }; } public function playMusic():void{ bgMusic = brink.play(); bgMusic.addEventListener(Event.SOUND_COMPLETE, loopMusic); } public function TutorialOver(){ santaLine.go = true; removeChild(skipT); removeEventListener(MouseEvent.CLICK, skipTutorial); startClock(); tutorialUp = false; removeChild(tutorial); } public function toAssembly(e:MouseEvent){ if (tutorialUp){ tutorialGo(); }; elf.assemblyDest(myParent.assembly.x, myParent.assembly.y); } public function clockGo(e:TimerEvent){ if (gameOver){ myParent.totalJoy = joy; bgMusic.stop(); myParent.complete.removeEventListener(MouseEvent.CLICK, toComplete); myParent.assembly.removeEventListener(MouseEvent.CLICK, toAssembly); clockTimer.removeEventListener(TimerEvent.TIMER, clockGo); MovieClip(root).play(); MovieClip(root).removeChild(this); }; myParent.clock.gotoAndStop((myParent.clock.currentFrame + 1)); } public function sortCart(){ if (cartList[0].currentLabel == "blank"){ cartList[0].gotoAndStop(cartList[1].currentLabel); cartList[1].gotoAndStop(cartList[2].currentLabel); }; if (cartList[1].currentLabel == "blank"){ cartList[1].gotoAndStop(cartList[2].currentLabel); }; } public function loopMusic(e:Event):void{ if (bgMusic != null){ bgMusic.removeEventListener(Event.SOUND_COMPLETE, loopMusic); playMusic(); }; } public function populateTables(){ var footBut:Item_table; var ninBut:Item_table; var gameBut:Item_table; var superBut:Item_table; var bikeBut:Item_table; var dollBut:Item_table; var dressBut:Item_table; var ponyBut:Item_table; var teddyBut:Item_table; var i:uint; footBut = new Item_table("football"); ninBut = new Item_table("ninja"); gameBut = new Item_table("game"); superBut = new Item_table("superhero"); bikeBut = new Item_table("bike"); dollBut = new Item_table("doll"); dressBut = new Item_table("dress"); ponyBut = new Item_table("pony"); teddyBut = new Item_table("teddybear"); tables.push(footBut); tables.push(ninBut); tables.push(gameBut); tables.push(superBut); tables.push(bikeBut); tables.push(dollBut); tables.push(dressBut); tables.push(ponyBut); tables.push(teddyBut); i = 0; while (i < tables.length) { tables[i].addEventListener(MouseEvent.CLICK, tableClick); i++; }; } public function skipTutorial(e:MouseEvent){ TutorialOver(); } } }//packageSection 25//Elf (Elf) package { import flash.events.*; import flash.display.*; public class Elf extends MovieClip { private var destY:Number; public var newTable:Item_table; public var toFinish:Boolean; public var atTable:Boolean; private var speed:Number; public var moving:Boolean; public var hasTool:Boolean; public var tutorial:Tutorial; public var myParent:MovieClip; public var tookGift:Boolean; public var toAssembly:Boolean; public var tool:Tool; public var currentState:String; public var toStart:Boolean; public var go:Boolean; private var destX:Number; public var oldTable:Item_table; public function Elf(_myParent:MovieClip){ super(); addFrameScript(0, frame1, 23, frame24, 33, frame34); tool = new Tool(); tool.x = x; tool.y = (y - 38); moving = false; hasTool = false; toAssembly = false; myParent = _myParent; tookGift = false; speed = 8; addEventListener(Event.ENTER_FRAME, Move); this.x = (this.y = 200); destX = (destY = 200); atTable = false; go = false; changeState("idle"); } public function SetDest(_x:Number, _y:Number, _table:Item_table){ toFinish = false; if (atTable){ oldTable = newTable; }; newTable = _table; destX = _x; destY = _y; } public function FinishDest(_x:Number, _y:Number){ destX = _x; destY = _y; toFinish = true; } public function startDest(){ destX = 200; destY = 200; toStart = true; } function frame1(){ gotoAndPlay("idle"); } function frame24(){ gotoAndPlay("idle"); } function frame34(){ gotoAndPlay("walking"); } public function assemblyDest(_x:Number, _y:Number){ destX = (_x + 30); destY = _y; toAssembly = true; } public function changeState(_type:String){ currentState = _type; gotoAndPlay(_type); } public function Move(e:Event){ var ang:Number; var totX:Number; var totY:Number; var dist:Number; if (go){ if (myParent.tutorialUp){ myParent.tutorial.x = (x + 95); myParent.tutorial.y = y; }; ang = Math.atan2((destY - this.y), (destX - this.x)); totX = (destX - this.x); totY = (destY - this.y); dist = Math.sqrt(((totX * totX) + (totY * totY))); if (dist > 10){ if (!moving){ changeState("walking"); moving = true; }; if (((((((atTable) && (!(toFinish)))) && (!(toStart)))) && (!(toAssembly)))){ oldTable.elfHere = false; }; this.x = (this.x + (Math.cos(ang) * speed)); this.y = (this.y + (Math.sin(ang) * speed)); } else { if (moving){ changeState("idle"); moving = false; }; if (toAssembly){ if (!hasTool){ myParent.cartSound.play(); hasTool = true; addChild(tool); } else { hasTool = false; removeChild(tool); myParent.canClickTute = true; myParent.tutorialGo(); }; toAssembly = false; }; if (!toFinish){ atTable = true; newTable.elfHere = true; } else { if (toStart){ toStart = false; } else { myParent.giftComplete(); if (myParent.tutorialUp){ myParent.tutorialGo(); myParent.canClickTute = true; }; toFinish = false; }; }; if (!tookGift){ tookGift = true; myParent.AddGifts(newTable); }; }; if (destX < x){ scaleX = -1; } else { scaleX = 1; }; }; } } }//packageSection 26//FinishSound (FinishSound) package { import flash.media.*; public dynamic class FinishSound extends Sound { public function FinishSound(){ super(); } } }//packageSection 27//Gift (Gift) package { import flash.display.*; public class Gift extends MovieClip { public var thumbNail:String; public var icon:String; public var type:String; public function Gift(_type:String){ super(); addFrameScript(0, frame1, 7, frame8, 12, frame13, 17, frame18, 23, frame24, 31, frame32, 35, frame36, 40, frame41, 45, frame46, 51, frame52, 59, frame60, 67, frame68, 74, frame75, 82, frame83, 91, frame92, 98, frame99, 107, frame108, 115, frame116, 125, frame126); type = _type; thumbNail = type.concat("_thumb"); icon = type.concat("_icon"); } function frame75(){ stop(); } function frame18(){ stop(); } function frame1(){ stop(); } function frame13(){ stop(); } function frame24(){ stop(); } function frame83(){ stop(); } function frame92(){ stop(); } function frame8(){ stop(); } function frame108(){ stop(); } function frame36(){ stop(); } function frame116(){ stop(); } function frame99(){ stop(); } function frame126(){ stop(); } function frame46(){ stop(); } function frame41(){ stop(); } function frame32(){ stop(); } function frame52(){ stop(); } function frame60(){ stop(); } function frame68(){ stop(); } } }//packageSection 28//Health_Cover (Health_Cover) package { import flash.display.*; public dynamic class Health_Cover extends MovieClip { public function Health_Cover(){ super(); } } }//packageSection 29//HealthBar (HealthBar) package { import flash.display.*; public class HealthBar extends Sprite { var bar:Sprite; var health:Number; public function HealthBar(xLoc:Number, yLoc:Number, wid:Number=100, high:Number=15, bc:uint=4294901760, fc:uint=4278255360){ var hbol:Sprite; var ol:Graphics; var hb:Sprite; var ins:Graphics; super(); this.x = xLoc; this.y = yLoc; health = 100; hbol = new Sprite(); addChild(hbol); ol = hbol.graphics; ol.beginFill(bc); ol.lineTo(wid, 0); ol.lineTo(wid, high); ol.lineTo(0, high); ol.lineTo(0, 0); ol.endFill(); hb = new Sprite(); hbol.addChild(hb); bar = hb; ins = hb.graphics; ins.beginFill(fc); ins.lineTo(wid, 0); ins.lineTo(wid, high); ins.lineTo(0, high); ins.lineTo(0, 0); ins.endFill(); } public function modHealth(amount:Number){ bar.scaleX = (bar.scaleX + (amount / 100)); health = (health + amount); if (bar.scaleX >= 1){ bar.scaleX = 1; }; if (bar.scaleX < 0){ bar.scaleX = 0; }; } public function getHealth():Number{ return ((bar.scaleX * 100)); } public function setHealth(amount:Number){ health = amount; if (health > 100){ health = 100; }; if (health <= 0){ health = 0; }; bar.scaleX = (amount / 100); } } }//packageSection 30//Item_table (Item_table) package { import flash.display.*; public class Item_table extends MovieClip { public var destY:Number; public var elfHere:Boolean; public var inventory:int; public var gettingFixed:Boolean; public var type:String; public var blipArray:Array; public var blip:Blip; public var destX:Number; public function Item_table(_type:String){ var i:uint; super(); addFrameScript(0, frame1, 9, frame10, 19, frame20, 29, frame30, 39, frame40, 49, frame50, 59, frame60, 69, frame70, 79, frame80, 89, frame90); gettingFixed = false; elfHere = false; inventory = 4; type = _type; gotoAndStop(type); blipArray = new Array(); i = 0; while (i < 4) { blip = new Blip(); blipArray.push(blip); i++; }; } function frame70(){ stop(); } function frame80(){ stop(); } function frame90(){ stop(); } function frame10(){ stop(); } function frame1(){ stop(); } function frame20(){ stop(); } function frame30(){ stop(); } function frame40(){ stop(); } function frame50(){ stop(); } function frame60(){ stop(); } } }//packageSection 31//Kid (Kid) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Kid extends MovieClip { public var destination:Number; public var healthBar:HealthBar; public var anger:Number; public var approachingSanta:Boolean; public var speed:Number; public var sex:String; public var curWidth:int; private var myParent:Sprite; public var kidArray:Array; private var currentState:String; public var currentThought:Gift; public var waiting:Boolean; public var isFirst:Boolean; public var hasListener:Boolean; public var angry:Boolean; public var kid_mc:MovieClip; public var storeY:Number; public var thoughtDisplayed:Boolean; public var atSanta:Boolean; public var wishList:Array; public var patience:Number; public function Kid(_myArray:Array, _myParent:Sprite, _speed:Number){ super(); angry = false; myParent = _myParent; kidArray = _myArray; hasListener = false; isFirst = false; atSanta = false; anger = 0.06; approachingSanta = false; curWidth = 15; changeState("walking"); waiting = false; healthBar = new HealthBar((this.x - (curWidth / 2)), ((this.y - this.height) - 8), curWidth, 4); this.addChild(healthBar); patience = 100; setSex(); speed = _speed; addFrameScript(1, girlAtTwo); wishList = new Array(); if (!SantaLine(myParent).myParent.tutorialUp){ populateGifts(sex); }; thoughtDisplayed = false; } public function thoughtBubble(){ var gift:uint; var timer:Timer; gift = Math.floor((Math.random() * wishList.length)); thoughtDisplayed = true; timer = new Timer(2000, 1); timer.addEventListener(TimerEvent.TIMER, showGift); timer.start(); addChild(wishList[gift]); wishList[gift].y = -50; wishList[gift].gotoAndStop(wishList[gift].thumbNail); currentThought = wishList[gift]; } public function moveUp(){ if (!angry){ if (this.x > destination){ this.x = (this.x - speed); }; if ((this.x - destination) < (curWidth + 5)){ this.x = (this.x - (speed / 2)); if ((this.x - this.destination) < (curWidth / 2)){ this.x = this.destination; if ((((this.x == this.destination)) && (approachingSanta))){ atSanta = true; changeState("onLap"); approachingSanta = false; healthBar.visible = false; }; if ((((this.x == this.destination)) && ((currentState == "walking")))){ changeState("waiting"); }; }; }; } else { Leaving(); }; } private function populateGifts(_sex:String){ var amount:uint; var boyGifts:*; var i:uint; var gift:uint; var gft:Gift; var girlGifts:Array; var j:uint; amount = Math.ceil((Math.random() * 3)); if (_sex == "boy"){ boyGifts = new Array("football", "ninja", "game", "superhero", "bike"); i = 0; while (i < amount) { gift = Math.floor((Math.random() * boyGifts.length)); gft = new Gift(boyGifts[gift]); wishList.push(gft); boyGifts.splice(gift, 1); i++; }; } else { girlGifts = new Array("doll", "pony", "dress", "teddybear", "bike"); j = 0; while (j < amount) { gift = Math.floor((Math.random() * girlGifts.length)); gft = new Gift(girlGifts[gift]); wishList.push(gft); girlGifts.splice(gift, 1); j++; }; }; } private function setSex(){ var temp:uint; temp = Math.floor((Math.random() * 2)); if (temp == 0){ sex = "boy"; }; if (temp == 1){ sex = "girl"; }; gotoAndStop(sex); } public function finish(e:Event){ this.destination = -40; moveUp(); if ((this.x - this.destination) < 10){ removeEventListener(Event.ENTER_FRAME, finish); myParent.removeChild(this); }; } public function setPatience(mod:Number){ if (patience > 0){ patience = (patience + mod); healthBar.setHealth(patience); } else { angry = true; }; } public function Leaving(){ var i:uint; var kid:MovieClip; SantaLine(myParent).myParent.updateSad(9); i = (kidArray.length - 1); while (i > 0) { kid = kidArray[i]; if (kid != this){ kid.destination = kidArray[(i - 1)].destination; kid.changeState("walking"); }; i--; }; addEventListener(Event.ENTER_FRAME, leavingSanta); removeEventListener(Event.ENTER_FRAME, loop); destination = 560; changeState("angry"); scaleX = -1; y = (storeY - 10); isFirst = false; kidArray.shift(); } public function showGift(e:TimerEvent){ removeEventListener(TimerEvent.TIMER, showGift); thoughtDisplayed = false; if (numChildren > 2){ removeChild(currentThought); }; } public function changeState(newState:String){ currentState = newState; kid_mc.gotoAndPlay(currentState); if (currentState == "waiting"){ waiting = true; } else { waiting = false; }; } public function loop(){ var rand:int; if (((waiting) && (!(SantaLine(myParent).myParent.tutorialUp)))){ setPatience(-(anger)); }; if (((((!(thoughtDisplayed)) && (!(approachingSanta)))) && (!(atSanta)))){ rand = Math.floor((Math.random() * 500)); if (rand <= 0){ thoughtBubble(); }; }; } public function isDone(){ changeState("walking"); kidArray.shift(); addEventListener(Event.ENTER_FRAME, finish); } function girlAtTwo():void{ kid_mc.gotoAndStop("walking"); } public function leavingSanta(e:Event){ if (this.x < destination){ x = (x + speed); } else { removeEventListener(Event.ENTER_FRAME, leavingSanta); myParent.removeChild(this); }; } } }//packageSection 32//Line_Background (Line_Background) package { import flash.display.*; public dynamic class Line_Background extends MovieClip { public function Line_Background(){ super(); } } }//packageSection 33//NewgroundsAPI (NewgroundsAPI) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; public class NewgroundsAPI { public static const ADS_APPROVED:Number = 3; public static const bridge:Sprite = new Sprite(); private static const STAT_NEW_VERSION:Number = 4; private static const STAT_AUTHOR_SITE:Number = 2; private static const GATEWAY_URL:String = "http://www.ngads.com/gateway.php"; private static const NEWGROUNDS_URL:String = "http://www.newgrounds.com"; private static const STAT_CUSTOM_STATS:Number = 50; private static const STAT_MOVIE_VIEWS:Number = 1; private static const STAT_NEWGROUNDS:Number = 3; public static const NEW_VERSION:Number = 2; public static const DENY_HOST:Number = 1; private static var tracker_id:Number; private static var movie_options:Object = new Object(); private static var connected:Boolean; private static var custom_events:Object = new Object(); private static var host:String; private static var linked:Boolean; private static var events:Object = new Object(); private static var debug:Boolean; private static var version:String; private static var custom_links:Object = new Object(); public function NewgroundsAPI(){ super(); } public static function getNewVersionURL(){ return (((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + STAT_NEW_VERSION)); } private static function ReadGatewayData(params:Object){ var i:*; var _url:String; var target_url:*; var gateway_loader:URLLoader; for (i in params) { params[i] = unescape(params[i]); movie_options[i] = params[i]; }; if (params["settings_loaded"]){ SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage((("Movie Identified as '" + movie_options["movie_name"]) + "'")); if (movie_options["message"]){ SendMessage(movie_options["message"]); }; if (movie_options["ad_url"]){ SendMessage("Your movie has been approved to run Flash Ads"); if (events[ADS_APPROVED]){ var _local6 = events; _local6[ADS_APPROVED](movie_options["ad_url"]); } else { onAdsApproved(movie_options["ad_url"]); }; }; if (((movie_options["movie_version"]) && (!((String(movie_options["movie_version"]) == String(version)))))){ SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); if (events[NEW_VERSION]){ _local6 = events; _local6[NEW_VERSION]({version:movie_options["movie_version"], real_url:getMovieURL(), redirect_url:getNewVersionURL()}); } else { onNewVersionAvailable(movie_options["movie_version"], getMovieURL(), getNewVersionURL()); }; }; if (movie_options["deny_host"]){ SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); if (events[DENY_HOST]){ _local6 = events; _local6[DENY_HOST]({host:host, real_url:getMovieURL(), redirect_url:getNewVersionURL()}); } else { onDenyHost(host, getMovieURL(), getNewVersionURL()); }; }; if (movie_options["request_portal_url"]){ _url = bridge.root.loaderInfo.url; target_url = ((((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url)); gateway_loader = new URLLoader(new URLRequest(target_url)); }; if (events[69]){ _local6 = events; _local6[69](); }; } else { if (!movie_options["settings_loaded"]){ SendError("Could not establish connection to the API gateway."); }; }; } public static function setMovieVersion(movie_version){ if (!movie_version){ SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = String(movie_version); }; } public static function loadCustomLink(link_name:String){ if (!link_name){ SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else { if (!custom_links[link_name]){ SendError(("Attempted to open undefined custom link: " + link_name)); } else { SendLink(custom_links[link_name]); }; }; } public static function addCustomLink(stat_id:Number, stat_name:String){ if (!stat_id){ SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { if (!stat_name){ SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[stat_name] = (STAT_CUSTOM_STATS + stat_id); SendMessage(((("Created custom link " + stat_id) + ": ") + stat_name)); }; }; } public static function getMovieURL(){ if (movie_options["movie_url"]){ return (movie_options["movie_url"]); }; return ("Newgrounds.com"); } public static function debugMode(){ debug = true; } public static function getAdURL(){ return (movie_options["ad_url"]); } private static function SendStat(stat_id:Number, open_in_browser:Boolean, extra=null){ var target_url:*; var XML_Loaded:Function; var x:*; var request:URLRequest; var gateway_loader:URLLoader; var stat_id = stat_id; var open_in_browser = open_in_browser; var extra = extra; if (!tracker_id){ SendError("You must call NewgroundsAPI.connectMovie() with a valid movie id before using API features!"); } else { XML_Loaded = function (event:Event){ var XML_in:XML; var ngparams:Object; var XML_children:XMLList; var XML_child:XML; var param_name:*; var param_value:*; XML.ignoreWhitespace = true; XML_in = XML(event.target.data); ngparams = new Object(); XML_children = XML_in.children(); for each (XML_child in XML_children) { param_name = XML_child.localName(); param_value = XML_child.attribute("value"); if (param_value == Number(param_value)){ param_value = Number(param_value); }; ngparams[param_name] = param_value; }; ReadGatewayData(ngparams); }; target_url = (((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id) + addSeed()); if (extra){ for (x in extra) { target_url = (target_url + ((("&" + escape(x)) + "=") + escape(extra[x]))); }; }; if (debug){ target_url = (target_url + "&debug=1"); }; if (open_in_browser){ request = new URLRequest((target_url + addSeed())); navigateToURL(request, "_blank"); } else { gateway_loader = new URLLoader(new URLRequest((target_url + addSeed()))); gateway_loader.addEventListener(Event.COMPLETE, XML_Loaded); }; }; } public static function onAdsApproved(ad_url:String){ } public static function loadMySite(event:Event=null){ SendLink(STAT_AUTHOR_SITE); } private static function SendMessage(msg:String){ trace(("[NEWGROUNDS API] :: " + msg)); } public static function linkAPI(movie){ movie.addChild(bridge); linked = true; } public static function loadNewgrounds(event:Event=null, page:String=null){ var request:URLRequest; var extra:*; if (!tracker_id){ request = new URLRequest(((NEWGROUNDS_URL + "/") + page)); navigateToURL(request, "_blank"); } else { extra = null; if (page){ extra = new Object(); extra.page = page; }; SendLink(STAT_NEWGROUNDS, extra); }; } private static function SendLink(id, extra=null){ SendStat(id, true, extra); } public static function logCustomEvent(event_name:String){ if (!event_name){ SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else { if (!custom_events[event_name]){ SendError(("Attempted to log undefined custom event: " + event_name)); } else { SendEvent(custom_events[event_name]); }; }; } private static function SendError(msg:String){ trace(("[NEWGROUNDS API ERROR] :: " + msg)); } public static function addCustomEvent(stat_id:Number, stat_name:String){ if (!stat_id){ SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { if (!stat_name){ SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[stat_name] = (STAT_CUSTOM_STATS + stat_id); SendMessage(("Created custom event: " + stat_name)); }; }; } private static function addSeed(){ return (("&seed=" + Math.random())); } public static function addEventListener(event:Number, callback:Function){ events[event] = callback; } private static function SendEvent(id){ SendStat(id, false); } public static function onNewVersionAvailable(version:String, movie_url:String, redirect_url:String){ var sw:*; var sh:*; var tw:*; var th:*; var mg:*; var _root:*; var overlay:MovieClip; var overlay_x:*; var overlay_y:*; var close_x:*; var blankarea:TextField; var header:TextField; var header_format:TextFormat; var msgtext:TextField; var msgtext_format:TextFormat; var msgtext_link:TextFormat; var version = version; var movie_url = movie_url; var redirect_url = redirect_url; sw = bridge.stage.stageWidth; sh = bridge.stage.stageHeight; tw = 350; th = 160; mg = 20; _root = bridge.root; overlay = new MovieClip(); overlay.graphics.beginFill(0, 0.6); overlay.graphics.lineStyle(0, 0); overlay.graphics.drawRect(0, 0, sw, sh); overlay.graphics.endFill(); overlay_x = Math.round(((sw - tw) / 2)); overlay_y = Math.round(((sh - th) / 2)); overlay.graphics.beginFill(102); overlay.graphics.lineStyle(10, 0); overlay.graphics.drawRect((overlay_x - mg), (overlay_y - mg), (tw + mg), (th + mg)); overlay.graphics.endFill(); overlay.close = function (event:Event){ _root.removeChild(overlay); }; close_x = new MovieClip(); close_x.graphics.beginFill(0, 0.1); close_x.graphics.lineStyle(3, 22015); close_x.graphics.drawRect(0, 0, 16, 16); close_x.graphics.endFill(); close_x.graphics.moveTo(4, 4); close_x.graphics.lineTo(13, 13); close_x.graphics.moveTo(13, 4); close_x.graphics.lineTo(4, 13); close_x.x = ((overlay_x + tw) - 26); close_x.y = (overlay_y - 10); close_x.addEventListener(MouseEvent.CLICK, overlay.close); blankarea = new TextField(); blankarea.x = (overlay_x - mg); blankarea.y = (overlay_y - mg); blankarea.width = (tw + mg); blankarea.height = (th + mg); blankarea.selectable = false; header = new TextField(); header.width = tw; header.x = overlay_x; header.y = overlay_y; header.height = 100; header.selectable = false; header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.color = 0xFFFFFF; header_format.size = 20; header.defaultTextFormat = header_format; header.text = "New Version Available!"; msgtext = new TextField(); msgtext.x = overlay_x; msgtext.y = (overlay_y + 70); msgtext.width = tw; msgtext.height = 60; msgtext.selectable = false; msgtext_format = new TextFormat(); msgtext_format.font = "Arial"; msgtext_format.color = 0xFFFFFF; msgtext_format.size = 12; msgtext_format.bold = true; msgtext_link = new TextFormat(); msgtext_link.font = "Arial"; msgtext_link.color = 0xFFFF00; msgtext_link.size = 12; msgtext_link.bold = true; msgtext_link.url = redirect_url; msgtext_link.target = "_blank"; if (version){ version = ("Version " + version); } else { version = "A new version"; }; msgtext.defaultTextFormat = msgtext_format; msgtext.appendText((version + " is now available")); if (movie_url){ msgtext.appendText(" at:\n"); msgtext.defaultTextFormat = msgtext_link; msgtext.appendText(movie_url); } else { msgtext.appendText("!"); }; _root.addChild(overlay); overlay.addChild(blankarea); overlay.addChild(header); overlay.addChild(msgtext); overlay.addChild(close_x); } public static function onDenyHost(hostname:String, movie_url:String, redirect_url:String){ var sw:*; var sh:*; var tw:*; var th:*; var _root:*; var overlay:MovieClip; var blankarea:TextField; var header:TextField; var header_format:TextFormat; var msgtext:TextField; var msgtext_format:TextFormat; var msgtext_link:TextFormat; sw = bridge.stage.stageWidth; sh = bridge.stage.stageHeight; tw = 350; th = 160; _root = bridge.root; overlay = new MovieClip(); overlay.graphics.beginFill(0x660000); overlay.graphics.lineStyle(20, 0); overlay.graphics.drawRect(0, 0, sw, sh); overlay.graphics.endFill(); blankarea = new TextField(); blankarea.x = 0; blankarea.y = 0; blankarea.width = sw; blankarea.height = sh; blankarea.selectable = false; header = new TextField(); header.x = Math.round(((sw - tw) / 2)); header.y = Math.round(((sh - th) / 2.5)); header.width = tw; header.height = 100; header.selectable = false; header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.color = 0xFF0000; header_format.size = 38; header.defaultTextFormat = header_format; header.text = "ERROR!"; msgtext = new TextField(); msgtext.x = Math.round(((sw - tw) / 2)); msgtext.y = (Math.round(((sh - th) / 2.5)) + 80); msgtext.width = tw; msgtext.height = 80; msgtext.selectable = false; msgtext_format = new TextFormat(); msgtext_format.font = "Arial"; msgtext_format.color = 0xFFFFFF; msgtext_format.size = 12; msgtext_format.bold = true; msgtext_link = new TextFormat(); msgtext_link.font = "Arial"; msgtext_link.color = 0xFFFF00; msgtext_link.size = 12; msgtext_link.bold = true; msgtext_link.url = redirect_url; msgtext_link.target = "_blank"; msgtext.defaultTextFormat = msgtext_format; msgtext.appendText((("This movie has not been approved for use on " + hostname) + "\n")); msgtext.appendText("For an approved copy, please visit:\n"); msgtext.defaultTextFormat = msgtext_link; msgtext.appendText(movie_url); _root.addChild(overlay); overlay.addChild(blankarea); overlay.addChild(header); overlay.addChild(msgtext); } public static function connectMovie(id:Number){ var _url:String; var params:*; if (!id){ SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else { if (!linked){ SendError("Attempted to call MewgroundsAPI.connectMovie() without first calling NewgroundsAPI.linkAPI(this)"); } else { if (!tracker_id){ SendMessage("Connecting to API gateway..."); tracker_id = id; _url = bridge.root.loaderInfo.url; host = _url.split("/")[2].toLowerCase(); if (host.length < 1){ host = "localhost"; }; params = new Object(); SendEvent(STAT_MOVIE_VIEWS); }; }; }; } public static function isInstalled(){ return (true); } } }//packageSection 34//Santa (Santa) package { import flash.display.*; public dynamic class Santa extends MovieClip { public function Santa(){ super(); addFrameScript(99, frame100, 124, frame125, 164, frame165); } function frame165(){ gotoAndPlay("onLap"); } function frame100(){ gotoAndPlay("idle"); } function frame125(){ stop(); } } }//packageSection 35//SantaLine (SantaLine) package { import flash.events.*; import flash.display.*; public class SantaLine extends Sprite { public var spawnCounter:Number; public var santaOccupied:Boolean; public var spawnRate:Number; public var kidArray:Array; public var kidAtSanta:Kid; public var bg:Line_Background; public var speed:Number; public var myParent:MovieClip; public var santaCurrentState:String; public var santa:Santa; public var tempWishList:Array; public var go:Boolean; public function SantaLine(_myParent:MovieClip){ super(); speed = 3; spawnRate = 140; spawnCounter = 120; myParent = _myParent; bg = new Line_Background(); addChild(bg); santa = new Santa(); santa.x = 55; santa.y = 70; addChild(santa); go = false; santaOccupied = false; kidArray = new Array(); this.x = 0; this.y = 0; graphics.lineStyle(1, 0); graphics.drawRect(0, 0, 550, 80); addEventListener(Event.ENTER_FRAME, mainLoop); } public function mainLoop(e:Event){ var i:uint; if (go){ if (kidArray.length > 0){ kidArray[0].isFirst = true; if (!kidArray[0].hasListener){ kidArray[0].hasListener = true; kidArray[0].addEventListener(MouseEvent.CLICK, gotoSanta); }; }; i = 0; while (i < kidArray.length) { kidArray[i].moveUp(); kidArray[i].loop(); i++; }; if (santaOccupied){ if (((kidAtSanta.atSanta) && (!((santaCurrentState == "onLap"))))){ santaState("onLap"); myParent.onLap(kidAtSanta.wishList); }; }; if (!myParent.tutorialUp){ spawnCounter++; if (spawnCounter > spawnRate){ addKid(); spawnCounter = 0; spawnRate--; speed = (speed + 0.1); }; }; }; } public function santaState(newState:String){ santaCurrentState = newState; santa.gotoAndPlay(santaCurrentState); } public function addKid(){ var kid:Kid; go = true; if (kidArray.length < 20){ kid = new Kid(kidArray, this, speed); kid.y = 70; kid.x = 560; kid.storeY = kid.y; kid.destination = (125 + ((kid.curWidth + 6) * kidArray.length)); kidArray.push(kid); this.addChild(kid); }; } public function gotoSanta(e:MouseEvent){ var i:uint; var kid:MovieClip; santaState("beckon"); if (((e.currentTarget.isFirst) && (!(santaOccupied)))){ i = (kidArray.length - 1); while (i > 0) { kid = kidArray[i]; kid.destination = kidArray[(i - 1)].destination; kid.moveUp(); kid.changeState("walking"); i--; }; myParent.tutorialGo(); myParent.canClickTute = true; santaOccupied = true; kidAtSanta = kidArray[0]; kidArray[0].isFirst = false; kidArray[0].destination = 65; kidArray[0].changeState("walking"); kidArray[0].moveUp(); kidArray[0].approachingSanta = true; kidArray[0].removeEventListener(MouseEvent.CLICK, gotoSanta); }; } } }//packageSection 36//Screen (Screen) package { import flash.display.*; public dynamic class Screen extends MovieClip { public function Screen(){ super(); } } }//packageSection 37//Screen_Cover (Screen_Cover) package { import flash.display.*; public dynamic class Screen_Cover extends MovieClip { public function Screen_Cover(){ super(); } } }//packageSection 38//SkipTute (SkipTute) package { import flash.display.*; public dynamic class SkipTute extends MovieClip { public function SkipTute(){ super(); } } }//packageSection 39//Tool (Tool) package { import flash.display.*; public dynamic class Tool extends MovieClip { public function Tool(){ super(); } } }//packageSection 40//ToolSound (ToolSound) package { import flash.media.*; public dynamic class ToolSound extends Sound { public function ToolSound(){ super(); } } }//packageSection 41//Tutorial (Tutorial) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Tutorial extends MovieClip { public var gft:Gift; public function Tutorial(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18); } function frame10(){ stop(); } function frame14(){ stop(); MovieClip(root).controller.canClickTute = false; } function frame18(){ stop(); MovieClip(root).controller.TutorialOver(); } function frame12(){ stop(); } function frame3(){ stop(); MovieClip(root).controller.santaLine.addKid(); gft = new Gift("bike"); MovieClip(root).controller.santaLine.kidArray[0].wishList.push(gft); } function frame6(){ stop(); } function frame7(){ stop(); MovieClip(root).controller.canClickTute = false; } function frame1(){ stop(); } function frame13(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); MovieClip(root).controller.canClickTute = false; } function frame9(){ stop(); MovieClip(root).controller.canClickTute = false; } function frame16(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } function frame15(){ stop(); } function frame17(){ stop(); } function frame11(){ stop(); MovieClip(root).controller.canClickTute = false; } } }//package
Library Items
Symbol 1 Graphic | Used by:Timeline | |
Symbol 2 Graphic | Used by:77 | |
Symbol 3 Graphic | Used by:77 | |
Symbol 4 Graphic | Used by:5 | |
Symbol 5 MovieClip | Uses:4 | Used by:77 |
Symbol 6 Graphic | Used by:8 | |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip | Uses:6 7 | Used by:77 |
Symbol 9 Graphic | Used by:77 | |
Symbol 10 Graphic | Used by:77 | |
Symbol 11 Graphic | Used by:77 | |
Symbol 12 Graphic | Used by:19 65 | |
Symbol 13 Graphic | Used by:19 65 | |
Symbol 14 Graphic | Used by:19 65 | |
Symbol 15 Graphic | Used by:19 65 | |
Symbol 16 Graphic | Used by:19 65 | |
Symbol 17 Graphic | Used by:19 65 | |
Symbol 18 Graphic | Used by:19 65 | |
Symbol 19 MovieClip | Uses:12 13 14 15 16 17 18 | Used by:77 |
Symbol 20 Graphic | Used by:77 | |
Symbol 21 Graphic | Used by:60 | |
Symbol 22 Graphic | Used by:23 | |
Symbol 23 MovieClip | Uses:22 | Used by:60 |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:24 | Used by:55 60 |
Symbol 26 Graphic | Used by:60 | |
Symbol 27 Graphic | Used by:60 | |
Symbol 28 Graphic | Used by:60 | |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 MovieClip | Uses:29 | Used by:51 |
Symbol 31 Graphic | Used by:35 | |
Symbol 32 Graphic | Used by:35 | |
Symbol 33 Graphic | Used by:34 | |
Symbol 34 MovieClip | Uses:33 | Used by:35 38 |
Symbol 35 MovieClip | Uses:31 32 34 | Used by:49 |
Symbol 36 Graphic | Used by:38 | |
Symbol 37 Graphic | Used by:38 | |
Symbol 38 MovieClip | Uses:36 37 34 | Used by:49 |
Symbol 39 Graphic | Used by:42 | |
Symbol 40 Graphic | Used by:42 45 | |
Symbol 41 Graphic | Used by:42 | |
Symbol 42 MovieClip | Uses:39 40 41 | Used by:46 |
Symbol 43 Graphic | Used by:45 | |
Symbol 44 Graphic | Used by:45 | |
Symbol 45 MovieClip | Uses:43 40 44 | Used by:46 |
Symbol 46 MovieClip {Pinkslip_Christmas_fla.Timeline_15} | Uses:42 45 | Used by:49 |
Symbol 47 Graphic | Used by:48 | |
Symbol 48 MovieClip | Uses:47 | Used by:49 |
Symbol 49 MovieClip {Pinkslip_Christmas_fla.Timeline_11} | Uses:35 38 46 48 | Used by:50 |
Symbol 50 MovieClip {Pinkslip_Christmas_fla.Timeline_10} | Uses:49 | Used by:51 |
Symbol 51 MovieClip {Pinkslip_Christmas_fla.Timeline_8} | Uses:30 50 | Used by:60 |
Symbol 52 Graphic | Used by:53 | |
Symbol 53 MovieClip | Uses:52 | Used by:60 |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip {Pinkslip_Christmas_fla.Timeline_20} | Uses:54 25 | Used by:60 |
Symbol 56 Graphic | Used by:57 | |
Symbol 57 MovieClip | Uses:56 | Used by:58 |
Symbol 58 MovieClip | Uses:57 | Used by:59 |
Symbol 59 MovieClip | Uses:58 | Used by:60 |
Symbol 60 MovieClip {Pinkslip_Christmas_fla.Timeline_5} | Uses:21 23 25 26 27 28 51 53 55 59 | Used by:77 |
Symbol 61 Graphic | Used by:77 102 | |
Symbol 62 Graphic | Used by:63 108 208 269 | |
Symbol 63 Button | Uses:62 | Used by:77 |
Symbol 64 Graphic | Used by:65 | |
Symbol 65 MovieClip {Pinkslip_Christmas_fla.Timeline_25} | Uses:12 13 14 15 16 17 18 64 | Used by:77 |
Symbol 66 ShapeTweening | Used by:77 | |
Symbol 67 Graphic | Used by:77 | |
Symbol 68 ShapeTweening | Used by:77 | |
Symbol 69 ShapeTweening | Used by:77 | |
Symbol 70 Graphic | Used by:77 | |
Symbol 71 Graphic | Used by:76 | |
Symbol 72 Graphic | Used by:75 76 | |
Symbol 73 Graphic | Used by:76 | |
Symbol 74 Graphic | Used by:75 76 | |
Symbol 75 MovieClip | Uses:74 72 | Used by:76 |
Symbol 76 Button | Uses:71 72 73 75 74 | Used by:77 |
Symbol 77 MovieClip {Pinkslip_Christmas_fla.Timeline_1} | Uses:2 3 5 8 9 10 11 19 20 60 61 63 65 66 67 68 69 70 76 | Used by:Timeline |
Symbol 78 Graphic | Used by:Timeline | |
Symbol 79 Graphic | Used by:167 186 200 Timeline | |
Symbol 80 Graphic | Used by:200 Timeline | |
Symbol 81 Graphic | Used by:200 Timeline | |
Symbol 82 Graphic | Used by:200 Timeline | |
Symbol 83 Graphic | Used by:200 Timeline | |
Symbol 84 Graphic | Used by:200 Timeline | |
Symbol 85 Graphic | Used by:200 Timeline | |
Symbol 86 Graphic | Used by:135 Timeline | |
Symbol 87 Graphic | Used by:135 Timeline | |
Symbol 88 Graphic | Used by:135 Timeline | |
Symbol 89 Graphic | Used by:135 Timeline | |
Symbol 90 Graphic | Used by:135 Timeline | |
Symbol 91 Graphic | Used by:135 Timeline | |
Symbol 92 Graphic | Used by:135 Timeline | |
Symbol 93 Font | Used by:94 96 111 273 274 275 | |
Symbol 94 Text | Uses:93 | Used by:Timeline |
Symbol 95 Graphic | Used by:Timeline | |
Symbol 96 Text | Uses:93 | Used by:Timeline |
Symbol 97 Graphic | Used by:109 | |
Symbol 98 Font | Used by:99 | |
Symbol 99 Text | Uses:98 | Used by:102 |
Symbol 100 Graphic | Used by:102 | |
Symbol 101 Graphic | Used by:102 | |
Symbol 102 Button | Uses:99 61 100 101 | Used by:109 |
Symbol 103 Graphic | Used by:109 | |
Symbol 104 Graphic | Used by:109 | |
Symbol 105 Graphic | Used by:107 | |
Symbol 106 Graphic | Used by:107 | |
Symbol 107 Button | Uses:105 106 | Used by:108 |
Symbol 108 MovieClip {Pinkslip_Christmas_fla.NG_TANK_30} | Uses:62 107 | Used by:109 |
Symbol 109 MovieClip {Pinkslip_Christmas_fla.NG_AD_OBJECT_28} | Uses:97 102 103 104 108 | Used by:Timeline |
Symbol 110 Graphic | Used by:112 278 | |
Symbol 111 Text | Uses:93 | Used by:112 |
Symbol 112 MovieClip | Uses:110 111 | Used by:Timeline |
Symbol 113 Graphic | Used by:116 | |
Symbol 114 Graphic | Used by:116 | |
Symbol 115 Graphic | Used by:116 | |
Symbol 116 MovieClip {Blip} | Uses:113 114 115 | Used by:253 |
Symbol 117 Graphic | Used by:127 | |
Symbol 118 Graphic | Used by:127 151 | |
Symbol 119 Graphic | Used by:127 | |
Symbol 120 Graphic | Used by:127 | |
Symbol 121 Graphic | Used by:127 151 246 | |
Symbol 122 Graphic | Used by:127 | |
Symbol 123 Graphic | Used by:127 151 246 | |
Symbol 124 Graphic | Used by:127 | |
Symbol 125 Graphic | Used by:127 151 | |
Symbol 126 Graphic | Used by:127 151 | |
Symbol 127 MovieClip {Cart} | Uses:117 118 119 120 121 122 123 124 125 126 | Used by:253 |
Symbol 128 Graphic | Used by:134 | |
Symbol 129 Graphic | Used by:134 | |
Symbol 130 Graphic | Used by:134 | |
Symbol 131 Graphic | Used by:134 | |
Symbol 132 Graphic | Used by:134 | |
Symbol 133 Graphic | Used by:134 | |
Symbol 134 MovieClip {Calendar} | Uses:128 129 130 131 132 133 | Used by:253 Timeline |
Symbol 135 MovieClip {Elf} | Uses:86 87 88 89 90 91 92 | Used by:253 |
Symbol 136 Graphic | Used by:151 | |
Symbol 137 Graphic | Used by:151 | |
Symbol 138 Graphic | Used by:151 | |
Symbol 139 Graphic | Used by:151 | |
Symbol 140 Graphic | Used by:151 | |
Symbol 141 Graphic | Used by:151 | |
Symbol 142 Graphic | Used by:151 | |
Symbol 143 Graphic | Used by:151 | |
Symbol 144 Graphic | Used by:151 | |
Symbol 145 Graphic | Used by:151 | |
Symbol 146 Graphic | Used by:151 | |
Symbol 147 Graphic | Used by:151 | |
Symbol 148 Graphic | Used by:151 | |
Symbol 149 Graphic | Used by:151 | |
Symbol 150 Graphic | Used by:151 246 | |
Symbol 151 MovieClip {Gift} | Uses:136 137 138 139 140 141 142 143 144 145 146 118 147 148 121 149 123 125 150 126 | Used by:253 |
Symbol 152 Graphic | Used by:153 | |
Symbol 153 MovieClip {Health_Cover} | Uses:152 | Used by:253 |
Symbol 154 Graphic | Used by:167 | |
Symbol 155 Graphic | Used by:167 | |
Symbol 156 Graphic | Used by:167 | |
Symbol 157 Graphic | Used by:167 | |
Symbol 158 Graphic | Used by:167 | |
Symbol 159 Graphic | Used by:167 | |
Symbol 160 Graphic | Used by:167 | |
Symbol 161 Graphic | Used by:167 | |
Symbol 162 Graphic | Used by:167 | |
Symbol 163 Graphic | Used by:167 | |
Symbol 164 Graphic | Used by:167 | |
Symbol 165 Graphic | Used by:167 | |
Symbol 166 Graphic | Used by:167 | |
Symbol 167 MovieClip {Pinkslip_Christmas_fla.boy_41} | Uses:79 154 155 156 157 158 159 160 161 162 163 164 165 166 | Used by:187 |
Symbol 168 Graphic | Used by:186 | |
Symbol 169 Graphic | Used by:186 | |
Symbol 170 Graphic | Used by:186 | |
Symbol 171 Graphic | Used by:186 | |
Symbol 172 Graphic | Used by:186 | |
Symbol 173 Graphic | Used by:186 | |
Symbol 174 Graphic | Used by:186 | |
Symbol 175 Graphic | Used by:186 | |
Symbol 176 Graphic | Used by:186 | |
Symbol 177 Graphic | Used by:186 | |
Symbol 178 Graphic | Used by:186 | |
Symbol 179 Graphic | Used by:186 | |
Symbol 180 Graphic | Used by:186 | |
Symbol 181 Graphic | Used by:186 | |
Symbol 182 Graphic | Used by:186 | |
Symbol 183 Graphic | Used by:186 | |
Symbol 184 Graphic | Used by:186 | |
Symbol 185 Graphic | Used by:186 | |
Symbol 186 MovieClip {Pinkslip_Christmas_fla.girl_42} | Uses:79 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | Used by:187 |
Symbol 187 MovieClip {Kid} | Uses:167 186 | Used by:253 |
Symbol 188 Graphic | Used by:189 | |
Symbol 189 MovieClip {Line_Background} | Uses:188 | Used by:253 |
Symbol 190 Graphic | Used by:200 | |
Symbol 191 Graphic | Used by:200 | |
Symbol 192 Graphic | Used by:200 | |
Symbol 193 Graphic | Used by:200 | |
Symbol 194 Graphic | Used by:200 | |
Symbol 195 Graphic | Used by:200 | |
Symbol 196 Graphic | Used by:200 | |
Symbol 197 Graphic | Used by:200 | |
Symbol 198 Graphic | Used by:200 | |
Symbol 199 Graphic | Used by:200 | |
Symbol 200 MovieClip {Santa} | Uses:79 80 81 82 83 84 85 190 191 192 193 194 195 196 197 198 199 | Used by:253 |
Symbol 201 Graphic | Used by:202 | |
Symbol 202 MovieClip {Screen} | Uses:201 | Used by:253 |
Symbol 203 Graphic | Used by:204 | |
Symbol 204 MovieClip | Uses:203 | Used by:205 253 |
Symbol 205 MovieClip {Screen_Cover} | Uses:204 | Used by:253 |
Symbol 206 Font | Used by:207 215 220 223 226 230 232 234 | |
Symbol 207 Text | Uses:206 | Used by:208 |
Symbol 208 MovieClip {SkipTute} | Uses:62 207 | Used by:253 |
Symbol 209 Graphic | Used by:210 | |
Symbol 210 MovieClip {Tool} | Uses:209 | Used by:253 |
Symbol 211 Graphic | Used by:236 | |
Symbol 212 Font | Used by:214 216 217 218 219 221 222 225 228 229 231 233 235 | |
Symbol 213 Font | Used by:214 218 219 | |
Symbol 214 Text | Uses:212 213 | Used by:236 |
Symbol 215 Text | Uses:206 | Used by:236 |
Symbol 216 Text | Uses:212 | Used by:236 |
Symbol 217 Text | Uses:212 | Used by:236 |
Symbol 218 Text | Uses:212 213 | Used by:236 |
Symbol 219 Text | Uses:212 213 | Used by:236 |
Symbol 220 Text | Uses:206 | Used by:236 |
Symbol 221 Text | Uses:212 | Used by:236 |
Symbol 222 Text | Uses:212 | Used by:236 |
Symbol 223 Text | Uses:206 | Used by:236 |
Symbol 224 Graphic | Used by:236 | |
Symbol 225 Text | Uses:212 | Used by:236 |
Symbol 226 Text | Uses:206 | Used by:236 |
Symbol 227 Graphic | Used by:236 | |
Symbol 228 Text | Uses:212 | Used by:236 |
Symbol 229 Text | Uses:212 | Used by:236 |
Symbol 230 Text | Uses:206 | Used by:236 |
Symbol 231 Text | Uses:212 | Used by:236 |
Symbol 232 Text | Uses:206 | Used by:236 |
Symbol 233 Text | Uses:212 | Used by:236 |
Symbol 234 Text | Uses:206 | Used by:236 |
Symbol 235 Text | Uses:212 | Used by:236 |
Symbol 236 MovieClip {Tutorial} | Uses:211 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | Used by:253 |
Symbol 237 Graphic | Used by:246 | |
Symbol 238 Graphic | Used by:246 | |
Symbol 239 Graphic | Used by:246 | |
Symbol 240 Graphic | Used by:246 | |
Symbol 241 Graphic | Used by:246 | |
Symbol 242 Graphic | Used by:246 | |
Symbol 243 Graphic | Used by:246 | |
Symbol 244 Graphic | Used by:246 | |
Symbol 245 Graphic | Used by:246 | |
Symbol 246 MovieClip {Item_table} | Uses:237 238 239 240 121 241 242 123 150 243 244 245 | Used by:253 |
Symbol 247 Sound {BooSound} | Used by:253 | |
Symbol 248 Sound {CheerSound} | Used by:253 | |
Symbol 249 Sound {FinishSound} | Used by:253 | |
Symbol 250 Sound {Brink} | Used by:253 | |
Symbol 251 Sound {CartSound} | Used by:253 | |
Symbol 252 Sound {ToolSound} | Used by:253 | |
Symbol 253 MovieClip {Pinkslip_Christmas_fla.DummyClip_33} | Uses:116 127 134 135 151 153 187 189 200 202 205 208 204 210 236 246 247 248 249 250 251 252 | Used by:Timeline |
Symbol 254 Graphic | Used by:Timeline | |
Symbol 255 Graphic | Used by:269 | |
Symbol 256 Graphic | Used by:269 | |
Symbol 257 Graphic | Used by:269 | |
Symbol 258 Graphic | Used by:269 | |
Symbol 259 Graphic | Used by:269 | |
Symbol 260 Graphic | Used by:269 | |
Symbol 261 Graphic | Used by:269 | |
Symbol 262 Graphic | Used by:269 | |
Symbol 263 Graphic | Used by:269 | |
Symbol 264 Graphic | Used by:269 | |
Symbol 265 Graphic | Used by:269 | |
Symbol 266 Graphic | Used by:269 | |
Symbol 267 Graphic | Used by:269 | |
Symbol 268 Graphic | Used by:269 | |
Symbol 269 MovieClip {Complete_button} | Uses:255 256 62 257 258 259 260 261 262 263 264 265 266 267 268 | Used by:Timeline |
Symbol 270 Graphic | Used by:271 | |
Symbol 271 MovieClip {AssemblyTable} | Uses:270 | Used by:Timeline |
Symbol 272 Graphic | Used by:Timeline | |
Symbol 273 Text | Uses:93 | Used by:Timeline |
Symbol 274 Text | Uses:93 | Used by:Timeline |
Symbol 275 Text | Uses:93 | Used by:Timeline |
Symbol 276 Font | Used by:277 279 280 | |
Symbol 277 EditableText | Uses:276 | Used by:278 |
Symbol 278 Button | Uses:110 277 | Used by:Timeline |
Symbol 279 EditableText | Uses:276 | Used by:Timeline |
Symbol 280 EditableText | Uses:276 | Used by:Timeline |
Instance Names
"playButton" | Frame 2 | Symbol 112 MovieClip |
"complete" | Frame 4 | Symbol 269 MovieClip {Complete_button} |
"assembly" | Frame 4 | Symbol 271 MovieClip {AssemblyTable} |
"clock" | Frame 4 | Symbol 134 MovieClip {Calendar} |
"replay" | Frame 5 | Symbol 278 Button |
"happyBox" | Frame 5 | Symbol 279 EditableText |
"joyBox" | Frame 5 | Symbol 280 EditableText |
"mc3" | Symbol 46 MovieClip {Pinkslip_Christmas_fla.Timeline_15} Frame 1 | Symbol 42 MovieClip |
"mc0" | Symbol 46 MovieClip {Pinkslip_Christmas_fla.Timeline_15} Frame 1 | Symbol 42 MovieClip |
"mc2" | Symbol 46 MovieClip {Pinkslip_Christmas_fla.Timeline_15} Frame 1 | Symbol 45 MovieClip |
"mc1" | Symbol 46 MovieClip {Pinkslip_Christmas_fla.Timeline_15} Frame 1 | Symbol 45 MovieClip |
"mc2" | Symbol 49 MovieClip {Pinkslip_Christmas_fla.Timeline_11} Frame 1 | Symbol 35 MovieClip |
"mc1" | Symbol 49 MovieClip {Pinkslip_Christmas_fla.Timeline_11} Frame 1 | Symbol 38 MovieClip |
"mc0" | Symbol 49 MovieClip {Pinkslip_Christmas_fla.Timeline_11} Frame 1 | Symbol 46 MovieClip {Pinkslip_Christmas_fla.Timeline_15} |
"mc0" | Symbol 50 MovieClip {Pinkslip_Christmas_fla.Timeline_10} Frame 1 | Symbol 49 MovieClip {Pinkslip_Christmas_fla.Timeline_11} |
"mc1" | Symbol 51 MovieClip {Pinkslip_Christmas_fla.Timeline_8} Frame 1 | Symbol 30 MovieClip |
"mc0" | Symbol 51 MovieClip {Pinkslip_Christmas_fla.Timeline_8} Frame 1 | Symbol 50 MovieClip {Pinkslip_Christmas_fla.Timeline_10} |
"mc0" | Symbol 55 MovieClip {Pinkslip_Christmas_fla.Timeline_20} Frame 1 | Symbol 25 MovieClip |
"mc1" | Symbol 60 MovieClip {Pinkslip_Christmas_fla.Timeline_5} Frame 1 | Symbol 23 MovieClip |
"mc0" | Symbol 60 MovieClip {Pinkslip_Christmas_fla.Timeline_5} Frame 1 | Symbol 25 MovieClip |
"mc4" | Symbol 60 MovieClip {Pinkslip_Christmas_fla.Timeline_5} Frame 1 | Symbol 51 MovieClip {Pinkslip_Christmas_fla.Timeline_8} |
"mc2" | Symbol 60 MovieClip {Pinkslip_Christmas_fla.Timeline_5} Frame 1 | Symbol 53 MovieClip |
"mc5" | Symbol 60 MovieClip {Pinkslip_Christmas_fla.Timeline_5} Frame 1 | Symbol 55 MovieClip {Pinkslip_Christmas_fla.Timeline_20} |
"mc3" | Symbol 60 MovieClip {Pinkslip_Christmas_fla.Timeline_5} Frame 1 | Symbol 59 MovieClip |
"bar" | Symbol 77 MovieClip {Pinkslip_Christmas_fla.Timeline_1} Frame 1 | Symbol 5 MovieClip |
"ngButton" | Symbol 77 MovieClip {Pinkslip_Christmas_fla.Timeline_1} Frame 1 | Symbol 63 Button |
"playButton" | Symbol 77 MovieClip {Pinkslip_Christmas_fla.Timeline_1} Frame 47 | Symbol 76 Button |
"NG_Logo" | Symbol 108 MovieClip {Pinkslip_Christmas_fla.NG_TANK_30} Frame 1 | Symbol 107 Button |
"NG_Button" | Symbol 109 MovieClip {Pinkslip_Christmas_fla.NG_AD_OBJECT_28} Frame 1 | Symbol 102 Button |
"ng_ad" | Symbol 109 MovieClip {Pinkslip_Christmas_fla.NG_AD_OBJECT_28} Frame 1 | Symbol 108 MovieClip {Pinkslip_Christmas_fla.NG_TANK_30} |
"kid_mc" | Symbol 187 MovieClip {Kid} Frame 1 | Symbol 167 MovieClip {Pinkslip_Christmas_fla.boy_41} |
"kid_mc" | Symbol 187 MovieClip {Kid} Frame 2 | Symbol 186 MovieClip {Pinkslip_Christmas_fla.girl_42} |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
EnableDebugger2 (64) | Timeline Frame 1 | 31 bytes "..$1$vC$zbNOsyd.QpnE.BOos9qoo/." |
Labels
"loaded" | Symbol 77 MovieClip {Pinkslip_Christmas_fla.Timeline_1} Frame 2 |
"green" | Symbol 116 MovieClip {Blip} Frame 1 |
"red" | Symbol 116 MovieClip {Blip} Frame 10 |
"blank" | Symbol 127 MovieClip {Cart} Frame 1 |
"football" | Symbol 127 MovieClip {Cart} Frame 10 |
"ninja" | Symbol 127 MovieClip {Cart} Frame 20 |
"superhero" | Symbol 127 MovieClip {Cart} Frame 30 |
"game" | Symbol 127 MovieClip {Cart} Frame 40 |
"bike" | Symbol 127 MovieClip {Cart} Frame 50 |
"doll" | Symbol 127 MovieClip {Cart} Frame 60 |
"dress" | Symbol 127 MovieClip {Cart} Frame 70 |
"pony" | Symbol 127 MovieClip {Cart} Frame 80 |
"teddybear" | Symbol 127 MovieClip {Cart} Frame 89 |
"idle" | Symbol 135 MovieClip {Elf} Frame 1 |
"walking" | Symbol 135 MovieClip {Elf} Frame 25 |
"football_thumb" | Symbol 151 MovieClip {Gift} Frame 1 |
"ninja_thumb" | Symbol 151 MovieClip {Gift} Frame 8 |
"bike_thumb" | Symbol 151 MovieClip {Gift} Frame 13 |
"game_thumb" | Symbol 151 MovieClip {Gift} Frame 18 |
"superhero_thumb" | Symbol 151 MovieClip {Gift} Frame 24 |
"doll_thumb" | Symbol 151 MovieClip {Gift} Frame 32 |
"pony_thumb" | Symbol 151 MovieClip {Gift} Frame 36 |
"dress_thumb" | Symbol 151 MovieClip {Gift} Frame 41 |
"teddybear_thumb" | Symbol 151 MovieClip {Gift} Frame 46 |
"football_icon" | Symbol 151 MovieClip {Gift} Frame 52 |
"ninja_icon" | Symbol 151 MovieClip {Gift} Frame 60 |
"bike_icon" | Symbol 151 MovieClip {Gift} Frame 68 |
"game_icon" | Symbol 151 MovieClip {Gift} Frame 75 |
"superhero_icon" | Symbol 151 MovieClip {Gift} Frame 83 |
"doll_icon" | Symbol 151 MovieClip {Gift} Frame 92 |
"pony_icon" | Symbol 151 MovieClip {Gift} Frame 99 |
"dress_icon" | Symbol 151 MovieClip {Gift} Frame 108 |
"teddybear_icon" | Symbol 151 MovieClip {Gift} Frame 116 |
"blank" | Symbol 151 MovieClip {Gift} Frame 126 |
"waiting" | Symbol 167 MovieClip {Pinkslip_Christmas_fla.boy_41} Frame 1 |
"walking" | Symbol 167 MovieClip {Pinkslip_Christmas_fla.boy_41} Frame 120 |
"onLap" | Symbol 167 MovieClip {Pinkslip_Christmas_fla.boy_41} Frame 133 |
"angry" | Symbol 167 MovieClip {Pinkslip_Christmas_fla.boy_41} Frame 151 |
"waiting" | Symbol 186 MovieClip {Pinkslip_Christmas_fla.girl_42} Frame 1 |
"walking" | Symbol 186 MovieClip {Pinkslip_Christmas_fla.girl_42} Frame 120 |
"onLap" | Symbol 186 MovieClip {Pinkslip_Christmas_fla.girl_42} Frame 129 |
"angry" | Symbol 186 MovieClip {Pinkslip_Christmas_fla.girl_42} Frame 151 |
"boy" | Symbol 187 MovieClip {Kid} Frame 1 |
"girl" | Symbol 187 MovieClip {Kid} Frame 2 |
"idle" | Symbol 200 MovieClip {Santa} Frame 1 |
"beckon" | Symbol 200 MovieClip {Santa} Frame 101 |
"onLap" | Symbol 200 MovieClip {Santa} Frame 126 |
"football" | Symbol 246 MovieClip {Item_table} Frame 1 |
"ninja" | Symbol 246 MovieClip {Item_table} Frame 10 |
"game" | Symbol 246 MovieClip {Item_table} Frame 20 |
"superhero" | Symbol 246 MovieClip {Item_table} Frame 30 |
"bike" | Symbol 246 MovieClip {Item_table} Frame 40 |
"doll" | Symbol 246 MovieClip {Item_table} Frame 50 |
"dress" | Symbol 246 MovieClip {Item_table} Frame 60 |
"pony" | Symbol 246 MovieClip {Item_table} Frame 70 |
"teddybear" | Symbol 246 MovieClip {Item_table} Frame 80 |
"finish" | Symbol 246 MovieClip {Item_table} Frame 90 |
|