Frame 1
top.swapDepths(1500);
bottom.swapDepths(1501);
duplicateMovieClip (kalla2, "huvud0", 17384);
duplicateMovieClip (kalla2, "huvud1", 17386);
duplicateMovieClip (kalla2, "huvud2", 17385);
i = 0;
while (i < 3) {
if ((i % 2) == 1) {
this["huvud" + i].gotoAndStop(21);
} else {
this["huvud" + i].gotoAndStop(1);
}
i++;
}
antaliringen = 60;
i = 0;
while (i < antaliringen) {
duplicateMovieClip (kalla3, "ring" + i, 16384 + (100 + i));
duplicateMovieClip (kalla3, "ringb" + i, 16384 + (200 + i));
if ((i % 2) == 1) {
this["ring" + i].gotoAndPlay(21);
this["ringb" + i].gotoAndPlay(21);
}
i++;
}
delring = 6.28319 / antaliringen;
ringradiex = 85;
ringradiey = 65;
steg = 0;
speed = 0.1;
antal = 0;
maxantal = 30;
startradie = 300;
radie = startradie;
targetradie = 145;
lifetimes = new Array();
fadetid = 25;
onEnterFrame = function () {
steg++;
if (antal < maxantal) {
duplicateMovieClip (kalla, "f" + antal, 16384 + antal);
if ((antal % 2) == 1) {
this["f" + antal].gotoAndStop(21);
} else {
this["f" + antal].gotoAndStop(1);
}
del = 6.28319 / (antal + 1);
radie = targetradie + ((startradie - targetradie) * (1 - ((antal + 1) / maxantal)));
lifetimes[antal] = 0;
antal++;
i = 0;
while (i < 3) {
this["huvud" + i]._alpha = (100 * antal) / maxantal;
this["huvud" + i]._xscale = (100 * antal) / maxantal;
i++;
}
if (antal <= (maxantal / 2)) {
top._y = (37.5 * antal) / (maxantal / 2);
bottom._y = 400 - ((37.5 * antal) / (maxantal / 2));
}
}
i = 0;
while (i < antal) {
this["f" + i]._rotation = this["f" + i]._rotation + 10;
denna = del * i;
this["f" + i]._x = 275 + (Math.cos(denna + (steg * speed)) * ((radie * 0.9) + ((radie * 0.1) * Math.cos((steg * speed) * 2))));
this["f" + i]._y = 200 + (Math.sin(denna + (steg * speed)) * ((radie * 0.9) + ((radie * 0.1) * Math.sin((steg * speed) * 2))));
if ((i % 2) == 1) {
this["f" + i]._xscale = 50 + (Math.cos((steg * speed) * 2) * 5);
this["f" + i]._yscale = 50 + (Math.cos((steg * speed) * 2) * 5);
} else {
this["f" + i]._xscale = 50 + (Math.cos(3.14159 + ((steg * speed) * 2)) * 5);
this["f" + i]._yscale = 50 + (Math.cos(3.14159 + ((steg * speed) * 2)) * 5);
}
if (this["f" + i]._alpha < 100) {
if (lifetimes[i] != 100) {
lifetimes[i] = (100 * antal) / maxantal;
}
this["f" + i]._alpha = (lifetimes[i] * antal) / maxantal;
}
i++;
}
if ((steg > (maxantal / 2)) && (steg <= (maxantal * 1.5))) {
anv = steg - (maxantal / 2);
i = 0;
while (i < antaliringen) {
if (i > (antaliringen * 0.5)) {
this["ring" + i]._alpha = (10 * anv) / (maxantal * 0.5);
this["ringb" + i]._alpha = (100 * anv) / (maxantal * 0.5);
} else {
this["ring" + i]._alpha = (100 * anv) / (maxantal * 0.5);
this["ringb" + i]._alpha = (10 * anv) / (maxantal * 0.5);
}
i++;
}
}
i = 0;
while (i < antaliringen) {
denna = delring * i;
this["ring" + i]._x = 275 + (Math.cos(denna + ((steg * speed) * 0.1)) * ringradiex);
this["ring" + i]._y = 200 + (Math.sin(denna + ((steg * speed) * 0.2)) * ringradiey);
this["ring" + i]._xscale = 14 + (Math.cos((3.14159 + denna) + ((steg * speed) * 2)) * 7);
this["ring" + i]._yscale = 14 + (Math.sin((3.14159 + denna) + ((steg * speed) * 2)) * 7);
this["ringb" + i]._x = 275 + (Math.cos(denna + ((steg * speed) * 0.2)) * ringradiex);
this["ringb" + i]._y = 200 + (Math.sin(denna + ((steg * speed) * 0.1)) * ringradiey);
this["ringb" + i]._xscale = this["ring" + i]._xscale;
this["ringb" + i]._yscale = this["ring" + i]._yscale;
i++;
}
huvud0._x = (220 + (6 * Math.random())) - 6;
huvud1._x = (275 + (6 * Math.random())) - 6;
huvud2._x = (330 + (6 * Math.random())) - 6;
i = 0;
for(;;){
if (i >= 3) {
return(undefined);
}
this["huvud" + i]._y = (200 + (6 * Math.random())) - 6;
i++;
};
};
Symbol 1 MovieClip [UIComponentExtensions] Frame 1
#initclip 5
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 4 MovieClip [FocusRect] Frame 1
#initclip 4
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 7 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 8 MovieClip Frame 1
#initclip 3
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
#endinitclip
Symbol 9 MovieClip [Defaults] Frame 1
#initclip 1
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 10 MovieClip [UIObjectExtensions] Frame 1
#initclip 2
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 11 MovieClip [UIObject] Frame 1
stop();
Symbol 12 MovieClip [FocusManager] Frame 1
stop();
Symbol 13 MovieClip [UIComponent] Frame 1
stop();
Symbol 14 MovieClip [Border] Frame 1
stop();
Symbol 15 MovieClip [RectBorder] Frame 1
stop();
Symbol 18 MovieClip [TextInput] Frame 1
stop();
Symbol 24 MovieClip Frame 41
gotoAndPlay (1);
Symbol 42 Button
on (release) {
gotoAndPlay (3);
}
Symbol 62 MovieClip Frame 1
if (_parent._parent.windowopen == true) {
gotoAndStop (3);
}
Symbol 62 MovieClip Frame 2
gotoAndPlay (1);
Symbol 63 MovieClip Frame 25
stop();
Symbol 64 MovieClip Frame 1
function goVisit(url, inwindow) {
visit = url.split("%20").join("+");
visit = visit.split("%2E").join(".");
visit = visit.split("%2D").join("-");
visit = visit.split("%5F").join("_");
visit = visit.split("%2A").join("*");
if (inwindow) {
gotoAndPlay (3);
return(undefined);
}
gotoAndPlay (2);
}
stop();
visit = "";
windowopen = false;
Symbol 64 MovieClip Frame 2
getURL (visit, "_top");
stop();
Symbol 64 MovieClip Frame 3
windowopen = true;
getURL (visit, "_blank");
Symbol 64 MovieClip Frame 4
stop();