Frame 1
stop();
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 2
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Instance of Symbol 55 MovieClip "how" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Frame 3
c1 = _url.indexOf("://") + 3;
c2 = _url.indexOf("/", c1);
domain = _url.substring(c1, c2);
if (((domain == "www.dreamarcade.com") || (domain == "216.55.181.4")) || (domain == "www.ultimatearcade.com")) {
play();
} else {
play();
}
Frame 4
function setMode(nmode) {
mode = nmode;
m0.gotoAndPlay(1);
m1.gotoAndPlay(1);
m2.gotoAndPlay(1);
m3.gotoAndPlay(1);
}
function chAmp(start) {
_root.amp = (Number(start) / 10) + 2;
}
function chSpeed(start) {
_root.speed = (Number(start) / 101) + 0.05;
}
function chWaves(start) {
_root.waves = (100 / (Number(start) + 10)) + 10;
}
fieldX = 5;
fieldY = 5;
itemW = 50;
itemH = 50;
fieldn = new Array();
fieldm = new Array();
mode = 2;
Instance of Symbol 74 MovieClip in Frame 5
onClipEvent (load) {
itotal = 100;
istart = 20;
ipage = 10;
strcall = "_root.chAmp";
}
Instance of Symbol 74 MovieClip in Frame 5
onClipEvent (load) {
itotal = 100;
istart = 20;
ipage = 10;
strcall = "_root.chSpeed";
}
Instance of Symbol 74 MovieClip in Frame 5
onClipEvent (load) {
itotal = 100;
istart = 10;
ipage = 10;
strcall = "_root.chWaves";
}
Frame 5
if (false) {
}
Frame 6
function checkEnd() {
buf = 0;
cnt = 0;
while (cnt < fieldX) {
cnt1 = 0;
while (cnt1 < fieldY) {
str = ("mu.i" + (cnt + 1)) + (cnt1 + 1);
obj = eval (str);
if ((obj._x == (itemW * cnt)) and (obj._y == (itemH * cnt1))) {
buf++;
}
cnt1++;
}
cnt++;
}
if (buf == ((fieldX * fieldY) - 1)) {
trace("VICTORY");
gotoAndStop (8);
}
}
cnt = 0;
while (cnt < ((fieldX * fieldY) - 1)) {
fieldm[cnt] = cnt;
cnt++;
}
cnt = 0;
while (cnt < fieldX) {
fieldn[cnt] = new Array();
cnt1 = 0;
while (cnt1 < fieldY) {
if (0 < fieldm.length) {
ind = Math.floor(Math.random() * (fieldm.length - 1));
str = ("mu.i" + ((fieldm[ind] % fieldX) + 1)) + (((fieldm[ind] - (fieldm[ind] % fieldX)) / fieldY) + 1);
fieldm.splice(ind, 1);
obj = eval (str);
fieldn[cnt][cnt1] = 1;
obj._x = itemW * cnt;
obj._y = itemH * cnt1;
obj.swapDepths((cnt1 * _root.fieldY) + cnt);
}
cnt1++;
}
cnt++;
}
Frame 7
stop();
Frame 8
stop();
Symbol 6 Button [_dragger button]
on (press) {
this.rx = _root._xmouse;
play();
}
on (release) {
stop();
}
on (releaseOutside) {
_parent._parent.gotoAndStop(1);
stop();
}
on (rollOver) {
_parent._parent.gotoAndStop(2);
}
on (rollOut) {
_parent._parent.gotoAndStop(1);
}
Symbol 7 MovieClip [dragger] Frame 1
function PgDn() {
start = _parent._parent.cstart + _parent._parent.page;
if (start >= (_parent._parent.total - _parent._parent.page)) {
start = (_parent._parent.total - 1) - _parent._parent.page;
}
setStart(start);
}
function PgUp() {
start = _parent._parent.cstart - _parent._parent.page;
if (start < 0) {
start = 0;
}
setStart(start);
}
function setStart(start) {
_parent._parent.cstart = start;
if (_parent._parent.cstart != _parent._parent.ostart) {
this._x = Math.floor(((-_parent._width) / 2) + (((_parent._width - this._width) * start) / ((_parent._parent.total - 1) - _parent._parent.page)));
_parent._parent.ostart = _parent._parent.cstart;
_parent._parent.callback(_parent._parent.cstart);
}
}
stop();
Symbol 7 MovieClip [dragger] Frame 2
dx = _root._xmouse - this.rx;
this.rx = _root._xmouse;
x = _x + dx;
if (x < ((-_parent._width) / 2)) {
x = (-_parent._width) / 2;
}
if (((_parent._width / 2) - _width) < x) {
x = (_parent._width / 2) - _width;
}
this._x = x;
_parent._parent.cstart = Math.floor(((_x + (_parent._width / 2)) * (_parent._parent.total - _parent._parent.page)) / (_parent._width - _width));
if (_parent._parent.cstart < 0) {
_parent._parent.cstart = 0;
}
if (_parent._parent.cstart != _parent._parent.ostart) {
_parent._parent.ostart = _parent._parent.cstart;
_parent._parent.callback(_parent._parent.cstart);
}
Symbol 7 MovieClip [dragger] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 8 Button [_slidebutton]
on (release) {
if (dragger._x < _xmouse) {
dragger.pgDn();
} else {
dragger.pgUp();
}
}
Symbol 32 MovieClip Frame 112
_root.gotoAndPlay(2);
Symbol 35 MovieClip Frame 1
_parent.stop();
Symbol 35 MovieClip Frame 3
if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
_parent.play();
this.stop();
}
Symbol 35 MovieClip Frame 4
gotoAndPlay(_currentframe - 2);
Symbol 38 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Symbol 39 Button
on (release) {
getURL ("http://www.ultimatearcade.com/downloads", "_blank");
}
Symbol 48 Button
on (release) {
_root.how._visible = 1;
}
Symbol 54 Button
on (release) {
_root.how._visible = 0;
}
Symbol 60 MovieClip Frame 1
y = _parent._y;
x = _parent._x;
Symbol 60 MovieClip Frame 2
bx = Math.floor(_parent._parent._x / _root.itemW);
by = Math.floor(_parent._parent._y / _root.itemH);
k = _root.count.k[bx + 1][by + 1];
_parent._x = x + k;
_parent._y = y + k;
Symbol 60 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 61 MovieClip Frame 1
desc = _parent.desc;
Symbol 62 Button
on (release) {
bx = Math.floor(this._x / _root.itemW);
by = Math.floor(this._y / _root.itemH);
bx1 = bx;
by1 = by;
if (((bx + 1) < _root.fieldX) and (!_root.fieldn[bx + 1][by])) {
_root.fieldn[bx][by] = 0;
_root.fieldn[bx + 1][by] = 1;
this._x = (bx + 1) * _root.itemW;
bx1 = bx + 1;
} else if ((-1 < (bx - 1)) and (!_root.fieldn[bx - 1][by])) {
_root.fieldn[bx][by] = 0;
_root.fieldn[bx - 1][by] = 1;
this._x = (bx - 1) * _root.itemW;
bx1 = bx - 1;
} else if ((-1 < (by - 1)) and (!_root.fieldn[bx][by - 1])) {
_root.fieldn[bx][by] = 0;
_root.fieldn[bx][by - 1] = 1;
this._y = (by - 1) * _root.itemH;
by1 = by - 1;
} else if (((by + 1) < _root.fieldY) and (!_root.fieldn[bx][by + 1])) {
_root.fieldn[bx][by] = 0;
_root.fieldn[bx][by + 1] = 1;
this._y = (by + 1) * _root.itemH;
by1 = by + 1;
}
if ((by != by1) or (bx != bx1)) {
this.swapDepths((by1 * _root.fieldY) + bx1);
}
gotoAndPlay (2);
_root.checkEnd();
}
Symbol 63 MovieClip Frame 1
stop();
Instance of Symbol 63 MovieClip "i11" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 1;
}
Instance of Symbol 63 MovieClip "i21" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 2;
}
Instance of Symbol 63 MovieClip "i31" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 3;
}
Instance of Symbol 63 MovieClip "i41" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 4;
}
Instance of Symbol 63 MovieClip "i51" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 5;
}
Instance of Symbol 63 MovieClip "i12" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 6;
}
Instance of Symbol 63 MovieClip "i22" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 7;
}
Instance of Symbol 63 MovieClip "i32" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 8;
}
Instance of Symbol 63 MovieClip "i42" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 9;
}
Instance of Symbol 63 MovieClip "i52" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 10;
}
Instance of Symbol 63 MovieClip "i13" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 11;
}
Instance of Symbol 63 MovieClip "i23" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 12;
}
Instance of Symbol 63 MovieClip "i33" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 13;
}
Instance of Symbol 63 MovieClip "i43" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 14;
}
Instance of Symbol 63 MovieClip "i53" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 15;
}
Instance of Symbol 63 MovieClip "i14" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 16;
}
Instance of Symbol 63 MovieClip "i24" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 17;
}
Instance of Symbol 63 MovieClip "i34" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 18;
}
Instance of Symbol 63 MovieClip "i44" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 19;
}
Instance of Symbol 63 MovieClip "i54" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 20;
}
Instance of Symbol 63 MovieClip "i15" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 21;
}
Instance of Symbol 63 MovieClip "i25" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 22;
}
Instance of Symbol 63 MovieClip "i35" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 23;
}
Instance of Symbol 63 MovieClip "i45" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
desc = 24;
}
Symbol 65 MovieClip Frame 1
k = new Array();
phase = 0;
cnt = 0;
while (cnt < (_root.fieldX + 2)) {
k[cnt] = new Array();
cnt1 = 0;
while (cnt1 < (_root.fieldY + 2)) {
k[cnt][cnt1] = 0;
cnt1++;
}
cnt++;
}
Symbol 65 MovieClip Frame 2
if (_root.mode == 1) {
cnt = 0;
while (cnt < (_root.fieldX + 2)) {
cnt1 = 0;
while (cnt1 < (_root.fieldY + 2)) {
k[cnt][cnt1] = (Math.random() * _root.amp) - (_root.amp / 2);
cnt1++;
}
cnt++;
}
} else if (_root.mode == 2) {
cnt = 0;
while (cnt < (_root.fieldX + 2)) {
cnt1 = 0;
while (cnt1 < (_root.fieldY + 2)) {
k[cnt][cnt1] = Math.sin(phase + (((cnt * cnt1) * Math.PI) / _root.waves)) * _root.amp;
cnt1++;
}
cnt++;
}
} else if (_root.mode == 3) {
if ((phase == 0) or (1 < phase)) {
cnt = int((Math.random() * (_root.fieldX - 1)) + 1);
cnt1 = int((Math.random() * (_root.fieldY - 1)) + 1);
k[cnt][cnt1] = _root.amp;
phase = 0;
} else {
cnt = 1;
while (cnt < (_root.fieldX + 1)) {
cnt1 = 1;
while (cnt1 < (_root.fieldY + 1)) {
k[cnt][cnt1] = int((((k[cnt][cnt1] + k[cnt + 1][cnt1]) + k[cnt][cnt1 + 1]) + k[cnt - 1][cnt1]) + k[cnt][cnt1 - 1]) / 5;
cnt1++;
}
cnt++;
}
}
} else if (_root.mode == 0) {
cnt = 0;
while (cnt < _root.fieldX) {
cnt1 = 0;
while (cnt1 < _root.fieldY) {
k[cnt + 1][cnt1 + 1] = 0;
cnt1++;
}
cnt++;
}
}
Symbol 65 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
phase = phase + Number(_root.speed);
Symbol 73 MovieClip Frame 1
if (eval ("_root.m" + _root.mode) == this) {
this.gotoAndStop(3);
}
Symbol 73 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 3
stop();
Symbol 74 MovieClip Frame 1
function init(total, start, page, strcall) {
initControl = true;
if (page >= total) {
this._visible = false;
} else {
this._visible = true;
}
slider.dragger._width = Math.floor((slider._width * page) / total);
slider.dragger._x = Math.floor(((-slider._width) / 2) + (((slider._width - slider.dragger._width) * start) / ((total - page) - 1)));
this.callback = eval (strcall);
this.cstart = start;
this.ostart = start;
this.page = page;
this.total = total;
callback(start);
}
if (!initControl) {
init(itotal, istart, ipage, strcall);
}
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 76 Button
on (release) {
setMode(0);
}
Symbol 77 Button
on (release) {
setMode(1);
}
Symbol 78 Button
on (release) {
setMode(2);
}
Symbol 79 Button
on (release) {
setMode(3);
}