Symbol 10 MovieClip Frame 1
function $av(mc) {
mc._visible = 1 < mc._alpha;
}
function $ord(o) {
if ((o != $pr_ord) or (13 < o)) {
$pr_ord = o;
$ta = new array();
var $i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$ta[$i] = {$i:$i};
$ta[$i].s = 20000000 + ((o >= 2) ? (((o >= 4) ? (((o >= 6) ? (((o >= 8) ? (((o >= 10) ? (mc.__x - mc.__y) : (mc.__x + mc.__y))) : (mc.__y))) : (mc.__x))) : ((mc.__x * mc.__x) + (mc.__y * mc.__y)))) : (mc._i));
$ta[$i].s = ((o >= 12) ? (((o >= 14) ? (math.random()) : ((7.85340023040771 + math.atan2(mc.__y, mc.__x)) % 6.28319978713989))) : ($ta[$i].s));
$i++;
}
$ta.sorton("s");
if (o % 2) {
$ta.reverse();
}
var $i = 0;
while ($i < $sub_cnt) {
$ta[$i] = $smc[$ta[$i].$i];
$i++;
}
$smc = $ta;
}
}
initial_wait = 0;
$padding = 0;
out_effect = 0;
lastsubframe = 12;
linear_speed = 0;
fade = 0;
scale = 0;
rotations = 0;
reverse_rotation = 0;
direction = 180;
loop_delay = -1;
main_init = function (mc) {
subs_done = true;
b = mc.getbounds(mc);
sb = (o = new object());
o.x = 0;
o.y = 0;
mc.globaltolocal(o);
sb.xmin = o.x;
sb.ymin = o.y;
o.x = stage.width;
o.y = stage.height;
mc.globaltolocal(o);
sb.xmax = o.x;
sb.ymax = o.y;
q = math.floor((direction % 360) / 90);
t = math.tan(((direction % 90) / 180) * math.pi);
if (q == 0) {
dx1 = sb.xmax - b.xmin;
dy1 = (-dx1) * t;
dy = sb.ymin - b.ymax;
dx = (-dy) / t;
} else if (q == 1) {
dx1 = sb.xmin - b.xmax;
dy1 = dx1 / t;
dy = sb.ymin - b.ymax;
dx = dy * t;
} else if (q == 2) {
dx1 = sb.xmin - b.xmax;
dy1 = (-dx1) * t;
dy = sb.ymax - b.ymin;
dx = (-dy) / t;
} else if (q == 3) {
dx1 = sb.xmax - b.xmin;
dy1 = dx1 / t;
dy = sb.ymax - b.ymin;
dx = dy * t;
}
if (((dx1 * dx1) + (dy1 * dy1)) < ((dx * dx) + (dy * dy))) {
dx = dx1;
dy = dy1;
}
if (!out_effect) {
mc._x = dx;
mc._y = dy;
}
ra = (-180) * math.round(rotations * 2);
if (reverse_rotation) {
ra = ra * (-1);
}
};
main_effect = function (mc, frame) {
perc = frame / lastsubframe;
if (!linear_speed) {
perc = math.sin(perc * deg90);
}
if (out_effect) {
perc = 1 - perc;
}
mc._x = (perc * mc.__x) + ((1 - perc) * dx);
mc._y = (perc * mc.__y) + ((1 - perc) * dy);
mc._rotation = (1 - perc) * ra;
if (fade) {
mc._alpha = perc * 100;
}
if (scale) {
mc._xscale = (mc._yscale = perc * 100);
}
if (frame == lastsubframe) {
end_effect = true;
}
};
sub_init = function (mc) {
};
sub_effect = function (mc, frame) {
};
for ($i in this) {
if (typeof(this[$i]) == "movieclip") {
$mmc = this[$i];
}
}
$mmc.swapdepths(5);
$smc = new array();
for ($i in $mmc) {
if (typeof($mmc[$i]) == "movieclip") {
$smc.push($mmc[$i]);
}
}
$smc.reverse();
$sub_cnt = $smc.length;
glow_factor = ((glow_factor >= 0.100000001490116) ? (((0.899999976158142 >= glow_factor) ? (glow_factor) : 0.5)) : 0.5);
$i = 0;
while (360 >= $i) {
this["deg" + $i] = ($i * math.pi) / 180;
$i = $i + 15;
}
$mmc.__x = $mmc._x;
$mmc.__y = $mmc._y;
main_init($mmc);
$av($mmc);
$buf = new array();
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
mc._i = $i;
mc.done = (mc.$gd = 0);
mc.__x = mc._x;
mc.__y = mc._y;
mc.swapdepths(($i * 10) + 5);
sub_init(mc);
$av(mc);
if ((0 < glow_delay) and (1 < mc._alpha)) {
(mc.duplicatemovieclip("$gm" + $i, $i * 10));// not popped
$mmc["$gm" + $i]._alpha = $mmc["$gm" + $i]._alpha * glow_factor;
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onenterframe = function () {
if (end_effect) {
if (loop_delay < 0) {
onenterframe = null;
onend();
} else if (0 < $loop_tm) {
$loop_tm--;
} else {
$mmc._x = $mmc.__x;
$mmc._y = $mmc.__y;
$mmc._xscale = ($mmc._yscale = ($mmc._alpha = 100));
$mmc._rotation = (subs_done = (end_effect = 0));
main_init($mmc);
$av($mmc);
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
mc._x = mc.__x;
mc._y = mc.__y;
mc._xscale = (mc._yscale = (mc._alpha = 100));
mc._rotation = (mc.done = (mc.$gd = 0));
sub_init(mc);
$av(mc);
if (0 < glow_delay) {
if (1 < mc._alpha) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10));// not popped
$mmc["$gm" + $j]._alpha = $mmc["$gm" + $j]._alpha * glow_factor;
} else {
$mmc["$gm" + $j].removemovieclip();
}
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onloop();
}
} else {
frame++;
if (!subs_done) {
$done_cnt = 0;
$buf_idx = (frame % glow_delay) * $sub_cnt;
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
if (mc.done) {
if ((0 < glow_delay) and (mc.$gd < glow_delay)) {
mc.$gd++;
if ((mc.$gd == glow_delay) and (mc._alpha >= 99)) {
$mmc["$gm" + $j].removemovieclip();
} else {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
} else {
$done_cnt++;
}
} else {
$sub_fr = frame - ($i * sub_delay);
if (0 < $sub_fr) {
sub_effect(mc, $sub_fr);
$av(mc);
if (0 < glow_delay) {
if (0 < ($sub_fr - glow_delay)) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
$buf[$buf_idx] = {_x:mc._x, _y:mc._y, _xscale:mc._xscale, _yscale:mc._yscale, _rotation:mc._rotation, _alpha:mc._alpha * glow_factor};
}
}
}
$buf_idx++;
$i++;
}
if ($sub_cnt == $done_cnt) {
subs_done = true;
}
}
main_effect($mmc, frame);
$av($mmc);
}
};
if (0 < initial_wait) {
$e = onenterframe;
onenterframe = function () {
initial_wait--;
if (initial_wait == 0) {
onenterframe = $e;
}
};
}
Symbol 14 MovieClip Frame 1
function $av(mc) {
mc._visible = 1 < mc._alpha;
}
function $ord(o) {
if ((o != $pr_ord) or (13 < o)) {
$pr_ord = o;
$ta = new array();
var $i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$ta[$i] = {$i:$i};
$ta[$i].s = 20000000 + ((o >= 2) ? (((o >= 4) ? (((o >= 6) ? (((o >= 8) ? (((o >= 10) ? (mc.__x - mc.__y) : (mc.__x + mc.__y))) : (mc.__y))) : (mc.__x))) : ((mc.__x * mc.__x) + (mc.__y * mc.__y)))) : (mc._i));
$ta[$i].s = ((o >= 12) ? (((o >= 14) ? (math.random()) : ((7.85340023040771 + math.atan2(mc.__y, mc.__x)) % 6.28319978713989))) : ($ta[$i].s));
$i++;
}
$ta.sorton("s");
if (o % 2) {
$ta.reverse();
}
var $i = 0;
while ($i < $sub_cnt) {
$ta[$i] = $smc[$ta[$i].$i];
$i++;
}
$smc = $ta;
}
}
initial_wait = 0;
$padding = 0;
out_effect = 0;
lastsubframe = 12;
linear_speed = 0;
fade = 0;
scale = 0;
rotations = 0;
reverse_rotation = 0;
direction = 180;
loop_delay = -1;
main_init = function (mc) {
subs_done = true;
b = mc.getbounds(mc);
sb = (o = new object());
o.x = 0;
o.y = 0;
mc.globaltolocal(o);
sb.xmin = o.x;
sb.ymin = o.y;
o.x = stage.width;
o.y = stage.height;
mc.globaltolocal(o);
sb.xmax = o.x;
sb.ymax = o.y;
q = math.floor((direction % 360) / 90);
t = math.tan(((direction % 90) / 180) * math.pi);
if (q == 0) {
dx1 = sb.xmax - b.xmin;
dy1 = (-dx1) * t;
dy = sb.ymin - b.ymax;
dx = (-dy) / t;
} else if (q == 1) {
dx1 = sb.xmin - b.xmax;
dy1 = dx1 / t;
dy = sb.ymin - b.ymax;
dx = dy * t;
} else if (q == 2) {
dx1 = sb.xmin - b.xmax;
dy1 = (-dx1) * t;
dy = sb.ymax - b.ymin;
dx = (-dy) / t;
} else if (q == 3) {
dx1 = sb.xmax - b.xmin;
dy1 = dx1 / t;
dy = sb.ymax - b.ymin;
dx = dy * t;
}
if (((dx1 * dx1) + (dy1 * dy1)) < ((dx * dx) + (dy * dy))) {
dx = dx1;
dy = dy1;
}
if (!out_effect) {
mc._x = dx;
mc._y = dy;
}
ra = (-180) * math.round(rotations * 2);
if (reverse_rotation) {
ra = ra * (-1);
}
};
main_effect = function (mc, frame) {
perc = frame / lastsubframe;
if (!linear_speed) {
perc = math.sin(perc * deg90);
}
if (out_effect) {
perc = 1 - perc;
}
mc._x = (perc * mc.__x) + ((1 - perc) * dx);
mc._y = (perc * mc.__y) + ((1 - perc) * dy);
mc._rotation = (1 - perc) * ra;
if (fade) {
mc._alpha = perc * 100;
}
if (scale) {
mc._xscale = (mc._yscale = perc * 100);
}
if (frame == lastsubframe) {
end_effect = true;
}
};
sub_init = function (mc) {
};
sub_effect = function (mc, frame) {
};
for ($i in this) {
if (typeof(this[$i]) == "movieclip") {
$mmc = this[$i];
}
}
$mmc.swapdepths(5);
$smc = new array();
for ($i in $mmc) {
if (typeof($mmc[$i]) == "movieclip") {
$smc.push($mmc[$i]);
}
}
$smc.reverse();
$sub_cnt = $smc.length;
glow_factor = ((glow_factor >= 0.100000001490116) ? (((0.899999976158142 >= glow_factor) ? (glow_factor) : 0.5)) : 0.5);
$i = 0;
while (360 >= $i) {
this["deg" + $i] = ($i * math.pi) / 180;
$i = $i + 15;
}
$mmc.__x = $mmc._x;
$mmc.__y = $mmc._y;
main_init($mmc);
$av($mmc);
$buf = new array();
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
mc._i = $i;
mc.done = (mc.$gd = 0);
mc.__x = mc._x;
mc.__y = mc._y;
mc.swapdepths(($i * 10) + 5);
sub_init(mc);
$av(mc);
if ((0 < glow_delay) and (1 < mc._alpha)) {
(mc.duplicatemovieclip("$gm" + $i, $i * 10));// not popped
$mmc["$gm" + $i]._alpha = $mmc["$gm" + $i]._alpha * glow_factor;
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onenterframe = function () {
if (end_effect) {
if (loop_delay < 0) {
onenterframe = null;
onend();
} else if (0 < $loop_tm) {
$loop_tm--;
} else {
$mmc._x = $mmc.__x;
$mmc._y = $mmc.__y;
$mmc._xscale = ($mmc._yscale = ($mmc._alpha = 100));
$mmc._rotation = (subs_done = (end_effect = 0));
main_init($mmc);
$av($mmc);
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
mc._x = mc.__x;
mc._y = mc.__y;
mc._xscale = (mc._yscale = (mc._alpha = 100));
mc._rotation = (mc.done = (mc.$gd = 0));
sub_init(mc);
$av(mc);
if (0 < glow_delay) {
if (1 < mc._alpha) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10));// not popped
$mmc["$gm" + $j]._alpha = $mmc["$gm" + $j]._alpha * glow_factor;
} else {
$mmc["$gm" + $j].removemovieclip();
}
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onloop();
}
} else {
frame++;
if (!subs_done) {
$done_cnt = 0;
$buf_idx = (frame % glow_delay) * $sub_cnt;
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
if (mc.done) {
if ((0 < glow_delay) and (mc.$gd < glow_delay)) {
mc.$gd++;
if ((mc.$gd == glow_delay) and (mc._alpha >= 99)) {
$mmc["$gm" + $j].removemovieclip();
} else {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
} else {
$done_cnt++;
}
} else {
$sub_fr = frame - ($i * sub_delay);
if (0 < $sub_fr) {
sub_effect(mc, $sub_fr);
$av(mc);
if (0 < glow_delay) {
if (0 < ($sub_fr - glow_delay)) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
$buf[$buf_idx] = {_x:mc._x, _y:mc._y, _xscale:mc._xscale, _yscale:mc._yscale, _rotation:mc._rotation, _alpha:mc._alpha * glow_factor};
}
}
}
$buf_idx++;
$i++;
}
if ($sub_cnt == $done_cnt) {
subs_done = true;
}
}
main_effect($mmc, frame);
$av($mmc);
}
};
if (0 < initial_wait) {
$e = onenterframe;
onenterframe = function () {
initial_wait--;
if (initial_wait == 0) {
onenterframe = $e;
}
};
}
Symbol 18 MovieClip Frame 1
function $av(mc) {
mc._visible = 1 < mc._alpha;
}
function $ord(o) {
if ((o != $pr_ord) or (13 < o)) {
$pr_ord = o;
$ta = new array();
var $i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$ta[$i] = {$i:$i};
$ta[$i].s = 20000000 + ((o >= 2) ? (((o >= 4) ? (((o >= 6) ? (((o >= 8) ? (((o >= 10) ? (mc.__x - mc.__y) : (mc.__x + mc.__y))) : (mc.__y))) : (mc.__x))) : ((mc.__x * mc.__x) + (mc.__y * mc.__y)))) : (mc._i));
$ta[$i].s = ((o >= 12) ? (((o >= 14) ? (math.random()) : ((7.85340023040771 + math.atan2(mc.__y, mc.__x)) % 6.28319978713989))) : ($ta[$i].s));
$i++;
}
$ta.sorton("s");
if (o % 2) {
$ta.reverse();
}
var $i = 0;
while ($i < $sub_cnt) {
$ta[$i] = $smc[$ta[$i].$i];
$i++;
}
$smc = $ta;
}
}
initial_wait = 0;
$padding = 0;
out_effect = 0;
lastsubframe = 12;
linear_speed = 0;
fade = 0;
scale = 0;
rotations = 0;
reverse_rotation = 0;
direction = 180;
loop_delay = -1;
main_init = function (mc) {
subs_done = true;
b = mc.getbounds(mc);
sb = (o = new object());
o.x = 0;
o.y = 0;
mc.globaltolocal(o);
sb.xmin = o.x;
sb.ymin = o.y;
o.x = stage.width;
o.y = stage.height;
mc.globaltolocal(o);
sb.xmax = o.x;
sb.ymax = o.y;
q = math.floor((direction % 360) / 90);
t = math.tan(((direction % 90) / 180) * math.pi);
if (q == 0) {
dx1 = sb.xmax - b.xmin;
dy1 = (-dx1) * t;
dy = sb.ymin - b.ymax;
dx = (-dy) / t;
} else if (q == 1) {
dx1 = sb.xmin - b.xmax;
dy1 = dx1 / t;
dy = sb.ymin - b.ymax;
dx = dy * t;
} else if (q == 2) {
dx1 = sb.xmin - b.xmax;
dy1 = (-dx1) * t;
dy = sb.ymax - b.ymin;
dx = (-dy) / t;
} else if (q == 3) {
dx1 = sb.xmax - b.xmin;
dy1 = dx1 / t;
dy = sb.ymax - b.ymin;
dx = dy * t;
}
if (((dx1 * dx1) + (dy1 * dy1)) < ((dx * dx) + (dy * dy))) {
dx = dx1;
dy = dy1;
}
if (!out_effect) {
mc._x = dx;
mc._y = dy;
}
ra = (-180) * math.round(rotations * 2);
if (reverse_rotation) {
ra = ra * (-1);
}
};
main_effect = function (mc, frame) {
perc = frame / lastsubframe;
if (!linear_speed) {
perc = math.sin(perc * deg90);
}
if (out_effect) {
perc = 1 - perc;
}
mc._x = (perc * mc.__x) + ((1 - perc) * dx);
mc._y = (perc * mc.__y) + ((1 - perc) * dy);
mc._rotation = (1 - perc) * ra;
if (fade) {
mc._alpha = perc * 100;
}
if (scale) {
mc._xscale = (mc._yscale = perc * 100);
}
if (frame == lastsubframe) {
end_effect = true;
}
};
sub_init = function (mc) {
};
sub_effect = function (mc, frame) {
};
for ($i in this) {
if (typeof(this[$i]) == "movieclip") {
$mmc = this[$i];
}
}
$mmc.swapdepths(5);
$smc = new array();
for ($i in $mmc) {
if (typeof($mmc[$i]) == "movieclip") {
$smc.push($mmc[$i]);
}
}
$smc.reverse();
$sub_cnt = $smc.length;
glow_factor = ((glow_factor >= 0.100000001490116) ? (((0.899999976158142 >= glow_factor) ? (glow_factor) : 0.5)) : 0.5);
$i = 0;
while (360 >= $i) {
this["deg" + $i] = ($i * math.pi) / 180;
$i = $i + 15;
}
$mmc.__x = $mmc._x;
$mmc.__y = $mmc._y;
main_init($mmc);
$av($mmc);
$buf = new array();
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
mc._i = $i;
mc.done = (mc.$gd = 0);
mc.__x = mc._x;
mc.__y = mc._y;
mc.swapdepths(($i * 10) + 5);
sub_init(mc);
$av(mc);
if ((0 < glow_delay) and (1 < mc._alpha)) {
(mc.duplicatemovieclip("$gm" + $i, $i * 10));// not popped
$mmc["$gm" + $i]._alpha = $mmc["$gm" + $i]._alpha * glow_factor;
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onenterframe = function () {
if (end_effect) {
if (loop_delay < 0) {
onenterframe = null;
onend();
} else if (0 < $loop_tm) {
$loop_tm--;
} else {
$mmc._x = $mmc.__x;
$mmc._y = $mmc.__y;
$mmc._xscale = ($mmc._yscale = ($mmc._alpha = 100));
$mmc._rotation = (subs_done = (end_effect = 0));
main_init($mmc);
$av($mmc);
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
mc._x = mc.__x;
mc._y = mc.__y;
mc._xscale = (mc._yscale = (mc._alpha = 100));
mc._rotation = (mc.done = (mc.$gd = 0));
sub_init(mc);
$av(mc);
if (0 < glow_delay) {
if (1 < mc._alpha) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10));// not popped
$mmc["$gm" + $j]._alpha = $mmc["$gm" + $j]._alpha * glow_factor;
} else {
$mmc["$gm" + $j].removemovieclip();
}
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onloop();
}
} else {
frame++;
if (!subs_done) {
$done_cnt = 0;
$buf_idx = (frame % glow_delay) * $sub_cnt;
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
if (mc.done) {
if ((0 < glow_delay) and (mc.$gd < glow_delay)) {
mc.$gd++;
if ((mc.$gd == glow_delay) and (mc._alpha >= 99)) {
$mmc["$gm" + $j].removemovieclip();
} else {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
} else {
$done_cnt++;
}
} else {
$sub_fr = frame - ($i * sub_delay);
if (0 < $sub_fr) {
sub_effect(mc, $sub_fr);
$av(mc);
if (0 < glow_delay) {
if (0 < ($sub_fr - glow_delay)) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
$buf[$buf_idx] = {_x:mc._x, _y:mc._y, _xscale:mc._xscale, _yscale:mc._yscale, _rotation:mc._rotation, _alpha:mc._alpha * glow_factor};
}
}
}
$buf_idx++;
$i++;
}
if ($sub_cnt == $done_cnt) {
subs_done = true;
}
}
main_effect($mmc, frame);
$av($mmc);
}
};
if (0 < initial_wait) {
$e = onenterframe;
onenterframe = function () {
initial_wait--;
if (initial_wait == 0) {
onenterframe = $e;
}
};
}
Symbol 22 MovieClip Frame 1
function $av(mc) {
mc._visible = 1 < mc._alpha;
}
function $ord(o) {
if ((o != $pr_ord) or (13 < o)) {
$pr_ord = o;
$ta = new array();
var $i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$ta[$i] = {$i:$i};
$ta[$i].s = 20000000 + ((o >= 2) ? (((o >= 4) ? (((o >= 6) ? (((o >= 8) ? (((o >= 10) ? (mc.__x - mc.__y) : (mc.__x + mc.__y))) : (mc.__y))) : (mc.__x))) : ((mc.__x * mc.__x) + (mc.__y * mc.__y)))) : (mc._i));
$ta[$i].s = ((o >= 12) ? (((o >= 14) ? (math.random()) : ((7.85340023040771 + math.atan2(mc.__y, mc.__x)) % 6.28319978713989))) : ($ta[$i].s));
$i++;
}
$ta.sorton("s");
if (o % 2) {
$ta.reverse();
}
var $i = 0;
while ($i < $sub_cnt) {
$ta[$i] = $smc[$ta[$i].$i];
$i++;
}
$smc = $ta;
}
}
initial_wait = 0;
$padding = 0;
out_effect = 0;
lastsubframe = 12;
linear_speed = 0;
fade = 0;
scale = 0;
rotations = 0;
reverse_rotation = 0;
direction = 180;
loop_delay = -1;
main_init = function (mc) {
subs_done = true;
b = mc.getbounds(mc);
sb = (o = new object());
o.x = 0;
o.y = 0;
mc.globaltolocal(o);
sb.xmin = o.x;
sb.ymin = o.y;
o.x = stage.width;
o.y = stage.height;
mc.globaltolocal(o);
sb.xmax = o.x;
sb.ymax = o.y;
q = math.floor((direction % 360) / 90);
t = math.tan(((direction % 90) / 180) * math.pi);
if (q == 0) {
dx1 = sb.xmax - b.xmin;
dy1 = (-dx1) * t;
dy = sb.ymin - b.ymax;
dx = (-dy) / t;
} else if (q == 1) {
dx1 = sb.xmin - b.xmax;
dy1 = dx1 / t;
dy = sb.ymin - b.ymax;
dx = dy * t;
} else if (q == 2) {
dx1 = sb.xmin - b.xmax;
dy1 = (-dx1) * t;
dy = sb.ymax - b.ymin;
dx = (-dy) / t;
} else if (q == 3) {
dx1 = sb.xmax - b.xmin;
dy1 = dx1 / t;
dy = sb.ymax - b.ymin;
dx = dy * t;
}
if (((dx1 * dx1) + (dy1 * dy1)) < ((dx * dx) + (dy * dy))) {
dx = dx1;
dy = dy1;
}
if (!out_effect) {
mc._x = dx;
mc._y = dy;
}
ra = (-180) * math.round(rotations * 2);
if (reverse_rotation) {
ra = ra * (-1);
}
};
main_effect = function (mc, frame) {
perc = frame / lastsubframe;
if (!linear_speed) {
perc = math.sin(perc * deg90);
}
if (out_effect) {
perc = 1 - perc;
}
mc._x = (perc * mc.__x) + ((1 - perc) * dx);
mc._y = (perc * mc.__y) + ((1 - perc) * dy);
mc._rotation = (1 - perc) * ra;
if (fade) {
mc._alpha = perc * 100;
}
if (scale) {
mc._xscale = (mc._yscale = perc * 100);
}
if (frame == lastsubframe) {
end_effect = true;
}
};
sub_init = function (mc) {
};
sub_effect = function (mc, frame) {
};
for ($i in this) {
if (typeof(this[$i]) == "movieclip") {
$mmc = this[$i];
}
}
$mmc.swapdepths(5);
$smc = new array();
for ($i in $mmc) {
if (typeof($mmc[$i]) == "movieclip") {
$smc.push($mmc[$i]);
}
}
$smc.reverse();
$sub_cnt = $smc.length;
glow_factor = ((glow_factor >= 0.100000001490116) ? (((0.899999976158142 >= glow_factor) ? (glow_factor) : 0.5)) : 0.5);
$i = 0;
while (360 >= $i) {
this["deg" + $i] = ($i * math.pi) / 180;
$i = $i + 15;
}
$mmc.__x = $mmc._x;
$mmc.__y = $mmc._y;
main_init($mmc);
$av($mmc);
$buf = new array();
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
mc._i = $i;
mc.done = (mc.$gd = 0);
mc.__x = mc._x;
mc.__y = mc._y;
mc.swapdepths(($i * 10) + 5);
sub_init(mc);
$av(mc);
if ((0 < glow_delay) and (1 < mc._alpha)) {
(mc.duplicatemovieclip("$gm" + $i, $i * 10));// not popped
$mmc["$gm" + $i]._alpha = $mmc["$gm" + $i]._alpha * glow_factor;
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onenterframe = function () {
if (end_effect) {
if (loop_delay < 0) {
onenterframe = null;
onend();
} else if (0 < $loop_tm) {
$loop_tm--;
} else {
$mmc._x = $mmc.__x;
$mmc._y = $mmc.__y;
$mmc._xscale = ($mmc._yscale = ($mmc._alpha = 100));
$mmc._rotation = (subs_done = (end_effect = 0));
main_init($mmc);
$av($mmc);
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
mc._x = mc.__x;
mc._y = mc.__y;
mc._xscale = (mc._yscale = (mc._alpha = 100));
mc._rotation = (mc.done = (mc.$gd = 0));
sub_init(mc);
$av(mc);
if (0 < glow_delay) {
if (1 < mc._alpha) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10));// not popped
$mmc["$gm" + $j]._alpha = $mmc["$gm" + $j]._alpha * glow_factor;
} else {
$mmc["$gm" + $j].removemovieclip();
}
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onloop();
}
} else {
frame++;
if (!subs_done) {
$done_cnt = 0;
$buf_idx = (frame % glow_delay) * $sub_cnt;
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
if (mc.done) {
if ((0 < glow_delay) and (mc.$gd < glow_delay)) {
mc.$gd++;
if ((mc.$gd == glow_delay) and (mc._alpha >= 99)) {
$mmc["$gm" + $j].removemovieclip();
} else {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
} else {
$done_cnt++;
}
} else {
$sub_fr = frame - ($i * sub_delay);
if (0 < $sub_fr) {
sub_effect(mc, $sub_fr);
$av(mc);
if (0 < glow_delay) {
if (0 < ($sub_fr - glow_delay)) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
$buf[$buf_idx] = {_x:mc._x, _y:mc._y, _xscale:mc._xscale, _yscale:mc._yscale, _rotation:mc._rotation, _alpha:mc._alpha * glow_factor};
}
}
}
$buf_idx++;
$i++;
}
if ($sub_cnt == $done_cnt) {
subs_done = true;
}
}
main_effect($mmc, frame);
$av($mmc);
}
};
if (0 < initial_wait) {
$e = onenterframe;
onenterframe = function () {
initial_wait--;
if (initial_wait == 0) {
onenterframe = $e;
}
};
}
Symbol 26 MovieClip Frame 1
function $av(mc) {
mc._visible = 1 < mc._alpha;
}
function $ord(o) {
if ((o != $pr_ord) or (13 < o)) {
$pr_ord = o;
$ta = new array();
var $i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$ta[$i] = {$i:$i};
$ta[$i].s = 20000000 + ((o >= 2) ? (((o >= 4) ? (((o >= 6) ? (((o >= 8) ? (((o >= 10) ? (mc.__x - mc.__y) : (mc.__x + mc.__y))) : (mc.__y))) : (mc.__x))) : ((mc.__x * mc.__x) + (mc.__y * mc.__y)))) : (mc._i));
$ta[$i].s = ((o >= 12) ? (((o >= 14) ? (math.random()) : ((7.85340023040771 + math.atan2(mc.__y, mc.__x)) % 6.28319978713989))) : ($ta[$i].s));
$i++;
}
$ta.sorton("s");
if (o % 2) {
$ta.reverse();
}
var $i = 0;
while ($i < $sub_cnt) {
$ta[$i] = $smc[$ta[$i].$i];
$i++;
}
$smc = $ta;
}
}
initial_wait = 0;
$padding = 0;
out_effect = 0;
lastsubframe = 12;
linear_speed = 0;
fade = 0;
scale = 0;
rotations = 0;
reverse_rotation = 0;
direction = 180;
loop_delay = -1;
main_init = function (mc) {
subs_done = true;
b = mc.getbounds(mc);
sb = (o = new object());
o.x = 0;
o.y = 0;
mc.globaltolocal(o);
sb.xmin = o.x;
sb.ymin = o.y;
o.x = stage.width;
o.y = stage.height;
mc.globaltolocal(o);
sb.xmax = o.x;
sb.ymax = o.y;
q = math.floor((direction % 360) / 90);
t = math.tan(((direction % 90) / 180) * math.pi);
if (q == 0) {
dx1 = sb.xmax - b.xmin;
dy1 = (-dx1) * t;
dy = sb.ymin - b.ymax;
dx = (-dy) / t;
} else if (q == 1) {
dx1 = sb.xmin - b.xmax;
dy1 = dx1 / t;
dy = sb.ymin - b.ymax;
dx = dy * t;
} else if (q == 2) {
dx1 = sb.xmin - b.xmax;
dy1 = (-dx1) * t;
dy = sb.ymax - b.ymin;
dx = (-dy) / t;
} else if (q == 3) {
dx1 = sb.xmax - b.xmin;
dy1 = dx1 / t;
dy = sb.ymax - b.ymin;
dx = dy * t;
}
if (((dx1 * dx1) + (dy1 * dy1)) < ((dx * dx) + (dy * dy))) {
dx = dx1;
dy = dy1;
}
if (!out_effect) {
mc._x = dx;
mc._y = dy;
}
ra = (-180) * math.round(rotations * 2);
if (reverse_rotation) {
ra = ra * (-1);
}
};
main_effect = function (mc, frame) {
perc = frame / lastsubframe;
if (!linear_speed) {
perc = math.sin(perc * deg90);
}
if (out_effect) {
perc = 1 - perc;
}
mc._x = (perc * mc.__x) + ((1 - perc) * dx);
mc._y = (perc * mc.__y) + ((1 - perc) * dy);
mc._rotation = (1 - perc) * ra;
if (fade) {
mc._alpha = perc * 100;
}
if (scale) {
mc._xscale = (mc._yscale = perc * 100);
}
if (frame == lastsubframe) {
end_effect = true;
}
};
sub_init = function (mc) {
};
sub_effect = function (mc, frame) {
};
for ($i in this) {
if (typeof(this[$i]) == "movieclip") {
$mmc = this[$i];
}
}
$mmc.swapdepths(5);
$smc = new array();
for ($i in $mmc) {
if (typeof($mmc[$i]) == "movieclip") {
$smc.push($mmc[$i]);
}
}
$smc.reverse();
$sub_cnt = $smc.length;
glow_factor = ((glow_factor >= 0.100000001490116) ? (((0.899999976158142 >= glow_factor) ? (glow_factor) : 0.5)) : 0.5);
$i = 0;
while (360 >= $i) {
this["deg" + $i] = ($i * math.pi) / 180;
$i = $i + 15;
}
$mmc.__x = $mmc._x;
$mmc.__y = $mmc._y;
main_init($mmc);
$av($mmc);
$buf = new array();
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
mc._i = $i;
mc.done = (mc.$gd = 0);
mc.__x = mc._x;
mc.__y = mc._y;
mc.swapdepths(($i * 10) + 5);
sub_init(mc);
$av(mc);
if ((0 < glow_delay) and (1 < mc._alpha)) {
(mc.duplicatemovieclip("$gm" + $i, $i * 10));// not popped
$mmc["$gm" + $i]._alpha = $mmc["$gm" + $i]._alpha * glow_factor;
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onenterframe = function () {
if (end_effect) {
if (loop_delay < 0) {
onenterframe = null;
onend();
} else if (0 < $loop_tm) {
$loop_tm--;
} else {
$mmc._x = $mmc.__x;
$mmc._y = $mmc.__y;
$mmc._xscale = ($mmc._yscale = ($mmc._alpha = 100));
$mmc._rotation = (subs_done = (end_effect = 0));
main_init($mmc);
$av($mmc);
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
mc._x = mc.__x;
mc._y = mc.__y;
mc._xscale = (mc._yscale = (mc._alpha = 100));
mc._rotation = (mc.done = (mc.$gd = 0));
sub_init(mc);
$av(mc);
if (0 < glow_delay) {
if (1 < mc._alpha) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10));// not popped
$mmc["$gm" + $j]._alpha = $mmc["$gm" + $j]._alpha * glow_factor;
} else {
$mmc["$gm" + $j].removemovieclip();
}
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onloop();
}
} else {
frame++;
if (!subs_done) {
$done_cnt = 0;
$buf_idx = (frame % glow_delay) * $sub_cnt;
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
if (mc.done) {
if ((0 < glow_delay) and (mc.$gd < glow_delay)) {
mc.$gd++;
if ((mc.$gd == glow_delay) and (mc._alpha >= 99)) {
$mmc["$gm" + $j].removemovieclip();
} else {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
} else {
$done_cnt++;
}
} else {
$sub_fr = frame - ($i * sub_delay);
if (0 < $sub_fr) {
sub_effect(mc, $sub_fr);
$av(mc);
if (0 < glow_delay) {
if (0 < ($sub_fr - glow_delay)) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
$buf[$buf_idx] = {_x:mc._x, _y:mc._y, _xscale:mc._xscale, _yscale:mc._yscale, _rotation:mc._rotation, _alpha:mc._alpha * glow_factor};
}
}
}
$buf_idx++;
$i++;
}
if ($sub_cnt == $done_cnt) {
subs_done = true;
}
}
main_effect($mmc, frame);
$av($mmc);
}
};
if (0 < initial_wait) {
$e = onenterframe;
onenterframe = function () {
initial_wait--;
if (initial_wait == 0) {
onenterframe = $e;
}
};
}
Symbol 30 MovieClip Frame 1
function $av(mc) {
mc._visible = 1 < mc._alpha;
}
function $ord(o) {
if ((o != $pr_ord) or (13 < o)) {
$pr_ord = o;
$ta = new array();
var $i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$ta[$i] = {$i:$i};
$ta[$i].s = 20000000 + ((o >= 2) ? (((o >= 4) ? (((o >= 6) ? (((o >= 8) ? (((o >= 10) ? (mc.__x - mc.__y) : (mc.__x + mc.__y))) : (mc.__y))) : (mc.__x))) : ((mc.__x * mc.__x) + (mc.__y * mc.__y)))) : (mc._i));
$ta[$i].s = ((o >= 12) ? (((o >= 14) ? (math.random()) : ((7.85340023040771 + math.atan2(mc.__y, mc.__x)) % 6.28319978713989))) : ($ta[$i].s));
$i++;
}
$ta.sorton("s");
if (o % 2) {
$ta.reverse();
}
var $i = 0;
while ($i < $sub_cnt) {
$ta[$i] = $smc[$ta[$i].$i];
$i++;
}
$smc = $ta;
}
}
initial_wait = 0;
$padding = 0;
out_effect = 0;
lastsubframe = 12;
linear_speed = 0;
fade = 0;
scale = 0;
rotations = 0;
reverse_rotation = 0;
direction = 180;
loop_delay = -1;
main_init = function (mc) {
subs_done = true;
b = mc.getbounds(mc);
sb = (o = new object());
o.x = 0;
o.y = 0;
mc.globaltolocal(o);
sb.xmin = o.x;
sb.ymin = o.y;
o.x = stage.width;
o.y = stage.height;
mc.globaltolocal(o);
sb.xmax = o.x;
sb.ymax = o.y;
q = math.floor((direction % 360) / 90);
t = math.tan(((direction % 90) / 180) * math.pi);
if (q == 0) {
dx1 = sb.xmax - b.xmin;
dy1 = (-dx1) * t;
dy = sb.ymin - b.ymax;
dx = (-dy) / t;
} else if (q == 1) {
dx1 = sb.xmin - b.xmax;
dy1 = dx1 / t;
dy = sb.ymin - b.ymax;
dx = dy * t;
} else if (q == 2) {
dx1 = sb.xmin - b.xmax;
dy1 = (-dx1) * t;
dy = sb.ymax - b.ymin;
dx = (-dy) / t;
} else if (q == 3) {
dx1 = sb.xmax - b.xmin;
dy1 = dx1 / t;
dy = sb.ymax - b.ymin;
dx = dy * t;
}
if (((dx1 * dx1) + (dy1 * dy1)) < ((dx * dx) + (dy * dy))) {
dx = dx1;
dy = dy1;
}
if (!out_effect) {
mc._x = dx;
mc._y = dy;
}
ra = (-180) * math.round(rotations * 2);
if (reverse_rotation) {
ra = ra * (-1);
}
};
main_effect = function (mc, frame) {
perc = frame / lastsubframe;
if (!linear_speed) {
perc = math.sin(perc * deg90);
}
if (out_effect) {
perc = 1 - perc;
}
mc._x = (perc * mc.__x) + ((1 - perc) * dx);
mc._y = (perc * mc.__y) + ((1 - perc) * dy);
mc._rotation = (1 - perc) * ra;
if (fade) {
mc._alpha = perc * 100;
}
if (scale) {
mc._xscale = (mc._yscale = perc * 100);
}
if (frame == lastsubframe) {
end_effect = true;
}
};
sub_init = function (mc) {
};
sub_effect = function (mc, frame) {
};
for ($i in this) {
if (typeof(this[$i]) == "movieclip") {
$mmc = this[$i];
}
}
$mmc.swapdepths(5);
$smc = new array();
for ($i in $mmc) {
if (typeof($mmc[$i]) == "movieclip") {
$smc.push($mmc[$i]);
}
}
$smc.reverse();
$sub_cnt = $smc.length;
glow_factor = ((glow_factor >= 0.100000001490116) ? (((0.899999976158142 >= glow_factor) ? (glow_factor) : 0.5)) : 0.5);
$i = 0;
while (360 >= $i) {
this["deg" + $i] = ($i * math.pi) / 180;
$i = $i + 15;
}
$mmc.__x = $mmc._x;
$mmc.__y = $mmc._y;
main_init($mmc);
$av($mmc);
$buf = new array();
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
mc._i = $i;
mc.done = (mc.$gd = 0);
mc.__x = mc._x;
mc.__y = mc._y;
mc.swapdepths(($i * 10) + 5);
sub_init(mc);
$av(mc);
if ((0 < glow_delay) and (1 < mc._alpha)) {
(mc.duplicatemovieclip("$gm" + $i, $i * 10));// not popped
$mmc["$gm" + $i]._alpha = $mmc["$gm" + $i]._alpha * glow_factor;
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onenterframe = function () {
if (end_effect) {
if (loop_delay < 0) {
onenterframe = null;
onend();
} else if (0 < $loop_tm) {
$loop_tm--;
} else {
$mmc._x = $mmc.__x;
$mmc._y = $mmc.__y;
$mmc._xscale = ($mmc._yscale = ($mmc._alpha = 100));
$mmc._rotation = (subs_done = (end_effect = 0));
main_init($mmc);
$av($mmc);
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
mc._x = mc.__x;
mc._y = mc.__y;
mc._xscale = (mc._yscale = (mc._alpha = 100));
mc._rotation = (mc.done = (mc.$gd = 0));
sub_init(mc);
$av(mc);
if (0 < glow_delay) {
if (1 < mc._alpha) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10));// not popped
$mmc["$gm" + $j]._alpha = $mmc["$gm" + $j]._alpha * glow_factor;
} else {
$mmc["$gm" + $j].removemovieclip();
}
}
$i++;
}
$ord(sub_order);
frame = 0;
$loop_tm = loop_delay;
onloop();
}
} else {
frame++;
if (!subs_done) {
$done_cnt = 0;
$buf_idx = (frame % glow_delay) * $sub_cnt;
$i = 0;
while ($i < $sub_cnt) {
mc = $smc[$i];
$j = mc._i;
if (mc.done) {
if ((0 < glow_delay) and (mc.$gd < glow_delay)) {
mc.$gd++;
if ((mc.$gd == glow_delay) and (mc._alpha >= 99)) {
$mmc["$gm" + $j].removemovieclip();
} else {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
} else {
$done_cnt++;
}
} else {
$sub_fr = frame - ($i * sub_delay);
if (0 < $sub_fr) {
sub_effect(mc, $sub_fr);
$av(mc);
if (0 < glow_delay) {
if (0 < ($sub_fr - glow_delay)) {
(mc.duplicatemovieclip("$gm" + $j, $j * 10, $buf[$buf_idx]));// not popped
$av($mmc["$gm" + $j]);
}
$buf[$buf_idx] = {_x:mc._x, _y:mc._y, _xscale:mc._xscale, _yscale:mc._yscale, _rotation:mc._rotation, _alpha:mc._alpha * glow_factor};
}
}
}
$buf_idx++;
$i++;
}
if ($sub_cnt == $done_cnt) {
subs_done = true;
}
}
main_effect($mmc, frame);
$av($mmc);
}
};
if (0 < initial_wait) {
$e = onenterframe;
onenterframe = function () {
initial_wait--;
if (initial_wait == 0) {
onenterframe = $e;
}
};
}