Frame 3
stop();
_global.showboolean = 0;
_global.havemusic = 0;
_global.autoplay = 1;
_global.autorepeat = 1;
_global.showbutton = 1;
_global.enableurl = 1;
_global.continueplay = 1;
_global.total_images = 7;
_global.flash_width = 640;
_global.flash_height = 480;
_global.thumnail_width = 120;
_global.thumnail_height = 90;
_global.frame_rate = 30;
_global.show_title = 0;
_global.album_title = "Jason - Camping Out";
_global.url_target = 0;
_global.total_mask = 67;
_global.title_0 = "Bully's Bad Beach Day 35a";
_global.title_1 = "Bully's Bad Beach Day 35b";
_global.title_2 = "Bully's Bad Beach Day 35c";
_global.title_3 = "Bully's Bad Beach Day 35d";
_global.title_4 = "Bully's Bad Beach Day 35e";
_global.title_5 = "Bully's Bad Beach Day 35f";
_global.title_6 = "Bully's Bad Beach Day 35g";
_global.desc_0 = "";
_global.desc_1 = "";
_global.desc_2 = "";
_global.desc_3 = "";
_global.desc_4 = "";
_global.desc_5 = "";
_global.desc_6 = "";
_global.url_0 = "http://www.photo-flash-maker.com/introduce-photo-flash-maker.php";
_global.url_1 = "http://www.photo-flash-maker.com/introduce-photo-flash-maker.php";
_global.url_2 = "http://www.photo-flash-maker.com/introduce-photo-flash-maker.php";
_global.url_3 = "http://www.photo-flash-maker.com/introduce-photo-flash-maker.php";
_global.url_4 = "http://www.photo-flash-maker.com/introduce-photo-flash-maker.php";
_global.url_5 = "http://www.photo-flash-maker.com/introduce-photo-flash-maker.php";
_global.url_6 = "http://www.photo-flash-maker.com/introduce-photo-flash-maker.php";
_global.trans_id_0 = 60;
_global.trans_id_1 = 60;
_global.trans_id_2 = 60;
_global.trans_id_3 = 60;
_global.trans_id_4 = 60;
_global.trans_id_5 = 60;
_global.trans_id_6 = 60;
_global.trans_0 = 2;
_global.trans_1 = 2;
_global.trans_2 = 2;
_global.trans_3 = 2;
_global.trans_4 = 2;
_global.trans_5 = 2;
_global.trans_6 = 2;
_global.show_0 = 2;
_global.show_1 = 2;
_global.show_2 = 2;
_global.show_3 = 2;
_global.show_4 = 2;
_global.show_5 = 2;
_global.show_6 = 2;
_global.file_0 = "images\\0.jpg";
_global.file_1 = "images\\1.jpg";
_global.file_2 = "images\\2.jpg";
_global.file_3 = "images\\3.jpg";
_global.file_4 = "images\\4.jpg";
_global.file_5 = "images\\5.jpg";
_global.file_6 = "images\\6.jpg";
Symbol 13 MovieClip [block] Frame 6
stop();
Symbol 14 MovieClip [mask_27] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local3 = b;
var _local2 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local2, _local3);
_local1.beginFill(0);
_local1.lineTo(_local2, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local3);
_local1.lineTo(_local2, _local3);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var i = 0;
var mask_total = 19;
var temp_height = new Array(20);
k = 0;
while (k <= 19) {
var mask_mc = this.createEmptyMovieClip("block" + k, k);
temp_height[k] = 1 + random(10);
draw_mask(eval ("block" + k), 0, 0, ((photo_width * 1) / 20) + 1, photo_height);
setProperty("block" + k, _x , (photo_width * k) / 20);
setProperty("block" + k, _y , 0);
setProperty("block" + k, _yscale , 0);
k++;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
k = 0;
while (k <= 19) {
c = eval (("block" + k) + "._yscale");
if (c < 100) {
setProperty("block" + k, _yscale , (i * delScale) + (temp_height[k] * 4));
}
k++;
}
i++;
if (i > transitionDuration) {
delete onEnterFrame;
}
};
Symbol 15 MovieClip [mask_26] Frame 1
function draw_round_mask(mask, radius, a, b) {
var _local1 = radius;
var _local3 = b;
var _local2 = a;
mask.clear();
mask.lineStyle(0, 0);
mask.moveTo(_local2, _local3 + _local1);
mask.beginFill(0);
mask.curveTo(_local2 + _local1, _local3 + _local1, _local2 + _local1, _local3);
mask.curveTo(_local2 + _local1, _local3 - _local1, _local2, _local3 - _local1);
mask.curveTo(_local2 - _local1, _local3 - _local1, _local2 - _local1, _local3);
mask.curveTo(_local2 - _local1, _local3 + _local1, _local2, _local3 + _local1);
mask.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var i = 0;
var radius = 80;
var seg = Math.floor(Math.sqrt(Math.pow(radius, 2) / 2));
var x_num = Math.ceil(photo_width / seg);
var y_num = Math.ceil(photo_height / seg);
var mask_total = ((x_num * y_num) - 1);
k = 0;
while (k < y_num) {
l = 0;
while (l < x_num) {
var mask_mc = this.createEmptyMovieClip("block" + ((k * x_num) + l), (k * x_num) + l);
draw_round_mask(mask_mc, radius, 0, 0);
mask_mc._x = seg * l;
mask_mc._y = seg * k;
mask_mc._xscale = 0;
mask_mc._yscale = 0;
l++;
}
k++;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
k = 0;
while (k < y_num) {
l = 0;
while (l < x_num) {
setProperty("block" + ((k * x_num) + l), _xscale , i * delScale);
setProperty("block" + ((k * x_num) + l), _yscale , i * delScale);
l++;
}
k++;
}
i++;
if (i > transitionDuration) {
delete onEnterFrame;
}
};
Symbol 16 MovieClip [mask_20] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var ref_num = 0;
var i = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
ref_num = Math.floor((mask_total * i) / transitionDuration);
if (ref_num > (mask_num + 1)) {
mask_num = mask_num + 1;
} else {
mask_num = ref_num;
}
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((-mask_num) * seg_x) + ((photo_width * 1) / 2);
mc._y = (((-mask_num) * seg_y) + ((photo_height * 3) / 2)) + 11;
mc._rotation = -90 - dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
i++;
if ((i > transitionDuration) && (mask_num >= mask_total)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 17 MovieClip [mask_19] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var ref_num = 0;
var i = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
ref_num = Math.floor((mask_total * i) / transitionDuration);
if (ref_num > (mask_num + 1)) {
mask_num = mask_num + 1;
} else {
mask_num = ref_num;
}
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((mask_num * seg_x) - ((photo_width * 1) / 2)) - 11;
mc._y = ((-mask_num) * seg_y) + ((photo_height * 1) / 2);
mc._rotation = -90 + dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
i++;
if ((i > transitionDuration) && (mask_num >= mask_total)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 18 MovieClip [mask_18] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var ref_num = 0;
var i = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
ref_num = Math.floor((mask_total * i) / transitionDuration);
if (ref_num > (mask_num + 1)) {
mask_num = mask_num + 1;
} else {
mask_num = ref_num;
}
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((-mask_num) * seg_x) + ((photo_width * 3) / 2);
mc._y = ((mask_num * seg_y) + ((photo_height * 1) / 2)) - 11;
mc._rotation = 90 + dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
i++;
if ((i > transitionDuration) && (mask_num >= mask_total)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 19 MovieClip [mask_17] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var ref_num = 0;
var i = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
ref_num = Math.floor((mask_total * i) / transitionDuration);
if (ref_num > (mask_num + 1)) {
mask_num = mask_num + 1;
} else {
mask_num = ref_num;
}
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = (mask_num * seg_x) + ((photo_width * 1) / 2);
mc._y = ((mask_num * seg_y) - ((photo_height * 1) / 2)) - 11;
mc._rotation = 90 - dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
i++;
if ((i > transitionDuration) && (mask_num >= mask_total)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 20 MovieClip [mask_16] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_total = Math.ceil(photo_width / 11);
var mask_num = 0;
var ref_num = 0;
var i = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
ref_num = Math.floor((mask_total * i) / transitionDuration);
if (ref_num > (mask_num + 1)) {
mask_num = mask_num + 1;
} else {
mask_num = ref_num;
}
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = 0;
mc._y = photo_height - (mask_num * 11);
mc._yscale = Math.ceil((photo_width * 100) / mc._height);
mc._rotation = -90;
i++;
if ((i > transitionDuration) && (mask_num >= mask_total)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 21 MovieClip [mask_15] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_total = Math.ceil(photo_width / 11);
var mask_num = 0;
var ref_num = 0;
var i = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
ref_num = Math.floor((mask_total * i) / transitionDuration);
if (ref_num > (mask_num + 1)) {
mask_num = mask_num + 1;
} else {
mask_num = ref_num;
}
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = photo_width;
mc._y = mask_num * 11;
mc._yscale = Math.ceil((photo_width * 100) / mc._height);
mc._rotation = 90;
i++;
if ((i > transitionDuration) && (mask_num >= mask_total)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 22 MovieClip [mask_14] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_total = Math.ceil(photo_width / 11);
var mask_num = 0;
var ref_num = 0;
var i = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
ref_num = Math.floor((mask_total * i) / transitionDuration);
if (ref_num > (mask_num + 1)) {
mask_num = mask_num + 1;
} else {
mask_num = ref_num;
}
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = photo_width - (mask_num * 11);
mc._y = photo_height;
mc._rotation = 180;
mc._yscale = Math.ceil((photo_height * 100) / mc._height);
i++;
if ((i > transitionDuration) && (mask_num >= mask_total)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 26 MovieClip [mask57mc] Frame 40
stop();
Symbol 27 MovieClip [mask_52] Frame 1
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
this.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
Symbol 28 MovieClip [mask_53] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(255, 255, 255);
_local1.onEnterFrame = function () {
thumBright = 225 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(thumBright, thumBright, thumBright);
i++;
if (thumBright <= 0) {
delete this.onEnterFrame;
i = 0;
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var thumBright = 0;
this.onEnterFrame = function () {
thumBright = (255 * i) / transitionDuration;
preMc.setBrightOffset(thumBright, thumBright, thumBright);
i++;
if (thumBright >= 255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 29 MovieClip [mask_67] Frame 1
var targetMc = _parent._parent.mc_current_photo;
targetMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var i = 0;
var mask67mc = this.createEmptyMovieClip("mask67mc", 1);
var mcW = 10;
var mcH = 10;
var mcR = 10;
var mc1 = mask67mc.createEmptyMovieClip("mc1", 1);
with (mc1) {
mc1.beginFill(15728640);
mc1.moveTo(0, 0);
mc1.lineTo(mcW, 0);
mc1.lineTo(mcW, mcH);
mc1.lineTo(0, mcH);
mc1.lineTo(0, 0);
mc1.endFill();
}
mc1._x = 0;
mc1._y = 0;
mc1._rotation = -mcR;
var mc2 = mask67mc.createEmptyMovieClip("mc2", 2);
with (mc2) {
mc2.beginFill(15728640);
mc2.moveTo(-mcW, 0);
mc2.lineTo(0, 0);
mc2.lineTo(0, mcH);
mc2.lineTo(-mcW, mcH);
mc2.lineTo(-mcW, 0);
mc2.endFill();
}
mc2._x = photo_width;
mc2._y = 0;
mc2._rotation = -mcR;
var mc3 = mask67mc.createEmptyMovieClip("mc3", 3);
with (mc3) {
mc3.beginFill(15728640);
mc3.moveTo(-mcW, -mcH);
mc3.lineTo(0, -mcH);
mc3.lineTo(0, 0);
mc3.lineTo(-mcW, 0);
mc3.lineTo(-mcW, -mcH);
mc3.endFill();
}
mc3._x = photo_width;
mc3._y = photo_height;
mc3._rotation = -mcR;
var mc4 = mask67mc.createEmptyMovieClip("mc4", 4);
with (mc4) {
mc4.beginFill(15728640);
mc4.moveTo(0, -mcH);
mc4.lineTo(mcW, -mcH);
mc4.lineTo(mcW, 0);
mc4.lineTo(0, 0);
mc4.lineTo(0, -mcH);
mc4.endFill();
}
mc4._x = 0;
mc4._y = photo_height;
mc4._rotation = -mcR;
var mc5 = mask67mc.createEmptyMovieClip("mc5", 5);
with (mc5) {
mc5.beginFill(15728640);
mc5.moveTo((-mcW) / 2, (-mcH) / 2);
mc5.lineTo(mcW / 2, (-mcH) / 2);
mc5.lineTo(mcW / 2, mcH / 2);
mc5.lineTo((-mcW) / 2, mcH / 2);
mc5.lineTo((-mcW) / 2, (-mcH) / 2);
mc5.endFill();
}
mc5._x = photo_width / 2;
mc5._y = photo_height / 2;
mc5._rotation = -mcR;
targetMc._alpha = 100;
this.onEnterFrame = function () {
var _local1 = this;
n = 1;
while (n < 6) {
_local1.mask67mc["mc" + n]._width = ((photo_width / 2) * i) / transitionDuration;
_local1.mask67mc["mc" + n]._height = ((photo_height / 2) * i) / transitionDuration;
_local1.mask67mc["mc" + n]._rotation = (-mcR) * (1 - (i / transitionDuration));
n++;
}
i++;
if (i > transitionDuration) {
i = 0;
delete _local1.onEnterFrame;
}
};
Symbol 30 MovieClip [mask_66] Frame 1
var targetMc = _parent._parent.mc_current_photo;
targetMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var i = 0;
var x1 = ((x2 = (x3 = (x4 = photo_width / 2))));
var y1 = ((y2 = (y3 = (y4 = photo_height / 2))));
this.createEmptyMovieClip("mask66mc", 1);
targetMc._alpha = 100;
onEnterFrame = function () {
mask66mc.clear();
x1 = photo_width / 2;
y1 = (photo_height / 2) * (1 - (i / transitionDuration));
x2 = (photo_width * i) / transitionDuration;
y2 = 0;
x3 = (photo_width / 2) * (1 + (i / transitionDuration));
y3 = photo_height / 2;
x4 = photo_width;
y4 = (photo_height * i) / transitionDuration;
x5 = photo_width / 2;
y5 = (photo_height / 2) * (1 + (i / transitionDuration));
x6 = photo_width * (1 - (i / transitionDuration));
y6 = photo_height;
x7 = (photo_width / 2) * (1 - (i / transitionDuration));
y7 = photo_height / 2;
x8 = 0;
y8 = photo_height * (1 - (i / transitionDuration));
i++;
with (mask66mc) {
beginFill(15728640);
moveTo(x1, y1);
lineTo(x2, y2);
lineTo(x3, y3);
lineTo(x4, y4);
lineTo(x5, y5);
lineTo(x6, y6);
lineTo(x7, y7);
lineTo(x8, y8);
lineTo(x1, y1);
endFill();
}
if (i > transitionDuration) {
i = 0;
delete onEnterFrame;
}
};
Symbol 31 MovieClip [mask_65] Frame 1
var targetMc = _parent._parent.mc_current_photo;
targetMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var i = 0;
var x1 = ((x2 = (x3 = (x4 = photo_width / 2))));
var y1 = ((y2 = (y3 = (y4 = photo_height / 2))));
this.createEmptyMovieClip("mask65mc", 1);
onEnterFrame = function () {
mask65mc.clear();
x1 = 0;
y1 = (photo_height / 2) * (1 - (i / transitionDuration));
x2 = photo_width / 2;
y2 = (photo_height / 2) * (1 - (i / transitionDuration));
x3 = (photo_width / 2) * (1 + (i / transitionDuration));
y3 = 0;
x4 = (photo_width / 2) * (1 + (i / transitionDuration));
y4 = photo_height / 2;
x5 = photo_width;
y5 = (photo_height / 2) * (1 + (i / transitionDuration));
x6 = photo_width / 2;
y6 = (photo_height / 2) * (1 + (i / transitionDuration));
x7 = (photo_width / 2) * (1 - (i / transitionDuration));
y7 = photo_height;
x8 = (photo_width / 2) * (1 - (i / transitionDuration));
y8 = photo_height / 2;
i++;
with (mask65mc) {
beginFill(15728640);
moveTo(x1, y1);
lineTo(x2, y2);
lineTo(x3, y3);
lineTo(x4, y4);
lineTo(x5, y5);
lineTo(x6, y6);
lineTo(x7, y7);
lineTo(x8, y8);
lineTo(x1, y1);
endFill();
}
if (i > transitionDuration) {
i = 0;
delete onEnterFrame;
}
};
Symbol 32 MovieClip [mask_64] Frame 1
var targetMc = _parent._parent.mc_current_photo;
targetMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var blockWidth = (photo_width / 0.4);
var blockHeight = (photo_height / 0.4);
var maxNumber = Math.max(blockWidth, blockHeight);
this.attachMovie("mask64mc", "mask64mc", 1);
mask64mc._x = photo_width / 2;
mask64mc._y = photo_height / 2;
i = 0;
onEnterFrame = function () {
i++;
mask64mc._width = (maxNumber * i) / transitionDuration;
mask64mc._height = (maxNumber * i) / transitionDuration;
if (i > transitionDuration) {
mask64mc._width = maxNumber;
mask64mc._height = maxNumber;
delete onEnterFrame;
}
};
Symbol 33 MovieClip [mask_63] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(255, 255, -255);
_local1.onEnterFrame = function () {
rBright = 255 * (1 - (i / transitionDuration));
gBright = 255 * (1 - (i / transitionDuration));
bBright = -255 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (bBright >= 0) {
delete this.onEnterFrame;
i = 0;
targetMc.setBrightOffset(0, 0, 0);
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var rBright = 0;
var gBright = 0;
var bBright = 0;
this.onEnterFrame = function () {
rBright = (255 * i) / transitionDuration;
gBright = (255 * i) / transitionDuration;
bBright = (-255 * i) / transitionDuration;
preMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (bBright <= -255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 34 MovieClip [mask_62] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(255, -255, 255);
_local1.onEnterFrame = function () {
rBright = 255 * (1 - (i / transitionDuration));
gBright = -255 * (1 - (i / transitionDuration));
bBright = 255 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (gBright >= 0) {
delete this.onEnterFrame;
i = 0;
targetMc.setBrightOffset(0, 0, 0);
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var rBright = 0;
var gBright = 0;
var bBright = 0;
this.onEnterFrame = function () {
rBright = (255 * i) / transitionDuration;
gBright = (-255 * i) / transitionDuration;
bBright = (255 * i) / transitionDuration;
preMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (gBright <= -255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 35 MovieClip [mask_61] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(-255, 255, 255);
_local1.onEnterFrame = function () {
rBright = -255 * (1 - (i / transitionDuration));
gBright = 255 * (1 - (i / transitionDuration));
bBright = 255 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (rBright >= 0) {
delete this.onEnterFrame;
i = 0;
targetMc.setBrightOffset(0, 0, 0);
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var rBright = 0;
var gBright = 0;
var bBright = 0;
this.onEnterFrame = function () {
rBright = (-255 * i) / transitionDuration;
gBright = (255 * i) / transitionDuration;
bBright = (255 * i) / transitionDuration;
preMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (rBright <= -255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 36 MovieClip [mask_60] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(-255, -255, 255);
_local1.onEnterFrame = function () {
rBright = -255 * (1 - (i / transitionDuration));
gBright = -255 * (1 - (i / transitionDuration));
bBright = 255 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (bBright <= 0) {
delete this.onEnterFrame;
i = 0;
targetMc.setBrightOffset(0, 0, 0);
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var rBright = 0;
var gBright = 0;
var bBright = 0;
this.onEnterFrame = function () {
rBright = (-255 * i) / transitionDuration;
gBright = (-255 * i) / transitionDuration;
bBright = (255 * i) / transitionDuration;
preMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (bBright >= 255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 37 MovieClip [mask_59] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(-255, 255, -255);
_local1.onEnterFrame = function () {
rBright = -255 * (1 - (i / transitionDuration));
gBright = 255 * (1 - (i / transitionDuration));
bBright = -255 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (gBright <= 0) {
delete this.onEnterFrame;
i = 0;
targetMc.setBrightOffset(0, 0, 0);
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var rBright = 0;
var gBright = 0;
var bBright = 0;
this.onEnterFrame = function () {
rBright = (-255 * i) / transitionDuration;
gBright = (255 * i) / transitionDuration;
bBright = (-255 * i) / transitionDuration;
preMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (gBright >= 255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 38 MovieClip [mask_58] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(255, -255, -255);
_local1.onEnterFrame = function () {
rBright = 255 * (1 - (i / transitionDuration));
gBright = -255 * (1 - (i / transitionDuration));
bBright = -255 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (rBright <= 0) {
delete this.onEnterFrame;
i = 0;
targetMc.setBrightOffset(0, 0, 0);
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var rBright = 0;
var gBright = 0;
var bBright = 0;
this.onEnterFrame = function () {
rBright = (255 * i) / transitionDuration;
gBright = (-255 * i) / transitionDuration;
bBright = (-255 * i) / transitionDuration;
preMc.setBrightOffset(rBright, gBright, bBright);
i++;
if (rBright >= 255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 39 MovieClip [mask_54] Frame 1
function targetMcShow() {
var _local1 = this;
_local1.createEmptyMovieClip("mask_mc", 1);
mask_mc.beginFill(15728640);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(photo_width, 0);
mask_mc.lineTo(photo_width, photo_height);
mask_mc.lineTo(0, photo_height);
mask_mc.lineTo(0, 0);
mask_mc.endFill();
targetMc.setBrightOffset(-255, -255, -255);
_local1.onEnterFrame = function () {
thumBright = -225 * (1 - (i / transitionDuration));
targetMc.setBrightOffset(thumBright, thumBright, thumBright);
i++;
if (thumBright >= 0) {
delete this.onEnterFrame;
i = 0;
targetMc.setBrightOffset(0, 0, 0);
}
};
}
var targetMc = _parent._parent.mc_current_photo;
var preMc = _parent._parent.prev_photo;
targetMc._alpha = 100;
preMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames() / 2;
i = 0;
var thumBright = 0;
this.onEnterFrame = function () {
thumBright = (-255 * i) / transitionDuration;
preMc.setBrightOffset(thumBright, thumBright, thumBright);
i++;
if (thumBright <= -255) {
delete this.onEnterFrame;
i = 0;
targetMcShow();
preMc.setBrightOffset(0, 0, 0);
}
};
MovieClip.prototype.setBrightOffset = function (r, g, b) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = r;
gb = g;
bb = b;
}
This.setTransform(trans);
};
Symbol 40 MovieClip [mask56mc] Frame 25
stop();
Symbol 41 MovieClip [mask55mc] Frame 25
stop();
Symbol 42 MovieClip [mask_57] Frame 1
var blockWidth = 60;
var blockHeight = 60;
var targetMc = _parent._parent.mc_current_photo;
targetMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var blockRow = Math.ceil(photo_width / blockWidth);
var blockCol = Math.ceil(photo_height / blockHeight);
var blockCount = (blockRow * blockCol);
var i = 0;
var ref_num = 0;
var blockCurrent = 0;
onEnterFrame = function () {
ref_num = Math.floor((blockCount * i) / transitionDuration);
if (ref_num > (blockCurrent + 1)) {
blockCurrent = blockCurrent + 1;
} else {
blockCurrent = ref_num;
}
this.attachMovie("mask57mc", "mask57mc" + blockCurrent, blockCurrent, {_x:((blockCurrent % blockRow) * blockWidth) + (blockWidth / 2), _y:(Math.floor(blockCurrent / blockRow) * blockHeight) + (blockHeight / 2)});
i++;
if ((i > transitionDuration) && (blockCurrent >= blockCount)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 43 MovieClip [mask_56] Frame 1
var blockWidth = 70;
var blockHeight = 50;
var targetMc = _parent._parent.mc_current_photo;
targetMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var blockRow = Math.ceil(photo_width / blockWidth);
var blockCol = Math.ceil(photo_height / blockHeight);
var blockCount = (blockRow * blockCol);
var i = 0;
var ref_num = 0;
var blockCurrent = 0;
onEnterFrame = function () {
ref_num = Math.floor((blockCount * i) / transitionDuration);
if (ref_num > (blockCurrent + 1)) {
blockCurrent = blockCurrent + 1;
} else {
blockCurrent = ref_num;
}
this.attachMovie("mask56mc", "mask56mc" + blockCurrent, blockCurrent, {_x:(blockCurrent % blockRow) * blockWidth, _y:Math.floor(blockCurrent / blockRow) * blockHeight});
i++;
if ((i > transitionDuration) && (blockCurrent >= blockCount)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 44 MovieClip [mask_55] Frame 1
var blockWidth = 70;
var blockHeight = 50;
var targetMc = _parent._parent.mc_current_photo;
targetMc._alpha = 100;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var blockRow = Math.ceil(photo_width / blockWidth);
var blockCol = Math.ceil(photo_height / blockHeight);
var blockCount = (blockRow * blockCol);
var i = 0;
var ref_num = 0;
var blockCurrent = 0;
onEnterFrame = function () {
ref_num = Math.floor((blockCount * i) / transitionDuration);
if (ref_num > (blockCurrent + 1)) {
blockCurrent = blockCurrent + 1;
} else {
blockCurrent = ref_num;
}
this.attachMovie("mask55mc", "mask55mc" + blockCurrent, blockCurrent, {_x:(blockCurrent % blockRow) * blockWidth, _y:Math.floor(blockCurrent / blockRow) * blockHeight});
i++;
if ((i > transitionDuration) && (blockCurrent >= blockCount)) {
i = 0;
delete onEnterFrame;
}
};
Symbol 45 MovieClip [mask_full_photo] Frame 1
var mask_total = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = function () {
with (mask2_mc) {
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
delete this.onEnterFrame;
}
};
Symbol 46 MovieClip [mask_28] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_x = photo_width / 2;
_y = ((photo_height / 2) * (100 - (i * delScale))) / 100;
_xscale = i * delScale;
_yscale = i * delScale;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var left;
var top;
var right;
var bottom;
left = (-photo_width) / 2;
top = 0;
right = photo_width / 2;
bottom = photo_height;
var midX = (((right - left) / 2) + left);
var midY = (((bottom - top) / 2) + top);
var radius = (2 * (midY - top));
var hLeft = (midX - radius);
var hTop = (midY - radius);
var startY = int(hTop + ((double(midY - hTop) * 2) / 5));
var px = new Array(61);
var py = new Array(61);
var angle = 0;
k = 0;
while (k <= 30) {
xt = hLeft + (Math.cos(angle) * radius);
yt = startY - (Math.sin(angle) * radius);
px[k] = xt;
py[k] = yt;
angle = angle + 0.1309;
k++;
}
px[30] = midX;
py[30] = py[29] + ((5 * (midX - px[29])) / 6);
k = 31;
while (k < 60) {
px[k] = (2 * midX) - px[60 - k];
py[k] = py[60 - k];
k++;
}
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(px[0], py[0]);
k = 1;
while (k < 60) {
lineTo(px[k], py[k]);
k++;
}
lineTo(px[0], py[0]);
endFill();
}
i = 0;
onEnterFrame = maskTransition;
Symbol 47 MovieClip [mask_25] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
mask_w = photo_width;
mask_h = photo_height;
var mask_mc = this.createEmptyMovieClip("block0", 0);
mask_mc.clear();
mask_mc.lineStyle(0, 0);
mask_mc.moveTo(0, -mask_h);
mask_mc.beginFill(0);
mask_mc.lineTo(-mask_w, 0);
mask_mc.lineTo(0, mask_h);
mask_mc.lineTo(mask_w, 0);
mask_mc.lineTo(0, -mask_h);
mask_mc.endFill();
mask_mc._x = mask_w / 2;
mask_mc._y = mask_h / 2;
mask_mc._xscale = 0;
mask_mc._yscale = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < 21) {
mask_mc._xscale = mask_num * 5;
mask_mc._yscale = mask_num * 5;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 48 MovieClip [mask_24] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 3;
var mask_mc140 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc140, 0, 0, photo_width / 2, photo_height / 2);
with (mask_mc140) {
_x = 0;
_y = 0;
_xscale = 0;
_yscale = 0;
}
var mask_mc141 = this.createEmptyMovieClip("block1", 1);
draw_mask(mask_mc141, 0, 0, photo_height / 2, photo_width / 2);
with (mask_mc141) {
_x = photo_width;
_y = 0;
_rotation = 90;
_xscale = 0;
_yscale = 0;
}
var mask_mc142 = this.createEmptyMovieClip("block2", 2);
draw_mask(mask_mc142, 0, 0, photo_width / 2, photo_height / 2);
with (mask_mc142) {
_x = photo_width;
_y = photo_height;
_rotation = 180;
_xscale = 0;
_yscale = 0;
}
var mask_mc143 = this.createEmptyMovieClip("block3", 3);
draw_mask(mask_mc143, 0, 0, photo_height / 2, photo_width / 2);
with (mask_mc143) {
_x = 0;
_y = photo_height;
_rotation = -90;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < 21) {
mask_mc140._xscale = mask_num * 5;
mask_mc140._yscale = mask_num * 5;
mask_mc141._xscale = mask_num * 5;
mask_mc141._yscale = mask_num * 5;
mask_mc142._xscale = mask_num * 5;
mask_mc142._yscale = mask_num * 5;
mask_mc143._xscale = mask_num * 5;
mask_mc143._yscale = mask_num * 5;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 49 MovieClip [mask_23] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
var scale_num = 18;
var mask_mc11 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc11, 0, 0, photo_height, photo_width);
with (mask_mc11) {
_x = 0;
_y = photo_height;
_rotation = -90;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < scale_num) {
mask_mc11._xscale = mask_num * 6;
mask_mc11._yscale = mask_num * 6;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 50 MovieClip [mask_22] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
var scale_num = 18;
var mask_mc10 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc10, 0, 0, photo_height, photo_width);
with (mask_mc10) {
_x = photo_width;
_y = 0;
_rotation = 90;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < scale_num) {
mask_mc10._xscale = mask_num * 6;
mask_mc10._yscale = mask_num * 6;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 51 MovieClip [mask_21] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
var scale_num = 18;
var mask_mc9 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc9, 0, 0, photo_width, photo_height);
with (mask_mc9) {
_x = photo_width;
_y = photo_height;
_rotation = 180;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < scale_num) {
mask_mc9._xscale = mask_num * 6;
mask_mc9._yscale = mask_num * 6;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 52 MovieClip [mask_13] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
var mask_total = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_mc = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc, 0, 0, photo_width, photo_height);
mask_mc._x = photo_width / 2;
mask_mc._y = photo_height / 2;
mask_mc._xscale = 0;
mask_mc._yscale = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < transitionDuration) {
mask_mc._xscale = mask_num * 5;
mask_mc._yscale = mask_num * 5;
mask_mc._x = (photo_width / 2) - (((photo_width * mask_num) * 5) / 200);
mask_mc._y = (photo_height / 2) - (((photo_height * mask_num) * 5) / 200);
mask_num++;
} else {
delete onEnterFrame;
}
};
Symbol 53 MovieClip [mask_12] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
k = 0;
while (k < m) {
arrayCount = clipArray.length;
nIndex = random(arrayCount);
setProperty(clipArray[nIndex], _xscale , 100);
setProperty(clipArray[nIndex], _yscale , 100);
clipArray.splice(nIndex, 1);
k++;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
slide_count = 20;
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(Math.ceil(photo_width / slide_count), 0);
lineTo(Math.ceil(photo_width / slide_count), Math.ceil(photo_height / slide_count));
lineTo(0, Math.ceil(photo_height / slide_count));
lineTo(0, 0);
endFill();
}
var clipArray = new Array();
j = 0;
while (j < slide_count) {
k = 0;
while (k < slide_count) {
duplicateMovieClip ("mask2_mc", (("mask_mc_" + j) + "_") + k, ((j * slide_count) + k) + 3);
setProperty((("mask_mc_" + j) + "_") + k, _x , (photo_width / slide_count) * j);
setProperty((("mask_mc_" + j) + "_") + k, _y , (photo_height / slide_count) * k);
setProperty((("mask_mc_" + j) + "_") + k, _xscale , 0);
setProperty((("mask_mc_" + j) + "_") + k, _yscale , 0);
clipArray[(j * slide_count) + k] = (("mask_mc_" + j) + "_") + k;
k++;
}
j++;
}
arrayCount = clipArray.length;
m = Math.round((arrayCount / transitionDuration) + 0.5);
if (m < 1) {
m = 1;
}
onEnterFrame = maskTransition;
Symbol 54 MovieClip [mask_11] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
mask2_mc._xscale = 100;
mask2_mc._yscale = i * delScale;
j = 0;
while (j < slide_count) {
setProperty("mask_mc_" + j, _xscale , 100);
setProperty("mask_mc_" + j, _yscale , i * delScale);
j++;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
slide_count = 16;
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, (photo_height / slide_count) + 0.5);
lineTo(0, (photo_height / slide_count) + 0.5);
lineTo(0, 0);
endFill();
}
j = 1;
while (j < slide_count) {
duplicateMovieClip ("mask2_mc", "mask_mc_" + j, j + 2);
setProperty("mask_mc_" + j, _x , 0);
setProperty("mask_mc_" + j, _y , (photo_height / slide_count) * j);
j++;
}
onEnterFrame = maskTransition;
Symbol 55 MovieClip [mask_10] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
mask2_mc._xscale = i * delScale;
mask2_mc._yscale = 100;
j = 0;
while (j < slide_count) {
setProperty("mask_mc_" + j, _xscale , i * delScale);
setProperty("mask_mc_" + j, _yscale , 100);
j++;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
slide_count = 16;
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo((photo_width / slide_count) + 0.5, 0);
lineTo((photo_width / slide_count) + 0.5, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
j = 1;
while (j < slide_count) {
duplicateMovieClip ("mask2_mc", "mask_mc_" + j, j + 2);
setProperty("mask_mc_" + j, _x , (photo_width / slide_count) * j);
setProperty("mask_mc_" + j, _y , 0);
j++;
}
onEnterFrame = maskTransition;
Symbol 56 MovieClip [mask_9] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_y = ((photo_height / 2) * (100 - (i * delScale))) / 100;
_xscale = 100;
_yscale = i * delScale;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 57 MovieClip [mask_8] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_x = ((photo_width / 2) * (100 - (i * delScale))) / 100;
_xscale = i * delScale;
_yscale = 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 58 MovieClip [mask_7] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = 100;
_yscale = i * delScale;
}
with (this.mask3_mc) {
_xscale = 100;
_yscale = i * delScale;
_y = (photo_height / 2) + ((photo_height * (100 - (i * delScale))) / 200);
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height / 2);
lineTo(0, photo_height / 2);
lineTo(0, 0);
endFill();
}
duplicateMovieClip (mask2_mc, "mask3_mc", 2);
onEnterFrame = maskTransition;
Symbol 59 MovieClip [mask_6] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = i * delScale;
_yscale = 100;
}
with (this.mask3_mc) {
_xscale = i * delScale;
_yscale = 100;
_x = ((photo_width * (100 - (i * delScale))) / 200) + (photo_width / 2);
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width / 2, 0);
lineTo(photo_width / 2, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
duplicateMovieClip (mask2_mc, "mask3_mc", 2);
onEnterFrame = maskTransition;
Symbol 60 MovieClip [mask_5] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = 100;
_yscale = i * delScale;
_y = (photo_height * (100 - (i * delScale))) / 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 61 MovieClip [mask_4] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_x = (photo_width * (100 - (i * delScale))) / 100;
_xscale = i * delScale;
_yscale = 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 62 MovieClip [mask_3] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = 100;
_yscale = i * delScale;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 63 MovieClip [mask_2] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = i * delScale;
_yscale = 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 64 MovieClip [mask_1] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
this.mask1_mc._xscale = i * delScale;
this.mask1_mc._yscale = i * delScale;
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
this.createEmptyMovieClip("mask1_mc", 1);
mask1_mc.beginFill(15728640);
mask1_mc.moveTo(0, 0);
mask1_mc.lineTo(photo_width, 0);
mask1_mc.lineTo(photo_width, photo_height);
mask1_mc.lineTo(0, photo_height);
mask1_mc.lineTo(0, 0);
mask1_mc.endFill();
delScale = 100 / transitionDuration;
onEnterFrame = maskTransition;
Symbol 9 MovieClip Frame 1
function clipEnterFrame() {
var _local1 = _parent;
_local1.loader_mc._x = Stage.width / 2;
_local1.loader_mc._y = Stage.height / 2;
frame_loaded = _local1._framesloaded;
if (frame_loaded >= total_to_load) {
_local1.loader_mc._x = Stage.width + 100;
_local1.loader_mc._y = Stage.height + 100;
_local1.loader_mc._alpha = 0;
_local1.loader_mc.removeMovieClip();
delete this.onEnterFrame;
_local1.gotoAndPlay(3);
}
}
var total_to_load = 3;
_parent.createEmptyMovieClip("loader_mc", 5500);
_parent.loader_mc.attachMovie("loading", "loading1", 5501);
onEnterFrame = clipEnterFrame;
Symbol 69 Button
on (release) {
gotoAndStop (2);
_root.soundstatus = "off";
_parent._parent.music_mc.play();
}
Symbol 70 Button
on (release) {
gotoAndStop (1);
_root.soundstatus = "on";
_parent.music_mc.play();
}
Symbol 71 MovieClip [soundButtonBox] Frame 1
stop();
Instance of Symbol 81 MovieClip in Symbol 82 MovieClip [soundControl] Frame 1
onClipEvent (load) {
_root.soundstatus = "on";
_root.mySound = new Sound(_level0);
_root.mySound2 = new Sound(_level1);
_root.mySound3 = new Sound(_level2);
_root.mySound4 = new Sound(_level3);
_root.mySound5 = new Sound(_level4);
maxvolume = 100;
minvolume = 0;
}
onClipEvent (enterFrame) {
if ((_root.soundstatus == "on") && (_parent._parent.control.currentPhoto <= (_parent._parent.control.getTotalPhotos() - 1))) {
step = 5;
}
if ((_root.soundstatus == "off") || (_parent._parent.control.currentPhoto == (_parent._parent.control.getTotalPhotos() - 1))) {
step = -5;
}
maxvolume = maxvolume + step;
if (maxvolume > 100) {
maxvolume = 100;
}
if (maxvolume < 0) {
maxvolume = 0;
_parent._parent.music_mc.stop();
}
_root.mySound.setVolume(maxvolume);
_root.mySound2.setVolume(maxvolume);
_root.mySound3.setVolume(maxvolume);
_root.mySound4.setVolume(maxvolume);
_root.mySound5.setVolume(maxvolume);
}
Symbol 86 Button
on (release) {
_parent.menu_back.setPrevMenu();
}
Symbol 88 Button
on (release) {
_parent.menu_back.setNextMenu();
}
Symbol 93 Button
on (release) {
_parent.control.showPlay();
_parent.control.ClearAllTimer();
gotoAndStop (2);
}
Symbol 96 Button
on (release) {
_parent.music_mc.play();
_root.soundstatus = "on";
if (_parent.control.currentPhoto == _parent.control.getTotalPhotos()) {
_parent.replayButton.removeMovieClip();
_parent.control.currentPhoto = 0;
} else {
_parent.playButton.removeMovieClip();
}
if (_global.continueplay == 1) {
_parent.control.loadingInterval = setInterval(_parent.control.LoadingPhotoNoTransitionPlay, 200);
} else {
_parent.control.loadingInterval = setInterval(_parent.control.LoadingPhoto, 200);
}
gotoAndStop (1);
}
Symbol 97 MovieClip [stop_play] Frame 1
stop();
Symbol 99 MovieClip [menu_back] Frame 1
function addmenu() {
attachMovie("menua", "menua", 1);
menuNum = Math.floor((_global.flash_width - 70) / 31);
if (_global.total_images <= menuNum) {
duoShaoGe = _global.total_images;
} else {
duoShaoGe = menuNum;
}
i = 1;
while (i <= duoShaoGe) {
menua.duplicateMovieClip("mymenu" + i, i + 1);
eval ("mymenu" + i)._x = 100 + ((i - 1) * 31);
eval ("mymenu" + i)._y = 0;
eval ("mymenu" + i).who = i;
eval ("mymenu" + i).weizhi = ((i - 1) * 31) + 100;
eval ("mymenu" + i).bianhao.text = i;
i++;
}
menua._x = -1000;
}
function setMenuState() {
i = 1;
while (i <= menuNum) {
eval ("mymenu" + i)._visible = false;
i++;
}
if (menu_page != (Math.ceil(_global.total_images / menuNum) - 1)) {
geshu = menuNum;
} else {
geshu = _global.total_images % menuNum;
}
i = 1;
while (i <= geshu) {
eval ("mymenu" + i)._visible = true;
eval ("mymenu" + i).who = (menu_page * menuNum) + i;
eval ("mymenu" + i).bianhao.text = (menu_page * menuNum) + i;
i++;
}
}
function setNextMenu() {
if (menu_page != (Math.ceil(_global.total_images / menuNum) - 1)) {
menu_page++;
}
setMenuState();
}
function setPrevMenu() {
if (menu_page != 0) {
menu_page--;
}
setMenuState();
}
var menu_page = 0;
addmenu();
Symbol 102 Button
on (rollOver) {
_parent._parent.mythumbnail._visible = true;
_parent._parent.control.showSlt(weizhi, who);
}
on (rollOut) {
_parent._parent.mythumbnail._visible = false;
}
on (release) {
thisWho = who - 1;
with (_parent._parent.control) {
currentPhoto = thisWho;
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransitionPlay, 200);
}
_parent._parent.playButton.removeMovieClip();
_parent._parent.replayButton.removeMovieClip();
if (_global.continueplay == 1) {
_parent._parent.stop_play.gotoAndStop(1);
} else {
_parent._parent.stop_play.gotoAndStop(2);
}
}
Symbol 104 MovieClip [menua] Frame 1
stop();
Symbol 104 MovieClip [menua] Frame 2
stop();
Symbol 105 MovieClip [control] Frame 1
function getPhotoX() {
return(photo_x);
}
function getPhotoY() {
return(photo_y);
}
function getPhotoWidth() {
return(_global.flash_width);
}
function getPhotoHeight() {
return(_global.flash_height);
}
function ShowPhotoInformation() {
with (imageDesc) {
background = true;
backgroundColor = 0;
}
_parent.titleframe.mytitle.text = GetCurrentPhotoTitle();
imageDesc.text = GetCurrentPhotoDesc();
}
function ShowLoadingInformation() {
myLoader._alpha = 100;
myLoader._y = Stage.height / 2;
myLoader._x = Stage.width / 2;
}
function HideLoadingInformation() {
myLoader._y = -1000;
myLoader._alpha = 0;
}
function hitMouse() {
var _local1 = _root;
if ((((_local1._xmouse > 20) && (_local1._xmouse < (_global.flash_width - 20))) && (_local1._ymouse > 20)) && (_local1._ymouse < (_global.flash_height - 20))) {
_parent.titleframe._visible = true;
} else {
_parent.titleframe._visible = false;
}
}
function bthitMouse() {
bthit = setInterval(hitMouse, 10);
}
function setAllMenu() {
i = 1;
while (i <= _global.total_images) {
eval ("_parent.menu_back.mymenu" + i).gotoAndStop(1);
i++;
}
if (Math.floor((currentPhoto + 1) / Math.floor((_global.flash_width - 70) / 31)) == _parent.menu_back.menu_page) {
eval ("_parent.menu_back.mymenu" + ((currentPhoto + 1) % Math.floor((_global.flash_width - 70) / 31))).gotoAndStop(2);
}
}
function showSlt(weizhi, who) {
if (((_global.flash_width - weizhi) - 31) > 31) {
_parent.mythumbnail._x = weizhi - 45;
} else {
_parent.mythumbnail._x = _global.flash_width - 120;
}
trace((_global.flash_width - weizhi) - 31);
i = 1;
while (i <= _global.total_images) {
eval ("_parent.mythumbnail.thumbnail_" + i)._visible = false;
i++;
}
eval ("_parent.mythumbnail.thumbnail_" + who)._visible = true;
}
function addloader() {
attachMovie("loading", "myLoader", 70);
}
function getCurrentTransitionID() {
transID = eval ("_global.trans_id_" + currentPhoto);
return(transID);
}
function getCurrentMaskID() {
transID = eval ("_global.trans_id_" + currentPhoto);
if ((transID <= 0) || (transID > _global.total_mask)) {
if (random(2) == 0) {
transID = random(28) + 1;
} else {
transID = 52 + random((_global.total_mask - 52) + 1);
}
}
return(transID);
}
function getTotalPhotos() {
return(_global.total_images);
}
function GetCurrentPhotoTitle() {
return(eval ("_global.title_" + currentPhoto));
}
function GetCurrentPhotoDesc() {
return(eval ("_global.desc_" + currentPhoto));
}
function getCurrentPhotoDuration() {
showTime = eval ("_global.show_" + currentPhoto);
transitionTime = eval ("_global.trans_" + currentPhoto);
frameRate = _global.frame_rate;
return((showTime + transitionTime) * 1000);
}
function getCurrentTransitionDuration() {
transitionTime = eval ("_global.trans_" + currentPhoto);
return(transitionTime * 1000);
}
function getCurrentTransitionFrames() {
transitionFrames = eval ("_global.trans_" + currentPhoto);
return(transitionFrames * _global.frame_rate);
}
function getCurrentShowDuration() {
showTime = eval ("_global.show_" + currentPhoto);
return(showTime * 1000);
}
function showCurrentPhoto() {
setAllMenu();
_parent.gotoAndStop((currentPhoto + 1) + FramePhotoBegin);
_parent.createEmptyMovieClip("mc_current_photo", 2 + DepthWorking);
duplicateMovieClip ("_parent.mc_" + currentPhoto, "mc_current_photo", 2 + DepthWorking);
if (_global.enableurl == 1) {
_parent.mc_current_photo.onRelease = gotoURL;
}
transitionID = getCurrentTransitionID();
if (transitionID == 0) {
transDispatch = random(2);
} else if ((transitionID > 28) && (transitionID < 52)) {
transDispatch = 1;
} else {
transDispatch = 0;
}
if (transDispatch == 1) {
_parent.createEmptyMovieClip("mask_mc", 3 + DepthWorking);
_parent.mask_mc.attachMovie("mask_full_photo", "mask_clip_mc", 4 + DepthWorking);
setProperty("_parent.mask_mc", _x , getPhotoX());
setProperty("_parent.mask_mc", _y , getPhotoY());
setProperty("_parent.mask_mc", _xscale , 100);
setProperty("_parent.mask_mc", _yscale , 100);
_parent.mc_current_photo.setMask(_parent.mask_mc);
with (_parent.mc_current_photo) {
_alpha = 0;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
ShowPhotoInformation();
MotionCount = 0;
trans_ID = transitionID;
if ((trans_ID > 28) && (transitionID < 52)) {
trans_ID = trans_ID - 28;
}
showPhotoWithMotionInterval = setInterval(showPhotoWithMotion, 1000 / _global.frame_rate);
} else {
maskID = getCurrentMaskID();
_parent.createEmptyMovieClip("mask_mc", 3 + DepthWorking);
_parent.mask_mc.attachMovie("mask_" + maskID, "mask_clip_mc", 4 + DepthWorking);
setProperty("_parent.mask_mc", _x , getPhotoX());
setProperty("_parent.mask_mc", _y , getPhotoY());
_parent.mc_current_photo.setMask(_parent.mask_mc);
with (_parent.mc_current_photo) {
_alpha = 0;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
ShowPhotoInformation();
showPhotoInterval = setInterval(showPhotoWithDuration, getCurrentPhotoDuration());
}
}
function transitionCurrentPhoto() {
if (MotionCount == 0) {
transitionID = trans_ID;
if (transitionID == 0) {
trans_ID = random(23) + 1;
} else {
trans_ID = transitionID;
if ((trans_ID > 24) || (trans_ID < 0)) {
trans_ID = random(23) + 1;
}
}
}
transitionCurrentPhotoWithID(trans_ID);
}
function transitionCurrentPhotoWithID(transitionID) {
var _local1 = transitionID;
_local1 = _local1 - 1;
switch (_local1) {
case 0 :
transitionAlpha();
return;
case 1 :
transitionMoveLeftToRight(false);
return;
case 2 :
transitionMoveLeftToRight(true);
return;
case 3 :
transitionMoveRightToLeft(false);
return;
case 4 :
transitionMoveRightToLeft(true);
return;
case 5 :
transitionMoveTopToBottom(false);
return;
case 6 :
transitionMoveTopToBottom(true);
return;
case 7 :
transitionMoveBottomToTop(false);
return;
case 8 :
transitionMoveBottomToTop(true);
return;
case 9 :
transitionStretchLeftToRight(false);
return;
case 10 :
transitionStretchLeftToRight(true);
return;
case 11 :
transitionStretchVerticalCenter(false);
return;
case 12 :
transitionStretchVerticalCenter(true);
return;
case 13 :
transitionStretchRightToLeft(false);
return;
case 14 :
transitionStretchRightToLeft(true);
return;
case 15 :
transitionStretchTopToBottom(false);
return;
case 16 :
transitionStretchTopToBottom(true);
return;
case 17 :
transitionStretchHorizontalCenter(false);
return;
case 18 :
transitionStretchHorizontalCenter(true);
return;
case 19 :
transitionStretchBottomToTop(false);
return;
case 20 :
transitionStretchBottomToTop(true);
return;
case 21 :
transitionStretchCenter(false);
return;
case 22 :
transitionStretchCenter(true);
return;
default :
transitionAlpha();
}
}
function transitionAlpha() {
with (_parent.mc_current_photo) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
}
}
function transitionStretchCenter(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX() + ((getPhotoWidth() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_y = getPhotoY() + ((getPhotoHeight() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
if (_xscale > 100) {
_xscale = 100;
}
if (_x < getPhotoX()) {
_x = getPhotoX();
}
if (_y < getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionStretchTopToBottom(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY();
_xscale = 100;
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
}
}
function transitionStretchHorizontalCenter(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + ((getPhotoHeight() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = 100;
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
if (_y < getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionStretchBottomToTop(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + (getPhotoHeight() * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = 100;
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
if (_y < getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionStretchLeftToRight(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY();
_xscale = 0;
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_xscale > 100) {
_xscale = 100;
}
}
}
function transitionStretchVerticalCenter(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX() + ((getPhotoWidth() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_xscale > 100) {
_xscale = 100;
}
if (_x < getPhotoX()) {
_x = getPhotoX();
}
}
}
function transitionStretchRightToLeft(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_xscale > 100) {
_xscale = 100;
}
_x = getPhotoX() + (getPhotoWidth() * (1 - (MotionCount / getCurrentTransitionFrames())));
if (_x < getPhotoX()) {
_x = getPhotoX();
}
}
}
function transitionMoveLeftToRight(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX() + (getPhotoWidth() * ((MotionCount / getCurrentTransitionFrames()) - 1));
_y = getPhotoY();
}
}
function transitionMoveRightToLeft(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_y = getPhotoY();
_x = getPhotoX() + (getPhotoWidth() * (1 - (MotionCount / getCurrentTransitionFrames())));
if (_x <= getPhotoX()) {
_x = getPhotoX();
}
}
}
function transitionMoveTopToBottom(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + (getPhotoHeight() * ((MotionCount / getCurrentTransitionFrames()) - 1));
if (_y >= getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionMoveBottomToTop(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + (getPhotoHeight() * (1 - (MotionCount / getCurrentTransitionFrames())));
if (_y <= getPhotoY()) {
_y = getPhotoY();
}
}
}
function showPhotoWithMotion() {
transitionCurrentPhoto();
MotionCount++;
if (MotionCount > getCurrentTransitionFrames()) {
with (_parent.mc_current_photo) {
_alpha = 100;
}
clearInterval(showPhotoWithMotionInterval);
showPhotoInterval = setInterval(showPhotoWithDuration, getCurrentShowDuration());
}
}
function showCurrentPhotoNoTransition() {
_parent.mc_current_photo.removeMovieClip();
_parent.mask_mc.removeMovieClip();
_parent.gotoAndStop((currentPhoto + 1) + FramePhotoBegin);
_parent.createEmptyMovieClip("mc_current_photo", 2 + DepthWorking);
duplicateMovieClip ("_parent.mc_" + currentPhoto, "mc_current_photo", 2 + DepthWorking);
with (_parent.mc_current_photo) {
_alpha = 100;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
if (_global.enableurl == 1) {
_parent.mc_current_photo.onRelease = gotoURL;
}
_parent.mc_current_photo.setMask(null);
ShowPhotoInformation();
if (_global.continueplay == 1) {
showPhotoInterval = setInterval(showPhotoWithDuration, getCurrentPhotoDuration());
}
}
function showCurrentPhotoNoTransitionPlay() {
_parent.mc_current_photo.removeMovieClip();
_parent.mask_mc.removeMovieClip();
_parent.gotoAndStop((currentPhoto + 1) + FramePhotoBegin);
_parent.createEmptyMovieClip("mc_current_photo", 2 + DepthWorking);
duplicateMovieClip ("_parent.mc_" + currentPhoto, "mc_current_photo", 2 + DepthWorking);
with (_parent.mc_current_photo) {
_alpha = 100;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
if (_global.enableurl == 1) {
_parent.mc_current_photo.onRelease = gotoURL;
}
_parent.mc_current_photo.setMask(null);
ShowPhotoInformation();
if (_global.continueplay == 1) {
showPhotoInterval = setInterval(showPhotoWithDuration, 800);
}
}
function showPhotoWithDuration() {
var _local1 = _parent;
_local1.mc_current_photo.setMask(null);
_local1.mask_mc.removeMovieClip();
if (_local1.prev_photo != null) {
removeMovieClip("_parent.prev_photo");
}
duplicateMovieClip (_local1.mc_current_photo, "prev_photo", DepthWorking + 1);
setProperty("_parent.prev_photo", _alpha , 100);
setProperty("_parent.prev_photo", _x , getPhotoX());
setProperty("_parent.prev_photo", _y , getPhotoY());
setProperty("_parent.prev_photo", _width , getPhotoWidth());
setProperty("_parent.prev_photo", _height , getPhotoHeight());
removeMovieClip("_parent.mc_current_photo");
clearInterval(showPhotoInterval);
ShowNextPhoto();
}
function ShowNextPhoto() {
ClearAllTimer();
currentPhoto++;
if (currentPhoto == getTotalPhotos()) {
if (_global.autorepeat == 1) {
_parent.music_mc.gotoAndPlay(1);
currentPhoto = 0;
loadingInterval = setInterval(LoadingPhoto, 200);
} else {
showRepeat();
}
} else {
loadingInterval = setInterval(LoadingPhoto, 200);
}
}
function AutoPlay() {
showPhotoWithDuration();
}
function showPhoto(nWhich) {
if (_global.continueplay == 1) {
currentPhoto = nWhich;
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
} else {
_parent.play_stop.autoplay.gotoAndStop(2);
ClearAllTimer();
currentPhoto = nWhich;
if (currentPhoto == getTotalPhotos()) {
currentPhoto = 0;
}
if (currentPhoto < 0) {
currentPhoto = 0;
}
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
}
function ShowNextPhotoManual() {
var _local1 = _parent;
_local1.playButton.removeMovieClip();
_local1.replayButton.removeMovieClip();
if (currentPhoto >= (getTotalPhotos() - 1)) {
currentPhoto = 0;
} else {
currentPhoto++;
}
if (_global.continueplay == 0) {
_local1.stop_play.gotoAndStop(2);
} else {
_local1.stop_play.gotoAndStop(1);
}
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
function ShowPrevPhoto() {
var _local1 = _parent;
_local1.playButton.removeMovieClip();
_local1.replayButton.removeMovieClip();
if (currentPhoto <= 0) {
currentPhoto = getTotalPhotos() - 1;
} else {
currentPhoto--;
}
if (_global.continueplay == 0) {
_local1.stop_play.gotoAndStop(2);
} else {
_local1.stop_play.gotoAndStop(1);
}
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
function LoadingPhotoNoTransition() {
var _local1 = _parent;
infoText.text = (((("Photo to Show:" + currentPhoto) + " Frame loaded:") + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
clearInterval(loadingInterval);
HideLoadingInformation();
showCurrentPhotoNoTransition();
} else {
ShowLoadingInformation();
}
}
function LoadingPhotoNoTransitionPlay() {
var _local1 = _parent;
infoText.text = (((("Photo to Show:" + currentPhoto) + " Frame loaded:") + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
clearInterval(loadingInterval);
HideLoadingInformation();
showCurrentPhotoNoTransitionPlay();
} else {
ShowLoadingInformation();
}
}
function LoadingPhoto() {
var _local1 = _parent;
infoText.text = (((("Photo to Show:" + currentPhoto) + " Frame loaded:") + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
clearInterval(loadingInterval);
HideLoadingInformation();
showCurrentPhoto();
} else {
ShowLoadingInformation();
}
}
function enterFrameFunction() {
var _local1 = _parent;
addloader();
if (_global.show_title == 1) {
bthitMouse();
} else {
_local1.titleframe._visible = false;
}
setDecoration();
infoText.text = (("Frame loaded:" + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
delete this.onEnterFrame;
HideLoadingInformation();
if (_global.autoplay == 1) {
loadingInterval = setInterval(LoadingPhoto, 200);
} else {
showPlay();
}
} else {
ShowLoadingInformation();
}
}
function ClearAllTimer() {
clearInterval(loadingInterval);
clearInterval(showPhotoInterval);
clearInterval(showPhotoWithMotionInterval);
}
function setWholeFlashMask() {
_parent.createEmptyMovieClip("mask_whole_mc", 100 + DepthWorking);
with (_parent.mask_whole_mc) {
beginFill(10485760);
moveTo(0, 0);
lineTo(_global.flash_width, 0);
lineTo(_global.flash_width, _global.flash_height);
lineTo(0, _global.flash_height);
lineTo(0, 0);
endFill();
_x = 0;
_y = 0;
}
_parent.setMask(_parent.mask_whole_mc);
}
function setDecoration() {
_parent.decoration_mc.createEmptyMovieClip("mask_decoration_mc", 96 + DepthWorking);
with (_parent.decoration_mc.mask_decoration_mc) {
beginFill(10485760);
moveTo(getPhotoX(), getPhotoY());
lineTo(getPhotoX() + getPhotoWidth(), getPhotoY());
lineTo(getPhotoX() + getPhotoWidth(), getPhotoY() + getPhotoHeight());
lineTo(getPhotoX(), getPhotoY() + getPhotoHeight());
lineTo(getPhotoX(), getPhotoY());
endFill();
}
_parent.decoration_mc.swapDepths(95 + DepthWorking);
_parent.decoration_mc._alpha = 50;
_parent.decoration_mc.setMask(_parent.decoration_mc.mask_decoration_mc);
}
function GetCurrentPhotoURL() {
return(eval ("_global.url_" + currentPhoto));
}
function gotoURL() {
targetArray = ["_blank", "_parent", "_self", "_top"];
urlIndex = _global.url_target % 4;
getURL (GetCurrentPhotoURL(), targetArray[urlIndex]);
}
function showRepeat() {
var _local1 = _parent;
_local1.stop_play.gotoAndStop(2);
_local1.attachMovie("replayButton", "replayButton", 5500, {_x:getPhotoX() + (getPhotoWidth() / 2), _y:getPhotoX() + (getPhotoHeight() / 2), _alpha:50});
_local1.replayButton.onRelease = function () {
_parent.music_mc.gotoAndPlay(1);
_root.soundstatus = "on";
_parent.stop_play.gotoAndStop(1);
this.removeMovieClip();
currentPhoto = 0;
loadingInterval = setInterval(LoadingPhoto, 200);
};
}
function showPlay() {
var _local1 = _parent;
_local1.music_mc.stop();
_root.soundstatus = "off";
_local1.attachMovie("playButton", "playButton", 5500, {_x:getPhotoX() + (getPhotoWidth() / 2), _y:getPhotoY() + (getPhotoHeight() / 2), _alpha:50});
_local1.playButton.onRelease = function () {
_root.soundstatus = "on";
_parent.stop_play.gotoAndStop(1);
this.removeMovieClip();
_parent.music_mc.play();
if (_global.continueplay == 1) {
loadingInterval = setInterval(LoadingPhotoNoTransitionPlay, 200);
} else {
loadingInterval = setInterval(LoadingPhoto, 200);
}
};
}
photo_x = 0;
photo_y = 0;
var currentPhoto = 0;
var trans_ID = 0;
var MotionCount = 0;
currentPhoto = 0;
FramePhotoBegin = 3;
DepthWorking = 5000;
prev_photo = null;
default_slt_x = -60;
setWholeFlashMask();
onEnterFrame = enterFrameFunction;
Symbol 110 MovieClip Frame 1
_parent.attachMovie("control", "control", 5005);
_parent.attachMovie("menu_back", "menu_back", 5007);
_parent.attachMovie("stop_play", "stop_play", 5008);
if (_global.show_title == 1) {
_parent.attachMovie("titleframe", "titleframe", 5010);
_parent.titleframe._y = 0;
_parent.titleframe._x = _global.flash_width / 2;
}
_parent.stop_play._x = 30;
_parent.stop_play._y = _global.flash_height - 17;
_parent.menu_back._x = 0;
_parent.menu_back._y = _global.flash_height - 17;
_parent.control._x = -1000;
_parent.control._y = -1000;
_parent.thumbnail.duplicateMovieClip("mythumbnail", 5555);
_parent.thumbnail._x = -10000;
_parent.mythumbnail.attachMovie("slt_back", "slt_back", 5700);
_parent.mythumbnail._y = _global.flash_height - 114;
_parent.mythumbnail._x = -60;
_parent.mythumbnail._visible = false;
_parent.attachMovie("soundControl", "soundControl", 5030);
_parent.soundControl._y = -1000;
_parent.soundControl._x = -1000;
_parent.attachMovie("soundButtonBox", "soundButtonBox", 5610);
_parent.soundButtonBox._y = _global.flash_height - 10;
_parent.soundButtonBox._x = 15;
if (_global.showbutton == 0) {
_parent.stop_play._visible = false;
_parent.soundButtonBox._visible = false;
} else if (_global.havemusic == 0) {
_parent.soundButtonBox._visible = false;
}