STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228118
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/34637602?noj=FRM34637602-11DC" width="1" height="1"></div>

SuperSnackCruncher-wip.swf

This is the info page for
Flash #142723

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


ActionScript [AS1/AS2]
Frame 1
Set("@estr", function () { return(flash.Boot.__string_rec(_local1, "xx")); }); var _local1 = new Object(); flash = _local1; var _local2 = _global.flash; for (_reg0 in _local2) { _local1[_reg0] = _local2[_reg0]; } ((GDK = function () { })).__name__ = ["GDK"]; _local1 = GDK /*register */.prototype; _local1.__class__ = GDK /*register */; GDK /*register */.deltaTime = function (max) { if (max == null) { max = 0.5; } var now = haxe.Timer.stamp(); var dt = (now - GDK.lastUpdate); if (dt > max) { dt = max; } GDK.lastUpdate = now; return(dt); }; GDK /*register */.setMainLoop = function (loop, framerate) { if (framerate == null) { framerate = 60; } flash.Lib._root.onEnterFrame = loop; }; GDK /*register */.mouseClick = function () { if (GDK.mAdded == false) { GDK.mAdded = true; flash.Mouse.addListener({onMouseDown:function () { GDK.mOn = true; }, onMouseUp:function () { GDK.mOn = false; }}); } return(GDK.mOn); }; GDK /*register */.mouseX = function () { return(flash.Lib._root._xmouse); }; GDK /*register */.mouseY = function () { return(flash.Lib._root._ymouse); }; GDK /*register */.loadSound = function (name, number) { var snd = (new flash.Sound()); snd.attachSound(name); GDK.sounds[number] = snd; }; GDK /*register */.playSound = function (number) { var snd = GDK.sounds[number]; snd.onSoundComplete = null; snd.start(); }; GDK /*register */.loopSound = function (number) { var snd = GDK.sounds[number]; snd.onSoundComplete = function () { snd.start(); }; snd.start(); }; GDK /*register */.stopSound = function (number) { var snd = GDK.sounds[number]; snd.onSoundComplete = null; snd.stop(); }; GDK /*register */.loadImage = function (name, number) { GDK.images[number] = name; }; GDK /*register */.pasteImage = function (number, positionX, positionY, width, height, sX, sY, sWidth, sHeight, a) { var symb = flash.Lib._root.attachMovie(GDK.images[number], "clip" + GDK.clipnum, GDK.clipnum, {_x:positionX, _y:positionY}); var clipnum1 = GDK.clipnum; var usealpha = 255; GDK.clipnum++; if (!((width != null) && (height != null))) { if (width != null) { usealpha = width; } } else { var symw = symb._width; var symh = symb._height; if (!((((sX != null) && (sY != null)) && (sWidth != null)) && (sHeight != null))) { symb._xscale = (width / symw) * 100; symb._yscale = (height / symh) * 100; if (sX != null) { usealpha = sX; } } else { sWidth = Math.abs(sWidth); sHeight = Math.abs(sHeight); var symb2 = flash.Lib._root.createEmptyMovieClip("clip" + GDK.clipnum, GDK.clipnum); symb2.beginFill(16777215); symb2.moveTo(0, 0); symb2.lineTo(width, 0); symb2.lineTo(width, height); symb2.lineTo(0, height); symb2.endFill(); symb2._x = positionX; symb2._y = positionY; var tscX = (((symw / sWidth) * width) / symw); var tscY = (((symh / sHeight) * height) / symh); symb._x = positionX - (sX * tscX); symb._y = positionY - (sY * tscY); symb._xscale = tscX * 100; symb._yscale = tscY * 100; symb.setMask(symb2); GDK.instances[GDK.clipnum] = symb2; GDK.clipnum++; if (a != null) { usealpha = a; } } } symb._alpha = (usealpha * 100) / 255; GDK.instances[clipnum1] = symb; }; GDK /*register */.box = function (x1, y1, x2, y2, r, g, b, a) { if (r == null) { r = 255; } if (g == null) { g = 255; } if (b == null) { b = 255; } if (a == null) { a = 255; } var symb = flash.Lib._root.createEmptyMovieClip("clip" + GDK.clipnum, GDK.clipnum); symb.beginFill(((Math.floor(r) << 16) | (Math.floor(g) << 8)) | Math.floor(b), (a * 100) / 255); symb.moveTo(x1, y1); symb.lineTo(x2, y1); symb.lineTo(x2, y2); symb.lineTo(x1, y2); symb.endFill(); GDK.instances[GDK.clipnum] = symb; GDK.clipnum++; }; GDK /*register */.line = function (x1, y1, x2, y2, r, g, b, a) { if (r == null) { r = 255; } if (g == null) { g = 255; } if (b == null) { b = 255; } if (a == null) { a = 255; } var symb = flash.Lib._root.createEmptyMovieClip("clip" + GDK.clipnum, GDK.clipnum); symb.lineStyle(1, ((Math.floor(r) << 16) | (Math.floor(g) << 8)) | Math.floor(b), (a * 100) / 255); symb.moveTo(x1, y1); symb.lineTo(x2, y2); symb.lineStyle(); GDK.instances[GDK.clipnum] = symb; GDK.clipnum++; }; GDK /*register */.oval = function (x1, y1, x2, y2, r, g, b, a) { if (r == null) { r = 255; } if (g == null) { g = 255; } if (b == null) { b = 255; } if (a == null) { a = 255; } var centerX = ((x1 + x2) * 0.5); var centerY = ((y1 + y2) * 0.5); var xRadius = Math.abs(x2 - centerX); var yRadius = Math.abs(y2 - centerY); var sides = 64; var pi2 = (2 * Math.PI); var symb = flash.Lib._root.createEmptyMovieClip("clip" + GDK.clipnum, GDK.clipnum); symb.beginFill(((Math.floor(r) << 16) | (Math.floor(g) << 8)) | Math.floor(b), (a * 100) / 255); symb.moveTo(centerX + xRadius, centerY); var _g = 0; while (_g < sides) { _g++; var i = _g; var pointRatio = (i / sides); var radians = (pointRatio * pi2); var xSteps = Math.cos(radians); var ySteps = Math.sin(radians); var pointX = (centerX + (xSteps * xRadius)); var pointY = (centerY + (ySteps * yRadius)); symb.lineTo(pointX, pointY); } symb.endFill(); GDK.instances[GDK.clipnum] = symb; GDK.clipnum++; }; GDK /*register */.polygon = function (vlist, r, g, b, a) { if (r == null) { r = 255; } if (g == null) { g = 255; } if (b == null) { b = 255; } if (a == null) { a = 255; } var symb = flash.Lib._root.createEmptyMovieClip("clip" + GDK.clipnum, GDK.clipnum); symb.beginFill(((Math.floor(r) << 16) | (Math.floor(g) << 8)) | Math.floor(b), (a * 100) / 255); var thevert = vlist[0]; symb.moveTo(thevert[0], thevert[1]); var _g1 = 1; var _g = vlist.length; while (_g1 < _g) { _g1++; var i = _g1; thevert = vlist[i]; symb.lineTo(thevert[0], thevert[1]); } symb.endFill(); GDK.instances[GDK.clipnum] = symb; GDK.clipnum++; }; GDK /*register */.cls = function () { var _g1 = 0; var _g = GDK.clipnum; while (_g1 < _g) { _g1++; var i = _g1; GDK.instances[i].removeMovieClip(); } GDK.instances = new Array(); GDK.clipnum = 0; flash.Lib._root.clear(); }; GDK /*register */.screenWidth = function () { return(Math.floor(flash.Stage.width)); }; GDK /*register */.screenHeight = function () { return(Math.floor(flash.Stage.height)); }; GDK /*register */.progress = function () { return(flash.Lib._root.getBytesLoaded() / flash.Lib._root.getBytesTotal()); }; GDK /*register */.textInternal = function (positionX, positionY, txt, align, size, r, g, b, a) { var mc = flash.Lib._root.createEmptyMovieClip("clip" + GDK.clipnum, GDK.clipnum); mc.createTextField("tf", 0, positionX, positionY, 0, 0); var myText = Reflect.getProperty(mc, "tf"); size = size * 0.879; if (size >= 100) { myText.setNewTextFormat(new flash.TextFormat("_sans", 100)); myText._xscale = size; myText._yscale = size; } else { myText.setNewTextFormat(new flash.TextFormat("_sans", size)); } myText.textColor = ((Math.floor(r) << 16) | (Math.floor(g) << 8)) | Math.floor(b); myText._alpha = (a * 100) / 255; myText.autoSize = align; myText.selectable = false; myText.text = txt; GDK.instances[GDK.clipnum] = mc; GDK.clipnum++; }; GDK /*register */.text = function (positionX, positionY, txt, align, size, r, g, b, a) { if (align == null) { align = "left"; } if (size == null) { size = 16; } if (r == null) { r = 255; } if (g == null) { g = 255; } if (b == null) { b = 255; } if (a == null) { a = 255; } var txtlines = Std.string(txt).split("\r").join(newline).split(newline); var _g1 = 0; var _g = txtlines.length; while (_g1 < _g) { _g1++; var i = _g1; GDK.textInternal(positionX, (size * i) + positionY, txtlines[i], align, size, r, g, b, a); } }; ((Reflect = function () { })).__name__ = ["Reflect"]; _local1 = Reflect /*register */.prototype; _local1.__class__ = Reflect /*register */; Reflect /*register */.findAccessor = function (c, name) { do { var getter = c.__properties__[name]; if (getter != null) { return(getter); } c = c.__super__; } while (c != null); return(null); }; Reflect /*register */.getProperty = function (o, field) { var getter = Reflect.findAccessor((Std.is(o, Class) ? (o) : (o.__class__)), "get_" + field); return(((getter != null) ? (o[getter].apply(o, [field])) : (o[field]))); }; ((Std = function () { })).__name__ = ["Std"]; _local1 = Std /*register */.prototype; _local1.__class__ = Std /*register */; Std /*register */.is = function (v, t) { return(flash.Boot.__instanceof(v, t)); }; Std /*register */.string = function (s) { return(flash.Boot.__string_rec(s, "")); }; ((SuperSnackCruncher = function () { })).__name__ = ["SuperSnackCruncher"]; _local1 = SuperSnackCruncher /*register */.prototype; _local1.__class__ = SuperSnackCruncher /*register */; SuperSnackCruncher /*register */.lerp = function (value1, value2, amt) { return(((value2 - value1) * amt) + value1); }; SuperSnackCruncher /*register */.main = function () { GDK.loadSound("data/titlemus.mp3", SuperSnackCruncher.titlemus); GDK.loadSound("data/gamemus.mp3", SuperSnackCruncher.gamemus); GDK.loadSound("data/warped.mp3", SuperSnackCruncher.warpedmus); GDK.loadSound("data/start.mp3", SuperSnackCruncher.startsnd); GDK.loadSound("data/ufo.mp3", SuperSnackCruncher.ufosnd); GDK.loadSound("data/upaway.mp3", SuperSnackCruncher.upawaysnd); GDK.loadImage("data/title.png", SuperSnackCruncher.titleimg); GDK.loadImage("data/background.png", SuperSnackCruncher.backgroundimg); GDK.loadImage("data/rain.png", SuperSnackCruncher.rainimg); GDK.loadImage("data/gamebg.png", SuperSnackCruncher.gamebgimg); GDK.loadImage("data/saucer.png", SuperSnackCruncher.saucerimg); GDK.loadImage("data/cruncher.png", SuperSnackCruncher.cruncherimg); GDK.loadImage("data/makeyourchoice.png", SuperSnackCruncher.makechoiceimg); GDK.loadImage("data/choice.png", SuperSnackCruncher.choiceimg); GDK.loadImage("data/factorybg.png", SuperSnackCruncher.factorybgimg); SuperSnackCruncher.sw = GDK.screenWidth(); SuperSnackCruncher.sh = GDK.screenHeight(); GDK.deltaTime(); GDK.setMainLoop(SuperSnackCruncher.mainLoop); }; SuperSnackCruncher /*register */.mainLoop = function () { GDK.cls(); var dt = GDK.deltaTime(); var prog = GDK.progress(); if (prog >= 1) { var mx = GDK.mouseX(); var my = GDK.mouseY(); var mc = GDK.mouseClick(); if (SuperSnackCruncher.progmode >= 2) { if (SuperSnackCruncher.progmode != 2) { if (SuperSnackCruncher.progmode != 3) { if (SuperSnackCruncher.progmode != 4) { if (SuperSnackCruncher.progmode != 5) { if (SuperSnackCruncher.progmode != 6) { if (SuperSnackCruncher.progmode != 7) { if (SuperSnackCruncher.progmode != 8) { if (SuperSnackCruncher.progmode == 9) { if (SuperSnackCruncher.gamemode != 1) { if (SuperSnackCruncher.gamemode == 2) { GDK.pasteImage(SuperSnackCruncher.gamebgimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 0, 898, 256, 224); } } else { GDK.pasteImage(SuperSnackCruncher.factorybgimg, 0, 0); } } } else { GDK.pasteImage(SuperSnackCruncher.factorybgimg, 0, 0); GDK.pasteImage(SuperSnackCruncher.cruncherimg, SuperSnackCruncher.cruncherx, SuperSnackCruncher.crunchery, 26, 26, 0, 0, 26, 26); SuperSnackCruncher.whitefade = SuperSnackCruncher.whitefade - (0.5 * dt); if (SuperSnackCruncher.whitefade <= 0) { SuperSnackCruncher.whitefade = 0; SuperSnackCruncher.progmode = 9; } else { GDK.box(0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 255, 255, 255, SuperSnackCruncher.whitefade * 255); } } } else { GDK.pasteImage(SuperSnackCruncher.gamebgimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 0, 898, 256, 224); GDK.pasteImage(SuperSnackCruncher.cruncherimg, SuperSnackCruncher.cruncherx, SuperSnackCruncher.crunchery, 26, 26, 0, 0, 26, 26); SuperSnackCruncher.whitefade = SuperSnackCruncher.whitefade + (0.5 * dt); if (SuperSnackCruncher.whitefade > 1) { GDK.loopSound(SuperSnackCruncher.warpedmus); SuperSnackCruncher.whitefade = 1; SuperSnackCruncher.progmode = 8; } GDK.box(0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 255, 255, 255, SuperSnackCruncher.whitefade * 255); } } else { GDK.pasteImage(SuperSnackCruncher.gamebgimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 0, 898, 256, 224); GDK.pasteImage(SuperSnackCruncher.cruncherimg, SuperSnackCruncher.cruncherx, SuperSnackCruncher.crunchery, 26, 26, 0, 0, 26, 26); GDK.pasteImage(SuperSnackCruncher.makechoiceimg, 0, 0); if (SuperSnackCruncher.overlaypos <= 65) { if (SuperSnackCruncher.overlaypos < 59) { SuperSnackCruncher.overlaypos = 59; SuperSnackCruncher.overlaymove = 8; } } else { SuperSnackCruncher.overlaypos = 65; SuperSnackCruncher.overlaymove = -8; } SuperSnackCruncher.overlaypos = SuperSnackCruncher.overlaypos + (SuperSnackCruncher.overlaymove * dt); GDK.pasteImage(SuperSnackCruncher.choiceimg, 0, Math.round(SuperSnackCruncher.overlaypos)); if ((((mc && (mx >= 0)) && (my >= 0)) && (mx < SuperSnackCruncher.sw)) && (my < SuperSnackCruncher.sh)) { if (mx >= (SuperSnackCruncher.sw / 2)) { GDK.playSound(SuperSnackCruncher.startsnd); SuperSnackCruncher.gamemode = 2; SuperSnackCruncher.progmode = 9; } else { GDK.stopSound(SuperSnackCruncher.titlemus); GDK.playSound(SuperSnackCruncher.startsnd); SuperSnackCruncher.gamemode = 1; SuperSnackCruncher.whitefade = 0; SuperSnackCruncher.progmode = 7; } } } } else { SuperSnackCruncher.flashing = SuperSnackCruncher.flashing + (dt / 0.4); SuperSnackCruncher.flashing = SuperSnackCruncher.flashing - Math.floor(SuperSnackCruncher.flashing); GDK.pasteImage(SuperSnackCruncher.gamebgimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 0, 898, 256, 224); GDK.pasteImage(SuperSnackCruncher.cruncherimg, SuperSnackCruncher.cruncherx, SuperSnackCruncher.crunchery, 26, 26, 0, 0, 26, 26); SuperSnackCruncher.saucerpos = SuperSnackCruncher.saucerpos - (130 * dt); if (SuperSnackCruncher.saucerpos < -32) { GDK.loopSound(SuperSnackCruncher.titlemus); SuperSnackCruncher.saucerpos = -32; SuperSnackCruncher.overlaypos = 62; SuperSnackCruncher.overlaymove = 8; SuperSnackCruncher.progmode = 6; } GDK.pasteImage(SuperSnackCruncher.saucerimg, 92, SuperSnackCruncher.saucerpos, 72, 32, Math.floor(SuperSnackCruncher.flashing * 4) * 72, 0, 72, 32); } } else { SuperSnackCruncher.flashing = SuperSnackCruncher.flashing + (dt / 0.4); SuperSnackCruncher.flashing = SuperSnackCruncher.flashing - Math.floor(SuperSnackCruncher.flashing); SuperSnackCruncher.crunchery = SuperSnackCruncher.crunchery + (26 * dt); if (SuperSnackCruncher.crunchery > 185) { GDK.stopSound(SuperSnackCruncher.ufosnd); GDK.playSound(SuperSnackCruncher.upawaysnd); SuperSnackCruncher.crunchery = 185; SuperSnackCruncher.progmode = 5; } GDK.pasteImage(SuperSnackCruncher.gamebgimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 0, 898, 256, 224); GDK.pasteImage(SuperSnackCruncher.cruncherimg, SuperSnackCruncher.cruncherx, SuperSnackCruncher.crunchery, 26, 26, 0, 0, 26, 26); GDK.polygon([[115, 143], [141, 143], [164, 210], [92, 210]], 127, 255, 127, 128); GDK.pasteImage(SuperSnackCruncher.saucerimg, 92, SuperSnackCruncher.saucerpos, 72, 32, Math.floor(SuperSnackCruncher.flashing * 4) * 72, 0, 72, 32); } } else { SuperSnackCruncher.flashing = SuperSnackCruncher.flashing + (dt / 0.4); SuperSnackCruncher.flashing = SuperSnackCruncher.flashing - Math.floor(SuperSnackCruncher.flashing); GDK.pasteImage(SuperSnackCruncher.gamebgimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 0, 898, SuperSnackCruncher.sw, SuperSnackCruncher.sh); SuperSnackCruncher.saucerpos = SuperSnackCruncher.saucerpos + (dt * 60); if (SuperSnackCruncher.saucerpos >= 112) { GDK.stopSound(SuperSnackCruncher.gamemus); GDK.loopSound(SuperSnackCruncher.ufosnd); SuperSnackCruncher.saucerpos = 112; SuperSnackCruncher.cruncherx = 115; SuperSnackCruncher.crunchery = 112; SuperSnackCruncher.progmode = 4; } GDK.pasteImage(SuperSnackCruncher.saucerimg, 92, SuperSnackCruncher.saucerpos, 72, 32, Math.floor(SuperSnackCruncher.flashing * 4) * 72, 0, 72, 32); } } else { SuperSnackCruncher.flashing = SuperSnackCruncher.flashing + (dt / 0.4); SuperSnackCruncher.flashing = SuperSnackCruncher.flashing - Math.floor(SuperSnackCruncher.flashing); SuperSnackCruncher.bgpos = SuperSnackCruncher.bgpos + (dt * 60); if (SuperSnackCruncher.bgpos >= 898) { SuperSnackCruncher.bgpos = 898; SuperSnackCruncher.progmode = 3; } GDK.pasteImage(SuperSnackCruncher.gamebgimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 0, SuperSnackCruncher.bgpos, SuperSnackCruncher.sw, SuperSnackCruncher.sh); var scalefac = (SuperSnackCruncher.bgpos / 898); var ufowidth = SuperSnackCruncher.lerp(144, 72, scalefac); GDK.pasteImage(SuperSnackCruncher.saucerimg, (SuperSnackCruncher.sw - ufowidth) / 2, SuperSnackCruncher.lerp(16, 35, scalefac), ufowidth, SuperSnackCruncher.lerp(64, 32, scalefac), Math.floor(SuperSnackCruncher.flashing * 4) * 72, 0, 72, 32); SuperSnackCruncher.whitefade = SuperSnackCruncher.whitefade - (dt / 1.5); if (SuperSnackCruncher.whitefade >= 0) { GDK.box(0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 255, 255, 255, SuperSnackCruncher.whitefade * 255); } else { SuperSnackCruncher.whitefade = 0; } } } else { if (!SuperSnackCruncher.loopedyet) { GDK.loopSound(SuperSnackCruncher.titlemus); SuperSnackCruncher.loopedyet = true; } SuperSnackCruncher.bgpos = SuperSnackCruncher.bgpos + (dt * 20); if (SuperSnackCruncher.bgpos > 2047) { SuperSnackCruncher.bgpos = 0; } GDK.pasteImage(SuperSnackCruncher.backgroundimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, SuperSnackCruncher.bgpos, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh); SuperSnackCruncher.rainlerp = SuperSnackCruncher.rainlerp + (dt * 2); SuperSnackCruncher.rainlerp = SuperSnackCruncher.rainlerp - Math.floor(SuperSnackCruncher.rainlerp); GDK.pasteImage(SuperSnackCruncher.rainimg, 0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, SuperSnackCruncher.lerp(64, 0, SuperSnackCruncher.rainlerp), SuperSnackCruncher.lerp(56, 0, SuperSnackCruncher.rainlerp), 64, 56, 128); GDK.pasteImage(SuperSnackCruncher.titleimg, 0, 0); SuperSnackCruncher.flashing = SuperSnackCruncher.flashing + (dt * 2); SuperSnackCruncher.flashing = SuperSnackCruncher.flashing - Math.floor(SuperSnackCruncher.flashing); if ((((((SuperSnackCruncher.progmode == 0) && (mc)) && (mx >= 0)) && (my >= 0)) && (mx < SuperSnackCruncher.sw)) && (my < SuperSnackCruncher.sh)) { SuperSnackCruncher.progmode = 1; SuperSnackCruncher.whitefade = 0; GDK.stopSound(SuperSnackCruncher.titlemus); GDK.playSound(SuperSnackCruncher.startsnd); } if (SuperSnackCruncher.progmode != 0) { SuperSnackCruncher.whitefade = SuperSnackCruncher.whitefade + (dt / 1.5); if (SuperSnackCruncher.whitefade > 1) { SuperSnackCruncher.whitefade = 1; SuperSnackCruncher.bgpos = 0; SuperSnackCruncher.progmode = 2; GDK.loopSound(SuperSnackCruncher.gamemus); } GDK.box(0, 0, SuperSnackCruncher.sw, SuperSnackCruncher.sh, 255, 255, 255, SuperSnackCruncher.whitefade * 255); } else if (SuperSnackCruncher.flashing < 0.5) { GDK.text(Math.floor(SuperSnackCruncher.sw / 2), SuperSnackCruncher.sh - 12, "touch to start", "center", 10); } } } else { GDK.box(0, SuperSnackCruncher.sh - 14, SuperSnackCruncher.sw, SuperSnackCruncher.sh - 13, 255, 255, 255); GDK.box(0, SuperSnackCruncher.sh - 12, Math.floor(prog * SuperSnackCruncher.sw), SuperSnackCruncher.sh - 2, 255, 0, 0); GDK.text(Math.floor(SuperSnackCruncher.sw / 2), Math.floor((SuperSnackCruncher.sh - 10) / 2), "Loading...", "center", 10); GDK.text(1, SuperSnackCruncher.sh - 11, Math.floor(prog * 100) + "%", "left", 8); } }; ((flash.Boot = function () { })).__name__ = ["flash", "Boot"]; _local1 = (flash.Boot /* register */).prototype; _local1.__class__ = flash.Boot /* register */; (flash.Boot /* register */).__string_rec = function (o, s) { if (s.length >= 20) { return("<...>"); } var t = typeof(o); if (t != "movieclip") { if ((t == "function") && ((o.__name__ != null) || (o.__ename__ != null))) { t = "object"; } } else { t = "object"; } var $2; $2 = t; if (t != "object") { if ($2 != "function") { if ($2 != "string") { return(String(o)); if (o instanceof Array) { if (o.__enum__ != null) { if (o.length == 2) { return(o[0]); } var str = (o[0] + "("); s = s + " "; var _g1 = 2; var _g = o.length; while (_g1 < _g) { _g1++; var i = _g1; if (i == 2) { str = str + flash.Boot.__string_rec(o[i], s); } else { str = str + ("," + flash.Boot.__string_rec(o[i], s)); } } return(str + ")"); } var l = o.length; var i; var str = "["; s = s + " "; var _g = 0; while (_g < l) { _g++; var i1 = _g; str = str + (((i1 > 0) ? "," : "") + flash.Boot.__string_rec(o[i1], s)); } str = str + "]"; return(str); } var s2 = o.toString(); if ((((typeof(s2) == "string") || (s2 instanceof String)) && (s2 != "[object Object]")) && (s2 != "[type Function]")) { return(s2); } var k; var str = "{\n"; if (typeof(o) == "movieclip") { str = (("MC(" + Std.string(o._name)) + ") ") + str; } s = s + " "; var $3; $3 = new Array(); new Array(); for (_reg0 in o) { $3.push(_reg0); } var keys = $3; var $3; $3 = keys.iterator(); keys.iterator(); while ($3.hasNext()) { var k1 = $3.next(); if ((((k1 == "prototype") || (k1 == "__class__")) || (k1 == "__super__")) || (k1 == "__interfaces__")) { continue; } if (str.length != 2) { str = str + ",\n"; } str = str + (((s + k1) + " : ") + flash.Boot.__string_rec(o[k1], s)); } s = s.substring(4); if (str.length != 2) { str = str + newline; } str = str + (s + "}"); return(str); return("<function>"); } } } if (o instanceof Array) { if (o.__enum__ != null) { if (o.length == 2) { return(o[0]); } var str = (o[0] + "("); s = s + " "; var _g1 = 2; var _g = o.length; while (_g1 < _g) { _g1++; var i = _g1; if (i == 2) { str = str + flash.Boot.__string_rec(o[i], s); } else { str = str + ("," + flash.Boot.__string_rec(o[i], s)); } } return(str + ")"); } var l = o.length; var i; var str = "["; s = s + " "; var _g = 0; while (_g < l) { _g++; var i1 = _g; str = str + (((i1 > 0) ? "," : "") + flash.Boot.__string_rec(o[i1], s)); } str = str + "]"; return(str); } var s2 = o.toString(); if ((((typeof(s2) == "string") || (s2 instanceof String)) && (s2 != "[object Object]")) && (s2 != "[type Function]")) { return(s2); } var k; var str = "{\n"; if (typeof(o) == "movieclip") { str = (("MC(" + Std.string(o._name)) + ") ") + str; } s = s + " "; var $3; $3 = new Array(); new Array(); for (_reg0 in o) { $3.push(_reg0); } var keys = $3; var $3; $3 = keys.iterator(); keys.iterator(); while ($3.hasNext()) { var k1 = $3.next(); if ((((k1 == "prototype") || (k1 == "__class__")) || (k1 == "__super__")) || (k1 == "__interfaces__")) { continue; } if (str.length != 2) { str = str + ",\n"; } str = str + (((s + k1) + " : ") + flash.Boot.__string_rec(o[k1], s)); } s = s.substring(4); if (str.length != 2) { str = str + newline; } str = str + (s + "}"); return(str); return("<function>"); return(o); }; (flash.Boot /* register */).__closure = function (f, o) { var m = o[f]; if (m == null) { return(null); } var f2 = function () { var me = arguments.callee; return(me.f.apply(me.o, arguments)); }; f2.f = m; f2.o = o; return(f2); }; (flash.Boot /* register */).__interfLoop = function (cc, cl) { if (cc == null) { return(false); } var intf = cc.__interfaces__; var _g1 = 0; var _g = intf.length; while (_g1 < _g) { _g1++; var i = _g1; var i1 = intf[i]; if ((i1 == cl) || (flash.Boot.__interfLoop(i1, cl))) { return(true); } } return(flash.Boot.__interfLoop(cc.__super__, cl)); }; (flash.Boot /* register */).__instanceof = function (o, cl) { if (!cl) { return(false); } if (o instanceof cl) { if (cl == Array) { return(o.__enum__ == null); } return(true); } if (flash.Boot.__interfLoop(o.__class__, cl)) { return(true); } var _g = cl; var $2; $2 = _g; if (_g != Int) { if ($2 != Float) { if ($2 != Bool) { if ($2 != String) { if ($2 != Dynamic) { return(((o.__enum__ == cl) || ((cl == Class) && (o.__name__ != null))) || ((cl == Enum) && (o.__ename__ != null))); return(((typeof(o) == "number") && (Math.ceil(o) === (o % 2147483648))) && (!((o === true) || (o === false)))); return(typeof(o) == "number"); return((o === true) || (o === false)); return(typeof(o) == "string"); } } } } } return(((typeof(o) == "number") && (Math.ceil(o) === (o % 2147483648))) && (!((o === true) || (o === false)))); return(typeof(o) == "number"); return((o === true) || (o === false)); return(typeof(o) == "string"); return(true); }; (flash.Boot /* register */).getTrace = function () { var root = flash.Lib.current; var tf = root.__trace_txt; if (tf == null) { var w = flash.Stage.width; var h = flash.Stage.height; if (w == 0) { w = 800; } if (h == 0) { h = 600; } root.createTextField("__trace_txt", 1048500, 0, 0, w, h + 30); tf = root.__trace_txt; var format = tf.getTextFormat(); format.font = "_sans"; tf.setNewTextFormat(format); tf.selectable = false; tf.textColor = flash.Boot.def_color; root.__trace_lines = new Array(); } return(tf); }; (flash.Boot /* register */).__set_trace_color = function (rgb) { flash.Boot.getTrace().textColor = rgb; flash.Boot.def_color = rgb; }; (flash.Boot /* register */).__trace = function (v, inf) { var root = flash.Lib.current; var tf = flash.Boot.getTrace(); var s = (((inf.fileName + ((inf.lineNumber == null) ? "" : (":" + inf.lineNumber))) + ": ") + flash.Boot.__string_rec(v, "")); if ((inf != null) && (inf.customParams != null)) { var _g = 0; var _g1 = inf.customParams; while (_g < _g1.length) { var v1 = _g1[_g]; _g++; s = s + ("," + flash.Boot.__string_rec(v1, "")); } } var lines = root.__trace_lines.concat(s.split(newline)); tf.text = lines.join(newline); while ((lines.length > 1) && (tf.textHeight > flash.Stage.height)) { lines.shift(); tf.text = lines.join(newline); } root.__trace_lines = lines; }; (flash.Boot /* register */).__exc = function (v) { var s = ""; if (flash.Lib.onerror == null) { flash.Boot.__trace(flash.Boot.__string_rec(v, "") + s, {fileName:"(uncaught exception)"}); } else { flash.Lib.onerror(flash.Boot.__string_rec(v, ""), []); } }; (flash.Boot /* register */).__clear_trace = function () { var root = flash.Lib.current; root.__trace_txt.removeTextField(); root.__trace_lines = null; }; (flash.Boot /* register */).__init = function (current) { var g = _global; if (!g.haxeInitDone) { g.haxeInitDone = true; Array.prototype.copy = Array.prototype.slice; Array.prototype.insert = function (i, x) { this.splice(i, 0, x); }; Array.prototype.remove = function (obj) { var i = 0; var l = this.length; while (i < l) { if (this[i] == obj) { this.splice(i, 1); return(true); } i++; } return(false); }; Array.prototype.iterator = function () { return({cur:0, arr:this, hasNext:function () { return(this.cur < this.arr.length); }, next:function () { this.cur++; return(this.arr[this.cur]); }}); }; Array.prototype.map = function (f) { var ret = []; var i = 0; var l = this.length; while (i < l) { ret.push(f(this[i])); i++; } return(ret); }; Array.prototype.filter = function (f) { var ret = []; var i = 0; var l = this.length; while (i < l) { if (f(this[i])) { ret.push(this[i]); } i++; } return(ret); }; _global.ASSetPropFlags(Array.prototype, null, 7); var cca = String.prototype.charCodeAt; String.prototype.cca = cca; String.prototype.charCodeAt = function (i) { var x = this.cca(i); if (x <= 0) { return(null); } return(x); }; if (_global.flash == null) { _global.flash = {}; } } current.flash.Lib._global = _global; current.flash.Lib._root = _root; current.flash.Lib.current = current; current["@instanceof"] = flash.Boot.__instanceof; current["@closure"] = flash.Boot.__closure; if (_global.Stage.align == "") { _global.Stage.align = "LT"; } }; ((flash.Lib = function () { })).__name__ = ["flash", "Lib"]; _local1 = (flash.Lib /* register */).prototype; _local1.__class__ = flash.Lib /* register */; (flash.Lib /* register */)._root = null; (flash.Lib /* register */).current = null; (flash.Lib /* register */).onerror = null; _local1 = new Object(); flash._MovieClip = _local1; _local2 = _global.flash._MovieClip; for (_reg0 in _local2) { _local1[_reg0] = _local2[_reg0]; } _local1 = new Object(); flash.text = _local1; _local2 = _global.flash.text; for (_reg0 in _local2) { _local1[_reg0] = _local2[_reg0]; } _local1 = new Object(); haxe = _local1; _local2 = _global.haxe; for (_reg0 in _local2) { _local1[_reg0] = _local2[_reg0]; } ((haxe.Timer = function () { })).__name__ = ["haxe", "Timer"]; _local1 = (haxe.Timer /* register */).prototype; _local1.__class__ = haxe.Timer /* register */; (haxe.Timer /* register */).stamp = function () { return(getTimer() / 1000); }; flash.Boot; flash.Boot.__init(this); flash.Stage = _global.Stage; flash.Stage.align = "C"; Math.__name__ = ["Math"]; Math.NaN = Number.NaN; Math.NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY; Math.POSITIVE_INFINITY = Number.POSITIVE_INFINITY; Math.isFinite = function (i) { return(_global.isFinite(i)); }; Math.isNaN = function (i) { return(_global.isNaN(i)); }; var g = _global; g.Int = {__name__:["Int"]}; g.Bool = {__ename__:["Bool"]}; g.Dynamic = {__name__:["Dynamic"]}; g.Class = {__name__:["Class"]}; g.Enum = {}; g.Void = {__ename__:["Void"]}; g.Float = _global.Number; g.Float.__name__ = ["Float"]; Array.prototype.__class__ = Array; Array.__name__ = ["Array"]; String.prototype.__class__ = String; String.__name__ = ["String"]; g.ASSetPropFlags(Array.prototype, null, 7); flash.Mouse = _global.Mouse; flash.Mouse.addListener(flash.Mouse); flash.MovieClip = _global.MovieClip; flash.Sound = _global.Sound; flash.TextField = _global.TextField; flash.TextFormat = _global.TextFormat; flash.TextSnapshot = _global.TextSnapshot; flash.text.StyleSheet = _global.TextField.StyleSheet; try { GDK.lastUpdate = 0; GDK.mOn = false; GDK.mAdded = false; GDK.sounds = new Array(); GDK.images = new Array(); GDK.instances = new Array(); GDK.clipnum = 0; SuperSnackCruncher.titlemus = 1; SuperSnackCruncher.gamemus = 2; SuperSnackCruncher.warpedmus = 3; SuperSnackCruncher.startsnd = 4; SuperSnackCruncher.ufosnd = 5; SuperSnackCruncher.upawaysnd = 6; SuperSnackCruncher.titleimg = 1; SuperSnackCruncher.backgroundimg = 2; SuperSnackCruncher.rainimg = 3; SuperSnackCruncher.gamebgimg = 4; SuperSnackCruncher.saucerimg = 5; SuperSnackCruncher.cruncherimg = 6; SuperSnackCruncher.makechoiceimg = 7; SuperSnackCruncher.choiceimg = 8; SuperSnackCruncher.factorybgimg = 9; SuperSnackCruncher.sw = 0; SuperSnackCruncher.sh = 0; SuperSnackCruncher.cruncherx = 0; SuperSnackCruncher.crunchery = 0; SuperSnackCruncher.overlaypos = 0; SuperSnackCruncher.overlaymove = 0; SuperSnackCruncher.flashing = 0; SuperSnackCruncher.bgpos = 0; SuperSnackCruncher.progmode = 0; SuperSnackCruncher.gamemode = 0; SuperSnackCruncher.whitefade = 0; SuperSnackCruncher.saucerpos = 35; SuperSnackCruncher.rainlerp = 0; SuperSnackCruncher.loopedyet = false; flash.Boot.def_color = 0; flash.Boot.exception = null; SuperSnackCruncher.main(); } catch(_local) { flash.Boot.__exc( /* Error999 */ ); }

