Frame 1
dx = 0;
dy = 0;
progress_type = 0;
line_thickness = 2;
text_format = new textformat("Verdana", 11, 5592405, 1);
text_align = 2;
display = 1;
os_width = 100;
os_height = 10;
os_line_color = 10066329 /* 0x999999 */;
os_line_alpha = 30;
os_fill_type = 1;
os_fill_colors = [13684960, 13684960];
os_fill_alphas = [255, 255];
os_fill_ratios = [0, 255];
os_roundness = 100;
is_padding = 0;
is_line_color = 10066329 /* 0x999999 */;
is_line_alpha = 30;
is_fill_type = 1;
is_fill_colors = [3487029, 16777215];
is_fill_alphas = [255, 255];
is_fill_ratios = [0, 255];
is_roundness = 100;
delay_showing = 0;
rrect = function (mc, tl_x, tl_y, br_x, br_y, roundness) {
var r = ((math.min(br_x - tl_x, br_y - tl_y) * roundness) / 200);
var ex = r;
var ey = 0;
mc.moveto(br_x, tl_y + r);
var a = 45;
while (a < 405) {
if (a % 90) {
var x = ((!((90 < a) and (a < 270))) ? (br_x - r) : (tl_x + r));
var y = ((180 >= a) ? (br_y - r) : (tl_y + r));
mc.curveto(ex + x, ey + y, ex + x, ey + y);
}
ex = r * math.cos(a / 57.2960014343262);
ey = r * math.sin(a / 57.2960014343262);
var cx = (ex + ((r * 0.414209991693497) * math.sin(a / 57.2960014343262)));
var cy = (ey - ((r * 0.414209991693497) * math.cos(a / 57.2960014343262)));
mc.curveto(cx + x, cy + y, ex + x, ey + y);
a = a + 45;
}
};
ip = math.min(is_padding, math.min(os_width, os_height) / 2);
hw = os_width / 2;
hh = os_height / 2;
r = 1.5 * math.sqrt((hw * hw) + (hh * hh));
p = createemptymovieclip("p_mc", l);
(p.createemptymovieclip("os", 1));// not popped
(p.createemptymovieclip("is", 2));// not popped
(p.createemptymovieclip("m", 3));// not popped
p.createtextfield("l", 4, 0, 0, 0, 0);
p.is.setmask(p.m);
p.l.setnewtextformat(text_format);
p.l.selectable = false;
p.l.autosize = "center";
p._x = (stage.width / 2) + dx;
p._y = (stage.height / 2) + dy;
p.os.linestyle(line_thickness, os_line_color, os_line_alpha);
p.os.begingradientfill(((os_fill_type >= 2) ? "radial" : "linear"), os_fill_colors, os_fill_alphas, os_fill_ratios, {matrixtype:"box", x:-hw, y:-hh, w:2 * hw, h:2 * hh, r:((!os_fill_type) ? 0 : ((-math.pi) / 2))});
rrect(p.os, -hw, -hh, hw, hh, os_roundness);
p.os.endfill();
p.os.linestyle(line_thickness, is_line_color, is_line_alpha);
rrect(p.os, ip - hw, ip - hh, hw - ip, hh - ip, is_roundness);
p.is.linestyle(line_thickness, is_line_color, is_line_alpha);
p.is.begingradientfill(((is_fill_type >= 2) ? "radial" : "linear"), is_fill_colors, is_fill_alphas, is_fill_ratios, {matrixtype:"box", x:ip - hw, y:ip - hh, w:2 * (hw - ip), h:2 * (hh - ip), r:((!is_fill_type) ? 0 : ((-math.pi) / 2))});
rrect(p.is, ip - hw, ip - hh, hw - ip, hh - ip, is_roundness);
p.is.endfill();
onenterframe = function () {
p._visible = delay_showing < getTimer();
perc = getbytesloaded() / getbytestotal();
if (perc < 1) {
p.m.clear();
p.m.linestyle(line_thickness, 0);
p.m.beginfill(0);
if (progress_type == 0) {
rrect(p.m, ip - hw, ip - hh, (ip - hw) + ((2 * (hw - ip)) * perc), hh - ip, 0);
} else if (progress_type == 1) {
rrect(p.m, ip - hw, (ip - hh) + ((2 * (hh - ip)) * (1 - perc)), hw - ip, hh - ip, 0);
} else {
p.m.moveto(0, 0);
var a = 0;
while (360 >= a) {
var a0 = (math.min(a, perc * 360) / 57.2960014343262);
p.m.lineto(r * math.sin(a0), (-r) * math.cos(a0));
a = a + 45;
}
}
p.m.endfill();
if (display) {
p.l.text = ((1 >= display) ? (math.floor(100 * perc) + " %") : (math.floor(getbytesloaded() / 1024) + " KB"));
}
p.l._y = (((text_align - 1) * (hh + p.l.textheight)) - (p.l.textheight / 2)) - 2;
} else {
onenterframe = null;
p.removemovieclip();
gotoAndPlay (3);
}
};
onenterframe();
Frame 2
if (perc != 1) {
stop();
}
Frame 10
stop();
Frame 31
stop();
Frame 86
stopAllSounds();
Frame 2303
stop();
Symbol 916 Button
on (release) {
stopAllSounds();
}
on (release) {
gotoAndPlay (38);
}
Symbol 918 Button
on (release) {
getURL ("http://www.jimtopia.net", "_top");
}
Symbol 920 Button
on (release) {
gotoAndPlay (17);
}
Symbol 934 Button
on (release) {
gotoAndPlay (10);
}
Symbol 942 Button
on (release) {
gotoAndPlay (38);
}
on (release) {
stopAllSounds();
}
Symbol 944 Button
on (release) {
gotoAndPlay (357);
}
on (release) {
stopAllSounds();
}
Symbol 946 Button
on (release) {
gotoAndPlay (696);
}
on (release) {
stopAllSounds();
}
Symbol 948 Button
on (release) {
gotoAndPlay (940);
}
on (release) {
stopAllSounds();
}
Symbol 950 Button
on (release) {
gotoAndPlay (1090);
}
on (release) {
stopAllSounds();
}
Symbol 952 Button
on (release) {
gotoAndPlay (1743);
}
on (release) {
stopAllSounds();
}
Symbol 23891 Button
on (release) {
gotoAndPlay (3);
}
on (release) {
stopAllSounds();
}