Frame 1
stop();
_root.WPI_ArcadeStartSingleGame = function () {
trace("WPI_ArcadeStartSingleGame called - the current game has started");
};
_root.WPI_ArcadeStopSingleGame = function (score) {
trace("WPI_ArcadeStopSingleGame called - the current game has finished with score: " + score);
};
Frame 2
stop();
Instance of Symbol 220 MovieClip in Frame 2
onClipEvent (load) {
setting = 0;
maxvol = 100;
qual = 4;
var menu = new Sound(this);
menu.attachSound("song1");
var ingame = new Sound(this);
ingame.attachSound("song2");
var stopper = new Sound();
var two = new Sound();
two.attachSound("wig3");
}
Instance of Symbol 13 MovieClip "iteminner" in Symbol 14 MovieClip [itemmovetut] Frame 1
onClipEvent (load) {
var one = new Sound();
one.attachSound("stick1");
var two = new Sound();
two.attachSound("stick2");
gotoAndStop(_parent.item);
dragged = 0;
wide = _width;
high = _height;
depth = (Math.ceil(_parent._y + high) * 100) + _parent.item;
_parent.swapDepths(depth);
if (_rotation) {
if (Math.sin((_rotation * Math.PI) / 180) > 0) {
this._x = this._x + (Math.sin((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._x = this._x - (Math.cos((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.cos((_rotation * Math.PI) / 180) * high);
}
if (Math.sin((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.sin((_rotation * Math.PI) / 180) * high);
}
if ((_parent._y + high) > _parent._parent.ymax) {
_parent._y = _parent._parent.ymax - high;
}
if (_parent._y < _parent._parent.ymin) {
_parent._y = _parent._parent.ymin;
}
if ((_parent._x + wide) > _parent._parent.xmax) {
_parent._x = _parent._parent.xmax - wide;
}
if (_parent._x < _parent._parent.xmin) {
_parent._x = _parent._parent.xmin;
}
}
roted = 0;
unloadnow = 0;
exists = 1;
}
onClipEvent (enterFrame) {
if (exists) {
if (dragged || (roted)) {
roted = 0;
wide = _width;
high = _height;
this._x = 0;
this._y = 0;
if (_rotation) {
if (Math.sin((_rotation * Math.PI) / 180) > 0) {
this._x = this._x + (Math.sin((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._x = this._x - (Math.cos((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.cos((_rotation * Math.PI) / 180) * high);
}
if (Math.sin((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.sin((_rotation * Math.PI) / 180) * high);
}
}
}
if (placed) {
placed = 0;
_parent._x = _parent._parent._parent.spinner._x - (wide / 2);
_parent._y = _parent._parent._parent.spinner._y - (high / 2);
}
onMouseDown = function () {
if (hit) {
two.stop("stick2");
one.start(0, 1);
one.setVolume(_parent._parent._parent.maxvol);
dragged = 1;
xchange = _root._xmouse - _parent._x;
ychange = _root._ymouse - _parent._y;
_parent.swapDepths((_parent._parent.ymax * 1000) + _parent.item);
if (_parent._parent._parent.spinner.item == _parent.item) {
_parent._parent._parent.spinner.item = 0;
}
}
};
onMouseUp = function () {
if (dragged) {
one.stop("stick1");
two.start(0, 1);
two.setVolume(_parent._parent._parent.maxvol);
if (((Math.abs(_parent._x - _parent._parent._parent["itemspot" + _parent.item]._x) < 15) && (Math.abs(_parent._y - _parent._parent._parent["itemspot" + _parent.item]._y) < 15)) && (_rotation == 0)) {
unloadnow = 1;
} else if (((_parent.item == 2) && (!_parent._parent._parent.spinner.item)) && (_parent.hitTest(_parent._parent._parent.spinner.boxtest))) {
_parent._x = _parent._parent._parent.spinner._x - (wide / 2);
_parent._y = _parent._parent._parent.spinner._y - (high / 2);
_parent._parent._parent.spinner.item = _parent.item;
depth = (Math.ceil(_parent._y + high) * 100) + _parent.item;
_parent.swapDepths(depth);
if (_rotation) {
_parent._parent._parent.helper.gotoAndStop(2);
}
} else {
if ((_parent._y + high) > _parent._parent.ymax) {
_parent._y = _parent._parent.ymax - high;
}
if (_parent._y < _parent._parent.ymin) {
_parent._y = _parent._parent.ymin;
}
if ((_parent._x + wide) > _parent._parent.xmax) {
_parent._x = _parent._parent.xmax - wide;
}
if (_parent._x < _parent._parent.xmin) {
_parent._x = _parent._parent.xmin;
}
depth = (Math.ceil(_parent._y + high) * 100) + _parent.item;
_parent.swapDepths(depth);
}
dragged = 0;
}
};
if (unloadnow) {
_parent._parent.one.start(0, 1);
_parent._parent.one.setVolume(_parent._parent._parent.maxvol);
exists = 0;
_parent._parent._parent.itemsleft--;
_parent._parent._parent["itemspot" + _parent.item].gotoAndPlay(2);
_parent._x = 1000;
unloadMovie (_parent);
}
if (dragged) {
_parent._x = _root._xmouse - xchange;
_parent._y = _root._ymouse - ychange;
}
}
}
Instance of Symbol 57 MovieClip "iteminner" in Symbol 58 MovieClip [itemmove] Frame 1
onClipEvent (load) {
var one = new Sound();
one.attachSound("stick1");
var two = new Sound();
two.attachSound("stick2");
gotoAndStop(_parent.item);
dragged = 0;
wide = _width;
high = _height;
depth = (Math.ceil(_parent._y + high) * 100) + _parent.item;
_parent.swapDepths(depth);
if (_rotation) {
if (Math.sin((_rotation * Math.PI) / 180) > 0) {
this._x = this._x + (Math.sin((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._x = this._x - (Math.cos((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.cos((_rotation * Math.PI) / 180) * high);
}
if (Math.sin((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.sin((_rotation * Math.PI) / 180) * high);
}
if ((_parent._y + high) > _parent._parent.ymax) {
_parent._y = _parent._parent.ymax - high;
}
if (_parent._y < _parent._parent.ymin) {
_parent._y = _parent._parent.ymin;
}
if ((_parent._x + wide) > _parent._parent.xmax) {
_parent._x = _parent._parent.xmax - wide;
}
if (_parent._x < _parent._parent.xmin) {
_parent._x = _parent._parent.xmin;
}
}
roted = 0;
unloadnow = 0;
exists = 1;
}
onClipEvent (enterFrame) {
if (exists) {
if (dragged || (roted)) {
roted = 0;
wide = _width;
high = _height;
this._x = 0;
this._y = 0;
if (_rotation) {
if (Math.sin((_rotation * Math.PI) / 180) > 0) {
this._x = this._x + (Math.sin((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._x = this._x - (Math.cos((_rotation * Math.PI) / 180) * wide);
}
if (Math.cos((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.cos((_rotation * Math.PI) / 180) * high);
}
if (Math.sin((_rotation * Math.PI) / 180) < 0) {
this._y = this._y - (Math.sin((_rotation * Math.PI) / 180) * high);
}
}
}
if (placed) {
placed = 0;
_parent._x = _parent._parent._parent.spinner._x - (wide / 2);
_parent._y = _parent._parent._parent.spinner._y - (high / 2);
}
onMouseDown = function () {
if (hit) {
two.stop("stick2");
one.start(0, 1);
one.setVolume(_parent._parent._parent.maxvol);
dragged = 1;
xchange = _root._xmouse - _parent._x;
ychange = _root._ymouse - _parent._y;
_parent.swapDepths((_parent._parent.ymax * 1000) + _parent.item);
if (_parent._parent._parent.spinner.item == _parent.item) {
_parent._parent._parent.spinner.item = 0;
}
}
};
onMouseUp = function () {
if (dragged) {
one.stop("stick1");
two.start(0, 1);
two.setVolume(_parent._parent._parent.maxvol);
if (((Math.abs(_parent._x - _parent._parent._parent["itemspot" + _parent.item]._x) < 15) && (Math.abs(_parent._y - _parent._parent._parent["itemspot" + _parent.item]._y) < 15)) && (_rotation == 0)) {
unloadnow = 1;
} else if ((!_parent._parent._parent.spinner.item) && (_parent.hitTest(_parent._parent._parent.spinner.boxtest))) {
_parent._x = _parent._parent._parent.spinner._x - (wide / 2);
_parent._y = _parent._parent._parent.spinner._y - (high / 2);
_parent._parent._parent.spinner.item = _parent.item;
depth = (Math.ceil(_parent._y + high) * 100) + _parent.item;
_parent.swapDepths(depth);
} else {
if ((_parent._y + high) > _parent._parent.ymax) {
_parent._y = _parent._parent.ymax - high;
}
if (_parent._y < _parent._parent.ymin) {
_parent._y = _parent._parent.ymin;
}
if ((_parent._x + wide) > _parent._parent.xmax) {
_parent._x = _parent._parent.xmax - wide;
}
if (_parent._x < _parent._parent.xmin) {
_parent._x = _parent._parent.xmin;
}
depth = (Math.ceil(_parent._y + high) * 100) + _parent.item;
_parent.swapDepths(depth);
}
dragged = 0;
}
};
if (unloadnow) {
_parent._parent.one.start(0, 1);
_parent._parent.one.setVolume(_parent._parent._parent.maxvol);
exists = 0;
_parent._parent._parent.itemsleft--;
_parent._parent._parent["itemspot" + _parent.item].gotoAndPlay(2);
_parent._x = 1000;
unloadMovie (_parent);
}
if (dragged) {
_parent._x = _root._xmouse - xchange;
_parent._y = _root._ymouse - ychange;
}
}
}
Symbol 63 MovieClip Frame 17
gotoAndPlay (15);
Symbol 64 Button
on (release) {
getURL ("http://www.wiggiworld.com", "_blank");
}
Symbol 73 MovieClip Frame 15
stop();
Symbol 75 Button
on (release) {
_root.gotoAndPlay("start");
}
Symbol 89 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
bl = _root.getBytesLoaded();
bt = _root.getBytesTotal();
perc = (bl / bt) * 100;
bar.bar._xscale = perc;
if (perc >= 100) {
this.gotoAndPlay("goplay");
delete this.onEnterFrame;
}
};
Symbol 89 MovieClip Frame 25
stop();
Symbol 95 MovieClip Frame 11
var one = new Sound(this);
one.attachSound("wig4");
one.start(0, 1);
playB.enabled = false;
one.setVolume(_parent.maxvol);
Symbol 95 MovieClip Frame 16
Symbol 95 MovieClip Frame 19
stop();
Symbol 98 MovieClip Frame 22
var two = new Sound(this);
two.attachSound("wig2");
two.start(0, 1);
playB.enabled = false;
two.setVolume(_parent.maxvol);
Symbol 98 MovieClip Frame 31
stop();
Symbol 108 MovieClip Frame 32
var three = new Sound(this);
three.attachSound("wig3");
three.start(0, 1);
playB.enabled = false;
three.setVolume(_parent.maxvol);
Symbol 108 MovieClip Frame 38
_parent.menu.start(0, 999);
playB.enabled = false;
stop();
Instance of Symbol 107 MovieClip in Symbol 108 MovieClip Frame 38
onClipEvent (enterFrame) {
_parent._parent.menu.setVolume(_parent._parent.maxvol);
}
Symbol 126 MovieClip Frame 10
stop();
Symbol 138 MovieClip Frame 120
gotoAndPlay (1);
Instance of Symbol 13 MovieClip "items" in Symbol 191 MovieClip Frame 1
onClipEvent (load) {
_parent.stop();
gotoAndStop(_parent.item);
_parent._name = "itemspot" + _parent.item;
}
Symbol 191 MovieClip Frame 7
gotoAndPlay (8);
Instance of Symbol 13 MovieClip "items" in Symbol 191 MovieClip Frame 7
onClipEvent (load) {
gotoAndStop(_parent.item);
}
Symbol 191 MovieClip Frame 11
gotoAndPlay (12);
Symbol 191 MovieClip Frame 15
stop();
Symbol 203 MovieClip Frame 1
ok_btn.onRelease = function () {
btned = 1;
};
Instance of Symbol 191 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
item = 1;
}
Instance of Symbol 13 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 187 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
var one = new Sound();
one.attachSound("stick1");
var two = new Sound();
two.attachSound("stick2");
hold = 0;
roter = 0;
if (!_parent._parent.setting) {
_parent.bigcheese._alpha = 20;
unloadMovie (_parent.boxtest);
unloadMovie (_parent.tester);
unloadMovie (this);
}
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (_parent.tester.hitTest(_root._xmouse, _root._ymouse, true)) {
two.stop("stick2");
one.start(0, 1);
one.setVolume(_parent._parent.maxvol);
if (Math.abs(_parent._x - _root._xmouse) > 50) {
if (_parent._x < _root._xmouse) {
hold = 1;
} else {
hold = 3;
}
} else if (_parent._y < _root._ymouse) {
hold = 4;
} else {
hold = 2;
}
roter = _rotation;
}
};
onMouseUp = function () {
if (hold) {
one.stop("stick1");
two.start(0, 1);
two.setVolume(_parent._parent.maxvol);
_rotation = (Math.round(_rotation / 90) * 90);
_parent._parent.loader["itemmove" + _parent.item].iteminner._rotation = _parent._parent.loader["itemmove" + _parent.item].iteminner._rotation + (_rotation - roter);
_parent._parent.loader["itemmove" + _parent.item].iteminner.roted = 1;
roter = _rotation;
_parent.bigcheese._rotation = _rotation;
hold = 0;
_parent._parent.loader["itemmove" + _parent.item].iteminner.placed = 1;
if (_parent._parent.level == 1) {
if (_parent.item == 2) {
if (_parent._parent.loader["itemmove" + _parent.item].iteminner._rotation) {
_parent._parent.helper.gotoAndStop(3);
} else {
_parent._parent.helper.gotoAndStop(4);
unloadMovie (_parent.boxtest);
unloadMovie (_parent.tester);
unloadMovie (this);
}
}
}
}
};
if (hold) {
_rotation = (((((Math.atan2(_root._ymouse - _parent._y, _root._xmouse - _parent._x) * 180) / Math.PI) + (90 * hold)) - 90) + roter);
}
}
Instance of Symbol 92 MovieClip "box" in Symbol 214 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 57 MovieClip "items" in Symbol 216 MovieClip Frame 1
onClipEvent (load) {
_parent.stop();
gotoAndStop(_parent.item);
_parent._name = "itemspot" + _parent.item;
}
Symbol 216 MovieClip Frame 7
gotoAndPlay (8);
Instance of Symbol 57 MovieClip "items" in Symbol 216 MovieClip Frame 7
onClipEvent (load) {
gotoAndStop(_parent.item);
}
Symbol 216 MovieClip Frame 11
gotoAndPlay (12);
Symbol 216 MovieClip Frame 15
stop();
Symbol 220 MovieClip Frame 1
hit = 3;
level = 0;
stop();
score = 0;
play_btn.onRelease = function () {
_root.WPI_ArcadeStartSingleGame();
stopper.stop();
ingame.start(0, 999);
ingame.setVolume(maxvol);
playB.enabled = false;
gotoAndStop (3);
};
easy_btn.onRelease = function () {
if (setting) {
arrown._x = 340;
arrown.gotoAndPlay(1);
}
setting = 0;
};
hard_btn.onRelease = function () {
if (!setting) {
arrown._x = 430;
arrown.gotoAndPlay(1);
}
setting = 1;
};
Instance of Symbol 92 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
_x = -1;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 5) {
unloadMovie (this);
}
}
Instance of Symbol 92 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
a = 0;
}
onClipEvent (enterFrame) {
if (a < 50) {
a = a + 10;
if (a > 0) {
_alpha = a;
}
}
}
Instance of Symbol 126 MovieClip "arrown" in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (10);
}
Instance of Symbol 131 MovieClip "hit2" in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
clicked = 0;
xtra = 0;
this._y = 100 + (_parent.maxvol * 3);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) || (clicked)) {
_alpha = 60;
} else {
_alpha = 100;
}
onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
clicked = 1;
xtra = this._y - _root._ymouse;
}
};
onMouseUp = function () {
clicked = 0;
};
if (clicked) {
this._y = _root._ymouse + xtra;
if (this._y > 400) {
this._y = 400;
} else if (this._y < 100) {
this._y = 100;
}
}
_parent.maxvol = (this._y - 100) / 3;
}
Instance of Symbol 133 MovieClip "hit3" in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
clicked = 0;
_rotation = ((-(_parent.qual - 1)) * 30);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) || (clicked)) {
_alpha = 60;
} else {
_alpha = 100;
}
onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
clicked = 1;
}
};
onMouseUp = function () {
clicked = 0;
};
if (clicked) {
_rotation = ((Math.atan2(_parent._ymouse - this._y, _parent._xmouse - this._x) * 180) / Math.PI);
if ((_rotation < -75) || (_rotation > 124)) {
_rotation = -90;
_quality = "BEST";
} else if (_rotation < -45) {
_rotation = -60;
_quality = "HIGH";
} else if (_rotation < -15) {
_rotation = -30;
_quality = "MEDIUM";
} else {
_rotation = 0;
_quality = "LOW";
}
}
}
Instance of Symbol 139 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
stop();
down = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _parent._xmouse;
this._y = _parent._ymouse;
onMouseDown = function () {
down = 1;
gotoAndStop (3);
};
onMouseUp = function () {
down = 0;
};
if (!down) {
hit = 0;
i = 1;
while (i <= _parent.hit) {
if (_parent["hit" + i].hitTest(this._x, this._y, true)) {
hit = 1;
}
i++;
}
if (_parent.setting) {
if (_parent.spinner.tester.hitTest(this._x, this._y, true)) {
hit = 1;
}
}
if (_parent.level && (_parent.itemsleft)) {
i = 1;
while (i <= _parent.loader.itemz) {
if (_parent.loader["itemmove" + i].hitTest(this._x, this._y, true)) {
hit = 1;
}
i++;
}
}
if (hit) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
Symbol 220 MovieClip Frame 2
hit = 3;
if (level == 4) {
continue_btn._y = 9999;
hit1 = 9999;
}
continue_btn.onRelease = function () {
stopper.stop();
ingame.start(0, 999);
ingame.setVolume(maxvol);
playB.enabled = false;
gotoAndStop(4 + level);
};
submit_btn.onRelease = function () {
_root.WPI_ArcadeStopSingleGame(score);
scorefade.a = 0;
continue_btn._y = 9999;
submit_btn._y = 9999;
hit1 = 9999;
hit3 = 9999;
two.start(0, 1);
two.setVolume(maxvol);
};
menu_btn.onRelease = function () {
stopper.stop();
gotoAndStop (1);
};
if (level == 1) {
score = 1;
scorer = 1;
} else {
scorer = Math.floor((((15 * (5 - (minute + (second / 60)))) * (0.5 + setting)) * (level + 2)) / 2);
if (scorer < (level * 10)) {
scorer = level * 10;
}
score = score + scorer;
}
Instance of Symbol 145 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_parent.level);
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
if (_parent.second > 9) {
gotoAndStop(Math.floor(_parent.second / 10) + 1);
} else {
_alpha = 0;
}
if ((!_parent.second) && (!_parent.minute)) {
gotoAndStop (11);
_alpha = 100;
}
}
Instance of Symbol 160 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop((_parent.second % 10) + 1);
if ((!_parent.second) && (!_parent.minute)) {
gotoAndStop (11);
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
if (_parent.minute > 9) {
gotoAndStop(Math.floor(_parent.minute / 10) + 1);
} else {
_alpha = 0;
}
if ((!_parent.second) && (!_parent.minute)) {
gotoAndStop (11);
_alpha = 100;
}
}
Instance of Symbol 160 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop((_parent.minute % 10) + 1);
if ((!_parent.second) && (!_parent.minute)) {
gotoAndStop (11);
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
if (_parent.scorer > 99) {
gotoAndStop(Math.floor(_parent.scorer / 100) + 1);
} else {
_alpha = 0;
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
if (_parent.scorer > 9) {
gotoAndStop((Math.floor(_parent.scorer / 10) % 10) + 1);
} else {
_alpha = 0;
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop((_parent.scorer % 10) + 1);
}
Instance of Symbol 167 MovieClip "scorefade" in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
a = -1;
}
onClipEvent (enterFrame) {
if ((a > -1) && (a < 100)) {
a = a + 10;
_alpha = a;
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
if (_parent.score > 99) {
gotoAndStop(Math.floor(_parent.score / 100) + 1);
} else {
_alpha = 0;
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
if (_parent.score > 9) {
gotoAndStop(Math.floor((_parent.score / 10) % 10) + 1);
} else {
_alpha = 0;
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop((_parent.score % 10) + 1);
}
Symbol 220 MovieClip Frame 3
hit = 1;
itemsleft = 2;
Instance of Symbol 187 MovieClip "bigcheese" in Symbol 220 MovieClip Frame 3
onClipEvent (load) {
if (!_parent.setting) {
_alpha = 20;
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 3
onClipEvent (load) {
if (_parent.itemsleft > 9) {
gotoAndStop(Math.ceil(_parent.itemsleft / 10) + 1);
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.itemsleft > 9) {
gotoAndStop(Math.ceil(_parent.itemsleft / 10) + 1);
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 160 MovieClip in Symbol 220 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop((_parent.itemsleft % 10) + 1);
}
onClipEvent (enterFrame) {
gotoAndStop((_parent.itemsleft % 10) + 1);
}
Instance of Symbol 203 MovieClip "hit1" in Symbol 220 MovieClip Frame 3
onClipEvent (load) {
btned = 0;
}
onClipEvent (enterFrame) {
if (!btned) {
this._y = this._y + ((70 - this._y) / 3);
} else {
this._y = this._y + ((700 - this._y) / 3);
if (this._y > 600) {
_parent.gotoAndStop(4);
}
}
}
Symbol 220 MovieClip Frame 4
hit = 0;
level = 1;
Instance of Symbol 191 MovieClip in Symbol 220 MovieClip Frame 4
onClipEvent (load) {
item = 1;
}
Instance of Symbol 191 MovieClip in Symbol 220 MovieClip Frame 4
onClipEvent (load) {
item = 2;
}
Instance of Symbol 206 MovieClip "spinner" in Symbol 220 MovieClip Frame 4
onClipEvent (load) {
item = 0;
}
Instance of Symbol 213 MovieClip "helper" in Symbol 220 MovieClip Frame 4
onClipEvent (load) {
stop();
if (!_parent.setting) {
unloadMovie (this);
}
}
Instance of Symbol 214 MovieClip "loader" in Symbol 220 MovieClip Frame 4
onClipEvent (load) {
var one = new Sound();
one.attachSound("wig1");
_parent.second = 0;
_parent.minute = 0;
frame = 1;
itemz = _parent.itemsleft;
dragged = 0;
xmin = 340;
xmax = 800;
ymin = 0;
ymax = 240;
i = 1;
while (i <= itemz) {
attachMovie("itemmovetut", "itemmove" + i, i);
this["itemmove" + i].item = i;
if (_parent.setting) {
this["itemmove" + i].iteminner._rotation = (180 * i) - 180;
}
this["itemmove" + i]._y = (Math.random() * ((ymax - ymin) - this["itemmove" + i]._height)) + ymin;
this["itemmove" + i]._x = (Math.random() * ((xmax - xmin) - this["itemmove" + i]._width)) + xmin;
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.itemsleft) {
dragged = 0;
depth = 0;
i = 1;
while (i <= itemz) {
this["itemmove" + i].iteminner.hit = 0;
this["itemmove" + i].iteminner._alpha = 100;
if (this["itemmove" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (this["itemmove" + i].iteminner.depth > depth) {
depth = this["itemmove" + i].iteminner.depth;
}
}
i++;
}
i = 1;
while (i <= itemz) {
if (this["itemmove" + i].iteminner.depth == depth) {
dragged = 1;
this["itemmove" + i].iteminner.hit = 1;
if (!this["itemmove" + i].iteminner.dragged) {
this["itemmove" + i].iteminner._alpha = 60;
}
}
i++;
}
} else {
if (frame < 100) {
frame = 100;
_parent.stopper.stop();
_parent.two.start(0, 1);
_parent.two.setVolume(_parent.maxvol);
}
frame++;
if (frame > 116) {
_parent.stopper.stop();
_parent.menu.start(0, 999);
_parent.menu.setVolume(_parent.maxvol);
playB.enabled = false;
_parent.gotoAndStop(2);
}
}
}
Symbol 220 MovieClip Frame 5
hit = 0;
itemsleft = 10;
level = 2;
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 9;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 10;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 4;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 5;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 8;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 7;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 3;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 6;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 2;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
item = 1;
}
Instance of Symbol 214 MovieClip "loader" in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
var one = new Sound();
one.attachSound("wig1");
_parent.second = 0;
_parent.minute = 0;
frame = 1;
itemz = _parent.itemsleft;
dragged = 0;
xmin = 0;
xmax = 800;
ymin = 380;
ymax = 600;
i = 1;
while (i <= itemz) {
attachMovie("itemmove", "itemmove" + i, i);
this["itemmove" + i].item = i;
if (_parent.setting) {
this["itemmove" + i].iteminner._rotation = Math.ceil(Math.random() * 4) * 90;
}
this["itemmove" + i]._y = (Math.random() * ((ymax - ymin) - this["itemmove" + i]._height)) + ymin;
this["itemmove" + i]._x = (Math.random() * ((xmax - xmin) - this["itemmove" + i]._width)) + xmin;
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.itemsleft) {
frame++;
if (frame == 25) {
frame = 1;
_parent.second++;
}
if (_parent.second == 60) {
_parent.second = 0;
_parent.minute++;
}
dragged = 0;
depth = 0;
i = 1;
while (i <= itemz) {
this["itemmove" + i].iteminner.hit = 0;
this["itemmove" + i].iteminner._alpha = 100;
if (this["itemmove" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (this["itemmove" + i].iteminner.depth > depth) {
depth = this["itemmove" + i].iteminner.depth;
}
}
i++;
}
i = 1;
while (i <= itemz) {
if (this["itemmove" + i].iteminner.depth == depth) {
dragged = 1;
this["itemmove" + i].iteminner.hit = 1;
if (!this["itemmove" + i].iteminner.dragged) {
this["itemmove" + i].iteminner._alpha = 60;
}
}
i++;
}
} else {
if (frame < 100) {
frame = 100;
_parent.stopper.stop();
_parent.two.start(0, 1);
_parent.two.setVolume(_parent.maxvol);
}
frame++;
if (frame > 116) {
_parent.stopper.stop();
_parent.menu.start(0, 999);
_parent.menu.setVolume(_parent.maxvol);
playB.enabled = false;
_parent.gotoAndStop(2);
}
}
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
if (_parent.second > 9) {
gotoAndStop(Math.ceil(_parent.second / 10) + 1);
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.second > 9) {
gotoAndStop(Math.ceil(_parent.second / 10) + 1);
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 160 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop((_parent.second % 10) + 1);
}
onClipEvent (enterFrame) {
gotoAndStop((_parent.second % 10) + 1);
}
Instance of Symbol 159 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
if (_parent.minute > 9) {
gotoAndStop(Math.ceil(_parent.minute / 10) + 1);
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.minute > 9) {
gotoAndStop(Math.ceil(_parent.minute / 10) + 1);
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 160 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop((_parent.minute % 10) + 1);
}
onClipEvent (enterFrame) {
gotoAndStop((_parent.minute % 10) + 1);
}
Symbol 220 MovieClip Frame 6
hit = 0;
itemsleft = 15;
level = 3;
Instance of Symbol 206 MovieClip "spinner" in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 0;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 12;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 2;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 6;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 14;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 7;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 11;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 8;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 9;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 15;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 13;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 4;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 1;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 5;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 3;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
item = 10;
}
Instance of Symbol 214 MovieClip "loader" in Symbol 220 MovieClip Frame 6
onClipEvent (load) {
var one = new Sound();
one.attachSound("wig1");
_parent.second = 0;
_parent.minute = 0;
frame = 1;
itemz = _parent.itemsleft;
dragged = 0;
xmin = 0;
xmax = 800;
ymin = 390;
ymax = 600;
i = 1;
while (i <= itemz) {
this.attachMovie("itemmove", "itemmove" + i, i);
this["itemmove" + i].item = i;
if (_parent.setting) {
this["itemmove" + i].iteminner._rotation = Math.ceil(Math.random() * 4) * 90;
}
this["itemmove" + i]._y = (Math.random() * ((ymax - ymin) - this["itemmove" + i]._height)) + ymin;
this["itemmove" + i]._x = (Math.random() * ((xmax - xmin) - this["itemmove" + i]._width)) + xmin;
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.itemsleft) {
frame++;
if (frame == 25) {
frame = 1;
_parent.second++;
}
dragged = 0;
depth = 0;
i = 1;
while (i <= itemz) {
this["itemmove" + i].iteminner.hit = 0;
this["itemmove" + i].iteminner._alpha = 100;
if (this["itemmove" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (this["itemmove" + i].iteminner.depth > depth) {
depth = this["itemmove" + i].iteminner.depth;
}
}
i++;
}
i = 1;
while (i <= itemz) {
if (this["itemmove" + i].iteminner.depth == depth) {
dragged = 1;
this["itemmove" + i].iteminner.hit = 1;
if (!this["itemmove" + i].iteminner.dragged) {
this["itemmove" + i].iteminner._alpha = 60;
}
}
i++;
}
} else {
if (frame < 100) {
frame = 100;
_parent.stopper.stop();
_parent.two.start(0, 1);
_parent.two.setVolume(_parent.maxvol);
}
frame++;
if (frame > 116) {
_parent.stopper.stop();
_parent.menu.start(0, 999);
_parent.menu.setVolume(_parent.maxvol);
playB.enabled = false;
_parent.gotoAndStop(2);
}
}
}
Symbol 220 MovieClip Frame 7
hit = 0;
itemsleft = 21;
level = 4;
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 2;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 6;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 8;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 9;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 4;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 1;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 5;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 3;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 10;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 11;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 16;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 21;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 20;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 19;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 13;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 18;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 17;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 12;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 14;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 15;
}
Instance of Symbol 216 MovieClip in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
item = 7;
}
Instance of Symbol 214 MovieClip "loader" in Symbol 220 MovieClip Frame 7
onClipEvent (load) {
var one = new Sound();
one.attachSound("wig1");
_parent.second = 0;
_parent.minute = 0;
frame = 1;
itemz = _parent.itemsleft;
dragged = 0;
xmin = 320;
xmax = 800;
ymin = 70;
ymax = 270;
i = 1;
while (i <= itemz) {
this.attachMovie("itemmove", "itemmove" + i, i);
this["itemmove" + i].item = i;
if (_parent.setting && (i != 21)) {
this["itemmove" + i].iteminner._rotation = Math.ceil(Math.random() * 4) * 90;
}
this["itemmove" + i]._y = (Math.random() * ((ymax - ymin) - this["itemmove" + i]._height)) + ymin;
this["itemmove" + i]._x = (Math.random() * ((xmax - xmin) - this["itemmove" + i]._width)) + xmin;
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.itemsleft) {
frame++;
if (frame == 25) {
frame = 1;
_parent.second++;
}
dragged = 0;
depth = 0;
i = 1;
while (i <= itemz) {
this["itemmove" + i].iteminner.hit = 0;
this["itemmove" + i].iteminner._alpha = 100;
if (this["itemmove" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (this["itemmove" + i].iteminner.depth > depth) {
depth = this["itemmove" + i].iteminner.depth;
}
}
i++;
}
i = 1;
while (i <= itemz) {
if (this["itemmove" + i].iteminner.depth == depth) {
dragged = 1;
this["itemmove" + i].iteminner.hit = 1;
if (!this["itemmove" + i].iteminner.dragged) {
this["itemmove" + i].iteminner._alpha = 60;
}
}
i++;
}
} else {
if (frame < 100) {
frame = 100;
_parent.stopper.stop();
_parent.two.start(0, 1);
_parent.two.setVolume(_parent.maxvol);
}
frame++;
if (frame > 116) {
_parent.stopper.stop();
_parent.menu.start(0, 999);
_parent.menu.setVolume(_parent.maxvol);
playB.enabled = false;
_parent.gotoAndStop(2);
}
}
}