Frame 1
MochiAd.showPreGameAd({id:"60f9150d56f9b1f9", res:"550x400"});
Frame 2
stop();
Instance of Symbol 24 MovieClip [Splash] in Frame 2
//component parameters
onClipEvent (construct) {
frameAfterCompletion = 3;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Frame 3
i = 30;
prsss = 0;
pr2 = 0;
stop();
ss = true;
nname = "-Input Name Here-";
Frame 4
hi = 0;
stop();
ss = false;
Instance of Symbol 56 MovieClip "mmm" in Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
_x = _root._xmouse;
_y = _root._ymouse;
}
on (press) {
if (_root.pup._currentframe == 500) {
gotoAndPlay (2);
_root.pup.gotoAndPlay(1);
}
}
Frame 5
fallspeed = 1.2;
fall = 0;
mp = 0;
big = 0;
end = 0;
slo = false;
tm = 300;
am = 4;
score = 0;
stop();
onEnterFrame = function () {
if (lvl < 1) {
_root.llup.play();
level = level + 1;
lvl = 50 + (level * 50);
}
if (i > 200) {
i = 0;
}
if (end > 0) {
end = end - 1;
}
if (big == 0) {
if (slo == 0) {
pupe.gotoAndStop(1);
}
}
if (big > 0) {
pupe.gotoAndStop(2);
mmm._xscale = 200;
mmm._yscale = 200;
big = big - 1;
}
if (big == 0) {
mmm._xscale = 100;
mmm._yscale = 100;
}
if (slo > 0) {
pupe.gotoAndStop(3);
slo = slo - 1;
}
if (score > hi) {
hi = score;
}
tm = tm - 1;
if (tm == 0) {
if (am > 1) {
am = am - 1;
tm = 300;
}
}
if (random(am) == 0) {
i++;
duplicateMovieClip (_root.clipinit, "clip" + i, i);
}
if (random(700) == 0) {
i++;
duplicateMovieClip (_root.fireball, "fire" + i, i);
}
if (random(700) == 0) {
i++;
duplicateMovieClip (_root.timer, "tim" + i, i);
}
if (random(1200) == 0) {
i++;
duplicateMovieClip (_root.ender, "endd" + i, i);
}
if (random(700) == 0) {
i++;
duplicateMovieClip (_root.scalee, "scal" + i, i);
}
mp = score / 1000000;
fallspeed = fallspeed + (0.001 + mp);
};
lvl = 100;
level = 1;
Instance of Symbol 77 MovieClip "l1" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l2" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l3" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l4" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l5" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l6" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l7" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l8" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l9" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l10" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l11" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l13" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l14" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l15" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 77 MovieClip "l16" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mmm)) {
if (_root.mmm._currentframe == 31) {
_currentframe = (_currentframe - 1);
this.gotoAndStop(_currentframe - 1);
}
}
}
Instance of Symbol 67 MovieClip "clipinit" in Frame 5
onClipEvent (load) {
rad = random(2);
movieWidth = 550;
movieHeight = 400;
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
this._x = this._x - (Math.cos(rad) / 3);
}
onClipEvent (load) {
lrr = random(10) - random(10);
_x = (random(530) + 10);
_y = 0;
}
onClipEvent (enterFrame) {
if (this._name == "clipinit") {
gotoAndPlay (2);
}
if (_root._currentframe == 6) {
gotoAndPlay (2);
this.removeMovieClip();
}
if (_root.end > 0) {
gotoAndPlay (2);
}
if (this.hitTest(_root.mmm)) {
if (_currentframe == 1) {
_root.snd.gotoAndPlay(2);
_root.lvl = _root.lvl - 1;
_root.score = _root.score + 1;
_root.sco.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
if (_root.slo == 0) {
_y = (_y + _root.fallspeed);
} else {
_y = (_y + (_root.fallspeed / 4));
}
if (_currentframe == 1) {
if (this.hitTest(_root.l1)) {
_root.l1.gotoAndStop((_root.l1._currentframe = _root.l1._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l2)) {
_root.l2.gotoAndStop((_root.l2._currentframe = _root.l2._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l3)) {
_root.l3.gotoAndStop((_root.l3._currentframe = _root.l3._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l4)) {
_root.l4.gotoAndStop((_root.l4._currentframe = _root.l4._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l5)) {
_root.l5.gotoAndStop((_root.l5._currentframe = _root.l5._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l6)) {
_root.l6.gotoAndStop((_root.l6._currentframe = _root.l6._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l7)) {
_root.l7.gotoAndStop((_root.l7._currentframe = _root.l7._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l8)) {
_root.l8.gotoAndStop((_root.l8._currentframe = _root.l8._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l9)) {
_root.l9.gotoAndStop((_root.l9._currentframe = _root.l9._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l10)) {
_root.l10.gotoAndStop((_root.l10._currentframe = _root.l10._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l11)) {
_root.l11.gotoAndStop((_root.l11._currentframe = _root.l11._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l12)) {
_root.l12.gotoAndStop((_root.l12._currentframe = _root.l12._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l13)) {
_root.l13.gotoAndStop((_root.l13._currentframe = _root.l13._currentframe + 1));
this.removeMovieClip();
}
if (this.hitTest(_root.l14)) {
_root.l14.gotoAndStop((_root.l14._currentframe = _root.l14._currentframe + 1));
this.removeMovieClip();
}
}
}
Instance of Symbol 67 MovieClip "timer" in Frame 5
onClipEvent (load) {
_x = random(550);
_y = 0;
}
onClipEvent (enterFrame) {
if (this._name == "timer") {
gotoAndPlay (2);
}
if (_root._currentframe == 6) {
gotoAndPlay (2);
this.removeMovieClip();
}
if (this.hitTest(_root.mmm)) {
if (_currentframe == 1) {
_root.snd.gotoAndPlay(4);
_root.slo = 200;
_root.score = _root.score + 1;
_root.sco.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
if (_root.slo == false) {
_y = (_y + _root.fallspeed);
} else {
_y = (_y + (_root.fallspeed / 4));
}
}
Instance of Symbol 67 MovieClip "scalee" in Frame 5
onClipEvent (load) {
_x = random(550);
_y = 0;
}
onClipEvent (enterFrame) {
if (this._name == "scalee") {
gotoAndPlay (2);
}
if (_root._currentframe == 6) {
gotoAndPlay (2);
this.removeMovieClip();
}
if (this.hitTest(_root.mmm)) {
if (_currentframe == 1) {
_root.snd.gotoAndPlay(8);
_root.big = 200;
_root.score = _root.score + 1;
_root.sco.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
if (_root.slo == false) {
_y = (_y + _root.fallspeed);
} else {
_y = (_y + (_root.fallspeed / 4));
}
}
Instance of Symbol 67 MovieClip "ender" in Frame 5
onClipEvent (load) {
_x = random(550);
_y = 0;
}
onClipEvent (enterFrame) {
if (this._name == "ender") {
gotoAndPlay (2);
}
if (_root._currentframe == 6) {
gotoAndPlay (2);
this.removeMovieClip();
}
if (this.hitTest(_root.mmm)) {
if (_currentframe == 1) {
_root.pupe.gotoAndPlay(5);
_root.snd.gotoAndPlay(6);
_root.end = 10;
_root.score = _root.score + 1;
_root.sco.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
if (_root.slo == false) {
_y = (_y + _root.fallspeed);
} else {
_y = (_y + (_root.fallspeed / 4));
}
}
Instance of Symbol 67 MovieClip "fireball" in Frame 5
onClipEvent (load) {
_x = (random(530) + 10);
_y = 0;
}
onClipEvent (enterFrame) {
if (this._name == "clipinit") {
gotoAndPlay (2);
}
if (_root._currentframe == 4) {
gotoAndPlay (2);
this.removeMovieClip();
}
if (_root.end > 0) {
gotoAndPlay (2);
}
if (this.hitTest(_root.mmm)) {
if (_currentframe == 1) {
_root.snd.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
if (_root.slo == 0) {
_y = (_y + _root.fallspeed);
} else {
_y = (_y + (_root.fallspeed / 4));
}
if (_currentframe == 1) {
if (this.hitTest(_root.l1)) {
_root.l1.gotoAndStop((_root.l1._currentframe = _root.l1._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l2)) {
_root.l2.gotoAndStop((_root.l2._currentframe = _root.l2._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l3)) {
_root.l3.gotoAndStop((_root.l3._currentframe = _root.l3._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l4)) {
_root.l4.gotoAndStop((_root.l4._currentframe = _root.l4._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l5)) {
_root.l5.gotoAndStop((_root.l5._currentframe = _root.l5._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l6)) {
_root.l6.gotoAndStop((_root.l6._currentframe = _root.l6._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l7)) {
_root.l7.gotoAndStop((_root.l7._currentframe = _root.l7._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l8)) {
_root.l8.gotoAndStop((_root.l8._currentframe = _root.l8._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l9)) {
_root.l9.gotoAndStop((_root.l9._currentframe = _root.l9._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l10)) {
_root.l10.gotoAndStop((_root.l10._currentframe = _root.l10._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l11)) {
_root.l11.gotoAndStop((_root.l11._currentframe = _root.l11._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l12)) {
_root.l12.gotoAndStop((_root.l12._currentframe = _root.l12._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l13)) {
_root.l13.gotoAndStop((_root.l13._currentframe = _root.l13._currentframe - 4));
this.removeMovieClip();
}
if (this.hitTest(_root.l14)) {
_root.l14.gotoAndStop((_root.l14._currentframe = _root.l14._currentframe - 4));
this.removeMovieClip();
}
}
}
Instance of Symbol 56 MovieClip "mmm" in Frame 5
onClipEvent (enterFrame) {
if (_currentframe == 31) {
_root.firem.gotoAndPlay((_root.firem._currentframe = _root.firem._currentframe - 13));
}
if (5 > _root.firem._currentframe) {
gotoAndStop (1);
}
if (Key.isDown(32)) {
if (_root.pup._currentframe == 356) {
_root.pr2 = 1;
gotoAndPlay (2);
_root.pup.gotoAndPlay(1);
}
}
_rotation = (_rotation + 2);
_x = _root._xmouse;
_y = _root._ymouse;
}
on (press) {
if (_root.firem._currentframe > 5) {
_root.prsss = 1;
gotoAndStop (31);
_root.firem.gotoAndPlay((_root.firem._currentframe = _root.firem._currentframe - 28));
} else {
gotoAndStop (1);
}
}
on (release) {
_root.firem.play();
gotoAndStop (1);
}
Frame 6
if (score > hi) {
hi = score;
}
Instance of Symbol 136 MovieClip "sub2" in Frame 6
on (press) {
_root.gotoAndStop(7);
}
Frame 7
var level = 0;
var gameCode = "snow";
var lowIsBest = false;
var scoreString = ("" + score);
movHiScores.setDetails(30, level, gameCode, lowIsBest, score, scoreString, "points!");
Instance of Symbol 175 MovieClip [HiScores] "movHiScores" in Frame 7
//component parameters
onClipEvent (construct) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 1 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local3 = __width;
var _local2 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.2.127";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 2 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.2.127";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 3 MovieClip [__Packages.Splash] Frame 0
class Splash extends mx.core.UIComponent
{
var useHandCursor, boundingBox_mc, invalidate;
function Splash () {
super();
}
function init() {
super.init();
useHandCursor = false;
boundingBox_mc._visible = false;
}
function createChildren() {
size();
}
function size() {
super.size();
invalidate();
}
function draw() {
super.draw();
if (_global.isLivePreview) {
boundingBox_mc._visible = true;
} else {
boundingBox_mc._visible = false;
}
}
function getFrameAfterCompletion() {
return(frameAfterCompletion);
}
function setFrameAfterCompletion(frameAfterCompletion) {
this.frameAfterCompletion = frameAfterCompletion;
}
static var symbolName = "Splash";
static var symbolOwner = Splash;
var className = "Splash";
var frameAfterCompletion = 0;
}
Symbol 25 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 26 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 27 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 28 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 141 MovieClip [__Packages.HiScores] Frame 0
class HiScores extends mx.core.UIComponent
{
var _visible, gameId, levelId, gameCode, lowIsBest, score, invalidate, getURL;
function HiScores () {
super();
_visible = false;
}
function setDetails(gameId, levelId, gameCode, lowIsBest, score, msg1, msg2) {
this.gameId = gameId;
this.levelId = levelId;
this.gameCode = gameCode;
this.lowIsBest = lowIsBest;
this.score = score;
movEntryScreen = movEntryScreen;
movInfoScreen = movInfoScreen;
movEntryScreen.txtMsg1.text = msg1;
movEntryScreen.txtMsg2.text = msg2;
movEntryScreen.txtName.text = "";
movEntryScreen.txtCode.text = "";
movEntryScreen._visible = true;
movInfoScreen._visible = false;
secCodeLoad();
_visible = true;
}
function createChildren() {
size();
}
function size() {
super.size();
invalidate();
}
function secCodeLoad() {
var _local2 = new MovieClipLoader();
_local2.loadClip((HS_SERVLET_URL + "?type=genCode&cachebuster=") + new Date().getTime(), movEntryScreen.movCode);
}
function back() {
movEntryScreen._visible = true;
movInfoScreen._visible = false;
}
function viewScore() {
getURL((((((((HI_SCORE_URL + gameCode) + "_hs") + "&name=") + movEntryScreen.txtName.text) + "&levelId=") + levelId) + "&cachebuster=") + new Date().getTime(), "_blank");
}
function showInfoMessage(msg, error) {
movInfoScreen.txtInfo.text = msg;
movInfoScreen.btnBack._visible = error;
movInfoScreen.btnView._visible = !error;
}
function submitScore() {
movEntryScreen._visible = false;
movInfoScreen._visible = true;
var _local8 = true;
if (movEntryScreen.txtName.text.length == 0) {
showInfoMessage("Please enter your name.", true);
} else if (movEntryScreen.txtCode.text.length != 5) {
showInfoMessage("Please enter all 5 letters of the security code.", true);
} else {
showInfoMessage("Submitting hi-score details to the server, please wait.", true);
movInfoScreen.btnBack._visible = false;
_local8 = false;
}
if (!_local8) {
var _local9 = movEntryScreen.txtName.text;
var _local4 = (((((((("save|" + _local9) + "|") + movEntryScreen.txtCode.text) + "|") + score) + "|") + gameId) + "|") + levelId;
var _local5 = "";
var _local3 = 0;
var _local2 = 0;
while (_local3 < _local4.length) {
if (_local2 >= KEY.length) {
_local2 = 0;
}
_local5 = _local5 + String.fromCharCode((_local4.charCodeAt(_local3) ^ KEY.charCodeAt(_local2)) + 1);
_local3++;
_local2++;
}
var self = this;
var _local6 = new LoadVars();
_local6.ffdata = _local5;
_local6.lowIsBest = lowIsBest;
_local6.sendAndLoad(HS_SERVLET_URL, _local6, "POST");
_local6.onLoad = function (success) {
var _local2 = parseInt(this.res);
if (!success) {
self.showInfoMessage("A serious problem was encountered with the server, please try again in a few minutes.", true);
} else if (_local2 == -1) {
self.showInfoMessage("Could not store hi-score details. Click on back, generate a new security code and re-submit.", true);
} else if (_local2 == 0) {
self.showInfoMessage("Sorry, a better score already exists with that name.", false);
} else if (_local2 == 1) {
self.showInfoMessage("Congratulations! You made it into the\nhi-score table.", false);
}
};
}
}
static var symbolName = "HiScores";
static var symbolOwner = HiScores;
var className = "HiScores";
static var SERVER_URL = "http://www.gimme5games.com";
static var SERVLET_URL = SERVER_URL + "/servlet/otwServlet";
static var HS_SERVLET_URL = SERVER_URL + "/servlet/hiServlet";
static var HI_SCORE_URL = SERVER_URL + "/index.jsp?id=";
var KEY = "rocket";
var movEntryScreen = null;
var movInfoScreen = null;
}
Symbol 13 Button
on (release) {
getURL ("http://www.gimme5games.com", "_blank");
}
Symbol 24 MovieClip [Splash] Frame 1
#initclip 9
Object.registerClass("Splash", Splash);
#endinitclip
Symbol 24 MovieClip [Splash] Frame 91
_root.gotoAndStop(this.getFrameAfterCompletion());
Symbol 36 Button
on (press) {
_root.gotoAndStop((_root._currentframe = _root._currentframe + 1));
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 30
gotoAndStop (1);
Symbol 56 MovieClip Frame 31
stop();
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
if (_root.ss == true) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
gotoAndStop(random(5) + 1);
size = random(200);
_xscale = size;
_yscale = size;
xspeed = random(3) - 1;
yspeed = random(3) - 1;
_alpha = 100;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.removeMovieClip();
}
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
_root.points.gotoAndPlay(2);
Symbol 67 MovieClip Frame 74
this.removeMovieClip();
Symbol 67 MovieClip Frame 75
stop();
Symbol 69 MovieClip Frame 44
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 6
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 27
_root.gotoAndStop(6);
Symbol 86 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 3
stop();
Symbol 92 MovieClip Frame 5
stop();
Symbol 92 MovieClip Frame 7
stop();
Symbol 92 MovieClip Frame 9
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 356
stop();
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 356
onClipEvent (enterFrame) {
if (_root.pr2 > 0) {
this._alpha = 0;
}
}
Symbol 120 MovieClip Frame 600
stop();
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip Frame 600
onClipEvent (enterFrame) {
if (_root.prsss == 1) {
this._alpha = 0;
}
}
Symbol 127 Button
on (press) {
_root.gotoAndStop(2);
}
Symbol 132 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.nname;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MTg2NmolZSVhJW4lcw==", "dmpKSXhpUVI=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.sub2.gotoAndPlay(2);
}
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 10
stop();
getURL ("http://rankz.armorbot.com/stardust/", "_blank");
Symbol 159 Button
on (release) {
_parent.submitScore();
}
Symbol 161 Button
on (release) {
_parent.secCodeLoad();
}
Symbol 168 Button
on (release) {
_parent.back();
}
Symbol 171 Button
on (release) {
_parent.viewScore();
}
Symbol 175 MovieClip [HiScores] Frame 1
#initclip 10
Object.registerClass("HiScores", HiScores);
#endinitclip