Frame 1
this.stop();
SOURCE_MOVIECLIP = this.main1;
RENDER_MOVIECLIP = this.render;
MosaicRect = {x:-100, y:-100, w:200, h:300};
M_WIDTH = 10;
M_HEIGHT = 10;
M_WIDTH_HALF = M_WIDTH / 2;
M_HEIGH_HALF = M_HEIGHT / 2;
bmpData = new flash.display.BitmapData(MosaicRect.w, MosaicRect.h, true);
onEnterFrame = function () {
bmpData.fillRect(new flash.geom.Rectangle(0, 0, MosaicRect.w, MosaicRect.h), 0);
m = new flash.geom.Matrix(1, 0, 0, 1, ((-MosaicRect.x) + SOURCE_MOVIECLIP._x) - RENDER_MOVIECLIP._x, ((-MosaicRect.y) + SOURCE_MOVIECLIP._y) - RENDER_MOVIECLIP._y);
bmpData.draw(SOURCE_MOVIECLIP, m);
var _local2;
var _local1;
var _local3 = new flash.geom.Rectangle(0, 0, M_WIDTH, M_HEIGHT);
_local2 = 0;
while (_local2 < MosaicRect.h) {
_local1 = 0;
while (_local1 < MosaicRect.w) {
_local3.x = _local1;
_local3.y = _local2;
bmpData.fillRect(_local3, bmpData.getPixel32(_local1 + M_WIDTH_HALF, _local2 + M_HEIGH_HALF));
_local1 = _local1 + M_WIDTH;
}
_local2 = _local2 + M_HEIGHT;
}
RENDER_MOVIECLIP.clear();
m = new flash.geom.Matrix(1, 0, 0, 1, MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.beginBitmapFill(bmpData, m, true, true);
RENDER_MOVIECLIP.moveTo(MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.lineTo(MosaicRect.x, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y);
RENDER_MOVIECLIP.endFill();
};
Frame 10
SOURCE_MOVIECLIP = this.main2;
RENDER_MOVIECLIP = this.render;
MosaicRect = {x:-100, y:-100, w:200, h:200};
M_WIDTH = 10;
M_HEIGHT = 10;
M_WIDTH_HALF = M_WIDTH / 2;
M_HEIGH_HALF = M_HEIGHT / 2;
bmpData = new flash.display.BitmapData(MosaicRect.w, MosaicRect.h, true);
onEnterFrame = function () {
bmpData.fillRect(new flash.geom.Rectangle(0, 0, MosaicRect.w, MosaicRect.h), 0);
m = new flash.geom.Matrix(1, 0, 0, 1, ((-MosaicRect.x) + SOURCE_MOVIECLIP._x) - RENDER_MOVIECLIP._x, ((-MosaicRect.y) + SOURCE_MOVIECLIP._y) - RENDER_MOVIECLIP._y);
bmpData.draw(SOURCE_MOVIECLIP, m);
var _local2;
var _local1;
var _local3 = new flash.geom.Rectangle(0, 0, M_WIDTH, M_HEIGHT);
_local2 = 0;
while (_local2 < MosaicRect.h) {
_local1 = 0;
while (_local1 < MosaicRect.w) {
_local3.x = _local1;
_local3.y = _local2;
bmpData.fillRect(_local3, bmpData.getPixel32(_local1 + M_WIDTH_HALF, _local2 + M_HEIGH_HALF));
_local1 = _local1 + M_WIDTH;
}
_local2 = _local2 + M_HEIGHT;
}
RENDER_MOVIECLIP.clear();
m = new flash.geom.Matrix(1, 0, 0, 1, MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.beginBitmapFill(bmpData, m, true, true);
RENDER_MOVIECLIP.moveTo(MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.lineTo(MosaicRect.x, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y);
RENDER_MOVIECLIP.endFill();
};
Frame 20
SOURCE_MOVIECLIP = this.main3;
RENDER_MOVIECLIP = this.render;
MosaicRect = {x:-100, y:-100, w:200, h:300};
M_WIDTH = 10;
M_HEIGHT = 10;
M_WIDTH_HALF = M_WIDTH / 2;
M_HEIGH_HALF = M_HEIGHT / 2;
bmpData = new flash.display.BitmapData(MosaicRect.w, MosaicRect.h, true);
onEnterFrame = function () {
bmpData.fillRect(new flash.geom.Rectangle(0, 0, MosaicRect.w, MosaicRect.h), 0);
m = new flash.geom.Matrix(1, 0, 0, 1, ((-MosaicRect.x) + SOURCE_MOVIECLIP._x) - RENDER_MOVIECLIP._x, ((-MosaicRect.y) + SOURCE_MOVIECLIP._y) - RENDER_MOVIECLIP._y);
bmpData.draw(SOURCE_MOVIECLIP, m);
var _local2;
var _local1;
var _local3 = new flash.geom.Rectangle(0, 0, M_WIDTH, M_HEIGHT);
_local2 = 0;
while (_local2 < MosaicRect.h) {
_local1 = 0;
while (_local1 < MosaicRect.w) {
_local3.x = _local1;
_local3.y = _local2;
bmpData.fillRect(_local3, bmpData.getPixel32(_local1 + M_WIDTH_HALF, _local2 + M_HEIGH_HALF));
_local1 = _local1 + M_WIDTH;
}
_local2 = _local2 + M_HEIGHT;
}
RENDER_MOVIECLIP.clear();
m = new flash.geom.Matrix(1, 0, 0, 1, MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.beginBitmapFill(bmpData, m, true, true);
RENDER_MOVIECLIP.moveTo(MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.lineTo(MosaicRect.x, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y);
RENDER_MOVIECLIP.endFill();
};
Frame 30
SOURCE_MOVIECLIP = this.main4;
RENDER_MOVIECLIP = this.render;
MosaicRect = {x:-100, y:-100, w:200, h:300};
M_WIDTH = 10;
M_HEIGHT = 10;
M_WIDTH_HALF = M_WIDTH / 2;
M_HEIGH_HALF = M_HEIGHT / 2;
bmpData = new flash.display.BitmapData(MosaicRect.w, MosaicRect.h, true);
onEnterFrame = function () {
bmpData.fillRect(new flash.geom.Rectangle(0, 0, MosaicRect.w, MosaicRect.h), 0);
m = new flash.geom.Matrix(1, 0, 0, 1, ((-MosaicRect.x) + SOURCE_MOVIECLIP._x) - RENDER_MOVIECLIP._x, ((-MosaicRect.y) + SOURCE_MOVIECLIP._y) - RENDER_MOVIECLIP._y);
bmpData.draw(SOURCE_MOVIECLIP, m);
var _local2;
var _local1;
var _local3 = new flash.geom.Rectangle(0, 0, M_WIDTH, M_HEIGHT);
_local2 = 0;
while (_local2 < MosaicRect.h) {
_local1 = 0;
while (_local1 < MosaicRect.w) {
_local3.x = _local1;
_local3.y = _local2;
bmpData.fillRect(_local3, bmpData.getPixel32(_local1 + M_WIDTH_HALF, _local2 + M_HEIGH_HALF));
_local1 = _local1 + M_WIDTH;
}
_local2 = _local2 + M_HEIGHT;
}
RENDER_MOVIECLIP.clear();
m = new flash.geom.Matrix(1, 0, 0, 1, MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.beginBitmapFill(bmpData, m, true, true);
RENDER_MOVIECLIP.moveTo(MosaicRect.x, MosaicRect.y);
RENDER_MOVIECLIP.lineTo(MosaicRect.x, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y + MosaicRect.h);
RENDER_MOVIECLIP.lineTo(MosaicRect.x + MosaicRect.w, MosaicRect.y);
RENDER_MOVIECLIP.endFill();
};
Symbol 26 Button
on (press) {
this.gotoAndPlay("in");
}
Symbol 40 MovieClip Frame 1
s0 = new Sound();
Symbol 40 MovieClip Frame 31
this.gotoAndPlay("start");
Symbol 40 MovieClip Frame 40
if (_root.flag_ass) {
_root.flag_ass = false;
_root.flag_count++;
myVoice = new Sound();
myVoice.attachSound("lvup");
myVoice.start();
}
Symbol 40 MovieClip Frame 118
this.stop();
Symbol 45 Button
on (press) {
this.main1.s0.stop();
this.gotoAndStop("2-2");
}
Symbol 48 MovieClip Frame 6
this.stop();
Symbol 49 MovieClip Frame 1
s0 = new Sound();
Symbol 49 MovieClip Frame 53
this.gotoAndPlay("start");
Symbol 50 Button
on (press) {
this.main2.s0.stop();
this.gotoAndStop("2-3");
}
Symbol 63 MovieClip Frame 1
s0 = new Sound();
Symbol 63 MovieClip Frame 7
this.gotoAndPlay("start");
Symbol 64 Button
on (press) {
this.main3.s0.stop();
this.gotoAndStop("2-4");
}
Symbol 80 MovieClip Frame 1
s0 = new Sound();
Symbol 80 MovieClip Frame 6
Symbol 80 MovieClip Frame 110
this.stop();
Symbol 81 Button
on (press) {
this.main4.s0.stop();
if (_root.flag_count == 4) {
_root.ending = "good";
_root.gotoAndStop("end");
}
if (_root.flag_count < 4) {
_root.ending = "nomal";
_root.gotoAndStop("end");
}
_root.gotoAndStop("select");
}