Combined Code
frame 1 {
}
frame 1 {
var i = 0;
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadBar._width = getPercent * 480;
_root.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
}
movieClip 6 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
}
frame 3 {
stop();
var j = 80;
k = 0;
p = 0;
c = 0;
t1 = 0;
t2 = 0;
k = j * 1;
}
button 10 {
on (release) {
j += 20;
k = j * 1;
}
}
button 12 {
on (release) {
j -= 20;
k = j * 1;
}
}
button 17 {
on (release) {
p = 1;
c = j / 2;
gotoAndPlay(4);
}
}
button 19 {
on (release) {
p = 0;
gotoAndPlay(4);
}
}
frame 4 {
if (p == 1) {
_root.bNext._visible = 0;
} else {
_root.bNext._visible = 1;
}
}
button 23 {
on (release) {
if (p == 0) {
i = 1;
}
}
}
frame 33 {
if (i == 0) {
if (p == 0) {
gotoAndPlay(4);
}
}
}
frame 33 {
if (p == 1) {
if (t1 < c) {
t1 += 1;
gotoAndPlay(4);
} else {}
}
}
frame 39 {
if (p == 1) {
_root.bCum._visible = 0;
} else {
_root.bCum._visible = 1;
}
}
button 96 {
on (release) {
if (p == 0) {
i = 2;
}
}
}
frame 54 {
if (i == 1) {
if (p == 0) {
gotoAndPlay(39);
}
}
}
frame 54 {
if (p == 1) {
if (t2 < c) {
t2 += 1;
gotoAndPlay(39);
} else {}
}
}
frame 145 {
stop();
i = 0;
}
button 311 {
on (release) {
gotoAndPlay(3);
}
}