Combined Code
frame 1 {
stopAllSounds();
play();
load = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
bar._width = load * 2;
setProperty('bar', _width, load * 2);
bar._width = load * 2;
setProperty('bar', _width, load * 2);
}
movieClip 1 {
}
movieClip 4 {
}
movieClip 6 {
}
frame 2 {
stopAllSounds();
play();
if (load != 100) {
gotoAndPlay(1);
} else {
gotoAndPlay(3);
}
}
frame 3 {
stopAllSounds();
stop();
}
frame 3 {
gotoAndPlay(4);
}
movieClip 8 {
}
button 10 {
on (press) {
play();
}
}
frame 4 {
stop();
}
movieClip 16 {
}
movieClip 15 {
}