Library Items

Symbol 1 Sound [data/titlemus.mp3]
Symbol 2 Sound [data/gamemus.mp3]
Symbol 3 Sound [data/warped.mp3]
Symbol 4 Sound [data/start.mp3]
Symbol 5 Sound [data/ufo.mp3]
Symbol 6 Sound [data/upaway.mp3]
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:7
Symbol 7 MovieClip [data/title.png]Uses:9
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:10
Symbol 10 MovieClip [data/background.png]Uses:12
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:13
Symbol 13 MovieClip [data/rain.png]Uses:15
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:16
Symbol 16 MovieClip [data/gamebg.png]Uses:18
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:19
Symbol 19 MovieClip [data/saucer.png]Uses:21
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:22
Symbol 22 MovieClip [data/cruncher.png]Uses:24
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:25
Symbol 25 MovieClip [data/makeyourchoice.png]Uses:27
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:28
Symbol 28 MovieClip [data/choice.png]Uses:30
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:31
Symbol 31 MovieClip [data/factorybg.png]Uses:33

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "data/titlemus.mp3"
ExportAssets (56)Timeline Frame 1Symbol 2 as "data/gamemus.mp3"
ExportAssets (56)Timeline Frame 1Symbol 3 as "data/warped.mp3"
ExportAssets (56)Timeline Frame 1Symbol 4 as "data/start.mp3"
ExportAssets (56)Timeline Frame 1Symbol 5 as "data/ufo.mp3"
ExportAssets (56)Timeline Frame 1Symbol 6 as "data/upaway.mp3"
ExportAssets (56)Timeline Frame 1Symbol 7 as "data/title.png"
ExportAssets (56)Timeline Frame 1Symbol 10 as "data/background.png"
ExportAssets (56)Timeline Frame 1Symbol 13 as "data/rain.png"
ExportAssets (56)Timeline Frame 1Symbol 16 as "data/gamebg.png"
ExportAssets (56)Timeline Frame 1Symbol 19 as "data/saucer.png"
ExportAssets (56)Timeline Frame 1Symbol 22 as "data/cruncher.png"
ExportAssets (56)Timeline Frame 1Symbol 25 as "data/makeyourchoice.png"
ExportAssets (56)Timeline Frame 1Symbol 28 as "data/choice.png"
ExportAssets (56)Timeline Frame 1Symbol 31 as "data/factorybg.png"




http://swfchan.com/29/142723/info.shtml
Created: 27/10 -2018 14:18:10 Last modified: 27/10 -2018 14:18:10 Server time: 11/05 -2024 17:24:01