Instance of Symbol 9 MovieClip in Frame 5
onClipEvent (load) {
_root.stop();
barLength = this.bar._width;
totalSize = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loadedSize = _root.getBytesLoaded();
nowLoadedSize = Math.round((loadedSize / totalSize) * 100);
if (nowLoadedSize == 100) {
_root.play();
} else if (nowLoadedSize < 100) {
_root.stop();
point = barLength / 100;
this.bar._width = point * nowLoadedSize;
this.percent = nowLoadedSize;
}
}
Frame 10
gotoAndStop (11);
this.play();
Frame 90
stop();
Frame 160
gotoAndStop (161);
this.play();
Instance of Symbol 17 MovieClip "map" in Frame 161
onClipEvent (load) {
MapWidth = 3000;
MapHeight = 2641;
MapSpeed = 10;
FlashWidth = 500;
FlashHeight = 410;
}
onClipEvent (enterFrame) {
_root.map._x = _root.map._x + (((((FlashWidth - _root._xmouse) / FlashWidth) * 2) - 1) * MapSpeed);
_root.map._y = _root.map._y + (((((FlashHeight - _root._ymouse) / FlashHeight) * 2) - 1) * MapSpeed);
if (_root.map._x > 0) {
_root.map._x = 0;
}
if (_root.map._y > 0) {
_root.map._y = 0;
}
if (_root.map._x < (-(MapWidth - FlashWidth))) {
_root.map._x = -(MapWidth - FlashWidth);
}
if (_root.map._y < (-(MapHeight - FlashHeight))) {
_root.map._y = -(MapHeight - FlashHeight);
}
}
Frame 230
gotoAndPlay (161);
Frame 300
gotoAndPlay (55);
Instance of Symbol 17 MovieClip "map" in Frame 300
onClipEvent (load) {
MapWidth = 1300;
MapHeight = 1800;
MapSpeed = 10;
FlashWidth = 400;
FlashHeight = 480;
}
onClipEvent (enterFrame) {
_root.map._x = _root.map._x + (((((FlashWidth - _root._xmouse) / FlashWidth) * 2) - 1) * MapSpeed);
_root.map._y = _root.map._y + (((((FlashHeight - _root._ymouse) / FlashHeight) * 2) - 1) * MapSpeed);
if (_root.map._x > 0) {
_root.map._x = 0;
}
if (_root.map._y > 0) {
_root.map._y = 0;
}
if (_root.map._x < (-(MapWidth - FlashWidth))) {
_root.map._x = -(MapWidth - FlashWidth);
}
if (_root.map._y < (-(MapHeight - FlashHeight))) {
_root.map._y = -(MapHeight - FlashHeight);
}
}
Symbol 12 Button
on (release) {
gotoAndStop (91);
this.play();
}
Symbol 19 Button
on (release) {
gotoAndPlay (231);
}