Frame 1
MochiAd.showPreloaderAd({id:"ed777c38fb961c13", res:"640x540"});
Instance of Symbol 3 MovieClip in Frame 1
on (release) {
getURL ("http://www.iviewgames.com", "_blank");
}
Frame 2
vers = getVersion();
if (vers >= 7) {
}
_root.percentage = "0%";
Frame 3
tbytes = getBytesTotal();
bloaded = getBytesLoaded();
_root.distsv = Math.ceil((1 / tbytes) * bloaded);
_root.percentage = Math.ceil((100 / tbytes) * bloaded) + "%";
if (tbytes != bloaded) {
gotoAndPlay (2);
} else {
vers = getVersion();
if (vers >= 9) {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
}
Frame 4
Frame 5
stopAllSounds();
stop();
Instance of Symbol 3 MovieClip in Frame 5
on (release) {
getURL ("http://www.iviewgames.com", "_blank");
}
Frame 6
stop();
Frame 7
function goon() {
gotoAndPlay (10);
}
stop();
Instance of Symbol 79 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 240) {
_root.goon();
}
}
on (release) {
getURL ("http://www.iviewgames.com", "_blank");
}
Frame 8
stop();
Instance of Symbol 3 MovieClip in Frame 8
on (release) {
getURL ("http://www.iviewgames.com", "_blank");
}
Frame 10
cam = Camera.get();
cam.setMode(320, 240, cam.fps, false);
vieo.vid._height = 120;
vieo.vid._width = 160;
vieo.vid.attachVideo(cam);
stop();
Frame 11
function detection() {
hit = new flash.display.BitmapData(cam.width * 2, cam.height * 2, true, 4278190080);
empty1.attachBitmap(hit, 0, "always", true);
now.draw(vieo.vid);
now.draw(before, new flash.geom.Matrix(), new flash.geom.ColorTransform(), "difference");
now.threshold(now, rect, pt, ">", _root.leve, 4294901760, 4294967295, false);
var _local2 = new flash.geom.Matrix();
_local2.scale(1, 1);
hit.draw(empty, _local2);
hit.threshold(hit, rect1, pt1, "<", 4293918719, 0);
before.draw(vieo.vid);
}
_root.firstt = true;
cam = Camera.get();
cam.setMode(320, 240, cam.fps, false);
vieo.vid._height = 120;
vieo.vid._width = 160;
vieo.vid.attachVideo(cam);
intervald = setInterval(_root, "detection", 50);
now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true);
empty.attachBitmap(now, 0, "never", false);
before = new flash.display.BitmapData(cam.width / 2, cam.height / 2);
hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344);
empty1.attachBitmap(hit, 0, "never", true);
rect = new flash.geom.Rectangle(0, 0, cam.width / 2, cam.height / 2);
rect1 = new flash.geom.Rectangle(0, 0, cam.width * 2, cam.height * 2);
pt = new flash.geom.Point(0, 0);
pt1 = new flash.geom.Point(0, 0);
stop();
Instance of Symbol 116 MovieClip "detectl" in Frame 11
onClipEvent (load) {
function leveer() {
dist2 = this._x - startx;
if (dist2 > 400) {
dist2 = dist;
}
dist2 = dist2 * 0.5;
if (dist2 < 0) {
dist2 = 0;
}
val = dist / 16;
val2 = val;
n = 0;
while (dist2 > val) {
val = val + val2;
n++;
}
if (n > 9) {
if (n > 10) {
if (n > 11) {
if (n > 12) {
if (n > 13) {
if (n > 14) {
n = "f";
} else {
n = "e";
}
} else {
n = "d";
}
} else {
n = "c";
}
} else {
n = "b";
}
} else {
n = "a";
}
}
val2 = dist / 256;
val = val - (dist / 16);
m = 0;
while (dist2 > val) {
val = val + val2;
m++;
}
if (m > 9) {
if (m > 10) {
if (m > 11) {
if (m > 12) {
if (m > 13) {
if (m > 14) {
m = "f";
} else {
m = "e";
}
} else {
m = "d";
}
} else {
m = "c";
}
} else {
m = "b";
}
} else {
m = "a";
}
}
_root.leve = ((((("0xff" + n) + m) + n) + m) + n) + m;
}
startx = this._x;
dist = 400;
this._x = this._x + (dist / 2);
leveer();
}
on (press) {
startDrag (this, false, startx, this._y, startx + dist, this._y);
}
on (release, releaseOutside) {
leveer();
stopDrag();
}
Instance of Symbol 3 MovieClip in Frame 11
on (release) {
_root.gotoAndStop("troubleshoot");
}
Frame 12
cam = Camera.get();
cam.setMode(320, 240, cam.fps, false);
vieo.vid._height = 120;
vieo.vid._width = 160;
vieo.vid.attachVideo(cam);
_root.inverted = false;
_root.soound = true;
_root.qualv = _quality;
now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true);
empty.attachBitmap(now, 0, "never", false);
before = new flash.display.BitmapData(cam.width / 2, cam.height / 2);
hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344);
empty1.attachBitmap(hit, 0, "never", false);
rect = new flash.geom.Rectangle(0, 0, cam.width / 2, cam.height / 2);
rect1 = new flash.geom.Rectangle(0, 0, cam.width * 2, cam.height * 2);
pt = new flash.geom.Point(0, 0);
pt1 = new flash.geom.Point(0, 0);
stop();
Instance of Symbol 135 MovieClip in Frame 12
onClipEvent (load) {
if (_root.soound == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.soound == true) {
_root.soound = false;
stopAllSounds();
this.gotoAndStop(2);
} else {
_root.soound = true;
this.gotoAndStop(1);
if (_root.playin == true) {
}
}
}
Instance of Symbol 3 MovieClip in Frame 12
on (release) {
var music4 = new Sound();
music4.attachSound("click");
music4.start(0, 1);
_quality = "BEST";
_root.qualv = _quality;
}
Instance of Symbol 3 MovieClip in Frame 12
on (release) {
var music4 = new Sound();
music4.attachSound("click");
music4.start(0, 1);
_quality = "HIGH";
_root.qualv = _quality;
}
Instance of Symbol 3 MovieClip in Frame 12
on (release) {
var music4 = new Sound();
music4.attachSound("click");
music4.start(0, 1);
_quality = "MEDIUM";
_root.qualv = _quality;
}
Instance of Symbol 3 MovieClip in Frame 12
on (release) {
var music4 = new Sound();
music4.attachSound("click");
music4.start(0, 1);
_quality = "LOW";
_root.qualv = _quality;
}
Frame 13
function countdown() {
if (_root.timer > 1) {
_root.timer = _root.timer - 1;
} else if (_root.timer == 1) {
_root.timer = "Go!";
} else {
_root.timer = "";
clearInterval(intervalId3);
play();
}
}
function detection() {
hit = new flash.display.BitmapData(cam.width * 2, cam.height * 2, true, 4278190080);
empty1.attachBitmap(hit, 0, "never", false);
now.draw(vieo.vid);
now.draw(before, new flash.geom.Matrix(), new flash.geom.ColorTransform(), "difference");
now.threshold(now, rect, pt, ">", _root.leve, 4294901760, 4294967295, false);
var landMatrix = (new flash.geom.Matrix());
landMatrix.scale(4, 4);
hit.draw(empty, landMatrix);
hit.threshold(hit, rect1, pt1, "<", 4293918719, 0);
j = _root.buttonmin;
while (j <= _root.buttonmax) {
if (CollisionDetection.checkForCollision(eval ("_root.button" + j), empty1)) {
if (eval (("_root.button" + j) + "._currentframe") < 46) {
eval ("_root.button" + j).gotoAndStop(eval ("_root.button" + j)._currentframe + 5);
}
}
j++;
}
before.draw(vieo.vid);
}
cam = Camera.get();
cam.setMode(640, 480, cam.fps, false);
vieo.vid._height = 480;
vieo.vid._width = 640;
vieo.vid.attachVideo(cam);
if (_root.vieo._xscale < 0) {
_root.vieo._xscale = _root.vieo._xscale * -1;
}
if (_root.inverted == true) {
_root.vieo._x = 0;
_root.empty1._x = 0;
_root.empty1._y = 0;
_root.vieo._xscale = _root.vieo._xscale * -1;
}
_root.timer = 2;
intervalId3 = setInterval(_root, "countdown", 1000);
_root.buttonmin = 0;
_root.buttonmax = 0;
now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true);
empty.attachBitmap(now, 0, "never", false);
before = new flash.display.BitmapData(cam.width / 2, cam.height / 2);
hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344);
empty1.attachBitmap(hit, 0, "never", false);
rect = new flash.geom.Rectangle(0, 0, cam.width / 2, cam.height / 2);
rect1 = new flash.geom.Rectangle(0, 0, cam.width * 2, cam.height * 2);
pt = new flash.geom.Point(0, 0);
pt1 = new flash.geom.Point(0, 0);
stop();
Frame 14
clearInterval(intervald);
intervald = setInterval(_root, "detection", 50);
_quality = "LOW";
cam = Camera.get();
cam.setMode(640, 480, cam.fps, false);
vieo.vid._height = 480;
vieo.vid._width = 640;
vieo.vid.attachVideo(cam);
_root.buttonmin = 1;
_root.buttonmax = 4;
if (_root.firm == true) {
now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true);
empty.attachBitmap(now, 0, "never", false);
before = new flash.display.BitmapData(cam.width / 2, cam.height / 2);
hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344);
empty1.attachBitmap(hit, 0, "never", false);
rect = new flash.geom.Rectangle(0, 0, cam.width / 2, cam.height / 2);
rect1 = new flash.geom.Rectangle(0, 0, cam.width * 2, cam.height * 2);
pt = new flash.geom.Point(0, 0);
pt1 = new flash.geom.Point(0, 0);
_root.firm = false;
}
_root.bhit = function (namee) {
if (namee == "button1") {
gotoAndStop ("play");
} else if (namee == "button2") {
gotoAndStop ("options");
} else if (namee == "button3") {
gotoAndStop ("help");
} else if (namee == "button4") {
gotoAndStop ("about");
} else if (namee == "button5") {
my_sound.stop();
clearInterval(_root.hjem);
gotoAndStop ("menu");
} else if (namee == "button6") {
my_sound.stop();
clearInterval(intervalId9);
clearInterval(intervalId10);
clearInterval(_root.hjem);
gotoAndStop ("inst");
} else if (namee == "button7") {
_root.timer = 3;
intervalId9 = setInterval(_root, "takephoto", 1000);
} else if (namee == "button8") {
gotoAndStop ("game");
} else if (namee == "button9") {
gotoAndStop ("play");
} else {
trace("name didnt match");
}
};
stop();
Instance of Symbol 104 MovieClip "button1" in Frame 14
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Instance of Symbol 104 MovieClip "button3" in Frame 14
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Instance of Symbol 104 MovieClip "button4" in Frame 14
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Frame 15
_root.buttonmin = 5;
_root.buttonmax = 5;
stop();
Instance of Symbol 78 MovieClip in Frame 15
on (release) {
getURL ("http://www.iviewgames.com", "_blank");
}
Instance of Symbol 104 MovieClip "button5" in Frame 15
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Frame 16
_root.buttonmin = 0;
_root.buttonmax = 0;
stop();
Frame 17
_root.buttonmin = 5;
_root.buttonmax = 5;
stop();
Instance of Symbol 104 MovieClip "button5" in Frame 17
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Frame 18
function takephoto() {
if (_root.timer > 1) {
_root.timer = _root.timer - 1;
} else if (_root.timer == 1) {
photo._x = 385;
photo._y = 129;
take = new flash.display.BitmapData(130, 160, true);
var _local2 = new flash.geom.Matrix(4, 0, 0, 4, -255, -129);
take.draw(_root.vieo.vid, _local2);
take.draw(boarder);
photo.attachBitmap(take, 0, "never", false);
intervalId10 = setInterval(_root, "movep", 50);
_root.movepm = 0;
if (_root.inverted == true) {
} else {
photo._xscale = photo._xscale * -1;
}
_root.timer = "";
} else {
clearInterval(intervalId9);
}
}
function movep() {
_root.movepm++;
xv = 10.75;
yv = 4.55;
photo._rotation = photo._rotation + 1.5;
photo._x = photo._x + xv;
photo._y = photo._y + yv;
if (_root.movepm >= 20) {
clearInterval(intervalId10);
}
}
_root.buttonmin = 5;
_root.buttonmax = 7;
photo._x = 385;
photo._y = 129.1;
stop();
Instance of Symbol 104 MovieClip "button6" in Frame 18
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Instance of Symbol 104 MovieClip "button7" in Frame 18
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Frame 19
_root.buttonmin = 8;
_root.buttonmax = 9;
if (_root.inverted == true) {
photo._x = 40;
} else {
photo._x = 170;
}
photo._y = 210;
photo._rotation = 0;
clearInterval(intervald);
intervald = setInterval(_root, "detection", 50);
stopAllSounds();
Instance of Symbol 104 MovieClip "button9" in Frame 19
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Instance of Symbol 104 MovieClip "button8" in Frame 19
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Frame 20
_root.buttonmin = 5;
_root.buttonmax = 6;
_root.button5._y = -200;
_root.button6._y = -200;
_root.gbt._y = -200;
_root.info = "Game Over";
clearInterval(intervald);
function control() {
if (_root.boardsprod == _root.boardsreq) {
clearInterval(_root.crat);
if (_root.leveln == 0) {
_root.startgame();
} else if ((_root.gameon == true) && (_root.stoppin == false)) {
_root.stopgame();
}
}
}
function create() {
trace("creating");
if (_root.gameon == true) {
if (_root.boardsprod != _root.boardsreq) {
bord = Math.ceil(Math.random() * _root.th);
_root.succ = false;
i = 1;
while (i <= _root.th) {
if (_root.succ == false) {
if ((_root.tho[bord] == true) || (_root.thb[bord] == true)) {
if (bord == _root.th) {
bord = 1;
} else {
bord++;
}
} else {
_root.succ = true;
_root.thb[bord] = true;
}
}
i++;
}
if (_root.succ == true) {
_root.life[bord] = 5;
clearInterval(_root.inte[bord]);
_root.thb[bord] = true;
_root.thh[bord] = false;
redone = Math.random();
if (redone < 0.15) {
eval (("_root.ths.th" + bord) + ".target").gotoAndStop(7);
} else {
eval (("_root.ths.th" + bord) + ".target").gotoAndStop(1);
}
Set(("_root.ths.th" + bord) + ".target._alpha", 0);
Set(eval (("_root.ths.th" + thol) + ".target._width"), 100);
Set(eval (("_root.ths.th" + thol) + ".target._height"), 100);
trace(redone);
_root.inte[bord] = setInterval(_root, "fadeit", _root.decayrate / 10, bord);
_root.boardsprod++;
trace("createing " + bord);
}
} else {
clearInterval(_root.crat);
}
}
}
function movebord(thol) {
fram = eval (("_root.ths.th" + thol) + ".target._currentframe");
if (fram == 5) {
_root.tho[thol] = false;
eval (("_root.ths.th" + thol) + ".target").gotoAndStop(fram + 1);
}
if ((fram < 5) || ((fram >= 7) && (fram < 12))) {
eval (("_root.ths.th" + thol) + ".target").gotoAndStop(fram + 1);
}
if ((fram == 6) || (fram == 12)) {
if (fram == 6) {
_root.m6 = _root.m6 + 1;
}
_root.tho[thol] = false;
clearInterval(_root.inte[thol]);
_root.inte[thol] = setInterval(_root, "fadeot", _root.decayrate / 10, thol);
}
}
function fadeot(thol) {
alp = eval (("_root.ths.th" + thol) + ".target._alpha");
alp = alp - 25;
if (alp <= 0) {
alp = 0;
Set(("_root.ths.th" + thol) + ".target._alpha", alp);
_root.thb[thol] = false;
clearInterval(_root.inte[thol]);
} else {
Set(("_root.ths.th" + thol) + ".target._alpha", alp);
}
}
function fadeit(thol) {
alp = eval (("_root.ths.th" + thol) + ".target._alpha");
alp = alp + 25;
if (alp >= 100) {
alp = 100;
Set(("_root.ths.th" + thol) + ".target._alpha", alp);
_root.tho[bord] = true;
clearInterval(_root.inte[thol]);
_root.inte[thol] = setInterval(_root, "movebord", _root.decayrate, thol);
} else {
Set(("_root.ths.th" + thol) + ".target._alpha", alp);
}
}
function countdwn() {
if (_root.timerrr > 1) {
_root.timerrr = _root.timerrr - 1;
} else if (_root.timerrr == 1) {
_root.timerrr = "Go!";
} else {
_root.timerrr = "";
_root.levels = "";
_root.gameon = true;
_root.create();
clearInterval(_root.crat);
_root.crat = setInterval(_root, "create", 400 + (_root.decayrate * 3));
clearInterval(_root.intervalId95);
}
}
function startgame() {
trace("start");
_root.leveln++;
_root.levels = "Level " + _root.leveln;
_root.timerrr = 3;
_root.decayrate = _root.decayrate * 0.8;
_root.boardsprod = 0;
_root.boardsreq = _root.boardsreq + 10;
if (_root.leveln <= 7) {
_root.ths.gotoAndStop(_root.leveln + 1);
_root.th = _root.leveln + 2;
}
trace("th=" + _root.th);
i = 1;
while (i <= _root.th) {
trace("set");
Set(("_root.ths.th" + i) + ".target._alpha", 0);
eval (("_root.ths.th" + i) + ".target").gotoAndPlay(1);
i++;
}
_root.intervalId95 = setInterval(_root, "countdwn", 1000);
clearInterval(_root.crat);
}
function stopgame(nom) {
if (nom == 5) {
_root.gameon = false;
_root.stoppin = false;
i = 1;
while (i <= _root.th) {
trace("set");
clearInterval(_root.delayfnc);
Set(("_root.ths.th" + i) + ".target._alpha", 0);
eval (("_root.ths.th" + i) + ".target").gotoAndPlay(1);
clearInterval(_root.inte[i]);
i++;
}
_root.startgame();
} else {
_root.stoppin = true;
trace("resetting");
_root.delayfnc = setInterval(_root, "delay", 5000);
}
}
function delay(funcst) {
trace("delay");
clearInterval(_root.delayfnc);
_root.stopgame(5);
}
function multich(inc) {
if (inc == true) {
simpleuy = 0;
if (_root.multi == 1) {
simpleuy = simpleuy + _root.com0;
}
if (_root.multi == 2) {
simpleuy = simpleuy + _root.com1;
}
if (_root.multi == 4) {
simpleuy = simpleuy + _root.com1;
simpleuy = simpleuy + _root.com2;
}
if (_root.multi == 6) {
simpleuy = simpleuy + _root.com1;
simpleuy = simpleuy + _root.com2;
simpleuy = simpleuy + _root.com3;
}
if (_root.multi == 8) {
simpleuy = _root.combo - 1;
}
if (_root.multi == 1) {
exis = 1;
} else {
exis = (_root.multi / 2) + 1;
}
percik = Math.ceil((100 / eval ("_root.com" + exis)) * (_root.combo - simpleuy));
if (percik == 100) {
if (_root.multi == 8) {
_root.perdis.gotoAndStop(100);
} else {
_root.perdis.gotoAndStop(1);
}
} else if (_root.multi == 8) {
_root.perdis.gotoAndStop(100);
} else {
_root.perdis.gotoAndStop(percik);
}
} else {
_root.perdis.gotoAndStop(1);
}
}
function detection() {
hit = new flash.display.BitmapData(cam.width * 2, cam.height * 2, true, 4278190080);
empty1.attachBitmap(hit, 0, "never", false);
now.draw(vieo.vid);
now.draw(before, new flash.geom.Matrix(), new flash.geom.ColorTransform(), "difference");
now.threshold(now, rect, pt, ">", 4280422673, 4294901760, 4294967295, false);
var landMatrix = (new flash.geom.Matrix());
landMatrix.scale(4, 4);
hit.draw(empty, landMatrix);
hit.threshold(hit, rect1, pt1, "<", 4293918719, 0);
if (_root.gameon == true) {
j = 1;
while (j <= _root.th) {
if (_root.tho[j] == true) {
if (CollisionDetection.checkForCollision(eval ("_root.ths.th" + j), empty1)) {
_root.tho[j] = false;
_root.thb[j] = false;
_root.thh[j] = true;
clearInterval(_root.inte[j]);
_root.inte[j] = setInterval(_root, "fadeot", _root.decayrate / 10, j);
_root.marks = eval (("_root.ths.th" + j) + ".target._currentframe");
if (_root.marks > 6) {
if (_root.soound == true) {
var my_sound3 = new Sound();
my_sound3.attachSound("fail");
my_sound3.start();
}
_root.combo = 0;
_root.multi = 1;
_root.multip = "x1";
_root.multich(false);
eval ("_root.life" + _root.lives).gotoAndPlay("off");
_root.lives--;
if (_root.lives == 0) {
clearInterval(_root.crat);
_root.gameon = false;
_root.gameend = true;
_root.photo._x = 430;
_root.photo._y = 140;
_root.levelgap._visible = true;
i = 1;
while (i <= _root.th) {
_root.tho[i] = false;
i++;
}
_root.cleans = _root.score;
if (_root.cleans < 10000) {
_root.notice = "You were actually meant to be avoiding the red targets...";
} else if (_root.cleans < 20000) {
_root.notice = "A reasonable score, for someone with their eyes closed";
} else if (_root.cleans < 40000) {
_root.notice = "Not the best score, but it could have been worse right?";
} else if (_root.cleans < 70000) {
_root.notice = "Put a little extra effort in and you could be up there with the best!";
} else if (_root.cleans < 100000) {
_root.notice = "Good job, not everyone can do this well";
} else if (_root.cleans < 150000) {
_root.notice = "You are one with the target, where it goes, you follow";
} else {
_root.notice = "Amazing, that has to be one of the best performances i ever saw";
}
_root.button5._y = 50;
_root.button6._y = 50;
_root.gbt._y = 26;
}
eval (("_root.ths.th" + j) + ".target").gotoAndPlay(11);
} else {
if (_root.soound == true) {
var my_sound5 = new Sound();
my_sound5.attachSound("pop");
my_sound5.start();
}
Set("_root.m" + _root.marks, eval ("_root.m" + _root.marks) + 1);
_root.marksh = 6 - _root.marks;
eval (("_root.ths.th" + j) + ".points").gotoAndPlay(2);
_root.combo++;
if (_root.combo > _root.bigcom) {
_root.bigcom = _root.combo;
}
if (_root.multi == 8) {
_root.perdis.gotoAndStop(100);
} else {
_root.multich(true);
}
if (_root.combo == _root.com1) {
_root.multi = 2;
_root.multip = "x2";
_root.multif = true;
_root.mulshow.gotoAndPlay(2);
if (_root.soound == true) {
var my_sound2 = new Sound();
my_sound2.attachSound("multiup");
my_sound2.start();
}
}
if (_root.combo == (_root.com2 + _root.com1)) {
_root.multi = 4;
_root.multip = "x4";
_root.multif = true;
_root.mulshow.gotoAndPlay(2);
if (_root.soound == true) {
var my_sound2 = new Sound();
my_sound2.attachSound("multiup");
my_sound2.start();
}
}
if (_root.combo == (_root.com3 + (_root.com2 + _root.com1))) {
_root.multi = 6;
_root.multip = "x6";
_root.multif = true;
_root.mulshow.gotoAndPlay(2);
if (_root.soound == true) {
var my_sound2 = new Sound();
my_sound2.attachSound("multiup");
my_sound2.start();
}
}
if (_root.combo == (_root.com4 + (_root.com3 + (_root.com2 + _root.com1)))) {
_root.multi = 8;
_root.multip = "x8";
_root.multif = true;
_root.mulshow.gotoAndPlay(2);
if (_root.soound == true) {
var my_sound2 = new Sound();
my_sound2.attachSound("multiup");
my_sound2.start();
}
}
_root.score = _root.score + ((_root.marksh * 100) * _root.multi);
_root.boardhit++;
}
}
}
j++;
}
} else if (_root.gameend == true) {
j = _root.buttonmin;
while (j <= _root.buttonmax) {
if (CollisionDetection.checkForCollision(eval ("_root.button" + j), empty1)) {
if (eval (("_root.button" + j) + "._currentframe") < 46) {
eval ("_root.button" + j).gotoAndStop(eval ("_root.button" + j)._currentframe + 3);
}
}
j++;
}
}
before.draw(vieo.vid);
}
cam = Camera.get();
cam.setMode(640, 480, cam.fps, false);
vieo.vid._height = 480;
vieo.vid._width = 640;
vieo.vid.attachVideo(cam);
if (_root.soound == true) {
var my_sound = new Sound();
my_sound.attachSound("music");
my_sound.start(0, 99999);
my_sound.setVolume(50);
}
_root.photo._width = 90;
_root.photo._height = 120;
_root.photo._x = 530;
_root.photo._y = 340;
_root.boardsprod = 0;
_root.boardsreq = 0;
_root.leveln = 0;
_root.main = 0;
_root.boardtime = 0;
_root.board = new Array();
_root.boardm = new Array();
_root.life = new Array();
_root.inte = new Array();
_root.tho = new Array();
_root.thb = new Array();
_root.thh = new Array();
_root.th = 0;
_root.stoppin = false;
_root.decayrate = 500;
_root.gameend = false;
_root.bigcom = 0;
_root.multi = 1;
_root.multip = "x1";
_root.multif = false;
_root.combo = 0;
_root.boardhit = 0;
_root.boardmiss = 0;
_root.levelgap._visible = false;
_root.score = 0;
_root.lives = 5;
_root.sub = false;
_root.m1 = 0;
_root.m2 = 0;
_root.m3 = 0;
_root.m4 = 0;
_root.m5 = 0;
_root.m6 = 0;
_root.com = 0;
_root.com0 = 0;
_root.com1 = 6;
_root.com2 = 8;
_root.com3 = 10;
_root.com4 = 12;
_root.com5 = 1;
i = 0;
while (i <= 10) {
_root.tho[i] = false;
_root.thb[i] = false;
_root.thh[i] = false;
_root.life[i] = 0;
i++;
}
_root.maincontrol = setInterval(_root, "control", 500);
now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true);
empty.attachBitmap(now, 0, "never", false);
before = new flash.display.BitmapData(cam.width / 2, cam.height / 2);
hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344);
empty1.attachBitmap(hit, 0, "never", false);
rect = new flash.geom.Rectangle(0, 0, cam.width / 2, cam.height / 2);
rect1 = new flash.geom.Rectangle(0, 0, cam.width * 2, cam.height * 2);
pt = new flash.geom.Point(0, 0);
pt1 = new flash.geom.Point(0, 0);
_root.hjem = setInterval(_root, "detection", 50);
stop();
Instance of Symbol 104 MovieClip "button5" in Frame 20
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Instance of Symbol 104 MovieClip "button6" in Frame 20
onClipEvent (enterFrame) {
if (this._currentframe < 45) {
stop();
this.gotoAndStop(this._currentframe - 1);
}
}
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 13 MovieClip Frame 3
stop();
Symbol 13 MovieClip Frame 4
stop();
Symbol 13 MovieClip Frame 5
stop();
Symbol 13 MovieClip Frame 6
stop();
Symbol 13 MovieClip Frame 7
stop();
Symbol 13 MovieClip Frame 8
stop();
Symbol 13 MovieClip Frame 9
stop();
Symbol 13 MovieClip Frame 10
stop();
Symbol 13 MovieClip Frame 11
stop();
Symbol 13 MovieClip Frame 12
stop();
Symbol 19 MovieClip Frame 1
i = 0;
cf = 0;
numberOfBeams = 20 + (5 * (_root.multi - 1));
myScale = 40 + random(40 + (10 * (_root.multi - 1)));
setProperty("myBeam1", _visible , true);
xyscalevar = 20 + random(60);
colorArray = ["FF", "00", "33", "99", "66", "CC"];
myColor = new Color(myBeam1);
myColor.setRGB((("0x" + colorArray[random(6)]) + colorArray[random(6)]) + colorArray[random(6)]);
do {
duplicateMovieClip ("myBeam1", "beam" + i, i);
setProperty("beam" + i, _rotation , random(360));
setProperty("beam" + i, _xscale , myScale + random(myScale));
setProperty("beam" + i, _yscale , myScale + random(myScale));
i = Number(i) + 1;
} while (Number(i) <= numberOfBeams);
setProperty("myBeam1", _visible , false);
Symbol 19 MovieClip Frame 2
cf = cf + 2;
if (cf >= 80) {
gotoAndPlay (1);
}
if (cf >= 10) {
}
ii = 0;
if (cf >= 61) {
myAlpha = 100 - ((cf - 61) * 4);
do {
if (getProperty("beam" + ii, _alpha) >= myAlpha) {
setProperty("beam" + ii, _alpha , myAlpha);
}
ii = Number(ii) + 1;
} while (Number(ii) <= numberOfBeams);
}
Symbol 19 MovieClip Frame 3
stop();
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
if (_root.multi == 1) {
this.pot.pot = _root.marksh * 100;
} else {
this.pot.pot = ((_root.marksh * 100) + " ") + _root.multip;
}
xxyx = Math.ceil(Math.random() * 8);
trace("XXXXXXXXXXX=" + xxyx);
var my_sound9 = new Sound();
my_sound9.attachSound("fworks" + xxyx);
my_sound9.start();
Symbol 23 MovieClip Frame 4
trace(this.pot.pot);
Symbol 23 MovieClip Frame 7
trace(this.pot.pot);
Symbol 23 MovieClip Frame 10
gotoAndStop (1);
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
play();
Symbol 24 MovieClip Frame 3
trace("2!!!!!!!!!!!");
Symbol 24 MovieClip Frame 5
trace("6!!!!!!!!!!!");
gotoAndStop (1);
Symbol 247 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function showPreloaderAd(options) {
var _local29 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812};
options = _parseOptions(options, _local29);
var _local15 = options.clip;
var _local25 = 11000;
var _local28 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(undefined);
}
_local15.stop();
var mc = _local15._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local16 = _getRes(options);
var _local5 = _local16[0];
var _local14 = _local16[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local8._x = 10;
_local8._y = _local14 - 20;
var _local24 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local26 = options.outline;
delete options.outline;
var _local6 = _local8.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local8.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local24);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local7 = _local8.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local26, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local5 - 20, 0);
_local7.lineTo(_local5 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local25;
chk.ad_timeout = _local28;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
var _local15 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"};
options = _parseOptions(options, _local15);
var _local6 = options.clip;
var _local12 = 11000;
var _local14 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(undefined);
}
_local6.stop();
var mc = _local6._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local7 = _getRes(options);
var _local16 = _local7[0];
var _local13 = _local7[1];
mc._x = _local16 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local12;
chk.ad_timeout = _local14;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local25);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = "1.4";
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local24 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local24);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb) {
cb = parseInt(cb);
var _local4 = this._callbacks[cb];
if (!_local4) {
return(undefined);
}
delete this._callbacks[cb];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = "1.4";
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
if (_local7._url.indexOf("http") != 0) {
options.no_page = true;
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 248 MovieClip [__Packages.CollisionDetection] Frame 0
class CollisionDetection
{
function CollisionDetection () {
}
static function checkForCollision(p_clip1, p_clip2, p_alphaTolerance, p_scope) {
if (p_alphaTolerance == undefined) {
p_alphaTolerance = 255;
}
if (p_scope == undefined) {
p_scope = _root;
}
var _local4 = p_clip1.getBounds(p_scope);
var _local3 = p_clip2.getBounds(p_scope);
if (((_local4.xMax < _local3.xMin) || (_local3.xMax < _local4.xMin)) || ((_local4.yMax < _local3.yMin) || (_local3.yMax < _local4.yMin))) {
return(null);
}
var _local2 = {};
_local2.xMin = Math.max(_local4.xMin, _local3.xMin);
_local2.xMax = Math.min(_local4.xMax, _local3.xMax);
_local2.yMin = Math.max(_local4.yMin, _local3.yMin);
_local2.yMax = Math.min(_local4.yMax, _local3.yMax);
var _local9 = new flash.display.BitmapData(_local2.xMax - _local2.xMin, _local2.yMax - _local2.yMin, false);
var _local5 = p_clip1.transform.matrix;
_local5.tx = p_clip1._x - _local2.xMin;
_local5.ty = p_clip1._y - _local2.yMin;
_local9.draw(p_clip1, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, p_alphaTolerance));
_local5 = p_clip2.transform.matrix;
_local5.tx = p_clip2._x - _local2.xMin;
_local5.ty = p_clip2._y - _local2.yMin;
_local9.draw(p_clip2, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, p_alphaTolerance), "difference");
var _local6 = _local9.getColorBoundsRect(4294967295, 4278255615);
if (_local6.width == 0) {
return(null);
}
_local6.x = _local6.x + _local2.xMin;
_local6.y = _local6.y + _local2.yMin;
return(_local6);
}
}
Symbol 54 MovieClip Frame 1
stopAllSounds();
stop();
Symbol 61 Button
on (release) {
gotoAndPlay (7);
}
Symbol 66 Button
on (release) {
gotoAndStop (8);
getURL ("http://www.iviewgames.com/webcam.html", "_blank");
}
Symbol 70 Button
on (release) {
getURL ("http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash", "_blank");
}
Symbol 79 MovieClip Frame 15
var music5 = new Sound();
music5.attachSound("lgo");
music5.start(0, 1);
Symbol 79 MovieClip Frame 120
_root.goon();
stop();
Symbol 87 Button
on (release) {
getURL ("http://www.iviewgames.com/webcam.html", "_blank");
}
Symbol 89 MovieClip Frame 1
stop();
Symbol 95 Button
on (release) {
if (_root.soound == true) {
var music4 = new Sound();
music4.attachSound("click");
music4.start(0, 1);
}
play();
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 45
this.play();
Symbol 104 MovieClip Frame 46
this.play();
Symbol 104 MovieClip Frame 47
this.play();
Symbol 104 MovieClip Frame 48
if (_root.soound == true) {
var my_sound41 = new Sound();
my_sound41.attachSound("magbut");
my_sound41.start();
}
this.play();
Symbol 104 MovieClip Frame 56
_root.bhit(this._name);
Symbol 104 MovieClip Frame 61
gotoAndStop (1);
Symbol 131 Button
on (release) {
if (_root.inverted == false) {
_root.inverted = true;
_root.vieo._x = 392;
_root.empty1._x = 392;
} else {
_root.inverted = false;
_root.vieo._x = 552;
_root.empty1._x = 552;
}
_root.vieo._xscale = _root.vieo._xscale * -1;
_root.empty1._xscale = _root.empty1._xscale * -1;
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 170 Button
on (release) {
if (_root.soound == true) {
var music4 = new Sound();
music4.attachSound("click");
music4.start(0, 1);
}
gotoAndStop (11);
}
Symbol 190 MovieClip Frame 1
trace("firstframebox");
stop();
Symbol 190 MovieClip Frame 2
_root.th = 3;
Symbol 190 MovieClip Frame 3
_root.th = 4;
Symbol 190 MovieClip Frame 4
_root.th = 5;
Symbol 190 MovieClip Frame 5
_root.th = 6;
Symbol 190 MovieClip Frame 6
_root.th = 7;
Symbol 190 MovieClip Frame 7
_root.th = 8;
trace(_root.th);
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
this.pot.pot = _root.multip + " Multiplier";
Symbol 195 MovieClip Frame 13
gotoAndStop (1);
Symbol 210 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
stop();
Symbol 215 MovieClip Frame 3
if (_root.soound == true) {
var my_sound51 = new Sound();
my_sound51.attachSound("lifeup");
my_sound51.start();
}
Symbol 215 MovieClip Frame 10
gotoAndStop (1);
Symbol 215 MovieClip Frame 19
gotoAndStop (2);
Symbol 241 Button
on (release) {
gameid = 2;
_root.namesse = _root.namess;
_root.loadedvars;
_root.keke = new Array();
_root.loadedvars = String(_root.namesse);
_root.keke = _root.loadedvars.split("KERNING=\"0\">");
_root.loadedvars2;
_root.keke2 = new Array();
_root.loadedvars2 = String(_root.keke[1]);
_root.keke2 = _root.loadedvars2.split("</FONT></P></TEXTFORMAT>");
namesss = _root.keke2[0];
trace("namess=" + namess);
trace("namesse=" + namesse);
trace("namesss=" + namesss);
score = _root.score;
checks = (((score * 5) + 6) + 518) + score;
trace("siz" + _root.sizes);
trace("xc" + _root.xc);
trace(checks);
if (namesse == "name") {
_root.info = "Please Enter A Name Before Submitting";
} else if (_root.sub == false) {
getURL ("http://www.iviewgames.com/submithigh2.php", "_blank", "GET");
_root.info = "Thanks For Submitting Your Score";
_root.sub = true;
} else {
_root.info = "You Can Only Submit Your Score Once";
}
}