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 = 46;
_global.flash_width = 1080;
_global.flash_height = 720;
_global.thumnail_width = 120;
_global.thumnail_height = 90;
_global.frame_rate = 25;
_global.show_title = 0;
_global.album_title = "Skyrim";
_global.url_target = 0;
_global.title_0 = "0a11e58ad55fb1186caa9be33e359811fda1e692";
_global.title_1 = "116235";
_global.title_2 = "122135";
_global.title_3 = "123802";
_global.title_4 = "125454";
_global.title_5 = "136316";
_global.title_6 = "142797";
_global.title_7 = "1cab88190de64da68525d9e5f09fe2181c7cea3c";
_global.title_8 = "145793";
_global.title_9 = "149223";
_global.title_10 = "149505";
_global.title_11 = "149937";
_global.title_12 = "150674";
_global.title_13 = "255789cca266e328637f5de3292741309804e002";
_global.title_14 = "26af927e8bb0bd811fb9aa091393bc3a78f5ddd5";
_global.title_15 = "36f1aa4d9c49b5dadf65f104e91da0f1c95e83a3";
_global.title_16 = "4902c7a92ddea9ec850dffb3a0e4135190810506";
_global.title_17 = "4cc8d2f04ffebdb86124f7b6992029eae9a2fc18";
_global.title_18 = "522ac50c038ec99dc8ca0da91a4c3856b9837f0f";
_global.title_19 = "5bdf305de27767b5e352e6d031d2de44c7d95e0b";
_global.title_20 = "5d74553f3afc92dd3377ab0b7d45334b180c457e";
_global.title_21 = "7bad16ec1e54b89a9c4313228214eba8d066057d";
_global.title_22 = "840977665649ab45f5f0f23f35804f7059e57a76";
_global.title_23 = "93cd9b78ce3012528e91ba2e6a2132bac1afe4df";
_global.title_24 = "9ff344a7c8c8ef7168f48e5b8a6ae723b1cbceb8";
_global.title_25 = "a3c8de40e48a282edcde17f2e614589805714fc6";
_global.title_26 = "a79b2fe14e2a57d03028d0ca6fbbd58a3ffd4c56";
_global.title_27 = "b3796e416f3104f6923b1b0c806baa0aa2dd9446";
_global.title_28 = "b86668c9c00c3409c6017e5dac026ebe107f2ff6";
_global.title_29 = "b99fc520bfcd4e05451d77183ea44d8965f39f37";
_global.title_30 = "dde1ed9687f21681a3d5a2c6529a23352b980dfa";
_global.title_31 = "e882805797b56318ac5faf614b0d79903998dbeb";
_global.title_32 = "e97cc7d50cf1ed7231654dddf72df462e442e77b";
_global.title_33 = "efc929970d1424c72f79cee5324d0a6261480dee";
_global.title_34 = "f4a4c5fd6570158fa0c64abb76c106356bb81a41";
_global.title_35 = "f63dce17beea95ac016bf5a2ab4c86577ddea3bc";
_global.title_36 = "fdf59b68b03b03148a6ede8c9a3c7d03b66cb64b";
_global.title_37 = "sample_05ab24ed18ba78c41b73c28de950e2cf054c750b";
_global.title_38 = "sample_08ad925b6e26ddf67be93814e57aac0a7da7dadc";
_global.title_39 = "sample_125f5b736395720ecfe75dce82d8583910169ea7";
_global.title_40 = "sample_48af49f949f21a5c23188318d7dad26a83bf52b0";
_global.title_41 = "sample_4a0b3abaad2b4caf93dbcee0627862f9776e72aa";
_global.title_42 = "sample_6e3a71c687f51cf4580e4727b9d4b37326b45a54";
_global.title_43 = "sample_796a00e769189549a6405af4ba2f33c1aeb894bb";
_global.title_44 = "sample_bc1dd1e18f448ea076da4c313bdf2a1b64a8f9d1";
_global.title_45 = "sample_e4696d44d51756a0e4a05062b6200a3a52781c90";
_global.url_0 = "http://jdcarer.weebly.com/";
_global.url_1 = "http://jdcarer.weebly.com/";
_global.url_2 = "http://jdcarer.weebly.com/";
_global.url_3 = "http://jdcarer.weebly.com/";
_global.url_4 = "http://jdcarer.weebly.com/";
_global.url_5 = "http://jdcarer.weebly.com/";
_global.url_6 = "http://jdcarer.weebly.com/";
_global.url_7 = "http://jdcarer.weebly.com/";
_global.url_8 = "http://jdcarer.weebly.com/";
_global.url_9 = "http://jdcarer.weebly.com/";
_global.url_10 = "http://jdcarer.weebly.com/";
_global.url_11 = "http://jdcarer.weebly.com/";
_global.url_12 = "http://jdcarer.weebly.com/";
_global.url_13 = "http://jdcarer.weebly.com/";
_global.url_14 = "http://jdcarer.weebly.com/";
_global.url_15 = "http://jdcarer.weebly.com/";
_global.url_16 = "http://jdcarer.weebly.com/";
_global.url_17 = "http://jdcarer.weebly.com/";
_global.url_18 = "http://jdcarer.weebly.com/";
_global.url_19 = "http://jdcarer.weebly.com/";
_global.url_20 = "http://jdcarer.weebly.com/";
_global.url_21 = "http://jdcarer.weebly.com/";
_global.url_22 = "http://jdcarer.weebly.com/";
_global.url_23 = "http://jdcarer.weebly.com/";
_global.url_24 = "http://jdcarer.weebly.com/";
_global.url_25 = "http://jdcarer.weebly.com/";
_global.url_26 = "http://jdcarer.weebly.com/";
_global.url_27 = "http://jdcarer.weebly.com/";
_global.url_28 = "http://jdcarer.weebly.com/";
_global.url_29 = "http://jdcarer.weebly.com/";
_global.url_30 = "http://jdcarer.weebly.com/";
_global.url_31 = "http://jdcarer.weebly.com/";
_global.url_32 = "http://jdcarer.weebly.com/";
_global.url_33 = "http://jdcarer.weebly.com/";
_global.url_34 = "http://jdcarer.weebly.com/";
_global.url_35 = "http://jdcarer.weebly.com/";
_global.url_36 = "http://jdcarer.weebly.com/";
_global.url_37 = "http://jdcarer.weebly.com/";
_global.url_38 = "http://jdcarer.weebly.com/";
_global.url_39 = "http://jdcarer.weebly.com/";
_global.url_40 = "http://jdcarer.weebly.com/";
_global.url_41 = "http://jdcarer.weebly.com/";
_global.url_42 = "http://jdcarer.weebly.com/";
_global.url_43 = "http://jdcarer.weebly.com/";
_global.url_44 = "http://jdcarer.weebly.com/";
_global.url_45 = "http://jdcarer.weebly.com/";
_global.trans_id_0 = 4;
_global.trans_id_1 = 4;
_global.trans_id_2 = 4;
_global.trans_id_3 = 4;
_global.trans_id_4 = 4;
_global.trans_id_5 = 4;
_global.trans_id_6 = 4;
_global.trans_id_7 = 4;
_global.trans_id_8 = 4;
_global.trans_id_9 = 4;
_global.trans_id_10 = 4;
_global.trans_id_11 = 4;
_global.trans_id_12 = 4;
_global.trans_id_13 = 4;
_global.trans_id_14 = 4;
_global.trans_id_15 = 4;
_global.trans_id_16 = 4;
_global.trans_id_17 = 4;
_global.trans_id_18 = 4;
_global.trans_id_19 = 4;
_global.trans_id_20 = 4;
_global.trans_id_21 = 4;
_global.trans_id_22 = 4;
_global.trans_id_23 = 4;
_global.trans_id_24 = 4;
_global.trans_id_25 = 4;
_global.trans_id_26 = 4;
_global.trans_id_27 = 4;
_global.trans_id_28 = 4;
_global.trans_id_29 = 4;
_global.trans_id_30 = 4;
_global.trans_id_31 = 4;
_global.trans_id_32 = 4;
_global.trans_id_33 = 4;
_global.trans_id_34 = 4;
_global.trans_id_35 = 4;
_global.trans_id_36 = 4;
_global.trans_id_37 = 4;
_global.trans_id_38 = 4;
_global.trans_id_39 = 4;
_global.trans_id_40 = 4;
_global.trans_id_41 = 4;
_global.trans_id_42 = 4;
_global.trans_id_43 = 4;
_global.trans_id_44 = 4;
_global.trans_id_45 = 4;
_global.trans_0 = 1;
_global.trans_1 = 1;
_global.trans_2 = 1;
_global.trans_3 = 1;
_global.trans_4 = 1;
_global.trans_5 = 1;
_global.trans_6 = 1;
_global.trans_7 = 1;
_global.trans_8 = 1;
_global.trans_9 = 1;
_global.trans_10 = 1;
_global.trans_11 = 1;
_global.trans_12 = 1;
_global.trans_13 = 1;
_global.trans_14 = 1;
_global.trans_15 = 1;
_global.trans_16 = 1;
_global.trans_17 = 1;
_global.trans_18 = 1;
_global.trans_19 = 1;
_global.trans_20 = 1;
_global.trans_21 = 1;
_global.trans_22 = 1;
_global.trans_23 = 1;
_global.trans_24 = 1;
_global.trans_25 = 1;
_global.trans_26 = 1;
_global.trans_27 = 1;
_global.trans_28 = 1;
_global.trans_29 = 1;
_global.trans_30 = 1;
_global.trans_31 = 1;
_global.trans_32 = 1;
_global.trans_33 = 1;
_global.trans_34 = 1;
_global.trans_35 = 1;
_global.trans_36 = 1;
_global.trans_37 = 1;
_global.trans_38 = 1;
_global.trans_39 = 1;
_global.trans_40 = 1;
_global.trans_41 = 1;
_global.trans_42 = 1;
_global.trans_43 = 1;
_global.trans_44 = 1;
_global.trans_45 = 1;
_global.show_0 = 5;
_global.show_1 = 5;
_global.show_2 = 5;
_global.show_3 = 5;
_global.show_4 = 5;
_global.show_5 = 5;
_global.show_6 = 5;
_global.show_7 = 5;
_global.show_8 = 5;
_global.show_9 = 5;
_global.show_10 = 5;
_global.show_11 = 5;
_global.show_12 = 5;
_global.show_13 = 5;
_global.show_14 = 5;
_global.show_15 = 5;
_global.show_16 = 5;
_global.show_17 = 5;
_global.show_18 = 5;
_global.show_19 = 5;
_global.show_20 = 5;
_global.show_21 = 5;
_global.show_22 = 5;
_global.show_23 = 5;
_global.show_24 = 5;
_global.show_25 = 5;
_global.show_26 = 5;
_global.show_27 = 5;
_global.show_28 = 5;
_global.show_29 = 5;
_global.show_30 = 5;
_global.show_31 = 5;
_global.show_32 = 5;
_global.show_33 = 5;
_global.show_34 = 5;
_global.show_35 = 5;
_global.show_36 = 5;
_global.show_37 = 5;
_global.show_38 = 5;
_global.show_39 = 5;
_global.show_40 = 5;
_global.show_41 = 5;
_global.show_42 = 5;
_global.show_43 = 5;
_global.show_44 = 5;
_global.show_45 = 5;
_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";
_global.file_7 = "images\\7.jpg";
_global.file_8 = "images\\8.jpg";
_global.file_9 = "images\\9.jpg";
_global.file_10 = "images\\10.jpg";
_global.file_11 = "images\\11.jpg";
_global.file_12 = "images\\12.jpg";
_global.file_13 = "images\\13.jpg";
_global.file_14 = "images\\14.jpg";
_global.file_15 = "images\\15.jpg";
_global.file_16 = "images\\16.jpg";
_global.file_17 = "images\\17.jpg";
_global.file_18 = "images\\18.jpg";
_global.file_19 = "images\\19.jpg";
_global.file_20 = "images\\20.jpg";
_global.file_21 = "images\\21.jpg";
_global.file_22 = "images\\22.jpg";
_global.file_23 = "images\\23.jpg";
_global.file_24 = "images\\24.jpg";
_global.file_25 = "images\\25.jpg";
_global.file_26 = "images\\26.jpg";
_global.file_27 = "images\\27.jpg";
_global.file_28 = "images\\28.jpg";
_global.file_29 = "images\\29.jpg";
_global.file_30 = "images\\30.jpg";
_global.file_31 = "images\\31.jpg";
_global.file_32 = "images\\32.jpg";
_global.file_33 = "images\\33.jpg";
_global.file_34 = "images\\34.jpg";
_global.file_35 = "images\\35.jpg";
_global.file_36 = "images\\36.jpg";
_global.file_37 = "images\\37.jpg";
_global.file_38 = "images\\38.jpg";
_global.file_39 = "images\\39.jpg";
_global.file_40 = "images\\40.jpg";
_global.file_41 = "images\\41.jpg";
_global.file_42 = "images\\42.jpg";
_global.file_43 = "images\\43.jpg";
_global.file_44 = "images\\44.jpg";
_global.file_45 = "images\\45.jpg";
Symbol 527 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 528 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 529 MovieClip [mask_27] 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 = 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;
}
if (mask_num < 21) {
k = 0;
while (k <= 19) {
c = eval (("block" + k) + "._yscale");
if (c < 100) {
setProperty("block" + k, _yscale , (mask_num * 5) + (temp_height[k] * 4));
}
k++;
}
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 530 MovieClip [mask_26] Frame 1
function draw_round_mask(mask, radius, a, b) {
var _local1 = radius;
var _local2 = b;
var _local3 = a;
mask.clear();
mask.lineStyle(0, 0);
mask.moveTo(_local3, _local2 + _local1);
mask.beginFill(0);
mask.curveTo(_local3 + _local1, _local2 + _local1, _local3 + _local1, _local2);
mask.curveTo(_local3 + _local1, _local2 - _local1, _local3, _local2 - _local1);
mask.curveTo(_local3 - _local1, _local2 - _local1, _local3 - _local1, _local2);
mask.curveTo(_local3 - _local1, _local2 + _local1, _local3, _local2 + _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 mask_num = 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;
}
if (mask_num < 34) {
k = 0;
while (k < y_num) {
l = 0;
while (l < x_num) {
setProperty("block" + ((k * x_num) + l), _xscale , mask_num * 3);
setProperty("block" + ((k * x_num) + l), _yscale , mask_num * 3);
l++;
}
k++;
}
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 531 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 532 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 533 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 534 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 535 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 536 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 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;
}
if (mask_num <= mask_total) {
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);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 537 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 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;
}
if (mask_num <= mask_total) {
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);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 538 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 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;
}
if (mask_num <= mask_total) {
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);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 539 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 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;
}
if (mask_num <= mask_total) {
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);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 540 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_num = 0;
var mask_total = (Math.floor(((photo_height * 1) + 45) / 11) + 1);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = 0;
mc._y = ((mask_total - 4) - mask_num) * 11;
mc._yscale = Math.ceil((photo_width * 100) / mc._height);
mc._rotation = -90;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 541 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_num = 0;
var mask_total = (Math.floor(((photo_height * 1) + 45) / 11) + 1);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
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;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 542 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.floor(((photo_width * 1) + 45) / 11) + 1);
var mask_num = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((mask_total - 4) - mask_num) * 11;
mc._y = photo_height;
mc._rotation = 180;
mc._yscale = Math.ceil((photo_height * 100) / mc._height);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 543 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 544 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 545 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 546 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 547 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 548 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 549 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 550 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 551 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 552 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 553 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 554 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 555 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 558 MovieClip [block] Frame 6
stop();
Symbol 525 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 571 Button
on (release) {
gotoAndStop (2);
_root.soundstatus = "off";
}
Symbol 572 Button
on (release) {
gotoAndStop (1);
_root.soundstatus = "on";
}
Symbol 573 MovieClip [soundButtonBox] Frame 1
stop();
Instance of Symbol 575 MovieClip in Symbol 576 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 584 Button
on (release) {
_parent._parent._parent.ClearAllTimer();
_parent._parent._parent.showPlay();
gotoAndStop (2);
}
Symbol 590 Button
on (release) {
_parent._parent._parent._parent.music_mc.play();
_root.soundstatus = "on";
if (_parent._parent._parent.currentPhoto == _parent._parent._parent.getTotalPhotos()) {
_parent._parent._parent._parent.replayButton.removeMovieClip();
_parent._parent._parent.currentPhoto = 0;
} else {
_parent._parent._parent._parent.playButton.removeMovieClip();
}
if (_global.continueplay == 1) {
_parent._parent._parent.loadingInterval = setInterval(_parent._parent._parent.LoadingPhotoNoTransitionPlay, 200);
} else {
_parent._parent._parent.loadingInterval = setInterval(_parent._parent._parent.LoadingPhoto, 200);
}
gotoAndStop (1);
}
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 2
stop();
Symbol 595 Button
on (release) {
_parent._parent.ShowNextPhotoManual();
}
Symbol 598 Button
on (release) {
_parent._parent.ShowPrevPhoto();
}
Symbol 607 Button
on (release) {
gotoAndStop (2);
this._parent.gotoAndStop(2);
}
Symbol 610 Button
on (release) {
gotoAndStop (1);
this._parent.gotoAndStop(1);
}
Symbol 611 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 2
stop();
Symbol 612 MovieClip Frame 1
stop();
Instance of Symbol 602 MovieClip "control_panel_title" in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
this.onPress = function () {
this._parent.startDrag(this);
};
this.onRelease = function () {
this._parent.stopDrag();
};
}
Symbol 612 MovieClip Frame 2
stop();
Symbol 613 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() {
control_panel.control_panel_title.photo_biaoti.text = GetCurrentPhotoTitle();
imageDesc.text = GetCurrentPhotoDesc();
}
function ShowLoadingInformation() {
myLoader._alpha = 100;
myLoader._y = getPhotoHeight() / 2;
myLoader._x = getPhotoWidth() / 2;
}
function HideLoadingInformation() {
myLoader._y = -1000;
myLoader._alpha = 0;
}
photo_x = 0;
photo_y = 0;
function addloader() {
attachMovie("loading", "myLoader", 10);
}
function getCurrentTransitionID() {
transID = eval ("_global.trans_id_" + currentPhoto);
return(transID);
}
function getCurrentMaskID() {
transID = eval ("_global.trans_id_" + currentPhoto);
if ((transID <= 0) || (transID > total_mask)) {
transID = random(total_mask) + 1;
}
if (transID <= 0) {
transID = 1;
}
if (transID > total_mask) {
transID = total_mask;
}
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() {
_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) {
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) {
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, "_parent.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 {
control_panel.kongzhibody.autoplay.gotoAndStop(2);
ClearAllTimer();
currentPhoto = nWhich;
if (currentPhoto == getTotalPhotos()) {
currentPhoto = 0;
}
if (currentPhoto < 0) {
currentPhoto = 0;
}
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
}
function ShowNextPhotoManual() {
_parent.playButton.removeMovieClip();
_parent.replayButton.removeMovieClip();
if (currentPhoto >= (getTotalPhotos() - 1)) {
currentPhoto = 0;
} else {
currentPhoto++;
}
if (_global.continueplay == 0) {
control_panel.kongzhibody.autoplay.gotoAndStop(2);
} else {
control_panel.kongzhibody.autoplay.gotoAndStop(1);
}
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
function ShowPrevPhoto() {
_parent.playButton.removeMovieClip();
_parent.replayButton.removeMovieClip();
if (currentPhoto <= 0) {
currentPhoto = getTotalPhotos() - 1;
} else {
currentPhoto--;
}
if (_global.continueplay == 0) {
control_panel.kongzhibody.autoplay.gotoAndStop(2);
} else {
control_panel.kongzhibody.autoplay.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();
setAllInfo();
setDecoration();
infoText.text = (("Frame loaded:" + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
delete this.onEnterFrame;
HideLoadingInformation();
if (_global.autoplay == 1) {
showCurrentPhoto();
} 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;
_root.getURL(GetCurrentPhotoURL(), targetArray[urlIndex]);
}
function showRepeat() {
var _local1 = _parent;
control_panel.kongzhibody.autoplay.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";
control_panel.kongzhibody.autoplay.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";
control_panel.kongzhibody.autoplay.gotoAndStop(1);
this.removeMovieClip();
_parent.music_mc.play();
if (_global.continueplay == 1) {
loadingInterval = setInterval(LoadingPhotoNoTransitionPlay, 200);
} else {
loadingInterval = setInterval(LoadingPhoto, 200);
}
};
}
var currentPhoto = 0;
var trans_ID = 0;
var MotionCount = 0;
currentPhoto = 0;
FramePhotoBegin = 3;
DepthWorking = 5000;
prev_photo = null;
total_mask = 28;
setWholeFlashMask();
if (_global.showbutton == 0) {
control_panel._visible = false;
}
if (_global.autoplay == 1) {
control_panel.kongzhibody.autoplay.gotoAndStop(1);
} else {
control_panel.kongzhibody.autoplay.gotoAndStop(2);
}
onEnterFrame = enterFrameFunction;
Symbol 614 MovieClip Frame 1
_parent.attachMovie("control", "control", 5200);
_parent.attachMovie("soundControl", "soundControl", 5030);
_parent.soundControl._y = -1000;
_parent.soundControl._x = -1000;