Combined Code
frame 1 {
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 9 {
frame 1 {
sBar._width = 500 * (_root._currentframe / _root._totalframes);
}
instance of movieClip 8 {
onClipEvent (mouseDown) {
var pos;
if (_ymouse > 0 && _ymouse <= 50 && _xmouse > 0 && _xmouse <= 500) {
pos = (_xmouse / 500) * _root._totalframes;
_parent.sBar._width = _xmouse;
_parent.sBar._x = 0;
_root.gotoAndPlay(int(pos));
}
}
}
}
button 11 {
on (release) {
play();
}
}
button 12 {
on (release) {
stop();
}
}
frame 2 {
if (bytes_loaded == bytes) {
_root.gotoAndStop(3);
} else {
_root.gotoAndPlay(1);
_level0.sizeloaded = Math.round((bytes_loaded / bytes) * 100) + '%';
}
}
frame 3 {
stop();
}
frame 3418 {
stop();
}