Frame 2
function rightclick() {
getURL ("http://www.girlgames1.com");
}
var fmm01_menu = new ContextMenu();
fmm01_menu.hideBuiltInItems();
_root.menu = fmm01_menu;
var item = new ContextMenuItem("Created by www.girlgames1.com", rightclick);
fmm01_menu.customItems[0] = item;
Frame 3
var loadper = 0;
Frame 4
if (_framesloaded == _totalframes) {
gotoAndPlay (6);
} else {
setProperty(_root.bar, _xscale , (int(_root.getBytesLoaded() / 1000) / int(_root.getBytesTotal() / 1000)) * 100);
loadper = int(((_root.getBytesLoaded() / 1000) / (_root.getBytesTotal() / 1000)) * 100);
}
Frame 5
gotoAndPlay (3);
Frame 6
function rightclick() {
getURL ("http://www.girlgames1.com");
}
var fmm01_menu = new ContextMenu();
fmm01_menu.hideBuiltInItems();
_root.menu = fmm01_menu;
var item = new ContextMenuItem("Created by www.girlgames1.com", rightclick);
fmm01_menu.customItems[0] = item;
Frame 212
stop();
Frame 213
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("03e95de2", this, 10301, true);
Bust = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_correctsndins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.correctsndins = new Sound(this._parent.BS_correctsndins);
} else {
this.createEmptyMovieClip("_correctsndins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.correctsndins = new Sound(this.BS_correctsndins);
}
_global.Behaviors.Sound.correctsndins.attachSound("correctsnd");
_global.Behaviors.Sound.correctsndins.start(0, 1);
} else {
_global.Behaviors.Sound.correctsndins.stop("correctsnd");
}
};
onclick = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_clickins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.clickins = new Sound(this._parent.BS_clickins);
} else {
this.createEmptyMovieClip("_clickins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.clickins = new Sound(this.BS_clickins);
}
_global.Behaviors.Sound.clickins.attachSound("clicksnd");
_global.Behaviors.Sound.clickins.start(0, 1);
} else {
_global.Behaviors.Sound.clickins.stop("clicksnd");
}
};
onroll = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_rollins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.rollins = new Sound(this._parent.BS_rollins);
} else {
this.createEmptyMovieClip("_rollins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.rollins = new Sound(this.BS_rollins);
}
_global.Behaviors.Sound.rollins.attachSound("rollover");
_global.Behaviors.Sound.rollins.start(0, 1);
} else {
_global.Behaviors.Sound.rollins.stop("rollover");
}
};
caughtsound = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_dreamins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.dreamins = new Sound(this._parent.BS_dreamins);
} else {
this.createEmptyMovieClip("_dreamins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.dreamins = new Sound(this.BS_dreamins);
}
_global.Behaviors.Sound.dreamins.attachSound("dream");
_global.Behaviors.Sound.dreamins.start(0, 1);
} else {
_global.Behaviors.Sound.dreamins.stop("dream");
}
};
congratssound = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_congins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.congins = new Sound(this._parent.BS_congins);
} else {
this.createEmptyMovieClip("_congins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.congins = new Sound(this.BS_congins);
}
_global.Behaviors.Sound.congins.attachSound("cong");
_global.Behaviors.Sound.congins.start(0, 1);
} else {
_global.Behaviors.Sound.congins.stop("cong");
}
};
outsound = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_reloadstartins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.reloadstartins = new Sound(this._parent.BS_reloadstartins);
} else {
this.createEmptyMovieClip("_reloadstartins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.reloadstartins = new Sound(this.BS_reloadstartins);
}
_global.Behaviors.Sound.reloadstartins.attachSound("reloadstartsnd");
_global.Behaviors.Sound.reloadstartins.start(0, 1);
} else {
_global.Behaviors.Sound.reloadstartins.stop("reloadstartsnd");
}
};
gameoversound = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_gameoverins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.gameoverins = new Sound(this._parent.BS_gameoverins);
} else {
this.createEmptyMovieClip("_gameoverins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.gameoverins = new Sound(this.BS_gameoverins);
}
_global.Behaviors.Sound.gameoverins.attachSound("gameoversnd");
_global.Behaviors.Sound.gameoverins.start(0, 1);
} else {
_global.Behaviors.Sound.gameoverins.stop("gameoversnd");
}
};
transitionsound = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_reloadalertins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.reloadalertins = new Sound(this._parent.BS_reloadalertins);
} else {
this.createEmptyMovieClip("_reloadalertins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.reloadalertins = new Sound(this.BS_reloadalertins);
}
_global.Behaviors.Sound.reloadalertins.attachSound("reloadalertsnd");
_global.Behaviors.Sound.reloadalertins.start(0, 100);
} else {
_global.Behaviors.Sound.reloadalertins.stop("reloadalertsnd");
}
};
orangedsound = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_orangedins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.orangedins = new Sound(this._parent.BS_orangedins);
} else {
this.createEmptyMovieClip("_orangedins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.orangedins = new Sound(this.BS_orangedins);
}
_global.Behaviors.Sound.orangedins.attachSound("oranged");
_global.Behaviors.Sound.orangedins.start(0, 1);
} else {
_global.Behaviors.Sound.orangedins.stop("oranged");
}
};
bluedsound = function () {
if (mussnd._currentframe == 1) {
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_bluedins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.bluedins = new Sound(this._parent.BS_bluedins);
} else {
this.createEmptyMovieClip("_bluedins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.bluedins = new Sound(this.BS_bluedins);
}
_global.Behaviors.Sound.bluedins.attachSound("blued");
_global.Behaviors.Sound.bluedins.start(0, 1);
} else {
_global.Behaviors.Sound.bluedins.stop("blued");
}
};
_global.Behaviors.Sound.orangedins.stop("oranged");
_global.Behaviors.Sound.bluedins.stop("blued");
_global.Behaviors.Sound.correctsndins.stop("correctsnd");
_global.Behaviors.Sound.clickins.stop("clicksnd");
_global.Behaviors.Sound.rollins.stop("rollover");
_global.Behaviors.Sound.dreamins.stop("dream");
_global.Behaviors.Sound.congins.stop("cong");
_global.Behaviors.Sound.reloadstartins.stop("reloadstartsnd");
_global.Behaviors.Sound.gameoverins.stop("gameoversnd");
_global.Behaviors.Sound.reloadalertins.stop("reloadalertsnd");
stop();
Frame 216
blockinfun = function (blockin, moverXa, moverYa, moverWa, moverHa, moverNa, standerXa, standerYa, standerWa, standerHa, standerNa, theYa, theXa, toucha, dira, coorda, speeda, balla) {
moverXa = balla._x;
moverYa = balla._y;
moverWa = balla._width / 2;
moverHa = balla._height / 2;
standerXa = blockin._x;
standerYa = blockin._y;
standerWa = blockin._width / 2;
standerHa = blockin._height / 2;
theYa = ((moverYa + moverHa) > (standerYa - standerHa)) && ((moverYa - moverHa) < (standerYa + standerHa));
theXa = ((moverXa + moverWa) > (standerXa - standerWa)) && ((moverXa - moverWa) < (standerXa + standerWa));
if (theYa) {
if (theXa) {
toucha = true;
} else {
toucha = false;
}
} else {
toucha = false;
}
if (toucha == true) {
if (dira == "+") {
if (coorda == "X") {
balla._x = balla._x + speeda;
} else if (coorda == "Y") {
balla._y = balla._y + speeda;
}
} else if (dira == "-") {
if (coorda == "X") {
balla._x = balla._x - speeda;
} else if (coorda == "Y") {
balla._y = balla._y - speeda;
}
}
}
};
function moves() {
if (ball.hitTest(orange1.hit)) {
orange1.gotoAndStop(2);
}
if (ball.hitTest(orange2.hit)) {
orange2.gotoAndStop(2);
}
if (ball.hitTest(orange3.hit)) {
orange3.gotoAndStop(2);
}
if (ball.hitTest(orange4.hit)) {
orange4.gotoAndStop(2);
}
if (ball.hitTest(blue.hit)) {
blue.gotoAndStop(2);
}
if (ball.hitTest(steps.hit)) {
gotoAndStop ("level1end");
}
if (ball.hitTest(man1.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man2.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man3.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man4.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(dim1)) {
dim1.gotoAndStop(2);
}
if (ball.hitTest(dim2)) {
dim2.gotoAndStop(2);
}
if (ball.hitTest(dim3)) {
dim3.gotoAndStop(2);
}
if (ball.hitTest(dim4)) {
dim4.gotoAndStop(2);
}
if (ball.hitTest(dim5)) {
dim5.gotoAndStop(2);
}
if (ball.hitTest(dim6)) {
dim6.gotoAndStop(2);
}
if (ball.hitTest(dim7)) {
dim7.gotoAndStop(2);
}
if (ball.hitTest(dim8)) {
dim8.gotoAndStop(2);
}
if (ball.hitTest(dim9)) {
dim9.gotoAndStop(2);
}
if (ball.hitTest(dim10)) {
dim10.gotoAndStop(2);
}
if (ball.hitTest(dim11)) {
dim11.gotoAndStop(2);
}
if (ball.hitTest(dim12)) {
dim12.gotoAndStop(2);
}
if (ball.hitTest(dim13)) {
dim13.gotoAndStop(2);
}
if (ball.hitTest(dim14)) {
dim14.gotoAndStop(2);
}
if (ball.hitTest(dim15)) {
dim15.gotoAndStop(2);
}
if (ball.hitTest(dim16)) {
dim16.gotoAndStop(2);
}
if (ball.hitTest(dim17)) {
dim17.gotoAndStop(2);
}
if (ball.hitTest(dim18)) {
dim18.gotoAndStop(2);
}
if (ball.hitTest(dim19)) {
dim19.gotoAndStop(2);
}
if (ball.hitTest(dim20)) {
dim20.gotoAndStop(2);
}
if (ball.hitTest(dim21)) {
dim21.gotoAndStop(2);
}
if (ball.hitTest(dim22)) {
dim22.gotoAndStop(2);
}
if (ball.hitTest(dim23)) {
dim23.gotoAndStop(2);
}
if (ball.hitTest(dim24)) {
dim24.gotoAndStop(2);
}
if (ball.hitTest(dim25)) {
dim25.gotoAndStop(2);
}
if (ball.hitTest(dim26)) {
dim26.gotoAndStop(2);
}
if (ball.hitTest(dim27)) {
dim27.gotoAndStop(2);
}
if (ball.hitTest(dim28)) {
dim28.gotoAndStop(2);
}
if (ball.hitTest(dim29)) {
dim29.gotoAndStop(2);
}
if (ball.hitTest(dim30)) {
dim30.gotoAndStop(2);
}
if (ball.hitTest(dim31)) {
dim31.gotoAndStop(2);
}
if (ball.hitTest(dim32)) {
dim32.gotoAndStop(2);
}
if (ball.hitTest(dim33)) {
dim33.gotoAndStop(2);
}
if (ball.hitTest(dim34)) {
dim34.gotoAndStop(2);
}
if (ball.hitTest(dim35)) {
dim35.gotoAndStop(2);
}
if (ball.hitTest(dim36)) {
dim36.gotoAndStop(2);
}
if (ball.hitTest(dim37)) {
dim37.gotoAndStop(2);
}
if (ball.hitTest(dim38)) {
dim38.gotoAndStop(2);
}
if (ball.hitTest(dim39)) {
dim39.gotoAndStop(2);
}
if (ball.hitTest(dim40)) {
dim40.gotoAndStop(2);
}
if (ball.hitTest(dim41)) {
dim41.gotoAndStop(2);
}
if (ball.hitTest(dim42)) {
dim42.gotoAndStop(2);
}
if (ball.hitTest(dim43)) {
dim43.gotoAndStop(2);
}
if (ball.hitTest(dim44)) {
dim44.gotoAndStop(2);
}
if (ball.hitTest(dim45)) {
dim45.gotoAndStop(2);
}
if (ball.hitTest(dim46)) {
dim46.gotoAndStop(2);
}
if (ball.hitTest(dim47)) {
dim47.gotoAndStop(2);
}
if (ball.hitTest(dim48)) {
dim48.gotoAndStop(2);
}
if (ball.hitTest(dim49)) {
dim49.gotoAndStop(2);
}
if (ball.hitTest(dim50)) {
dim50.gotoAndStop(2);
}
if (ball.hitTest(dim51)) {
dim51.gotoAndStop(2);
}
if (ball.hitTest(dim52)) {
dim52.gotoAndStop(2);
}
if (ball.hitTest(dim53)) {
dim53.gotoAndStop(2);
}
if (ball.hitTest(dim54)) {
dim54.gotoAndStop(2);
}
if (ball.hitTest(dim55)) {
dim55.gotoAndStop(2);
}
if (ball.hitTest(dim56)) {
dim56.gotoAndStop(2);
}
if (ball.hitTest(dim57)) {
dim57.gotoAndStop(2);
}
if (ball.hitTest(dim58)) {
dim58.gotoAndStop(2);
}
if (ball.hitTest(dim59)) {
dim59.gotoAndStop(2);
}
if (ball.hitTest(dim60)) {
dim60.gotoAndStop(2);
}
if (ball.hitTest(dim61)) {
dim61.gotoAndStop(2);
}
if (ball.hitTest(dim62)) {
dim62.gotoAndStop(2);
}
if (ball.hitTest(dim63)) {
dim63.gotoAndStop(2);
}
if (ball.hitTest(dim64)) {
dim64.gotoAndStop(2);
}
if (ball.hitTest(dim65)) {
dim65.gotoAndStop(2);
}
if (ball.hitTest(dim66)) {
dim66.gotoAndStop(2);
}
if (ball.hitTest(dim67)) {
dim67.gotoAndStop(2);
}
if (ball.hitTest(dim68)) {
dim68.gotoAndStop(2);
}
if (ball.hitTest(dim69)) {
dim69.gotoAndStop(2);
}
if (ball.hitTest(dim70)) {
dim70.gotoAndStop(2);
}
if (ball.hitTest(dim71)) {
dim71.gotoAndStop(2);
}
if (ball.hitTest(dim72)) {
dim72.gotoAndStop(2);
}
if (ball.hitTest(dim73)) {
dim73.gotoAndStop(2);
}
if (ball.hitTest(dim74)) {
dim74.gotoAndStop(2);
}
if (ball.hitTest(dim75)) {
dim75.gotoAndStop(2);
}
if (ball.hitTest(dim76)) {
dim76.gotoAndStop(2);
}
if (ball.hitTest(dim77)) {
dim77.gotoAndStop(2);
}
if (ball.hitTest(dim78)) {
dim78.gotoAndStop(2);
}
if (ball.hitTest(dim79)) {
dim79.gotoAndStop(2);
}
if (ball.hitTest(dim80)) {
dim80.gotoAndStop(2);
}
if (ball.hitTest(dim81)) {
dim81.gotoAndStop(2);
}
if (ball.hitTest(dim82)) {
dim82.gotoAndStop(2);
}
if (ball.hitTest(dim83)) {
dim83.gotoAndStop(2);
}
if (ball.hitTest(dim84)) {
dim84.gotoAndStop(2);
}
if (ball.hitTest(dim85)) {
dim85.gotoAndStop(2);
}
if (ball.hitTest(dim86)) {
dim86.gotoAndStop(2);
}
if (ball.hitTest(dim87)) {
dim87.gotoAndStop(2);
}
if (ball.hitTest(dim88)) {
dim88.gotoAndStop(2);
}
if (ball.hitTest(dim89)) {
dim89.gotoAndStop(2);
}
if (ball.hitTest(dim90)) {
dim90.gotoAndStop(2);
}
if (ball.hitTest(dim91)) {
dim91.gotoAndStop(2);
}
if (ball.hitTest(dim92)) {
dim92.gotoAndStop(2);
}
if (ball.hitTest(dim93)) {
dim93.gotoAndStop(2);
}
if (ball.hitTest(dim94)) {
dim94.gotoAndStop(2);
}
if (ball.hitTest(dim95)) {
dim95.gotoAndStop(2);
}
if (ball.hitTest(dim96)) {
dim96.gotoAndStop(2);
}
if (ball.hitTest(dim97)) {
dim97.gotoAndStop(2);
}
if (ball.hitTest(dim98)) {
dim98.gotoAndStop(2);
}
if (ball.hitTest(dim99)) {
dim99.gotoAndStop(2);
}
if (ball.hitTest(dim100)) {
dim100.gotoAndStop(2);
}
if (ball.hitTest(dim101)) {
dim101.gotoAndStop(2);
}
if (ball.hitTest(dim102)) {
dim102.gotoAndStop(2);
}
if (ball.hitTest(dim103)) {
dim103.gotoAndStop(2);
}
if (ball.hitTest(dim104)) {
dim104.gotoAndStop(2);
}
if (ball.hitTest(dim105)) {
dim105.gotoAndStop(2);
}
if (ball.hitTest(dim106)) {
dim106.gotoAndStop(2);
}
if (ball.hitTest(dim107)) {
dim107.gotoAndStop(2);
}
if (ball.hitTest(dim108)) {
dim108.gotoAndStop(2);
}
if (ball.hitTest(dim109)) {
dim109.gotoAndStop(2);
}
if (ball.hitTest(dim110)) {
dim110.gotoAndStop(2);
}
if (ball.hitTest(dim111)) {
dim111.gotoAndStop(2);
}
if (ball.hitTest(dim112)) {
dim112.gotoAndStop(2);
}
if (ball.hitTest(dim113)) {
dim113.gotoAndStop(2);
}
if (ball.hitTest(dim114)) {
dim114.gotoAndStop(2);
}
if (ball.hitTest(dim115)) {
dim115.gotoAndStop(2);
}
if (ball.hitTest(dim116)) {
dim116.gotoAndStop(2);
}
if (ball.hitTest(dim117)) {
dim117.gotoAndStop(2);
}
if (ball.hitTest(dim118)) {
dim118.gotoAndStop(2);
}
if (ball.hitTest(dim119)) {
dim119.gotoAndStop(2);
}
if (ball.hitTest(dim120)) {
dim120.gotoAndStop(2);
}
if (ball.hitTest(dim121)) {
dim121.gotoAndStop(2);
}
if (ball.hitTest(dim122)) {
dim122.gotoAndStop(2);
}
if (ball.hitTest(dim123)) {
dim123.gotoAndStop(2);
}
if (ball.hitTest(dim124)) {
dim124.gotoAndStop(2);
}
if (ball.hitTest(dim125)) {
dim125.gotoAndStop(2);
}
if (ball.hitTest(dim126)) {
dim126.gotoAndStop(2);
}
if (ball.hitTest(dim127)) {
dim127.gotoAndStop(2);
}
if (ball.hitTest(dim128)) {
dim128.gotoAndStop(2);
}
if (ball.hitTest(dim129)) {
dim129.gotoAndStop(2);
}
if (ball.hitTest(dim130)) {
dim130.gotoAndStop(2);
}
if (ball.hitTest(dim131)) {
dim131.gotoAndStop(2);
}
if (ball.hitTest(dim132)) {
dim132.gotoAndStop(2);
}
if (ball.hitTest(dim133)) {
dim133.gotoAndStop(2);
}
if (ball.hitTest(dim134)) {
dim134.gotoAndStop(2);
}
if (ball.hitTest(dim135)) {
dim135.gotoAndStop(2);
}
if (ball.hitTest(dim136)) {
dim136.gotoAndStop(2);
}
if (ball.hitTest(dim137)) {
dim137.gotoAndStop(2);
}
if (ball.hitTest(dim138)) {
dim138.gotoAndStop(2);
}
if (ball.hitTest(dim139)) {
dim139.gotoAndStop(2);
}
if (ball.hitTest(dim140)) {
dim140.gotoAndStop(2);
}
if (ball.hitTest(dim141)) {
dim141.gotoAndStop(2);
}
if (Key.isDown(38)) {
dir = "+";
coord = "Y";
ball._y = ball._y - speed;
ball.gotoAndStop("up");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(40)) {
dir = "-";
coord = "Y";
ball._y = ball._y + speed;
ball.gotoAndStop("down");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(39)) {
dir = "-";
coord = "X";
ball._x = ball._x + speed;
ball.gotoAndStop("right");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(37)) {
dir = "+";
coord = "X";
ball._x = ball._x - speed;
ball.gotoAndStop("left");
rounds._visible = false;
rounds.gotoAndStop(36);
}
}
function block1() {
moverX = ball._x;
moverY = ball._y;
moverW = ball._width / 2;
moverH = ball._height / 2;
standerX = block._x;
standerY = block._y;
standerW = block._width / 2;
standerH = block._height / 2;
theX = ((moverX + moverW) > (standerX - standerW)) && ((moverX - moverW) < (standerX + standerW));
theY = ((moverY + moverH) > (standerY - standerH)) && ((moverY - moverH) < (standerY + standerH));
if (theY) {
if (theX) {
touch = true;
} else {
touch = false;
}
} else {
touch = false;
}
if (touch == true) {
if (dir == "+") {
if (coord == "X") {
ball._x = ball._x + speed;
} else if (coord == "Y") {
ball._y = ball._y + speed;
}
} else if (dir == "-") {
if (coord == "X") {
ball._x = ball._x - speed;
} else if (coord == "Y") {
ball._y = ball._y - speed;
}
}
}
}
function blockn2() {
blockinfun(block2, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn3() {
blockinfun(block3, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn4() {
blockinfun(block4, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn5() {
blockinfun(block5, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn6() {
blockinfun(block6, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn7() {
blockinfun(block7, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn8() {
blockinfun(block8, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn9() {
blockinfun(block9, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn10() {
blockinfun(block10, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn11() {
blockinfun(block11, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn12() {
blockinfun(block12, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn13() {
blockinfun(block13, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn14() {
blockinfun(block14, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn15() {
blockinfun(block15, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn16() {
blockinfun(block16, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn17() {
blockinfun(block17, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn18() {
blockinfun(block18, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn19() {
blockinfun(block19, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn20() {
blockinfun(block20, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn21() {
blockinfun(block21, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn22() {
blockinfun(block22, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn23() {
blockinfun(block23, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn24() {
blockinfun(block24, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn25() {
blockinfun(block25, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn26() {
blockinfun(block26, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn27() {
blockinfun(block27, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn28() {
blockinfun(block28, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn29() {
blockinfun(block29, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn30() {
blockinfun(block30, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn31() {
blockinfun(block31, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn32() {
blockinfun(block32, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn33() {
blockinfun(block33, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn34() {
blockinfun(block34, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn35() {
blockinfun(block35, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn36() {
blockinfun(block36, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn37() {
blockinfun(block37, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn38() {
blockinfun(block38, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn39() {
blockinfun(block39, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn40() {
blockinfun(block40, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn41() {
blockinfun(block41, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn42() {
blockinfun(block42, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn43() {
blockinfun(block43, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn44a() {
blockinfun(block44a, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn44b() {
blockinfun(block44b, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn45() {
blockinfun(block45, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn46() {
blockinfun(block46, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function bluegaten() {
blockinfun(bluegate, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function outMcn() {
blockinfun(outMc, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
_global.Behaviors.Sound.gameoverins.stop("gameoversnd");
speed = 4;
ball.onEnterFrame = moves;
block.onEnterFrame = block1;
block2.onEnterFrame = blockn2;
block3.onEnterFrame = blockn3;
block4.onEnterFrame = blockn4;
block5.onEnterFrame = blockn5;
block6.onEnterFrame = blockn6;
block7.onEnterFrame = blockn7;
block8.onEnterFrame = blockn8;
block9.onEnterFrame = blockn9;
block10.onEnterFrame = blockn10;
block11.onEnterFrame = blockn11;
block12.onEnterFrame = blockn12;
block13.onEnterFrame = blockn13;
block14.onEnterFrame = blockn14;
block15.onEnterFrame = blockn15;
block16.onEnterFrame = blockn16;
block17.onEnterFrame = blockn17;
block18.onEnterFrame = blockn18;
block19.onEnterFrame = blockn19;
block20.onEnterFrame = blockn20;
block21.onEnterFrame = blockn21;
block22.onEnterFrame = blockn22;
block23.onEnterFrame = blockn23;
block24.onEnterFrame = blockn24;
block25.onEnterFrame = blockn25;
block26.onEnterFrame = blockn26;
block27.onEnterFrame = blockn27;
block28.onEnterFrame = blockn28;
block29.onEnterFrame = blockn29;
block30.onEnterFrame = blockn30;
block31.onEnterFrame = blockn31;
block32.onEnterFrame = blockn32;
block33.onEnterFrame = blockn33;
block34.onEnterFrame = blockn34;
block35.onEnterFrame = blockn35;
block36.onEnterFrame = blockn36;
block37.onEnterFrame = blockn37;
block38.onEnterFrame = blockn38;
block39.onEnterFrame = blockn39;
block40.onEnterFrame = blockn40;
block41.onEnterFrame = blockn41;
block42.onEnterFrame = blockn42;
block43.onEnterFrame = blockn43;
block44a.onEnterFrame = blockn44a;
block44b.onEnterFrame = blockn44b;
block45.onEnterFrame = blockn45;
block46.onEnterFrame = blockn46;
bluegate.onEnterFrame = bluegaten;
outMc.onEnterFrame = outMcn;
stop();
var score = 0;
level1scr.text = "0";
stop();
Frame 217
gameoversound();
Frame 218
level1txt.text = score;
var level1score = score;
transitionsound();
Bust();
Frame 219
var score = level1score;
level2scr.text = level1score;
stop();
blockinfun = function (blockin, moverXa, moverYa, moverWa, moverHa, moverNa, standerXa, standerYa, standerWa, standerHa, standerNa, theYa, theXa, toucha, dira, coorda, speeda, balla) {
moverXa = balla._x;
moverYa = balla._y;
moverWa = balla._width / 2;
moverHa = balla._height / 2;
standerXa = blockin._x;
standerYa = blockin._y;
standerWa = blockin._width / 2;
standerHa = blockin._height / 2;
theYa = ((moverYa + moverHa) > (standerYa - standerHa)) && ((moverYa - moverHa) < (standerYa + standerHa));
theXa = ((moverXa + moverWa) > (standerXa - standerWa)) && ((moverXa - moverWa) < (standerXa + standerWa));
if (theYa) {
if (theXa) {
toucha = true;
} else {
toucha = false;
}
} else {
toucha = false;
}
if (toucha == true) {
if (dira == "+") {
if (coorda == "X") {
balla._x = balla._x + speeda;
} else if (coorda == "Y") {
balla._y = balla._y + speeda;
}
} else if (dira == "-") {
if (coorda == "X") {
balla._x = balla._x - speeda;
} else if (coorda == "Y") {
balla._y = balla._y - speeda;
}
}
}
};
function block1() {
moverX = ball._x;
moverY = ball._y;
moverW = ball._width / 2;
moverH = ball._height / 2;
standerX = block._x;
standerY = block._y;
standerW = block._width / 2;
standerH = block._height / 2;
theX = ((moverX + moverW) > (standerX - standerW)) && ((moverX - moverW) < (standerX + standerW));
theY = ((moverY + moverH) > (standerY - standerH)) && ((moverY - moverH) < (standerY + standerH));
if (theY) {
if (theX) {
touch = true;
} else {
touch = false;
}
} else {
touch = false;
}
if (touch == true) {
if (dir == "+") {
if (coord == "X") {
ball._x = ball._x + speed;
} else if (coord == "Y") {
ball._y = ball._y + speed;
}
} else if (dir == "-") {
if (coord == "X") {
ball._x = ball._x - speed;
} else if (coord == "Y") {
ball._y = ball._y - speed;
}
}
}
}
function blockn2() {
blockinfun(block2, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn3() {
blockinfun(block3, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn4() {
blockinfun(block4, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn5() {
blockinfun(block5, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn6() {
blockinfun(block6, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn7() {
blockinfun(block7, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn8() {
blockinfun(block8, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn9() {
blockinfun(block9, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn10() {
blockinfun(block10, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn11() {
blockinfun(block11, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn12() {
blockinfun(block12, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn13() {
blockinfun(block13, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn14() {
blockinfun(block14, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn15() {
blockinfun(block15, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn16() {
blockinfun(block16, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn17() {
blockinfun(block17, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn18() {
blockinfun(block18, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn19() {
blockinfun(block19, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn20() {
blockinfun(block20, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn21() {
blockinfun(block21, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn21a() {
blockinfun(block21a, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn22() {
blockinfun(block22, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn23() {
blockinfun(block23, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn24() {
blockinfun(block24, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn25() {
blockinfun(block25, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn26() {
blockinfun(block26, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn27() {
blockinfun(block27, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn28() {
blockinfun(block28, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn29() {
blockinfun(block29, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn30() {
blockinfun(block30, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn31() {
blockinfun(block31, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn32() {
blockinfun(block32, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn33() {
blockinfun(block33, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn34() {
blockinfun(block34, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn35() {
blockinfun(block35, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn36() {
blockinfun(block36, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn37() {
blockinfun(block37, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn38() {
blockinfun(block38, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn39() {
blockinfun(block39, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn40() {
blockinfun(block40, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn41() {
blockinfun(block41, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn42() {
blockinfun(block42, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn43() {
blockinfun(block43, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn44() {
blockinfun(block44, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn45() {
blockinfun(block45, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn46a() {
blockinfun(block46a, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn46b() {
blockinfun(block46b, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function bluegaten() {
blockinfun(bluegate, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function outMcn() {
blockinfun(outMc, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
_global.Behaviors.Sound.gameoverins.stop("gameoversnd");
_global.Behaviors.Sound.reloadalertins.stop("reloadalertsnd");
speed = 4;
ball.onEnterFrame = function () {
if (ball.hitTest(orange1.hit)) {
orange1.gotoAndStop(2);
}
if (ball.hitTest(orange2.hit)) {
orange2.gotoAndStop(2);
}
if (ball.hitTest(orange3.hit)) {
orange3.gotoAndStop(2);
}
if (ball.hitTest(orange4.hit)) {
orange4.gotoAndStop(2);
}
if (ball.hitTest(blue.hit)) {
blue.gotoAndStop(2);
}
if (ball.hitTest(steps.hit)) {
gotoAndStop ("level2end");
}
if (ball.hitTest(man1.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man2.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man3.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man4.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(blueman1.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(blueman2.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire1.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire2.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire3.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(dim1)) {
dim1.gotoAndStop(2);
}
if (ball.hitTest(dim2)) {
dim2.gotoAndStop(2);
}
if (ball.hitTest(dim3)) {
dim3.gotoAndStop(2);
}
if (ball.hitTest(dim4)) {
dim4.gotoAndStop(2);
}
if (ball.hitTest(dim5)) {
dim5.gotoAndStop(2);
}
if (ball.hitTest(dim6)) {
dim6.gotoAndStop(2);
}
if (ball.hitTest(dim7)) {
dim7.gotoAndStop(2);
}
if (ball.hitTest(dim8)) {
dim8.gotoAndStop(2);
}
if (ball.hitTest(dim9)) {
dim9.gotoAndStop(2);
}
if (ball.hitTest(dim10)) {
dim10.gotoAndStop(2);
}
if (ball.hitTest(dim11)) {
dim11.gotoAndStop(2);
}
if (ball.hitTest(dim12)) {
dim12.gotoAndStop(2);
}
if (ball.hitTest(dim13)) {
dim13.gotoAndStop(2);
}
if (ball.hitTest(dim14)) {
dim14.gotoAndStop(2);
}
if (ball.hitTest(dim15)) {
dim15.gotoAndStop(2);
}
if (ball.hitTest(dim16)) {
dim16.gotoAndStop(2);
}
if (ball.hitTest(dim17)) {
dim17.gotoAndStop(2);
}
if (ball.hitTest(dim18)) {
dim18.gotoAndStop(2);
}
if (ball.hitTest(dim19)) {
dim19.gotoAndStop(2);
}
if (ball.hitTest(dim20)) {
dim20.gotoAndStop(2);
}
if (ball.hitTest(dim21)) {
dim21.gotoAndStop(2);
}
if (ball.hitTest(dim22)) {
dim22.gotoAndStop(2);
}
if (ball.hitTest(dim23)) {
dim23.gotoAndStop(2);
}
if (ball.hitTest(dim24)) {
dim24.gotoAndStop(2);
}
if (ball.hitTest(dim25)) {
dim25.gotoAndStop(2);
}
if (ball.hitTest(dim26)) {
dim26.gotoAndStop(2);
}
if (ball.hitTest(dim27)) {
dim27.gotoAndStop(2);
}
if (ball.hitTest(dim28)) {
dim28.gotoAndStop(2);
}
if (ball.hitTest(dim29)) {
dim29.gotoAndStop(2);
}
if (ball.hitTest(dim30)) {
dim30.gotoAndStop(2);
}
if (ball.hitTest(dim31)) {
dim31.gotoAndStop(2);
}
if (ball.hitTest(dim32)) {
dim32.gotoAndStop(2);
}
if (ball.hitTest(dim33)) {
dim33.gotoAndStop(2);
}
if (ball.hitTest(dim34)) {
dim34.gotoAndStop(2);
}
if (ball.hitTest(dim35)) {
dim35.gotoAndStop(2);
}
if (ball.hitTest(dim36)) {
dim36.gotoAndStop(2);
}
if (ball.hitTest(dim37)) {
dim37.gotoAndStop(2);
}
if (ball.hitTest(dim38)) {
dim38.gotoAndStop(2);
}
if (ball.hitTest(dim39)) {
dim39.gotoAndStop(2);
}
if (ball.hitTest(dim40)) {
dim40.gotoAndStop(2);
}
if (ball.hitTest(dim41)) {
dim41.gotoAndStop(2);
}
if (ball.hitTest(dim42)) {
dim42.gotoAndStop(2);
}
if (ball.hitTest(dim43)) {
dim43.gotoAndStop(2);
}
if (ball.hitTest(dim44)) {
dim44.gotoAndStop(2);
}
if (ball.hitTest(dim45)) {
dim45.gotoAndStop(2);
}
if (ball.hitTest(dim46)) {
dim46.gotoAndStop(2);
}
if (ball.hitTest(dim47)) {
dim47.gotoAndStop(2);
}
if (ball.hitTest(dim48)) {
dim48.gotoAndStop(2);
}
if (ball.hitTest(dim49)) {
dim49.gotoAndStop(2);
}
if (ball.hitTest(dim50)) {
dim50.gotoAndStop(2);
}
if (ball.hitTest(dim51)) {
dim51.gotoAndStop(2);
}
if (ball.hitTest(dim52)) {
dim52.gotoAndStop(2);
}
if (ball.hitTest(dim53)) {
dim53.gotoAndStop(2);
}
if (ball.hitTest(dim54)) {
dim54.gotoAndStop(2);
}
if (ball.hitTest(dim55)) {
dim55.gotoAndStop(2);
}
if (ball.hitTest(dim56)) {
dim56.gotoAndStop(2);
}
if (ball.hitTest(dim57)) {
dim57.gotoAndStop(2);
}
if (ball.hitTest(dim58)) {
dim58.gotoAndStop(2);
}
if (ball.hitTest(dim59)) {
dim59.gotoAndStop(2);
}
if (ball.hitTest(dim60)) {
dim60.gotoAndStop(2);
}
if (ball.hitTest(dim61)) {
dim61.gotoAndStop(2);
}
if (ball.hitTest(dim62)) {
dim62.gotoAndStop(2);
}
if (ball.hitTest(dim63)) {
dim63.gotoAndStop(2);
}
if (ball.hitTest(dim64)) {
dim64.gotoAndStop(2);
}
if (ball.hitTest(dim65)) {
dim65.gotoAndStop(2);
}
if (ball.hitTest(dim66)) {
dim66.gotoAndStop(2);
}
if (ball.hitTest(dim67)) {
dim67.gotoAndStop(2);
}
if (ball.hitTest(dim68)) {
dim68.gotoAndStop(2);
}
if (ball.hitTest(dim69)) {
dim69.gotoAndStop(2);
}
if (ball.hitTest(dim70)) {
dim70.gotoAndStop(2);
}
if (ball.hitTest(dim71)) {
dim71.gotoAndStop(2);
}
if (ball.hitTest(dim72)) {
dim72.gotoAndStop(2);
}
if (ball.hitTest(dim73)) {
dim73.gotoAndStop(2);
}
if (ball.hitTest(dim74)) {
dim74.gotoAndStop(2);
}
if (ball.hitTest(dim75)) {
dim75.gotoAndStop(2);
}
if (ball.hitTest(dim76)) {
dim76.gotoAndStop(2);
}
if (ball.hitTest(dim77)) {
dim77.gotoAndStop(2);
}
if (ball.hitTest(dim78)) {
dim78.gotoAndStop(2);
}
if (ball.hitTest(dim79)) {
dim79.gotoAndStop(2);
}
if (ball.hitTest(dim80)) {
dim80.gotoAndStop(2);
}
if (ball.hitTest(dim81)) {
dim81.gotoAndStop(2);
}
if (ball.hitTest(dim82)) {
dim82.gotoAndStop(2);
}
if (ball.hitTest(dim83)) {
dim83.gotoAndStop(2);
}
if (ball.hitTest(dim84)) {
dim84.gotoAndStop(2);
}
if (ball.hitTest(dim85)) {
dim85.gotoAndStop(2);
}
if (ball.hitTest(dim86)) {
dim86.gotoAndStop(2);
}
if (ball.hitTest(dim87)) {
dim87.gotoAndStop(2);
}
if (ball.hitTest(dim88)) {
dim88.gotoAndStop(2);
}
if (ball.hitTest(dim89)) {
dim89.gotoAndStop(2);
}
if (ball.hitTest(dim90)) {
dim90.gotoAndStop(2);
}
if (ball.hitTest(dim91)) {
dim91.gotoAndStop(2);
}
if (ball.hitTest(dim92)) {
dim92.gotoAndStop(2);
}
if (ball.hitTest(dim93)) {
dim93.gotoAndStop(2);
}
if (ball.hitTest(dim94)) {
dim94.gotoAndStop(2);
}
if (ball.hitTest(dim95)) {
dim95.gotoAndStop(2);
}
if (ball.hitTest(dim96)) {
dim96.gotoAndStop(2);
}
if (ball.hitTest(dim97)) {
dim97.gotoAndStop(2);
}
if (ball.hitTest(dim98)) {
dim98.gotoAndStop(2);
}
if (ball.hitTest(dim99)) {
dim99.gotoAndStop(2);
}
if (ball.hitTest(dim100)) {
dim100.gotoAndStop(2);
}
if (ball.hitTest(dim101)) {
dim101.gotoAndStop(2);
}
if (ball.hitTest(dim102)) {
dim102.gotoAndStop(2);
}
if (ball.hitTest(dim103)) {
dim103.gotoAndStop(2);
}
if (ball.hitTest(dim104)) {
dim104.gotoAndStop(2);
}
if (ball.hitTest(dim105)) {
dim105.gotoAndStop(2);
}
if (ball.hitTest(dim106)) {
dim106.gotoAndStop(2);
}
if (ball.hitTest(dim107)) {
dim107.gotoAndStop(2);
}
if (ball.hitTest(dim108)) {
dim108.gotoAndStop(2);
}
if (ball.hitTest(dim109)) {
dim109.gotoAndStop(2);
}
if (ball.hitTest(dim110)) {
dim110.gotoAndStop(2);
}
if (ball.hitTest(dim111)) {
dim111.gotoAndStop(2);
}
if (ball.hitTest(dim112)) {
dim112.gotoAndStop(2);
}
if (ball.hitTest(dim113)) {
dim113.gotoAndStop(2);
}
if (ball.hitTest(dim114)) {
dim114.gotoAndStop(2);
}
if (ball.hitTest(dim115)) {
dim115.gotoAndStop(2);
}
if (ball.hitTest(dim116)) {
dim116.gotoAndStop(2);
}
if (ball.hitTest(dim117)) {
dim117.gotoAndStop(2);
}
if (ball.hitTest(dim118)) {
dim118.gotoAndStop(2);
}
if (ball.hitTest(dim119)) {
dim119.gotoAndStop(2);
}
if (ball.hitTest(dim120)) {
dim120.gotoAndStop(2);
}
if (ball.hitTest(dim121)) {
dim121.gotoAndStop(2);
}
if (ball.hitTest(dim122)) {
dim122.gotoAndStop(2);
}
if (ball.hitTest(dim123)) {
dim123.gotoAndStop(2);
}
if (ball.hitTest(dim124)) {
dim124.gotoAndStop(2);
}
if (ball.hitTest(dim125)) {
dim125.gotoAndStop(2);
}
if (ball.hitTest(dim126)) {
dim126.gotoAndStop(2);
}
if (ball.hitTest(dim127)) {
dim127.gotoAndStop(2);
}
if (ball.hitTest(dim128)) {
dim128.gotoAndStop(2);
}
if (ball.hitTest(dim129)) {
dim129.gotoAndStop(2);
}
if (ball.hitTest(dim130)) {
dim130.gotoAndStop(2);
}
if (ball.hitTest(dim131)) {
dim131.gotoAndStop(2);
}
if (ball.hitTest(dim132)) {
dim132.gotoAndStop(2);
}
if (ball.hitTest(dim133)) {
dim133.gotoAndStop(2);
}
if (ball.hitTest(dim134)) {
dim134.gotoAndStop(2);
}
if (ball.hitTest(dim135)) {
dim135.gotoAndStop(2);
}
if (ball.hitTest(dim136)) {
dim136.gotoAndStop(2);
}
if (ball.hitTest(dim137)) {
dim137.gotoAndStop(2);
}
if (ball.hitTest(dim138)) {
dim138.gotoAndStop(2);
}
if (ball.hitTest(dim139)) {
dim139.gotoAndStop(2);
}
if (ball.hitTest(dim140)) {
dim140.gotoAndStop(2);
}
if (ball.hitTest(dim141)) {
dim141.gotoAndStop(2);
}
if (Key.isDown(38)) {
dir = "+";
coord = "Y";
ball._y = ball._y - speed;
ball.gotoAndStop("up");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(40)) {
dir = "-";
coord = "Y";
ball._y = ball._y + speed;
ball.gotoAndStop("down");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(39)) {
dir = "-";
coord = "X";
ball._x = ball._x + speed;
ball.gotoAndStop("right");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(37)) {
dir = "+";
coord = "X";
ball._x = ball._x - speed;
ball.gotoAndStop("left");
rounds._visible = false;
rounds.gotoAndStop(36);
}
};
block.onEnterFrame = block1;
block2.onEnterFrame = blockn2;
block3.onEnterFrame = blockn3;
block4.onEnterFrame = blockn4;
block5.onEnterFrame = blockn5;
block6.onEnterFrame = blockn6;
block7.onEnterFrame = blockn7;
block8.onEnterFrame = blockn8;
block9.onEnterFrame = blockn9;
block10.onEnterFrame = blockn10;
block11.onEnterFrame = blockn11;
block12.onEnterFrame = blockn12;
block13.onEnterFrame = blockn13;
block14.onEnterFrame = blockn14;
block15.onEnterFrame = blockn15;
block16.onEnterFrame = blockn16;
block17.onEnterFrame = blockn17;
block18.onEnterFrame = blockn18;
block19.onEnterFrame = blockn19;
block20.onEnterFrame = blockn20;
block21.onEnterFrame = blockn21;
block21a.onEnterFrame = blockn21a;
block22.onEnterFrame = blockn22;
block23.onEnterFrame = blockn23;
block24.onEnterFrame = blockn24;
block25.onEnterFrame = blockn25;
block26.onEnterFrame = blockn26;
block27.onEnterFrame = blockn27;
block28.onEnterFrame = blockn28;
block29.onEnterFrame = blockn29;
block30.onEnterFrame = blockn30;
block31.onEnterFrame = blockn31;
block32.onEnterFrame = blockn32;
block33.onEnterFrame = blockn33;
block34.onEnterFrame = blockn34;
block35.onEnterFrame = blockn35;
block36.onEnterFrame = blockn36;
block37.onEnterFrame = blockn37;
block38.onEnterFrame = blockn38;
block39.onEnterFrame = blockn39;
block40.onEnterFrame = blockn40;
block41.onEnterFrame = blockn41;
block42.onEnterFrame = blockn42;
block43.onEnterFrame = blockn43;
block44.onEnterFrame = blockn44;
block45.onEnterFrame = blockn45;
block46a.onEnterFrame = blockn46a;
block46b.onEnterFrame = blockn46b;
bluegate.onEnterFrame = bluegaten;
outMc.onEnterFrame = outMcn;
stop();
Frame 220
gameoversound();
Frame 221
level2txt.text = score;
var level2score = score;
transitionsound();
Bust();
Frame 222
var score = 0;
level1scr.text = level2score;
blockinfun = function (blockin, moverXa, moverYa, moverWa, moverHa, moverNa, standerXa, standerYa, standerWa, standerHa, standerNa, theYa, theXa, toucha, dira, coorda, speeda, balla) {
moverXa = balla._x;
moverYa = balla._y;
moverWa = balla._width / 2;
moverHa = balla._height / 2;
standerXa = blockin._x;
standerYa = blockin._y;
standerWa = blockin._width / 2;
standerHa = blockin._height / 2;
theYa = ((moverYa + moverHa) > (standerYa - standerHa)) && ((moverYa - moverHa) < (standerYa + standerHa));
theXa = ((moverXa + moverWa) > (standerXa - standerWa)) && ((moverXa - moverWa) < (standerXa + standerWa));
if (theYa) {
if (theXa) {
toucha = true;
} else {
toucha = false;
}
} else {
toucha = false;
}
if (toucha == true) {
if (dira == "+") {
if (coorda == "X") {
balla._x = balla._x + speeda;
} else if (coorda == "Y") {
balla._y = balla._y + speeda;
}
} else if (dira == "-") {
if (coorda == "X") {
balla._x = balla._x - speeda;
} else if (coorda == "Y") {
balla._y = balla._y - speeda;
}
}
}
};
function moves() {
if (ball.hitTest(orange1.hit)) {
orange1.gotoAndStop(2);
}
if (ball.hitTest(orange2.hit)) {
orange2.gotoAndStop(2);
}
if (ball.hitTest(orange3.hit)) {
orange3.gotoAndStop(2);
}
if (ball.hitTest(orange4.hit)) {
orange4.gotoAndStop(2);
}
if (ball.hitTest(orange5.hit)) {
orange5.gotoAndStop(2);
}
if (ball.hitTest(orange6.hit)) {
orange6.gotoAndStop(2);
}
if (ball.hitTest(blue.hit)) {
blue.gotoAndStop(2);
}
if (ball.hitTest(steps.hit)) {
gotoAndStop ("level3end");
}
if (ball.hitTest(man1.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man2.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man3.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(man4.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(blueman1.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(blueman2.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(blueman3.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(blueman4.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(blueman5.wwalk.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire1.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire2.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire3.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire4.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire5.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire6.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire7.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire8.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(fire9.hit)) {
ball.girl.gotoAndStop(2);
}
if (ball.hitTest(dim1)) {
dim1.gotoAndStop(2);
}
if (ball.hitTest(dim2)) {
dim2.gotoAndStop(2);
}
if (ball.hitTest(dim3)) {
dim3.gotoAndStop(2);
}
if (ball.hitTest(dim4)) {
dim4.gotoAndStop(2);
}
if (ball.hitTest(dim5)) {
dim5.gotoAndStop(2);
}
if (ball.hitTest(dim6)) {
dim6.gotoAndStop(2);
}
if (ball.hitTest(dim7)) {
dim7.gotoAndStop(2);
}
if (ball.hitTest(dim8)) {
dim8.gotoAndStop(2);
}
if (ball.hitTest(dim9)) {
dim9.gotoAndStop(2);
}
if (ball.hitTest(dim10)) {
dim10.gotoAndStop(2);
}
if (ball.hitTest(dim11)) {
dim11.gotoAndStop(2);
}
if (ball.hitTest(dim12)) {
dim12.gotoAndStop(2);
}
if (ball.hitTest(dim13)) {
dim13.gotoAndStop(2);
}
if (ball.hitTest(dim14)) {
dim14.gotoAndStop(2);
}
if (ball.hitTest(dim15)) {
dim15.gotoAndStop(2);
}
if (ball.hitTest(dim16)) {
dim16.gotoAndStop(2);
}
if (ball.hitTest(dim17)) {
dim17.gotoAndStop(2);
}
if (ball.hitTest(dim18)) {
dim18.gotoAndStop(2);
}
if (ball.hitTest(dim19)) {
dim19.gotoAndStop(2);
}
if (ball.hitTest(dim20)) {
dim20.gotoAndStop(2);
}
if (ball.hitTest(dim21)) {
dim21.gotoAndStop(2);
}
if (ball.hitTest(dim22)) {
dim22.gotoAndStop(2);
}
if (ball.hitTest(dim23)) {
dim23.gotoAndStop(2);
}
if (ball.hitTest(dim24)) {
dim24.gotoAndStop(2);
}
if (ball.hitTest(dim25)) {
dim25.gotoAndStop(2);
}
if (ball.hitTest(dim26)) {
dim26.gotoAndStop(2);
}
if (ball.hitTest(dim27)) {
dim27.gotoAndStop(2);
}
if (ball.hitTest(dim28)) {
dim28.gotoAndStop(2);
}
if (ball.hitTest(dim29)) {
dim29.gotoAndStop(2);
}
if (ball.hitTest(dim30)) {
dim30.gotoAndStop(2);
}
if (ball.hitTest(dim31)) {
dim31.gotoAndStop(2);
}
if (ball.hitTest(dim32)) {
dim32.gotoAndStop(2);
}
if (ball.hitTest(dim33)) {
dim33.gotoAndStop(2);
}
if (ball.hitTest(dim34)) {
dim34.gotoAndStop(2);
}
if (ball.hitTest(dim35)) {
dim35.gotoAndStop(2);
}
if (ball.hitTest(dim36)) {
dim36.gotoAndStop(2);
}
if (ball.hitTest(dim37)) {
dim37.gotoAndStop(2);
}
if (ball.hitTest(dim38)) {
dim38.gotoAndStop(2);
}
if (ball.hitTest(dim39)) {
dim39.gotoAndStop(2);
}
if (ball.hitTest(dim40)) {
dim40.gotoAndStop(2);
}
if (ball.hitTest(dim41)) {
dim41.gotoAndStop(2);
}
if (ball.hitTest(dim42)) {
dim42.gotoAndStop(2);
}
if (ball.hitTest(dim43)) {
dim43.gotoAndStop(2);
}
if (ball.hitTest(dim44)) {
dim44.gotoAndStop(2);
}
if (ball.hitTest(dim45)) {
dim45.gotoAndStop(2);
}
if (ball.hitTest(dim46)) {
dim46.gotoAndStop(2);
}
if (ball.hitTest(dim47)) {
dim47.gotoAndStop(2);
}
if (ball.hitTest(dim48)) {
dim48.gotoAndStop(2);
}
if (ball.hitTest(dim49)) {
dim49.gotoAndStop(2);
}
if (ball.hitTest(dim50)) {
dim50.gotoAndStop(2);
}
if (ball.hitTest(dim51)) {
dim51.gotoAndStop(2);
}
if (ball.hitTest(dim52)) {
dim52.gotoAndStop(2);
}
if (ball.hitTest(dim53)) {
dim53.gotoAndStop(2);
}
if (ball.hitTest(dim54)) {
dim54.gotoAndStop(2);
}
if (ball.hitTest(dim55)) {
dim55.gotoAndStop(2);
}
if (ball.hitTest(dim56)) {
dim56.gotoAndStop(2);
}
if (ball.hitTest(dim57)) {
dim57.gotoAndStop(2);
}
if (ball.hitTest(dim58)) {
dim58.gotoAndStop(2);
}
if (ball.hitTest(dim59)) {
dim59.gotoAndStop(2);
}
if (ball.hitTest(dim60)) {
dim60.gotoAndStop(2);
}
if (ball.hitTest(dim61)) {
dim61.gotoAndStop(2);
}
if (ball.hitTest(dim62)) {
dim62.gotoAndStop(2);
}
if (ball.hitTest(dim63)) {
dim63.gotoAndStop(2);
}
if (ball.hitTest(dim64)) {
dim64.gotoAndStop(2);
}
if (ball.hitTest(dim65)) {
dim65.gotoAndStop(2);
}
if (ball.hitTest(dim66)) {
dim66.gotoAndStop(2);
}
if (ball.hitTest(dim67)) {
dim67.gotoAndStop(2);
}
if (ball.hitTest(dim68)) {
dim68.gotoAndStop(2);
}
if (ball.hitTest(dim69)) {
dim69.gotoAndStop(2);
}
if (ball.hitTest(dim70)) {
dim70.gotoAndStop(2);
}
if (ball.hitTest(dim71)) {
dim71.gotoAndStop(2);
}
if (ball.hitTest(dim72)) {
dim72.gotoAndStop(2);
}
if (ball.hitTest(dim73)) {
dim73.gotoAndStop(2);
}
if (ball.hitTest(dim74)) {
dim74.gotoAndStop(2);
}
if (ball.hitTest(dim75)) {
dim75.gotoAndStop(2);
}
if (ball.hitTest(dim76)) {
dim76.gotoAndStop(2);
}
if (ball.hitTest(dim77)) {
dim77.gotoAndStop(2);
}
if (ball.hitTest(dim78)) {
dim78.gotoAndStop(2);
}
if (ball.hitTest(dim79)) {
dim79.gotoAndStop(2);
}
if (ball.hitTest(dim80)) {
dim80.gotoAndStop(2);
}
if (ball.hitTest(dim81)) {
dim81.gotoAndStop(2);
}
if (ball.hitTest(dim82)) {
dim82.gotoAndStop(2);
}
if (ball.hitTest(dim83)) {
dim83.gotoAndStop(2);
}
if (ball.hitTest(dim84)) {
dim84.gotoAndStop(2);
}
if (ball.hitTest(dim85)) {
dim85.gotoAndStop(2);
}
if (ball.hitTest(dim86)) {
dim86.gotoAndStop(2);
}
if (ball.hitTest(dim87)) {
dim87.gotoAndStop(2);
}
if (ball.hitTest(dim88)) {
dim88.gotoAndStop(2);
}
if (ball.hitTest(dim89)) {
dim89.gotoAndStop(2);
}
if (ball.hitTest(dim90)) {
dim90.gotoAndStop(2);
}
if (ball.hitTest(dim91)) {
dim91.gotoAndStop(2);
}
if (ball.hitTest(dim92)) {
dim92.gotoAndStop(2);
}
if (ball.hitTest(dim93)) {
dim93.gotoAndStop(2);
}
if (ball.hitTest(dim94)) {
dim94.gotoAndStop(2);
}
if (ball.hitTest(dim95)) {
dim95.gotoAndStop(2);
}
if (ball.hitTest(dim96)) {
dim96.gotoAndStop(2);
}
if (ball.hitTest(dim97)) {
dim97.gotoAndStop(2);
}
if (ball.hitTest(dim98)) {
dim98.gotoAndStop(2);
}
if (ball.hitTest(dim99)) {
dim99.gotoAndStop(2);
}
if (ball.hitTest(dim100)) {
dim100.gotoAndStop(2);
}
if (ball.hitTest(dim101)) {
dim101.gotoAndStop(2);
}
if (ball.hitTest(dim102)) {
dim102.gotoAndStop(2);
}
if (ball.hitTest(dim103)) {
dim103.gotoAndStop(2);
}
if (ball.hitTest(dim104)) {
dim104.gotoAndStop(2);
}
if (ball.hitTest(dim105)) {
dim105.gotoAndStop(2);
}
if (ball.hitTest(dim106)) {
dim106.gotoAndStop(2);
}
if (ball.hitTest(dim107)) {
dim107.gotoAndStop(2);
}
if (ball.hitTest(dim108)) {
dim108.gotoAndStop(2);
}
if (ball.hitTest(dim109)) {
dim109.gotoAndStop(2);
}
if (ball.hitTest(dim110)) {
dim110.gotoAndStop(2);
}
if (ball.hitTest(dim111)) {
dim111.gotoAndStop(2);
}
if (ball.hitTest(dim112)) {
dim112.gotoAndStop(2);
}
if (ball.hitTest(dim113)) {
dim113.gotoAndStop(2);
}
if (ball.hitTest(dim114)) {
dim114.gotoAndStop(2);
}
if (ball.hitTest(dim115)) {
dim115.gotoAndStop(2);
}
if (ball.hitTest(dim116)) {
dim116.gotoAndStop(2);
}
if (ball.hitTest(dim117)) {
dim117.gotoAndStop(2);
}
if (ball.hitTest(dim118)) {
dim118.gotoAndStop(2);
}
if (ball.hitTest(dim119)) {
dim119.gotoAndStop(2);
}
if (ball.hitTest(dim120)) {
dim120.gotoAndStop(2);
}
if (ball.hitTest(dim121)) {
dim121.gotoAndStop(2);
}
if (ball.hitTest(dim122)) {
dim122.gotoAndStop(2);
}
if (ball.hitTest(dim123)) {
dim123.gotoAndStop(2);
}
if (ball.hitTest(dim124)) {
dim124.gotoAndStop(2);
}
if (ball.hitTest(dim125)) {
dim125.gotoAndStop(2);
}
if (ball.hitTest(dim126)) {
dim126.gotoAndStop(2);
}
if (ball.hitTest(dim127)) {
dim127.gotoAndStop(2);
}
if (ball.hitTest(dim128)) {
dim128.gotoAndStop(2);
}
if (ball.hitTest(dim129)) {
dim129.gotoAndStop(2);
}
if (ball.hitTest(dim130)) {
dim130.gotoAndStop(2);
}
if (ball.hitTest(dim131)) {
dim131.gotoAndStop(2);
}
if (ball.hitTest(dim132)) {
dim132.gotoAndStop(2);
}
if (ball.hitTest(dim133)) {
dim133.gotoAndStop(2);
}
if (ball.hitTest(dim134)) {
dim134.gotoAndStop(2);
}
if (ball.hitTest(dim135)) {
dim135.gotoAndStop(2);
}
if (ball.hitTest(dim136)) {
dim136.gotoAndStop(2);
}
if (ball.hitTest(dim137)) {
dim137.gotoAndStop(2);
}
if (ball.hitTest(dim138)) {
dim138.gotoAndStop(2);
}
if (ball.hitTest(dim139)) {
dim139.gotoAndStop(2);
}
if (ball.hitTest(dim140)) {
dim140.gotoAndStop(2);
}
if (ball.hitTest(dim141)) {
dim141.gotoAndStop(2);
}
if (ball.hitTest(dim142)) {
dim142.gotoAndStop(2);
}
if (ball.hitTest(dim143)) {
dim143.gotoAndStop(2);
}
if (ball.hitTest(dim144)) {
dim144.gotoAndStop(2);
}
if (ball.hitTest(dim145)) {
dim145.gotoAndStop(2);
}
if (ball.hitTest(dim146)) {
dim146.gotoAndStop(2);
}
if (ball.hitTest(dim147)) {
dim147.gotoAndStop(2);
}
if (ball.hitTest(dim148)) {
dim148.gotoAndStop(2);
}
if (ball.hitTest(dim149)) {
dim149.gotoAndStop(2);
}
if (ball.hitTest(dim150)) {
dim150.gotoAndStop(2);
}
if (ball.hitTest(dim151)) {
dim151.gotoAndStop(2);
}
if (Key.isDown(38)) {
dir = "+";
coord = "Y";
ball._y = ball._y - speed;
ball.gotoAndStop("up");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(40)) {
dir = "-";
coord = "Y";
ball._y = ball._y + speed;
ball.gotoAndStop("down");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(39)) {
dir = "-";
coord = "X";
ball._x = ball._x + speed;
ball.gotoAndStop("right");
rounds._visible = false;
rounds.gotoAndStop(36);
} else if (Key.isDown(37)) {
dir = "+";
coord = "X";
ball._x = ball._x - speed;
ball.gotoAndStop("left");
rounds._visible = false;
rounds.gotoAndStop(36);
}
}
function block1() {
moverX = ball._x;
moverY = ball._y;
moverW = ball._width / 2;
moverH = ball._height / 2;
standerX = block._x;
standerY = block._y;
standerW = block._width / 2;
standerH = block._height / 2;
theX = ((moverX + moverW) > (standerX - standerW)) && ((moverX - moverW) < (standerX + standerW));
theY = ((moverY + moverH) > (standerY - standerH)) && ((moverY - moverH) < (standerY + standerH));
if (theY) {
if (theX) {
touch = true;
} else {
touch = false;
}
} else {
touch = false;
}
if (touch == true) {
if (dir == "+") {
if (coord == "X") {
ball._x = ball._x + speed;
} else if (coord == "Y") {
ball._y = ball._y + speed;
}
} else if (dir == "-") {
if (coord == "X") {
ball._x = ball._x - speed;
} else if (coord == "Y") {
ball._y = ball._y - speed;
}
}
}
}
function blockn2() {
blockinfun(block2, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn3() {
blockinfun(block3, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn4() {
blockinfun(block4, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn5() {
blockinfun(block5, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn6() {
blockinfun(block6, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn7() {
blockinfun(block7, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn8() {
blockinfun(block8, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn9() {
blockinfun(block9, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn10() {
blockinfun(block10, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn11() {
blockinfun(block11, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn12() {
blockinfun(block12, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn13() {
blockinfun(block13, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn14() {
blockinfun(block14, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn15() {
blockinfun(block15, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn16() {
blockinfun(block16, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn17() {
blockinfun(block17, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn18() {
blockinfun(block18, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn19() {
blockinfun(block19, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn20() {
blockinfun(block20, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn21() {
blockinfun(block21, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn22() {
blockinfun(block22, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn23() {
blockinfun(block23, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn24() {
blockinfun(block24, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn25() {
blockinfun(block25, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn26() {
blockinfun(block26, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn27() {
blockinfun(block27, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn28() {
blockinfun(block28, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn29() {
blockinfun(block29, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn30() {
blockinfun(block30, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn31() {
blockinfun(block31, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn32() {
blockinfun(block32, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn33() {
blockinfun(block33, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn34() {
blockinfun(block34, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn35() {
blockinfun(block35, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn36() {
blockinfun(block36, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn37() {
blockinfun(block37, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn38() {
blockinfun(block38, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn39() {
blockinfun(block39, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn40a() {
blockinfun(block40a, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn40b() {
blockinfun(block40b, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn41() {
blockinfun(block41, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn42() {
blockinfun(block42, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn43() {
blockinfun(block43, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn44() {
blockinfun(block44, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn45() {
blockinfun(block45, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn46() {
blockinfun(block46, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn47() {
blockinfun(block47, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn48() {
blockinfun(block48, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn49() {
blockinfun(block49, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn50() {
blockinfun(block50, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn51() {
blockinfun(block51, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn52() {
blockinfun(block52, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn53() {
blockinfun(block53, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function blockn54() {
blockinfun(block54, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function bluegaten() {
blockinfun(bluegate, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
function outMcn() {
blockinfun(outMc, moverX, moverY, moverW, moverH, moverN, standerX, standerY, standerW, standerH, standerN, theY, theX, touch, dir, coord, speed, ball);
}
_global.Behaviors.Sound.gameoverins.stop("gameoversnd");
_global.Behaviors.Sound.reloadalertins.stop("reloadalertsnd");
speed = 4;
ball.onEnterFrame = moves;
block.onEnterFrame = block1;
block2.onEnterFrame = blockn2;
block3.onEnterFrame = blockn3;
block4.onEnterFrame = blockn4;
block5.onEnterFrame = blockn5;
block6.onEnterFrame = blockn6;
block7.onEnterFrame = blockn7;
block8.onEnterFrame = blockn8;
block9.onEnterFrame = blockn9;
block10.onEnterFrame = blockn10;
block11.onEnterFrame = blockn11;
block12.onEnterFrame = blockn12;
block13.onEnterFrame = blockn13;
block14.onEnterFrame = blockn14;
block15.onEnterFrame = blockn15;
block16.onEnterFrame = blockn16;
block17.onEnterFrame = blockn17;
block18.onEnterFrame = blockn18;
block19.onEnterFrame = blockn19;
block20.onEnterFrame = blockn20;
block21.onEnterFrame = blockn21;
block22.onEnterFrame = blockn22;
block23.onEnterFrame = blockn23;
block24.onEnterFrame = blockn24;
block25.onEnterFrame = blockn25;
block26.onEnterFrame = blockn26;
block27.onEnterFrame = blockn27;
block28.onEnterFrame = blockn28;
block29.onEnterFrame = blockn29;
block30.onEnterFrame = blockn30;
block31.onEnterFrame = blockn31;
block32.onEnterFrame = blockn32;
block33.onEnterFrame = blockn33;
block34.onEnterFrame = blockn34;
block35.onEnterFrame = blockn35;
block36.onEnterFrame = blockn36;
block37.onEnterFrame = blockn37;
block38.onEnterFrame = blockn38;
block39.onEnterFrame = blockn39;
block40a.onEnterFrame = blockn40a;
block40b.onEnterFrame = blockn40b;
block41.onEnterFrame = blockn41;
block42.onEnterFrame = blockn42;
block43.onEnterFrame = blockn43;
block44.onEnterFrame = blockn44;
block45.onEnterFrame = blockn45;
block46.onEnterFrame = blockn46;
block47.onEnterFrame = blockn47;
block48.onEnterFrame = blockn48;
block49.onEnterFrame = blockn49;
block50.onEnterFrame = blockn50;
block51.onEnterFrame = blockn51;
block52.onEnterFrame = blockn52;
block53.onEnterFrame = blockn53;
block54.onEnterFrame = blockn54;
bluegate.onEnterFrame = bluegaten;
outMc.onEnterFrame = outMcn;
stop();
stop();
Frame 223
gameoversound();
Frame 224
var finalscorew = ((score + level2score) + level1score);
finalscore.text = finalscorew;
congratssound();
Symbol 24 Button
on (release) {
getURL ("http://www.girlgames1.com/", "_blank");
}
Symbol 47 MovieClip Frame 85
gotoAndPlay (56);
Symbol 53 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girlgames1.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=preloader&utm_campaign=branded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
}
Symbol 60 MovieClip Frame 20
this.removeMovieClip();
Symbol 61 MovieClip Frame 1
Frame_num = 1;
angle = 360;
plus_angle = 0;
scene_width = 400;
scene_height = 45;
bar_mc.i = 0;
bar_mc._visible = 0;
bar_mc.onEnterFrame = function () {
var _local2 = this;
if ((_local2.i % Frame_num) == 0) {
mc = _local2.duplicateMovieClip("bar_mc" + _local2.i, _local2.i);
mc._x = random(scene_width);
mc._y = random(scene_height);
mc._rotation = random(angle) + plus_angle;
}
_local2.i++;
};
Symbol 65 MovieClip Frame 30
stop();
Symbol 88 Button
on (release) {
gotoAndStop (213);
}
Symbol 89 Button
on (release) {
gotoAndStop ("playscreen");
}
Symbol 687 Button
on (release) {
gotoAndStop ("intro");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 691 MovieClip Frame 18
stop();
Symbol 707 MovieClip Frame 20
this.removeMovieClip();
Symbol 708 MovieClip Frame 1
Frame_num = 1;
angle = 360;
plus_angle = 0;
scene_width = 400;
scene_height = 45;
bar_mc.i = 0;
bar_mc._visible = 0;
bar_mc.onEnterFrame = function () {
var _local2 = this;
if ((_local2.i % Frame_num) == 0) {
mc = _local2.duplicateMovieClip("bar_mc" + _local2.i, _local2.i);
mc._x = random(scene_width);
mc._y = random(scene_height);
mc._rotation = random(angle) + plus_angle;
}
_local2.i++;
};
Symbol 711 MovieClip Frame 30
stop();
Symbol 724 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-splash&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 754 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girlgames1.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig&utm_campaign=branded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
}
Symbol 762 Button
on (release) {
gotoAndStop (1);
}
Symbol 764 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 765 MovieClip Frame 1
stop();
btn1._visible = true;
btn2._visible = false;
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_bgbmins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.bgbmins = new Sound(this._parent.BS_bgbmins);
} else {
this.createEmptyMovieClip("_bgbmins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.bgbmins = new Sound(this.BS_bgbmins);
}
_global.Behaviors.Sound.bgbmins.attachSound("bgbm");
_global.Behaviors.Sound.bgbmins.start(0, 10000);
Symbol 765 MovieClip Frame 2
stop();
stopAllSounds();
btn1._visible = false;
btn2._visible = true;
Symbol 768 Button
on (release) {
gotoAndStop ("level1");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 769 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-instructions&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 789 MovieClip Frame 205
this._parent.gotoAndStop("instruction");
Symbol 797 Button
on (release) {
getURL ("http://www.girly.com/", "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 799 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girlgames1.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=more-games&utm_campaign=branded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 805 Button
on (release) {
nextFrame();
gotoAndStop;
}
Symbol 809 Button
on (release) {
prevFrame();
gotoAndStop;
}
Symbol 818 MovieClip Frame 1
stop();
Symbol 818 MovieClip Frame 2
stop();
this._parent.orangedsound();
this._parent.bluegatescore.nextFrame();
this._parent.girllife.prevFrame();
_root.score = _root.score + 25;
_root.level1scr.text = _root.score;
Symbol 822 MovieClip Frame 1
stop();
Symbol 822 MovieClip Frame 2
stop();
this._parent.bluedsound();
this._parent.outMc.gotoAndStop(2);
this._parent.maingate.gotoAndStop(2);
Symbol 836 MovieClip Frame 1
stop();
Symbol 836 MovieClip Frame 2
stop();
Symbol 836 MovieClip Frame 3
stop();
Symbol 836 MovieClip Frame 4
stop();
Symbol 848 MovieClip Frame 1
stop();
Symbol 848 MovieClip Frame 2
stop();
Symbol 863 MovieClip Frame 21
gotoAndPlay (2);
Symbol 864 MovieClip Frame 47
this._parent.gotoAndStop(1);
Symbol 865 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 2
stop();
this._parent._parent.outsound();
this._parent._parent.girllife.nextFrame();
Symbol 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 2
stop();
Symbol 866 MovieClip Frame 3
stop();
Symbol 866 MovieClip Frame 4
stop();
Symbol 868 MovieClip Frame 35
gotoAndPlay (1);
Symbol 868 MovieClip Frame 36
stop();
Symbol 872 MovieClip Frame 29
Symbol 873 MovieClip Frame 37
stop();
Symbol 874 MovieClip Frame 1
stop();
hit._visible = false;
hit._y = -250;
Symbol 874 MovieClip Frame 2
stop();
this._parent.Bust();
hit._visible = true;
hit._x = -8.9;
hit._y = -11.6;
Symbol 876 MovieClip Frame 1
stop();
Symbol 876 MovieClip Frame 2
stop();
Symbol 876 MovieClip Frame 3
stop();
Symbol 876 MovieClip Frame 4
stop();
Symbol 876 MovieClip Frame 5
stop();
this._parent.bluegate.gotoAndStop(2);
Symbol 881 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 2
stop();
this._parent.caughtsound();
_root.score = _root.score + 10;
_root.level1scr.text = _root.score;
this._parent.caughtsound();
Symbol 883 MovieClip Frame 2
this._parent._parent.Bust();
Symbol 883 MovieClip Frame 32
this._parent._parent.bluegate._y = -600;
stop();
Symbol 884 MovieClip Frame 1
stop();
Symbol 884 MovieClip Frame 2
stop();
Symbol 897 MovieClip Frame 37
stop();
this._parent._parent.gotoAndStop("gameover1");
Symbol 898 MovieClip Frame 1
stop();
Symbol 898 MovieClip Frame 2
stop();
bom.gotoAndPlay(1);
Symbol 898 MovieClip Frame 3
stop();
bom.gotoAndPlay(1);
Symbol 898 MovieClip Frame 4
stop();
bom.gotoAndPlay(1);
Symbol 905 Button
on (release) {
gotoAndStop ("playscreen");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 907 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l1&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 916 Button
on (release) {
this._parent.gotoAndStop("level1");
}
Symbol 917 MovieClip Frame 15
stop();
Symbol 918 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l1go&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 919 MovieClip Frame 15
this._parent.gotoAndStop("level2");
Symbol 924 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l1win&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 934 MovieClip Frame 1
stop();
hit._visible = false;
hit._y = -250;
Symbol 934 MovieClip Frame 2
stop();
this._parent.Bust();
hit._visible = true;
hit._x = -4;
hit._y = -11.6;
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 2
stop();
this._parent.caughtsound();
this._parent.orangedsound();
this._parent.bluegatescore.nextFrame();
this._parent.girllife.prevFrame();
_root.score = _root.score + 25;
_root.level2scr.text = _root.score;
gotoAndStop (3);
Symbol 935 MovieClip Frame 3
stop();
Symbol 936 MovieClip Frame 1
stop();
Symbol 936 MovieClip Frame 2
_root.score = _root.score + 10;
_root.level2scr.text = _root.score;
this._parent.caughtsound();
gotoAndStop (3);
Symbol 936 MovieClip Frame 3
stop();
Symbol 946 MovieClip Frame 37
stop();
this._parent._parent.gotoAndStop("gameover2");
Symbol 947 MovieClip Frame 1
stop();
Symbol 947 MovieClip Frame 2
stop();
bom.gotoAndPlay(1);
Symbol 947 MovieClip Frame 3
stop();
bom.gotoAndPlay(1);
Symbol 947 MovieClip Frame 4
stop();
bom.gotoAndPlay(1);
Symbol 950 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l2&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 951 Button
on (release) {
this._parent.gotoAndStop("level2");
}
Symbol 952 MovieClip Frame 15
stop();
Symbol 953 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l2go&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 954 MovieClip Frame 15
this._parent.gotoAndStop("level3");
Symbol 957 Button
on (release) {
getURL ("http://www.girly.com/", "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 958 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l2win&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 965 MovieClip Frame 1
stop();
Symbol 965 MovieClip Frame 2
stop();
Symbol 965 MovieClip Frame 3
stop();
Symbol 965 MovieClip Frame 4
stop();
Symbol 965 MovieClip Frame 5
stop();
Symbol 965 MovieClip Frame 6
stop();
Symbol 965 MovieClip Frame 7
stop();
this._parent.bluegate.gotoAndStop(2);
Symbol 967 MovieClip Frame 1
stop();
hit._visible = false;
hit._y = -250;
Symbol 967 MovieClip Frame 2
stop();
this._parent.Bust();
hit._visible = true;
hit._x = -14.9;
hit._y = 4.3;
Symbol 990 MovieClip Frame 37
stop();
this._parent._parent.gotoAndStop("gameover3");
Symbol 991 MovieClip Frame 1
stop();
Symbol 991 MovieClip Frame 2
stop();
bom.gotoAndPlay(1);
Symbol 991 MovieClip Frame 3
stop();
bom.gotoAndPlay(1);
Symbol 991 MovieClip Frame 4
stop();
bom.gotoAndPlay(1);
Symbol 994 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l3&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 995 Button
on (release) {
this._parent.gotoAndStop("level3");
}
Symbol 996 MovieClip Frame 15
stop();
Symbol 997 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-ig-l3go&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 1005 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girlgames1.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=more-games-end&utm_campaign=branded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 1008 Button
on (release) {
gotoAndStop ("playscreen");
onclick();
}
on (rollOver) {
onroll();
}
Symbol 1009 Button
on (press) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var gametitle = "title";
var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flash-games&utm_term=find-my-valentine&utm_content=logo-end&utm_campaign=cobranded-games");
}
on (release) {
getURL (_root.btnUrl, "_blank");
onclick();
}
on (rollOver) {
onroll();
}