Frame 1
stop();
Instance of Symbol 5 MovieClip "loader" in Frame 1
onClipEvent (enterFrame) {
var total = _root.getBytesTotal();
var totalLoaded = _root.getBytesLoaded();
var percent = int((totalLoaded / total) * 100);
if (percent == 100) {
this.loadtxt = "Loading Done !";
_root.play();
delete this.onEnterFrame;
} else {
this.loadtxt = ("Loading ... (" + percent) + "%)";
}
}
Frame 2
var movievar = 1;
stop();
Instance of Symbol 13 MovieClip "txt" in Frame 2
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._y = cy + (Math.random() * 3);
}
Symbol 2 MovieClip [weinen] Frame 120
var fspeed = 5;
if (_root.movievar == 1) {
_root.attachMovie("weinen", _root.movievar, _root.getNextHighestDepth());
_root.movievar = 2;
this.swapDepths(_root.getNextHighestDepth());
_root.txt.swapDepths(_root.getNextHighestDepth());
this.onEnterFrame = function () {
if (this._alpha < 0) {
this._alpha = 0;
this.removeMovieClip();
delete this.onEnterFrame;
} else {
this._alpha = this._alpha - fspeed;
}
};
} else {
_root.attachMovie("weinen", _root.movievar, _root.getNextHighestDepth());
_root.movievar = 1;
this.swapDepths(_root.getNextHighestDepth());
_root.txt.swapDepths(_root.getNextHighestDepth());
this.onEnterFrame = function () {
if (this._alpha < 0) {
this._alpha = 0;
this.removeMovieClip();
delete this.onEnterFrame;
} else {
this._alpha = this._alpha - fspeed;
}
};
}
Symbol 11 Button
on (release) {
getURL ("http://www.xblaze.de/", "_blank");
}