Frame 2
if (this.getBytesLoaded() != this.getBytesTotal()) {
gotoAndPlay(_currentframe - 1);
}
Frame 3
loadMovieNum ("tube.swf", 1);
stop();
Frame 10
stop();
_global.started = 1;
_level1.play();
Symbol 5 MovieClip Frame 1
cnt = 0;
while (cnt < 10) {
this.attachMovie("bar", "b" + cnt, cnt + 10);
obj = this["b" + cnt];
obj._x = cnt * 4;
obj._y = 30;
obj.maxF = 12;
obj.F = cnt;
obj.onEnterFrame = function () {
this._yscale = int(Math.random() * 150);
this.F++;
if (this.F > this.maxF) {
this.F = 0;
}
};
cnt++;
}
this.onEnterFrame = function () {
this.loading.text = int((_level1.getBytesLoaded() / _level1.getBytesTotal()) * 100) + "%";
if ((_level1.getBytesLoaded() == _level1.getBytesTotal()) and (_level1.getBytesTotal() > 1000)) {
for (o in this) {
o.onEnterFrame = null;
}
this._parent.gotoAndPlay(3);
}
};