Combined Code
frame 1 {
stop();
}
frame 1 {
stop();
_quality = 'BEST';
Stage.scaleMode = 'noScale';
onEnterFrame = function () {
LB = getBytesLoaded();
TB = getBytesTotal();
PC = (LB / TB) * 100;
loaderbar.setbar(PC);
if (TB > 4 && PC == 100) {
delete onEnterFrame;
gotoAndPlay('initialize');
}
};
}
movieClip 2 {
}
movieClip 4 {
}
movieClip 5 {
}
movieClip 6 {
frame 1 {
function setbar(PC) {
if (PC <= 50) {
s2.mask._rotation = 0;
s1.mask._rotation = 180 * (PC / 50);
} else {
s1.mask._rotation = 180;
s2.mask._rotation = 180 * ((PC - 50) / 50);
}
}
}
}
frame 2 {
stop();
}
button 14 {
on (release) {
_root.main_mc.gotoAndStop('image1');
}
}
button 17 {
on (release) {
_root.main_mc.gotoAndStop('image2');
}
}
button 20 {
on (release) {
_root.main_mc.gotoAndStop('image3');
}
}
button 21 {
on (release) {
_root.main_mc.gotoAndStop('image4');
}
}
button 22 {
on (release) {
_root.main_mc.gotoAndStop('image5');
}
}
movieClip 31 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}