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 glow = (new flash.filters.GlowFilter(0, 1, 21, 21, 1.55, 3, true, false));
var movievar = 1;
stop();
Instance of Symbol 2 MovieClip [f] in Frame 2
onClipEvent (load) {
cx = this._x - 2.5;
cy = this._y - 1;
}
onClipEvent (enterFrame) {
this._x = cx + (1 + (Math.random() * 2));
this._y = cy + (Math.random() * 1);
}
Instance of Symbol 13 MovieClip "txt" in Frame 2
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (1 + (Math.random() * 3));
this._y = cy + (Math.random() * 3);
}
Instance of Symbol 14 MovieClip "s" in Frame 2
onClipEvent (load) {
cx = this._x - 2.5;
cy = this._y - 1;
}
onClipEvent (enterFrame) {
this._x = cx + (1 + (Math.random() * 2));
this._y = cy + (Math.random() * 1);
}
Symbol 2 MovieClip [f] Frame 15
var fspeed = 5;
if (_root.movievar == 1) {
_root.attachMovie("f", _root.movievar, _root.getNextHighestDepth());
_root.movievar.filters = glow;
_root.movievar = 2;
this.swapDepths(_root.getNextHighestDepth());
_root.txt.swapDepths(_root.getNextHighestDepth());
_root.s.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("f", _root.movievar, _root.getNextHighestDepth());
_root.movievar.filters = glow;
_root.movievar = 1;
this.swapDepths(_root.getNextHighestDepth());
_root.txt.swapDepths(_root.getNextHighestDepth());
_root.s.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");
}