Frame 2
if ((((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) == 100) && (_root.getBytesLoaded() > 30)) {
} else {
_root.gotoAndPlay(_root._currentframe - 1);
}
Frame 3
function doClose() {
if (!closed) {
closed = 1;
flash.external.ExternalInterface.call("setTimeout", "SNYCAM.doClose()", 600);
_root.gotoAndPlay("close");
}
}
sizeChecker = new Object();
sizeChecker.onResize = function () {
bg.base._width = Stage.width;
bg.base._height = Stage.height;
};
Stage.addListener(sizeChecker);
sizeChecker.onResize();
Frame 24
stop();
Instance of Symbol 33 MovieClip "zoomicon" in Frame 24
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 41
stop();
Symbol 2 Button
on (release) {
_root.doClose();
}
Symbol 3 MovieClip Frame 1
btn.useHandCursor = false;
Symbol 13 Button
on (release) {
if (_root.lang != "jp") {
url = "http://www.konami.jp/mgs4/global/";
} else {
url = "http://www.konami.jp/mgs4/jp/";
}
getURL (url, "_blank");
}
Symbol 20 Button
on (rollOver) {
this.gotoAndPlay("open");
}
on (rollOut, dragOut) {
this.gotoAndPlay("close");
}
on (release) {
_root.doClose();
}
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 10
stop();
Symbol 29 Button
on (rollOver, dragOver) {
Mouse.hide();
_root.zoomicon._visible = 1;
}
on (press) {
zoom = 1;
}
on (release, dragOut) {
zoom = 0;
}
on (rollOut, dragOut) {
Mouse.show();
_root.zoomicon._visible = 0;
}
Symbol 30 MovieClip Frame 1
btn._visible = 0;
buffer._visible = 0;
buffer.swapDepths(500);
z = 100;
_root.movieID = ((_root.movieID) ? (_root.movieID) : "Z");
lm.createEmptyMovieClip("img", 1);
lm.img.loadMovie(_root.movieID + "_view.swf");
onEnterFrame = function () {
if ((lm.img._currentframe == lm_oldframe) && (lm.img._currentframe != lm.img._totalframes)) {
buffer._visible = 1;
} else {
buffer._visible = 0;
}
lm_oldframe = lm.img._currentframe;
if ((!posted) && (lm._width > 1)) {
posted = 1;
lm.img._x = lm.img._x - (lm._width / 2);
lm.img._y = lm.img._y - (lm._height / 2);
btn._visible = 1;
}
if (btn._visible) {
if (zoom) {
dz = 300;
dx = (-this._xmouse) * 2;
dy = (-this._ymouse) * 2;
} else {
dz = 100;
dx = 0;
dy = 0;
}
z = z + ((dz - z) * 0.4);
lm._xscale = (lm._yscale = z);
lm._x = lm._x + ((dx - lm._x) * 0.4);
lm._y = lm._y + ((dy - lm._y) * 0.4);
R = (lm._width - 480) / 2;
L = ((lm._width - 480) / 2) * -1;
T = (lm._height - 244) / 2;
B = ((lm._height - 244) / 2) * -1;
if (lm._x > R) {
lm._x = R;
} else if (lm._x < L) {
lm._x = L;
}
if (lm._y > T) {
lm._y = T;
} else if (lm._y < B) {
lm._y = B;
}
}
};