Combined Code
frame 1 {
LOADED = Math.round(getBytesLoaded());
TOTAL = Math.round(getBytesTotal());
PERCENT = LOADED / TOTAL;
BAR._width = PERCENT * 150;
TEXT = Math.round(PERCENT * 100) + '%';
if (LOADED == TOTAL) {
gotoAndPlay(3);
}
}
movieClip 2 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
k = 0;
}
button 6 {
on (press) {
k = 1;
}
}
frame 26 {
if (k == 1) {
gotoAndPlay(99);
}
}
frame 50 {
if (k == 1) {
gotoAndPlay(99);
}
}
frame 74 {
if (k == 1) {
gotoAndPlay(99);
}
}
frame 98 {
gotoAndPlay(3);
if (k == 1) {
gotoAndPlay(99);
}
}
frame 162 {
kk = 0;
}
button 181 {
on (press) {
kk = 1;
}
}
frame 176 {
gotoAndPlay(162);
if (kk == 1) {
gotoAndPlay(177);
}
}
frame 411 {
gotoAndPlay(3);
}