Instance of Symbol 1 MovieClip "SingleSwfPreloaderPage" in Frame 1
onClipEvent (load) {
}
Frame 2
pageHistoryArray = ["Seite1"];
loadedSoundsArray = [];
soundAssetName = "owl_city_fireflies_yhmme_8bit_remix_wav.swf";
var temp = new Object();
temp.levelReference = new Object();
temp.levelReference.soundObj = new Sound(_root);
temp.levelReference.soundObj.attachSound(soundAssetName);
temp.levelReference.soundObj.isPlaying = false;
temp.soundFileName = soundAssetName;
temp.levelReference.StartEternalLoop = function () {
soundObj.start(startPos / 1000, 1000000);
};
_level0.loadedSoundsArray.push(temp);
stop();
Instance of Symbol 4 MovieClip "Seite1" in Frame 2
onClipEvent (load) {
}
Symbol 1 MovieClip Frame 1
isFirstShownPage = false;
Symbol 1 MovieClip Frame 3
play();
Symbol 1 MovieClip Frame 7
preloaderPath = "_root.SingleSwfPreloaderPage.preloader";
var fileBytesTotal = _root.getBytesTotal();
var fileBytesLoaded = _root.getBytesLoaded();
var fileLoadCompletionValue;
if (fileBytesLoaded >= fileBytesTotal) {
fileLoadCompletionValue = 1;
} else {
fileLoadCompletionValue = fileBytesLoaded / fileBytesTotal;
}
if (fileLoadCompletionValue != 1) {
var preloaderGif = eval (preloaderPath);
if (preloaderGif) {
preloaderGif._visible = true;
preloaderGif.StartIt();
preloaderGif.SetProgress(fileLoadCompletionValue);
}
prevFrame();
play();
} else {
var preloaderGif = eval (preloaderPath);
if (preloaderGif) {
preloaderGif._visible = false;
preloaderGif.StopIt();
}
_visible = false;
stop();
}
Symbol 1 MovieClip Frame 8
_visible = false;
stop();
Symbol 11 Button
on (rollOver, rollOut, press, release) {
}
Instance of Symbol 16 MovieClip "MaskedPictureSprite" in Symbol 13 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 21 MovieClip "MaskedPictureSprite" in Symbol 18 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 26 MovieClip "MaskedPictureSprite" in Symbol 23 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 31 MovieClip "MaskedPictureSprite" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 36 MovieClip "MaskedPictureSprite" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 41 MovieClip "MaskedPictureSprite" in Symbol 38 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 4 MovieClip Frame 1
isFirstShownPage = true;
Symbol 4 MovieClip Frame 3
play();
Instance of Symbol 7 MovieClip "theToolTip" in Symbol 4 MovieClip Frame 4
onClipEvent (load) {
function SetText(newString) {
newString = String(newString);
var _local2;
while (true) {
_local2 = newString.indexOf("\r\n", _local2);
if (_local2 == -1) {
break;
}
var _local5 = newString.substr(0, _local2);
var _local4 = newString.substr(_local2 + 1);
newString = _local5 + _local4;
}
if (newString == textField) {
return(undefined);
}
this._width = 96;
var _local6 = new TextFormat();
_local6.font = "_sans";
_local6.align = "left";
_local6.bold = false;
_local6.bullet = false;
_local6.blockIndent = 0;
_local6.indent = 0;
_local6.italic = false;
_local6.kerning = true;
_local6.leading = 0;
_local6.leftMargin = 0;
_local6.letterSpacing = 0;
_local6.rightMargin = 0;
_local6.underline = false;
_local6.size = 11;
var _local7 = _local6.getTextExtent(newString);
this._width = _local7.textFieldWidth;
textField = newString;
}
function GetText() {
return(textField);
}
_visible = false;
}
onClipEvent (load) {
}
Symbol 4 MovieClip Frame 4
if (!_level0.delayedActionsQueue) {
_level0.delayedActionsQueue = new Array();
}
if (_level0.Seite1.currentCursorType ne "hand") {
if (_level0.Seite1.currentCursorType eq "none") {
Mouse.hide();
}
_root.Seite1.invisibleButton._visible = false;
}
fullAlpha = 100;
fullX = 0;
fullY = 0;
effectX = 0;
effectY = 0;
fullXscale = 100;
fullYscale = 100;
effectXscale = 1;
effectYscale = 1;
fullWidth = 783;
fullHeight = 398;
totalRotation = 0;
rotCenterX = 391;
rotCenterY = 199;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
_visible = isFirstShownPage;
visibleState = isFirstShownPage;
enableEffectOverlay = false;
Instance of Symbol 13 MovieClip "Seite1_HeadEr" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
maskWidth = 385;
maskHeight = 25;
bitmapWidth = 385;
bitmapHeight = 25;
wrapAroundX = false;
wrapAroundY = false;
beingDraggedNow = false;
fullWidth = 385;
fullHeight = 25;
originalWidth = 385;
originalHeight = 25;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
function XScroll(newXPos) {
MaskedPictureSprite._x = -newXPos;
}
function YScroll(newYPos) {
MaskedPictureSprite._y = -newYPos;
}
}
onClipEvent (load) {
isMouseTransp = false;
hitExact = true;
isHovered = false;
hasMouseCapture = false;
fullAlpha = 100;
_alpha = 100;
effectAlpha = 1;
fullX = _x;
fullY = _y;
effectX = 0;
effectY = 0;
fullXscale = _xscale;
fullYscale = _yscale;
effectXscale = 1;
effectYscale = 1;
rotCenterX = 0;
rotCenterY = 0;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
visibleState = true;
_visible = true;
runningActions = new Object();
runningActions.setPropertyActions = new Object();
toolTipText = "";
function OnMouseIn() {
}
function OnMouseOut() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseDown() {
}
function OnMouseUp() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseClick() {
}
function OnMouseDoubleClick() {
}
}
onClipEvent (enterFrame) {
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
}
onClipEvent (load) {
}
Instance of Symbol 18 MovieClip "Seite1_Invader1" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
maskWidth = 20;
maskHeight = 20;
bitmapWidth = 20;
bitmapHeight = 20;
wrapAroundX = false;
wrapAroundY = false;
beingDraggedNow = false;
fullWidth = 20;
fullHeight = 20;
originalWidth = 20;
originalHeight = 20;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
function XScroll(newXPos) {
MaskedPictureSprite._x = -newXPos;
}
function YScroll(newYPos) {
MaskedPictureSprite._y = -newYPos;
}
}
onClipEvent (load) {
isMouseTransp = false;
hitExact = true;
isHovered = false;
hasMouseCapture = false;
fullAlpha = 100;
_alpha = 100;
effectAlpha = 1;
fullX = _x;
fullY = _y;
effectX = 0;
effectY = 0;
fullXscale = _xscale;
fullYscale = _yscale;
effectXscale = 1;
effectYscale = 1;
rotCenterX = 0;
rotCenterY = 0;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
visibleState = true;
_visible = true;
runningActions = new Object();
runningActions.setPropertyActions = new Object();
toolTipText = "";
function OnMouseIn() {
}
function OnMouseOut() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseDown() {
}
function OnMouseUp() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseClick() {
}
function OnMouseDoubleClick() {
}
}
onClipEvent (enterFrame) {
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
}
onClipEvent (load) {
}
Instance of Symbol 23 MovieClip "Seite1_invader2" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
maskWidth = 20;
maskHeight = 20;
bitmapWidth = 20;
bitmapHeight = 20;
wrapAroundX = false;
wrapAroundY = false;
beingDraggedNow = false;
fullWidth = 20;
fullHeight = 20;
originalWidth = 20;
originalHeight = 20;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
function XScroll(newXPos) {
MaskedPictureSprite._x = -newXPos;
}
function YScroll(newYPos) {
MaskedPictureSprite._y = -newYPos;
}
}
onClipEvent (load) {
isMouseTransp = false;
hitExact = true;
isHovered = false;
hasMouseCapture = false;
fullAlpha = 100;
_alpha = 100;
effectAlpha = 1;
fullX = _x;
fullY = _y;
effectX = 0;
effectY = 0;
fullXscale = _xscale;
fullYscale = _yscale;
effectXscale = 1;
effectYscale = 1;
rotCenterX = 0;
rotCenterY = 0;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
visibleState = true;
_visible = true;
runningActions = new Object();
runningActions.setPropertyActions = new Object();
toolTipText = "";
function OnMouseIn() {
}
function OnMouseOut() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseDown() {
}
function OnMouseUp() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseClick() {
}
function OnMouseDoubleClick() {
}
}
onClipEvent (enterFrame) {
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
}
onClipEvent (load) {
}
Instance of Symbol 28 MovieClip "Seite1_invader3" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
maskWidth = 20;
maskHeight = 20;
bitmapWidth = 20;
bitmapHeight = 20;
wrapAroundX = false;
wrapAroundY = false;
beingDraggedNow = false;
fullWidth = 20;
fullHeight = 20;
originalWidth = 20;
originalHeight = 20;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
function XScroll(newXPos) {
MaskedPictureSprite._x = -newXPos;
}
function YScroll(newYPos) {
MaskedPictureSprite._y = -newYPos;
}
}
onClipEvent (load) {
isMouseTransp = false;
hitExact = true;
isHovered = false;
hasMouseCapture = false;
fullAlpha = 100;
_alpha = 100;
effectAlpha = 1;
fullX = _x;
fullY = _y;
effectX = 0;
effectY = 0;
fullXscale = _xscale;
fullYscale = _yscale;
effectXscale = 1;
effectYscale = 1;
rotCenterX = 0;
rotCenterY = 0;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
visibleState = true;
_visible = true;
runningActions = new Object();
runningActions.setPropertyActions = new Object();
toolTipText = "";
function OnMouseIn() {
}
function OnMouseOut() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseDown() {
}
function OnMouseUp() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseClick() {
}
function OnMouseDoubleClick() {
}
}
onClipEvent (enterFrame) {
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
}
onClipEvent (load) {
}
Instance of Symbol 33 MovieClip "Seite1_invader5" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
maskWidth = 20;
maskHeight = 20;
bitmapWidth = 20;
bitmapHeight = 20;
wrapAroundX = false;
wrapAroundY = false;
beingDraggedNow = false;
fullWidth = 20;
fullHeight = 20;
originalWidth = 20;
originalHeight = 20;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
function XScroll(newXPos) {
MaskedPictureSprite._x = -newXPos;
}
function YScroll(newYPos) {
MaskedPictureSprite._y = -newYPos;
}
}
onClipEvent (load) {
isMouseTransp = false;
hitExact = true;
isHovered = false;
hasMouseCapture = false;
fullAlpha = 100;
_alpha = 100;
effectAlpha = 1;
fullX = _x;
fullY = _y;
effectX = 0;
effectY = 0;
fullXscale = _xscale;
fullYscale = _yscale;
effectXscale = 1;
effectYscale = 1;
rotCenterX = 0;
rotCenterY = 0;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
visibleState = true;
_visible = true;
runningActions = new Object();
runningActions.setPropertyActions = new Object();
toolTipText = "";
function OnMouseIn() {
}
function OnMouseOut() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseDown() {
}
function OnMouseUp() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseClick() {
}
function OnMouseDoubleClick() {
}
}
onClipEvent (enterFrame) {
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
}
onClipEvent (load) {
}
Instance of Symbol 38 MovieClip "Seite1_lol01" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
maskWidth = 142;
maskHeight = 14;
bitmapWidth = 142;
bitmapHeight = 14;
wrapAroundX = false;
wrapAroundY = false;
beingDraggedNow = false;
fullWidth = 142;
fullHeight = 14;
originalWidth = 142;
originalHeight = 14;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
function XScroll(newXPos) {
MaskedPictureSprite._x = -newXPos;
}
function YScroll(newYPos) {
MaskedPictureSprite._y = -newYPos;
}
}
onClipEvent (load) {
isMouseTransp = false;
hitExact = true;
isHovered = false;
hasMouseCapture = false;
fullAlpha = 100;
_alpha = 100;
effectAlpha = 1;
fullX = _x;
fullY = _y;
effectX = 0;
effectY = 0;
fullXscale = _xscale;
fullYscale = _yscale;
effectXscale = 1;
effectYscale = 1;
rotCenterX = 0;
rotCenterY = 0;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
visibleState = true;
_visible = true;
runningActions = new Object();
runningActions.setPropertyActions = new Object();
toolTipText = "";
function OnMouseIn() {
}
function OnMouseOut() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseDown() {
}
function OnMouseUp() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseClick() {
}
function OnMouseDoubleClick() {
}
}
onClipEvent (enterFrame) {
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
}
onClipEvent (load) {
}
Instance of Symbol 42 MovieClip "Seite1_Yberschrift" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
fullWidth = 169;
fullHeight = 19;
originalWidth = 169;
originalHeight = 19;
function getBounds(targetCoordSpace) {
var minPt = new Object();
minPt.x = 0;
minPt.y = 0;
localToGlobal(minPt);
targetCoordSpace.globalToLocal(minPt);
var maxPt = new Object();
maxPt.x = fullWidth;
maxPt.y = fullHeight;
localToGlobal(maxPt);
targetCoordSpace.globalToLocal(maxPt);
var retObj = new Object();
retObj.xMin = minPt.x;
retObj.yMin = minPt.y;
retObj.xMax = maxPt.x;
retObj.yMax = maxPt.y;
delete minPt;
delete maxPt;
return(retObj);
}
}
onClipEvent (load) {
isMouseTransp = false;
hitExact = true;
isHovered = false;
hasMouseCapture = false;
fullAlpha = 100;
_alpha = 100;
effectAlpha = 1;
fullX = _x;
fullY = _y;
effectX = 0;
effectY = 0;
fullXscale = _xscale;
fullYscale = _yscale;
effectXscale = 1;
effectYscale = 1;
rotCenterX = 0;
rotCenterY = 0;
rotCenterCorrectionX = 0;
rotCenterCorrectionY = 0;
function GetVisibleState() {
return(visibleState);
}
function SetVisibleState(b) {
visibleState = b;
_visible = b;
}
function GetFullX() {
return(fullX);
}
function SetFullX(x) {
fullX = x;
}
function GetFullY() {
return(fullY);
}
function SetFullY(y) {
fullY = y;
}
function GetFullAlpha() {
return(fullAlpha);
}
function SetFullAlpha(a) {
fullAlpha = a;
}
function GetSize() {
return((100 * fullWidth) / originalWidth);
}
function SetSize(s) {
fullWidth = (originalWidth * s) / 100;
fullHeight = (originalHeight * s) / 100;
fullXscale = (fullYscale = (100 * fullWidth) / originalWidth);
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullWidth() {
return(fullWidth);
}
function SetFullWidth(w) {
fullXscale = (100 * w) / originalWidth;
fullWidth = w;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetFullHeight() {
return(fullHeight);
}
function SetFullHeight(h) {
fullYscale = (100 * h) / originalHeight;
fullHeight = h;
SetRotateCenter(rotCenterX_userVal, rotCenterY_userVal);
SetRotation(totalRotation);
}
function GetRotCenterX() {
return(rotCenterX_userVal);
}
function SetRotCenterX(x) {
SetRotateCenter(x, rotCenterY_userVal);
}
function GetRotCenterY() {
return(rotCenterY_userVal);
}
function SetRotCenterY(y) {
SetRotateCenter(rotCenterX_userVal, y);
}
function GetRotation() {
return(totalRotation);
}
function GetColor() {
return(objectClr);
}
function SetColor(c) {
var _local3 = (c & 16711680) >> 16;
var _local6 = (c & 65280) >> 8;
var _local4 = c & 255;
objectClr = c;
var _local5 = new Color(this);
_local5.setRGB(((_local4 << 16) + (_local6 << 8)) + _local3);
}
objectClr = 0;
function SetRotateCenter(x, y) {
rotCenterX_userVal = x;
rotCenterY_userVal = y;
rotCenterX = ((getBounds(this).xMin + (fullWidth / 2)) * effectXscale) + x;
rotCenterY = ((getBounds(this).yMin + (fullHeight / 2)) * effectYscale) + y;
origoToRotCenterDist = Math.sqrt((rotCenterX * rotCenterX) + (rotCenterY * rotCenterY));
if (!origoToRotCenterDist) {
origoToRotCenterAngle = 0;
} else if (rotCenterY >= 0) {
origoToRotCenterAngle = Math.acos(rotCenterX / origoToRotCenterDist);
} else {
origoToRotCenterAngle = -Math.acos(rotCenterX / origoToRotCenterDist);
}
}
function SetRotation(degrees) {
var _local1 = origoToRotCenterAngle + ((degrees * Math.PI) / 180);
var _local3 = Math.cos(_local1) * origoToRotCenterDist;
var _local2 = Math.sin(_local1) * origoToRotCenterDist;
rotCenterCorrectionX = rotCenterX - _local3;
rotCenterCorrectionY = rotCenterY - _local2;
totalRotation = degrees;
}
SetRotateCenter(0, 0);
SetRotation(0);
visibleState = true;
_visible = true;
runningActions = new Object();
runningActions.setPropertyActions = new Object();
toolTipText = "";
function OnMouseIn() {
}
function OnMouseOut() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseDown() {
}
function OnMouseUp() {
tellTarget (timerInstanceName) {
CancelTimer(timerEventId);
};
}
function OnMouseClick() {
}
function OnMouseDoubleClick() {
}
}
onClipEvent (enterFrame) {
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
}
onClipEvent (load) {
}
Instance of Symbol 45 MovieClip "Seite1_Aktion01" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
swfSoundFileName = "owl_city_fireflies_yhmme_8bit_remix_wav.swf";
streamingSound = false;
repeat = true;
cancelCurrentSounds = false;
function DoIt() {
if (streamingSound) {
var soundIsLoaded = false;
var i = (_level0.loadedSoundsArray.length - 1);
while (i >= 0) {
if (_level0.loadedSoundsArray[i].soundFileName == swfSoundFileName) {
soundIsLoaded = true;
_level0.loadedSoundsArray[i].levelReference.soundObj.loadSound(swfSoundFileName, true);
_level0.loadedSoundsArray[i].levelReference.soundObj.isPlaying = true;
break;
}
i--;
}
if (!soundIsLoaded) {
_level0.loadedSoundsArray.push(new Object());
_level0.loadedSoundsArray[_level0.loadedSoundsArray.length - 1].levelReference = new Object();
_level0.loadedSoundsArray[_level0.loadedSoundsArray.length - 1].levelReference.soundObj = new Sound();
_level0.loadedSoundsArray[_level0.loadedSoundsArray.length - 1].soundFileName = swfSoundFileName;
_level0.loadedSoundsArray[_level0.loadedSoundsArray.length - 1].isStreamingSound = true;
_level0.loadedSoundsArray[_level0.loadedSoundsArray.length - 1].levelReference.soundObj.loadSound(swfSoundFileName, true);
_level0.loadedSoundsArray[_level0.loadedSoundsArray.length - 1].levelReference.soundObj.isPlaying = true;
}
}
var i = 0;
while (i < _level0.loadedSoundsArray.length) {
if (_level0.loadedSoundsArray[i].soundFileName == swfSoundFileName) {
soundObjRef = _level0.loadedSoundsArray[i].levelReference.soundObj;
_level0.loadedSoundsArray[i].soundActionRef = this;
if (soundObjRef.isPlaying) {
if (!cancelCurrentSounds) {
return(undefined);
}
if (!streamingSound) {
StopIt();
}
}
if (!startPos) {
startPos = 0;
}
soundObjRef.onSoundComplete = this.SoundHasCompleted;
if (repeat) {
if (startPos == 0) {
soundObjRef.start(startPos / 1000, 1000000);
} else {
soundObjRef.onSoundComplete = _level0.loadedSoundsArray[i].levelReference.StartEternalLoop();
soundObjRef.start(startPos / 1000);
}
} else {
soundObjRef.start(startPos / 1000);
}
OnStart();
soundObjRef.isPlaying = true;
startPos = 0;
if (!cancelCurrentSounds) {
return;
}
} else if (cancelCurrentSounds) {
if (_level0.loadedSoundsArray[i].levelReference.soundObj.isPlaying) {
if (_level0.loadedSoundsArray[i].soundActionRef.soundObjRef) {
_level0.loadedSoundsArray[i].soundActionRef.StopIt();
} else if (_level0.loadedSoundsArray[i].isStreamingSound) {
_level0.loadedSoundsArray[i].levelReference.soundObj.loadSound("", false);
_level0.loadedSoundsArray[i].levelReference.soundObj.stop();
_level0.loadedSoundsArray.splice(i, 1);
i--;
} else {
_level0.loadedSoundsArray[i].levelReference.soundObj.stop();
_level0.loadedSoundsArray[i].levelReference.soundObj.isPlaying = false;
}
}
}
i++;
}
}
function SoundHasCompleted() {
StopIt();
}
function StartIt() {
DoIt();
}
function StopIt() {
if (soundObjRef) {
startPos = 0;
if (!streamingSound) {
soundObjRef.stop();
} else {
soundObjRef.loadSound("", false);
soundObjRef.stop();
var i = (_level0.loadedSoundsArray.length - 1);
while (i >= 0) {
if (_level0.loadedSoundsArray[i].soundFileName == swfSoundFileName) {
_level0.loadedSoundsArray.splice(i, 1);
soundObjRef = null;
OnStop();
return(undefined);
}
i--;
}
}
if (soundObjRef.isPlaying == true) {
soundObjRef.isPlaying = false;
OnStop();
}
}
}
function PauseIt() {
if (soundObjRef && (soundObjRef.isPlaying)) {
startPos = soundObjRef.position;
temp = soundObjRef.onSoundComplete;
soundObjRef.onSoundComplete = 0;
soundObjRef.stop();
soundObjRef.onSoundComplete = temp;
soundObjRef.isPlaying = false;
}
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 46 MovieClip "Seite1_Aktion02" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function GetDuration() {
return(6000);
}
actionTargetName = "_root.Seite1.Seite1_HeadEr";
actionIsRunning = false;
actionStartTime = "";
actionDuration = 6000;
repeat = true;
autoShow = false;
reverse = false;
followAngle = false;
useCurrentPosAsFirstPoint = false;
beginAtCurrentPos = false;
endAtCurrentPos = false;
velocType = 0;
function DoIt() {
if (show) {
var targetSprite = eval (actionTargetName);
trace("DoIt show, target = " + targetSprite);
trace("DoIt show, action = " + this);
trace("DoIt show, action parent = " + _parent);
}
var timeNow = getTimer();
if (EffectInit()) {
actionDuration = GetDuration();
actionStartTime = timeNow;
actionIsRunning = true;
}
}
function AniPoint(x, y, angle) {
this.ang = angle;
this.x = x;
this.y = y;
this.Distance = function (point) {
return(Math.sqrt(((this.x - point.x) * (this.x - point.x)) + ((this.y - point.y) * (this.y - point.y))));
};
}
function InitPointsArray() {
if (reverse) {
pointsArray.reverse();
}
pathLenght = 0;
pointsArray[0].lengthToPoint = 0;
i = 0;
while (i < (pointsArray.length - 1)) {
pathLength = pathLength + pointsArray[i].Distance(pointsArray[i + 1]);
pointsArray[i + 1].lengthToPoint = pathLength;
i++;
}
pointsArray[pointsArray.length - 1].lengthToPoint = pathLength;
}
function EffectInit() {
var targetSprite = eval (actionTargetName);
if (targetSprite.runningActions.animateActionObj) {
targetSprite.runningActions.animateActionObj.Cancel();
}
targetSprite.runningActions.animateActionObj = this;
if (autoShow) {
if (targetSprite.runningActions.hideActionObj) {
targetSprite.runningActions.hideActionObj.Cancel();
}
if (!targetSprite.visibleState) {
targetSprite.visibleState = true;
targetSprite.OnShow();
}
}
currentIndex = 0;
startPointUsed = false;
startDistance = 0;
offsetX = 0;
offsetY = 0;
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (useCurrentPosAsFirstPoint) {
startPoint = new AniPoint(targetSprite.fullX + origoToCenterOffsetX, targetSprite.fullY + origoToCenterOffsetY, 0);
startPointUsed = true;
startDistance = startPoint.Distance(pointsArray[0]);
startPoint.lengthToPoint = -startDistance;
pointsArray.splice(0, 0, startPoint);
} else if (beginAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[0].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[0].y;
} else if (endAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[pointsArray.length - 1].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[pointsArray.length - 1].y;
targetSprite.fullX = pointsArray[0].x + offsetX;
targetSprite.fullY = pointsArray[0].y + offsetY;
} else {
targetSprite.fullX = pointsArray[0].x - origoToCenterOffsetX;
targetSprite.fullY = pointsArray[0].y - origoToCenterOffsetY;
}
return(true);
}
function EffectFunc(effectCompletion) {
if (velocType == 1) {
effectCompletion = 0.5 - (Math.cos(effectCompletion * Math.PI) * 0.5);
} else if (velocType == 2) {
effectCompletion = ((Math.cos(effectCompletion * Math.PI) * 0.5) + (effectCompletion * 2)) - 0.5;
} else if (velocType == 3) {
effectCompletion = Math.pow(effectCompletion, 3);
} else if (velocType == 4) {
if (effectCompletion < 0.5) {
effectCompletion = Math.pow(effectCompletion, 3);
} else {
effectCompletion = (0.5 * effectCompletion) - 0.125;
}
effectCompletion = effectCompletion * 2.6667;
} else if (velocType == 5) {
if (effectCompletion < 0.3) {
effectCompletion = effectCompletion;
} else {
effectCompletion = effectCompletion + Math.pow(effectCompletion - 0.3, 2);
}
effectCompletion = effectCompletion / 1.49;
} else if (velocType == 6) {
if (effectCompletion < 0.4) {
effectCompletion = Math.pow(effectCompletion, 2);
} else if (0.8 < effectCompletion) {
effectCompletion = (effectCompletion + (effectCompletion - 0.8)) - 0.32;
} else {
effectCompletion = (0.8 * effectCompletion) - 0.16;
}
effectCompletion = effectCompletion * 1.136;
} else if (velocType == 7) {
effectCompletion = (-1 * Math.pow(1 - effectCompletion, 3)) + 1;
} else if (velocType == 8) {
effectCompletion = Math.sin((effectCompletion * Math.PI) / 2);
} else if (velocType == 9) {
effectCompletion = effectCompletion + (Math.sin(effectCompletion * Math.PI) * 0.3);
} else if (velocType == 10) {
effectCompletion = effectCompletion + (Math.cos((effectCompletion - 0.5) * Math.PI) * 0.3);
}
var targetSprite = eval (actionTargetName);
if (targetSprite.visibleState) {
targetSprite._visible = true;
}
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (effectCompletion >= 1) {
targetSprite.fullX = (pointsArray[pointsArray.length - 1].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[pointsArray.length - 1].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[pointsArray.length - 1].ang);
}
currentIndex = 0;
return(undefined);
}
lengthTraveled = effectCompletion * (pathLength + startDistance);
if (pointsArray.length == 1) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled < (pointsArray[currentIndex].lengthToPoint + startDistance)) {
currentIndex = 0;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
}
while (true) {
if (currentIndex == (pointsArray.length - 1)) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled >= (pointsArray[currentIndex + 1].lengthToPoint + startDistance)) {
} else {
break;
}
currentIndex++;
}
var segmentlength = (pointsArray[currentIndex + 1].lengthToPoint - pointsArray[currentIndex].lengthToPoint);
var segmentlengthTraveled = (lengthTraveled - (pointsArray[currentIndex].lengthToPoint + startDistance));
var seqmentFraction = (segmentlengthTraveled / segmentlength);
targetSprite.fullX = ((pointsArray[currentIndex].x + (seqmentFraction * (pointsArray[currentIndex + 1].x - pointsArray[currentIndex].x))) + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = ((pointsArray[currentIndex].y + (seqmentFraction * (pointsArray[currentIndex + 1].y - pointsArray[currentIndex].y))) + offsetY) - origoToCenterOffsetY;
if (followAngle) {
if (currentIndex < (pointsArray.length - 1)) {
var a = ((pointsArray[currentIndex].ang * (1 - seqmentFraction)) + (pointsArray[currentIndex + 1].ang * seqmentFraction));
targetSprite.SetRotation(a);
} else {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
}
}
function Cancel() {
if (actionIsRunning) {
OnStop();
}
actionIsRunning = false;
actionIsPaused = false;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
eval (actionTargetName).runningActions.animateActionObj = 0;
}
function StartIt() {
OnStart();
if (actionIsPaused) {
actionStartTime = actionStartTime + (getTimer() - pauseStartTime);
actionIsPaused = false;
} else {
DoIt();
}
}
function StopIt() {
Cancel();
}
function PauseIt() {
if (actionIsRunning && (!actionIsPaused)) {
actionIsPaused = true;
pauseStartTime = getTimer();
}
}
pointsArray = new Array();
currentIndex = 0;
pathLength = 0;
pointsArray = [new AniPoint(388, -91, 90.1020278930664), new AniPoint(387, 471, 90.1020278930664), new AniPoint(387, 471, 189.462188720703), new AniPoint(381, 470, 189.462188720703), new AniPoint(381, 470, 270.101867675781), new AniPoint(382, -92, 270.101867675781), new AniPoint(382, -92, 270.101867675781)];
(InitPointsArray());// not popped
}
onClipEvent (enterFrame) {
if (actionIsRunning && (!actionIsPaused)) {
var timeNow = getTimer();
var timePassed = (timeNow - actionStartTime);
if (actionDuration < timePassed) {
if (repeat) {
var numbOfDurationsPassed = Math.floor(timePassed / actionDuration);
actionStartTime = actionStartTime + (numbOfDurationsPassed * actionDuration);
timePassed = timeNow - actionStartTime;
} else {
EffectFunc(1);
Cancel();
return(undefined);
}
}
var completion = (timePassed / actionDuration);
if (completion >= 1) {
completion = 1;
}
EffectFunc(completion);
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 47 MovieClip "Seite1_Aktion07" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function GetDuration() {
return(50000);
}
actionTargetName = "_root.Seite1.Seite1_lol01";
actionIsRunning = false;
actionStartTime = "";
actionDuration = 50000;
repeat = true;
autoShow = false;
reverse = false;
followAngle = false;
useCurrentPosAsFirstPoint = false;
beginAtCurrentPos = false;
endAtCurrentPos = false;
velocType = 0;
function DoIt() {
if (show) {
var targetSprite = eval (actionTargetName);
trace("DoIt show, target = " + targetSprite);
trace("DoIt show, action = " + this);
trace("DoIt show, action parent = " + _parent);
}
var timeNow = getTimer();
if (EffectInit()) {
actionDuration = GetDuration();
actionStartTime = timeNow;
actionIsRunning = true;
}
}
function AniPoint(x, y, angle) {
this.ang = angle;
this.x = x;
this.y = y;
this.Distance = function (point) {
return(Math.sqrt(((this.x - point.x) * (this.x - point.x)) + ((this.y - point.y) * (this.y - point.y))));
};
}
function InitPointsArray() {
if (reverse) {
pointsArray.reverse();
}
pathLenght = 0;
pointsArray[0].lengthToPoint = 0;
i = 0;
while (i < (pointsArray.length - 1)) {
pathLength = pathLength + pointsArray[i].Distance(pointsArray[i + 1]);
pointsArray[i + 1].lengthToPoint = pathLength;
i++;
}
pointsArray[pointsArray.length - 1].lengthToPoint = pathLength;
}
function EffectInit() {
var targetSprite = eval (actionTargetName);
if (targetSprite.runningActions.animateActionObj) {
targetSprite.runningActions.animateActionObj.Cancel();
}
targetSprite.runningActions.animateActionObj = this;
if (autoShow) {
if (targetSprite.runningActions.hideActionObj) {
targetSprite.runningActions.hideActionObj.Cancel();
}
if (!targetSprite.visibleState) {
targetSprite.visibleState = true;
targetSprite.OnShow();
}
}
currentIndex = 0;
startPointUsed = false;
startDistance = 0;
offsetX = 0;
offsetY = 0;
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (useCurrentPosAsFirstPoint) {
startPoint = new AniPoint(targetSprite.fullX + origoToCenterOffsetX, targetSprite.fullY + origoToCenterOffsetY, 0);
startPointUsed = true;
startDistance = startPoint.Distance(pointsArray[0]);
startPoint.lengthToPoint = -startDistance;
pointsArray.splice(0, 0, startPoint);
} else if (beginAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[0].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[0].y;
} else if (endAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[pointsArray.length - 1].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[pointsArray.length - 1].y;
targetSprite.fullX = pointsArray[0].x + offsetX;
targetSprite.fullY = pointsArray[0].y + offsetY;
} else {
targetSprite.fullX = pointsArray[0].x - origoToCenterOffsetX;
targetSprite.fullY = pointsArray[0].y - origoToCenterOffsetY;
}
return(true);
}
function EffectFunc(effectCompletion) {
if (velocType == 1) {
effectCompletion = 0.5 - (Math.cos(effectCompletion * Math.PI) * 0.5);
} else if (velocType == 2) {
effectCompletion = ((Math.cos(effectCompletion * Math.PI) * 0.5) + (effectCompletion * 2)) - 0.5;
} else if (velocType == 3) {
effectCompletion = Math.pow(effectCompletion, 3);
} else if (velocType == 4) {
if (effectCompletion < 0.5) {
effectCompletion = Math.pow(effectCompletion, 3);
} else {
effectCompletion = (0.5 * effectCompletion) - 0.125;
}
effectCompletion = effectCompletion * 2.6667;
} else if (velocType == 5) {
if (effectCompletion < 0.3) {
effectCompletion = effectCompletion;
} else {
effectCompletion = effectCompletion + Math.pow(effectCompletion - 0.3, 2);
}
effectCompletion = effectCompletion / 1.49;
} else if (velocType == 6) {
if (effectCompletion < 0.4) {
effectCompletion = Math.pow(effectCompletion, 2);
} else if (0.8 < effectCompletion) {
effectCompletion = (effectCompletion + (effectCompletion - 0.8)) - 0.32;
} else {
effectCompletion = (0.8 * effectCompletion) - 0.16;
}
effectCompletion = effectCompletion * 1.136;
} else if (velocType == 7) {
effectCompletion = (-1 * Math.pow(1 - effectCompletion, 3)) + 1;
} else if (velocType == 8) {
effectCompletion = Math.sin((effectCompletion * Math.PI) / 2);
} else if (velocType == 9) {
effectCompletion = effectCompletion + (Math.sin(effectCompletion * Math.PI) * 0.3);
} else if (velocType == 10) {
effectCompletion = effectCompletion + (Math.cos((effectCompletion - 0.5) * Math.PI) * 0.3);
}
var targetSprite = eval (actionTargetName);
if (targetSprite.visibleState) {
targetSprite._visible = true;
}
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (effectCompletion >= 1) {
targetSprite.fullX = (pointsArray[pointsArray.length - 1].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[pointsArray.length - 1].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[pointsArray.length - 1].ang);
}
currentIndex = 0;
return(undefined);
}
lengthTraveled = effectCompletion * (pathLength + startDistance);
if (pointsArray.length == 1) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled < (pointsArray[currentIndex].lengthToPoint + startDistance)) {
currentIndex = 0;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
}
while (true) {
if (currentIndex == (pointsArray.length - 1)) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled >= (pointsArray[currentIndex + 1].lengthToPoint + startDistance)) {
} else {
break;
}
currentIndex++;
}
var segmentlength = (pointsArray[currentIndex + 1].lengthToPoint - pointsArray[currentIndex].lengthToPoint);
var segmentlengthTraveled = (lengthTraveled - (pointsArray[currentIndex].lengthToPoint + startDistance));
var seqmentFraction = (segmentlengthTraveled / segmentlength);
targetSprite.fullX = ((pointsArray[currentIndex].x + (seqmentFraction * (pointsArray[currentIndex + 1].x - pointsArray[currentIndex].x))) + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = ((pointsArray[currentIndex].y + (seqmentFraction * (pointsArray[currentIndex + 1].y - pointsArray[currentIndex].y))) + offsetY) - origoToCenterOffsetY;
if (followAngle) {
if (currentIndex < (pointsArray.length - 1)) {
var a = ((pointsArray[currentIndex].ang * (1 - seqmentFraction)) + (pointsArray[currentIndex + 1].ang * seqmentFraction));
targetSprite.SetRotation(a);
} else {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
}
}
function Cancel() {
if (actionIsRunning) {
OnStop();
}
actionIsRunning = false;
actionIsPaused = false;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
eval (actionTargetName).runningActions.animateActionObj = 0;
}
function StartIt() {
OnStart();
if (actionIsPaused) {
actionStartTime = actionStartTime + (getTimer() - pauseStartTime);
actionIsPaused = false;
} else {
DoIt();
}
}
function StopIt() {
Cancel();
}
function PauseIt() {
if (actionIsRunning && (!actionIsPaused)) {
actionIsPaused = true;
pauseStartTime = getTimer();
}
}
pointsArray = new Array();
currentIndex = 0;
pathLength = 0;
pointsArray = [new AniPoint(-69, 77, -0.310711860656738), new AniPoint(853, 72, -0.310711860656738), new AniPoint(853, 72, 89.5489349365234), new AniPoint(855, 326, 89.5489349365234), new AniPoint(855, 326, 180.247360229492), new AniPoint(-71, 322, 180.247360229492), new AniPoint(-71, 322, 92.2648315429688), new AniPoint(-78, 499, 92.2648315429688), new AniPoint(-78, 499, 0.994621276855469), new AniPoint(210, 504, 0.994621276855469), new AniPoint(210, 504, -91.4321746826172), new AniPoint(196, -56, -91.4321746826172), new AniPoint(196, -56, -1.80873870849609), new AniPoint(576, -68, -1.80873870849609), new AniPoint(576, -68, 90.307014465332), new AniPoint(573, 492, 90.307014465332), new AniPoint(573, 492, -1.82151794433594), new AniPoint(856, 483, -1.82151794433594), new AniPoint(856, 483, -150.051956176758), new AniPoint(-83, -58, -150.051956176758), new AniPoint(-83, -58, -267.622985839844), new AniPoint(-105, 472, -267.622985839844), new AniPoint(-105, 472, -388.347564697266), new AniPoint(844, -40, -388.347534179688), new AniPoint(844, -40, -538.577331542969), new AniPoint(-82, -63, -538.577331542969), new AniPoint(-82, -63, -635.305053710938), new AniPoint(-69, 77, -635.305053710938), new AniPoint(-69, 77, -635.305053710938)];
(InitPointsArray());// not popped
}
onClipEvent (enterFrame) {
if (actionIsRunning && (!actionIsPaused)) {
var timeNow = getTimer();
var timePassed = (timeNow - actionStartTime);
if (actionDuration < timePassed) {
if (repeat) {
var numbOfDurationsPassed = Math.floor(timePassed / actionDuration);
actionStartTime = actionStartTime + (numbOfDurationsPassed * actionDuration);
timePassed = timeNow - actionStartTime;
} else {
EffectFunc(1);
Cancel();
return(undefined);
}
}
var completion = (timePassed / actionDuration);
if (completion >= 1) {
completion = 1;
}
EffectFunc(completion);
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 48 MovieClip "Seite1_Aktion06" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function GetDuration() {
return(6000);
}
actionTargetName = "_root.Seite1.Seite1_invader5";
actionIsRunning = false;
actionStartTime = "";
actionDuration = 6000;
repeat = true;
autoShow = false;
reverse = true;
followAngle = false;
useCurrentPosAsFirstPoint = false;
beginAtCurrentPos = false;
endAtCurrentPos = false;
velocType = 0;
function DoIt() {
if (show) {
var targetSprite = eval (actionTargetName);
trace("DoIt show, target = " + targetSprite);
trace("DoIt show, action = " + this);
trace("DoIt show, action parent = " + _parent);
}
var timeNow = getTimer();
if (EffectInit()) {
actionDuration = GetDuration();
actionStartTime = timeNow;
actionIsRunning = true;
}
}
function AniPoint(x, y, angle) {
this.ang = angle;
this.x = x;
this.y = y;
this.Distance = function (point) {
return(Math.sqrt(((this.x - point.x) * (this.x - point.x)) + ((this.y - point.y) * (this.y - point.y))));
};
}
function InitPointsArray() {
if (reverse) {
pointsArray.reverse();
}
pathLenght = 0;
pointsArray[0].lengthToPoint = 0;
i = 0;
while (i < (pointsArray.length - 1)) {
pathLength = pathLength + pointsArray[i].Distance(pointsArray[i + 1]);
pointsArray[i + 1].lengthToPoint = pathLength;
i++;
}
pointsArray[pointsArray.length - 1].lengthToPoint = pathLength;
}
function EffectInit() {
var targetSprite = eval (actionTargetName);
if (targetSprite.runningActions.animateActionObj) {
targetSprite.runningActions.animateActionObj.Cancel();
}
targetSprite.runningActions.animateActionObj = this;
if (autoShow) {
if (targetSprite.runningActions.hideActionObj) {
targetSprite.runningActions.hideActionObj.Cancel();
}
if (!targetSprite.visibleState) {
targetSprite.visibleState = true;
targetSprite.OnShow();
}
}
currentIndex = 0;
startPointUsed = false;
startDistance = 0;
offsetX = 0;
offsetY = 0;
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (useCurrentPosAsFirstPoint) {
startPoint = new AniPoint(targetSprite.fullX + origoToCenterOffsetX, targetSprite.fullY + origoToCenterOffsetY, 0);
startPointUsed = true;
startDistance = startPoint.Distance(pointsArray[0]);
startPoint.lengthToPoint = -startDistance;
pointsArray.splice(0, 0, startPoint);
} else if (beginAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[0].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[0].y;
} else if (endAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[pointsArray.length - 1].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[pointsArray.length - 1].y;
targetSprite.fullX = pointsArray[0].x + offsetX;
targetSprite.fullY = pointsArray[0].y + offsetY;
} else {
targetSprite.fullX = pointsArray[0].x - origoToCenterOffsetX;
targetSprite.fullY = pointsArray[0].y - origoToCenterOffsetY;
}
return(true);
}
function EffectFunc(effectCompletion) {
if (velocType == 1) {
effectCompletion = 0.5 - (Math.cos(effectCompletion * Math.PI) * 0.5);
} else if (velocType == 2) {
effectCompletion = ((Math.cos(effectCompletion * Math.PI) * 0.5) + (effectCompletion * 2)) - 0.5;
} else if (velocType == 3) {
effectCompletion = Math.pow(effectCompletion, 3);
} else if (velocType == 4) {
if (effectCompletion < 0.5) {
effectCompletion = Math.pow(effectCompletion, 3);
} else {
effectCompletion = (0.5 * effectCompletion) - 0.125;
}
effectCompletion = effectCompletion * 2.6667;
} else if (velocType == 5) {
if (effectCompletion < 0.3) {
effectCompletion = effectCompletion;
} else {
effectCompletion = effectCompletion + Math.pow(effectCompletion - 0.3, 2);
}
effectCompletion = effectCompletion / 1.49;
} else if (velocType == 6) {
if (effectCompletion < 0.4) {
effectCompletion = Math.pow(effectCompletion, 2);
} else if (0.8 < effectCompletion) {
effectCompletion = (effectCompletion + (effectCompletion - 0.8)) - 0.32;
} else {
effectCompletion = (0.8 * effectCompletion) - 0.16;
}
effectCompletion = effectCompletion * 1.136;
} else if (velocType == 7) {
effectCompletion = (-1 * Math.pow(1 - effectCompletion, 3)) + 1;
} else if (velocType == 8) {
effectCompletion = Math.sin((effectCompletion * Math.PI) / 2);
} else if (velocType == 9) {
effectCompletion = effectCompletion + (Math.sin(effectCompletion * Math.PI) * 0.3);
} else if (velocType == 10) {
effectCompletion = effectCompletion + (Math.cos((effectCompletion - 0.5) * Math.PI) * 0.3);
}
var targetSprite = eval (actionTargetName);
if (targetSprite.visibleState) {
targetSprite._visible = true;
}
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (effectCompletion >= 1) {
targetSprite.fullX = (pointsArray[pointsArray.length - 1].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[pointsArray.length - 1].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[pointsArray.length - 1].ang);
}
currentIndex = 0;
return(undefined);
}
lengthTraveled = effectCompletion * (pathLength + startDistance);
if (pointsArray.length == 1) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled < (pointsArray[currentIndex].lengthToPoint + startDistance)) {
currentIndex = 0;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
}
while (true) {
if (currentIndex == (pointsArray.length - 1)) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled >= (pointsArray[currentIndex + 1].lengthToPoint + startDistance)) {
} else {
break;
}
currentIndex++;
}
var segmentlength = (pointsArray[currentIndex + 1].lengthToPoint - pointsArray[currentIndex].lengthToPoint);
var segmentlengthTraveled = (lengthTraveled - (pointsArray[currentIndex].lengthToPoint + startDistance));
var seqmentFraction = (segmentlengthTraveled / segmentlength);
targetSprite.fullX = ((pointsArray[currentIndex].x + (seqmentFraction * (pointsArray[currentIndex + 1].x - pointsArray[currentIndex].x))) + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = ((pointsArray[currentIndex].y + (seqmentFraction * (pointsArray[currentIndex + 1].y - pointsArray[currentIndex].y))) + offsetY) - origoToCenterOffsetY;
if (followAngle) {
if (currentIndex < (pointsArray.length - 1)) {
var a = ((pointsArray[currentIndex].ang * (1 - seqmentFraction)) + (pointsArray[currentIndex + 1].ang * seqmentFraction));
targetSprite.SetRotation(a);
} else {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
}
}
function Cancel() {
if (actionIsRunning) {
OnStop();
}
actionIsRunning = false;
actionIsPaused = false;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
eval (actionTargetName).runningActions.animateActionObj = 0;
}
function StartIt() {
OnStart();
if (actionIsPaused) {
actionStartTime = actionStartTime + (getTimer() - pauseStartTime);
actionIsPaused = false;
} else {
DoIt();
}
}
function StopIt() {
Cancel();
}
function PauseIt() {
if (actionIsRunning && (!actionIsPaused)) {
actionIsPaused = true;
pauseStartTime = getTimer();
}
}
pointsArray = new Array();
currentIndex = 0;
pathLength = 0;
pointsArray = [new AniPoint(381, -130, 89.7255020141602), new AniPoint(384, 496, 89.7255020141602), new AniPoint(384, 496, 180.691528320313), new AniPoint(-113, 490, 180.691528320313), new AniPoint(-113, 490, 267.897338867188), new AniPoint(-134, -82, 267.897338867188), new AniPoint(-134, -82, 354.675201416016), new AniPoint(381, -130, 354.675201416016), new AniPoint(381, -130, 354.675201416016)];
(InitPointsArray());// not popped
}
onClipEvent (enterFrame) {
if (actionIsRunning && (!actionIsPaused)) {
var timeNow = getTimer();
var timePassed = (timeNow - actionStartTime);
if (actionDuration < timePassed) {
if (repeat) {
var numbOfDurationsPassed = Math.floor(timePassed / actionDuration);
actionStartTime = actionStartTime + (numbOfDurationsPassed * actionDuration);
timePassed = timeNow - actionStartTime;
} else {
EffectFunc(1);
Cancel();
return(undefined);
}
}
var completion = (timePassed / actionDuration);
if (completion >= 1) {
completion = 1;
}
EffectFunc(completion);
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 49 MovieClip "Seite1_Aktion05" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function GetDuration() {
return(8000);
}
actionTargetName = "_root.Seite1.Seite1_invader3";
actionIsRunning = false;
actionStartTime = "";
actionDuration = 8000;
repeat = true;
autoShow = false;
reverse = false;
followAngle = false;
useCurrentPosAsFirstPoint = false;
beginAtCurrentPos = false;
endAtCurrentPos = false;
velocType = 0;
function DoIt() {
if (show) {
var targetSprite = eval (actionTargetName);
trace("DoIt show, target = " + targetSprite);
trace("DoIt show, action = " + this);
trace("DoIt show, action parent = " + _parent);
}
var timeNow = getTimer();
if (EffectInit()) {
actionDuration = GetDuration();
actionStartTime = timeNow;
actionIsRunning = true;
}
}
function AniPoint(x, y, angle) {
this.ang = angle;
this.x = x;
this.y = y;
this.Distance = function (point) {
return(Math.sqrt(((this.x - point.x) * (this.x - point.x)) + ((this.y - point.y) * (this.y - point.y))));
};
}
function InitPointsArray() {
if (reverse) {
pointsArray.reverse();
}
pathLenght = 0;
pointsArray[0].lengthToPoint = 0;
i = 0;
while (i < (pointsArray.length - 1)) {
pathLength = pathLength + pointsArray[i].Distance(pointsArray[i + 1]);
pointsArray[i + 1].lengthToPoint = pathLength;
i++;
}
pointsArray[pointsArray.length - 1].lengthToPoint = pathLength;
}
function EffectInit() {
var targetSprite = eval (actionTargetName);
if (targetSprite.runningActions.animateActionObj) {
targetSprite.runningActions.animateActionObj.Cancel();
}
targetSprite.runningActions.animateActionObj = this;
if (autoShow) {
if (targetSprite.runningActions.hideActionObj) {
targetSprite.runningActions.hideActionObj.Cancel();
}
if (!targetSprite.visibleState) {
targetSprite.visibleState = true;
targetSprite.OnShow();
}
}
currentIndex = 0;
startPointUsed = false;
startDistance = 0;
offsetX = 0;
offsetY = 0;
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (useCurrentPosAsFirstPoint) {
startPoint = new AniPoint(targetSprite.fullX + origoToCenterOffsetX, targetSprite.fullY + origoToCenterOffsetY, 0);
startPointUsed = true;
startDistance = startPoint.Distance(pointsArray[0]);
startPoint.lengthToPoint = -startDistance;
pointsArray.splice(0, 0, startPoint);
} else if (beginAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[0].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[0].y;
} else if (endAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[pointsArray.length - 1].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[pointsArray.length - 1].y;
targetSprite.fullX = pointsArray[0].x + offsetX;
targetSprite.fullY = pointsArray[0].y + offsetY;
} else {
targetSprite.fullX = pointsArray[0].x - origoToCenterOffsetX;
targetSprite.fullY = pointsArray[0].y - origoToCenterOffsetY;
}
return(true);
}
function EffectFunc(effectCompletion) {
if (velocType == 1) {
effectCompletion = 0.5 - (Math.cos(effectCompletion * Math.PI) * 0.5);
} else if (velocType == 2) {
effectCompletion = ((Math.cos(effectCompletion * Math.PI) * 0.5) + (effectCompletion * 2)) - 0.5;
} else if (velocType == 3) {
effectCompletion = Math.pow(effectCompletion, 3);
} else if (velocType == 4) {
if (effectCompletion < 0.5) {
effectCompletion = Math.pow(effectCompletion, 3);
} else {
effectCompletion = (0.5 * effectCompletion) - 0.125;
}
effectCompletion = effectCompletion * 2.6667;
} else if (velocType == 5) {
if (effectCompletion < 0.3) {
effectCompletion = effectCompletion;
} else {
effectCompletion = effectCompletion + Math.pow(effectCompletion - 0.3, 2);
}
effectCompletion = effectCompletion / 1.49;
} else if (velocType == 6) {
if (effectCompletion < 0.4) {
effectCompletion = Math.pow(effectCompletion, 2);
} else if (0.8 < effectCompletion) {
effectCompletion = (effectCompletion + (effectCompletion - 0.8)) - 0.32;
} else {
effectCompletion = (0.8 * effectCompletion) - 0.16;
}
effectCompletion = effectCompletion * 1.136;
} else if (velocType == 7) {
effectCompletion = (-1 * Math.pow(1 - effectCompletion, 3)) + 1;
} else if (velocType == 8) {
effectCompletion = Math.sin((effectCompletion * Math.PI) / 2);
} else if (velocType == 9) {
effectCompletion = effectCompletion + (Math.sin(effectCompletion * Math.PI) * 0.3);
} else if (velocType == 10) {
effectCompletion = effectCompletion + (Math.cos((effectCompletion - 0.5) * Math.PI) * 0.3);
}
var targetSprite = eval (actionTargetName);
if (targetSprite.visibleState) {
targetSprite._visible = true;
}
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (effectCompletion >= 1) {
targetSprite.fullX = (pointsArray[pointsArray.length - 1].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[pointsArray.length - 1].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[pointsArray.length - 1].ang);
}
currentIndex = 0;
return(undefined);
}
lengthTraveled = effectCompletion * (pathLength + startDistance);
if (pointsArray.length == 1) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled < (pointsArray[currentIndex].lengthToPoint + startDistance)) {
currentIndex = 0;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
}
while (true) {
if (currentIndex == (pointsArray.length - 1)) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled >= (pointsArray[currentIndex + 1].lengthToPoint + startDistance)) {
} else {
break;
}
currentIndex++;
}
var segmentlength = (pointsArray[currentIndex + 1].lengthToPoint - pointsArray[currentIndex].lengthToPoint);
var segmentlengthTraveled = (lengthTraveled - (pointsArray[currentIndex].lengthToPoint + startDistance));
var seqmentFraction = (segmentlengthTraveled / segmentlength);
targetSprite.fullX = ((pointsArray[currentIndex].x + (seqmentFraction * (pointsArray[currentIndex + 1].x - pointsArray[currentIndex].x))) + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = ((pointsArray[currentIndex].y + (seqmentFraction * (pointsArray[currentIndex + 1].y - pointsArray[currentIndex].y))) + offsetY) - origoToCenterOffsetY;
if (followAngle) {
if (currentIndex < (pointsArray.length - 1)) {
var a = ((pointsArray[currentIndex].ang * (1 - seqmentFraction)) + (pointsArray[currentIndex + 1].ang * seqmentFraction));
targetSprite.SetRotation(a);
} else {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
}
}
function Cancel() {
if (actionIsRunning) {
OnStop();
}
actionIsRunning = false;
actionIsPaused = false;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
eval (actionTargetName).runningActions.animateActionObj = 0;
}
function StartIt() {
OnStart();
if (actionIsPaused) {
actionStartTime = actionStartTime + (getTimer() - pauseStartTime);
actionIsPaused = false;
} else {
DoIt();
}
}
function StopIt() {
Cancel();
}
function PauseIt() {
if (actionIsRunning && (!actionIsPaused)) {
actionIsPaused = true;
pauseStartTime = getTimer();
}
}
pointsArray = new Array();
currentIndex = 0;
pathLength = 0;
pointsArray = [new AniPoint(-108, 192, 0.64771556854248), new AniPoint(865, 203, 0.64771556854248), new AniPoint(865, 203, -89.8210296630859), new AniPoint(866, -117, -89.8210296630859), new AniPoint(866, -117, -180.76139831543), new AniPoint(-112, -104, -180.76139831543), new AniPoint(-112, -104, -270.774169921875), new AniPoint(-108, 192, -270.774169921875), new AniPoint(-108, 192, -270.774169921875)];
(InitPointsArray());// not popped
}
onClipEvent (enterFrame) {
if (actionIsRunning && (!actionIsPaused)) {
var timeNow = getTimer();
var timePassed = (timeNow - actionStartTime);
if (actionDuration < timePassed) {
if (repeat) {
var numbOfDurationsPassed = Math.floor(timePassed / actionDuration);
actionStartTime = actionStartTime + (numbOfDurationsPassed * actionDuration);
timePassed = timeNow - actionStartTime;
} else {
EffectFunc(1);
Cancel();
return(undefined);
}
}
var completion = (timePassed / actionDuration);
if (completion >= 1) {
completion = 1;
}
EffectFunc(completion);
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 50 MovieClip "Seite1_Aktion03" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function GetDuration() {
return(6000);
}
actionTargetName = "_root.Seite1.Seite1_Invader1";
actionIsRunning = false;
actionStartTime = "";
actionDuration = 6000;
repeat = true;
autoShow = false;
reverse = true;
followAngle = false;
useCurrentPosAsFirstPoint = false;
beginAtCurrentPos = false;
endAtCurrentPos = false;
velocType = 0;
function DoIt() {
if (show) {
var targetSprite = eval (actionTargetName);
trace("DoIt show, target = " + targetSprite);
trace("DoIt show, action = " + this);
trace("DoIt show, action parent = " + _parent);
}
var timeNow = getTimer();
if (EffectInit()) {
actionDuration = GetDuration();
actionStartTime = timeNow;
actionIsRunning = true;
}
}
function AniPoint(x, y, angle) {
this.ang = angle;
this.x = x;
this.y = y;
this.Distance = function (point) {
return(Math.sqrt(((this.x - point.x) * (this.x - point.x)) + ((this.y - point.y) * (this.y - point.y))));
};
}
function InitPointsArray() {
if (reverse) {
pointsArray.reverse();
}
pathLenght = 0;
pointsArray[0].lengthToPoint = 0;
i = 0;
while (i < (pointsArray.length - 1)) {
pathLength = pathLength + pointsArray[i].Distance(pointsArray[i + 1]);
pointsArray[i + 1].lengthToPoint = pathLength;
i++;
}
pointsArray[pointsArray.length - 1].lengthToPoint = pathLength;
}
function EffectInit() {
var targetSprite = eval (actionTargetName);
if (targetSprite.runningActions.animateActionObj) {
targetSprite.runningActions.animateActionObj.Cancel();
}
targetSprite.runningActions.animateActionObj = this;
if (autoShow) {
if (targetSprite.runningActions.hideActionObj) {
targetSprite.runningActions.hideActionObj.Cancel();
}
if (!targetSprite.visibleState) {
targetSprite.visibleState = true;
targetSprite.OnShow();
}
}
currentIndex = 0;
startPointUsed = false;
startDistance = 0;
offsetX = 0;
offsetY = 0;
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (useCurrentPosAsFirstPoint) {
startPoint = new AniPoint(targetSprite.fullX + origoToCenterOffsetX, targetSprite.fullY + origoToCenterOffsetY, 0);
startPointUsed = true;
startDistance = startPoint.Distance(pointsArray[0]);
startPoint.lengthToPoint = -startDistance;
pointsArray.splice(0, 0, startPoint);
} else if (beginAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[0].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[0].y;
} else if (endAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[pointsArray.length - 1].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[pointsArray.length - 1].y;
targetSprite.fullX = pointsArray[0].x + offsetX;
targetSprite.fullY = pointsArray[0].y + offsetY;
} else {
targetSprite.fullX = pointsArray[0].x - origoToCenterOffsetX;
targetSprite.fullY = pointsArray[0].y - origoToCenterOffsetY;
}
return(true);
}
function EffectFunc(effectCompletion) {
if (velocType == 1) {
effectCompletion = 0.5 - (Math.cos(effectCompletion * Math.PI) * 0.5);
} else if (velocType == 2) {
effectCompletion = ((Math.cos(effectCompletion * Math.PI) * 0.5) + (effectCompletion * 2)) - 0.5;
} else if (velocType == 3) {
effectCompletion = Math.pow(effectCompletion, 3);
} else if (velocType == 4) {
if (effectCompletion < 0.5) {
effectCompletion = Math.pow(effectCompletion, 3);
} else {
effectCompletion = (0.5 * effectCompletion) - 0.125;
}
effectCompletion = effectCompletion * 2.6667;
} else if (velocType == 5) {
if (effectCompletion < 0.3) {
effectCompletion = effectCompletion;
} else {
effectCompletion = effectCompletion + Math.pow(effectCompletion - 0.3, 2);
}
effectCompletion = effectCompletion / 1.49;
} else if (velocType == 6) {
if (effectCompletion < 0.4) {
effectCompletion = Math.pow(effectCompletion, 2);
} else if (0.8 < effectCompletion) {
effectCompletion = (effectCompletion + (effectCompletion - 0.8)) - 0.32;
} else {
effectCompletion = (0.8 * effectCompletion) - 0.16;
}
effectCompletion = effectCompletion * 1.136;
} else if (velocType == 7) {
effectCompletion = (-1 * Math.pow(1 - effectCompletion, 3)) + 1;
} else if (velocType == 8) {
effectCompletion = Math.sin((effectCompletion * Math.PI) / 2);
} else if (velocType == 9) {
effectCompletion = effectCompletion + (Math.sin(effectCompletion * Math.PI) * 0.3);
} else if (velocType == 10) {
effectCompletion = effectCompletion + (Math.cos((effectCompletion - 0.5) * Math.PI) * 0.3);
}
var targetSprite = eval (actionTargetName);
if (targetSprite.visibleState) {
targetSprite._visible = true;
}
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (effectCompletion >= 1) {
targetSprite.fullX = (pointsArray[pointsArray.length - 1].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[pointsArray.length - 1].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[pointsArray.length - 1].ang);
}
currentIndex = 0;
return(undefined);
}
lengthTraveled = effectCompletion * (pathLength + startDistance);
if (pointsArray.length == 1) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled < (pointsArray[currentIndex].lengthToPoint + startDistance)) {
currentIndex = 0;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
}
while (true) {
if (currentIndex == (pointsArray.length - 1)) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled >= (pointsArray[currentIndex + 1].lengthToPoint + startDistance)) {
} else {
break;
}
currentIndex++;
}
var segmentlength = (pointsArray[currentIndex + 1].lengthToPoint - pointsArray[currentIndex].lengthToPoint);
var segmentlengthTraveled = (lengthTraveled - (pointsArray[currentIndex].lengthToPoint + startDistance));
var seqmentFraction = (segmentlengthTraveled / segmentlength);
targetSprite.fullX = ((pointsArray[currentIndex].x + (seqmentFraction * (pointsArray[currentIndex + 1].x - pointsArray[currentIndex].x))) + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = ((pointsArray[currentIndex].y + (seqmentFraction * (pointsArray[currentIndex + 1].y - pointsArray[currentIndex].y))) + offsetY) - origoToCenterOffsetY;
if (followAngle) {
if (currentIndex < (pointsArray.length - 1)) {
var a = ((pointsArray[currentIndex].ang * (1 - seqmentFraction)) + (pointsArray[currentIndex + 1].ang * seqmentFraction));
targetSprite.SetRotation(a);
} else {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
}
}
function Cancel() {
if (actionIsRunning) {
OnStop();
}
actionIsRunning = false;
actionIsPaused = false;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
eval (actionTargetName).runningActions.animateActionObj = 0;
}
function StartIt() {
OnStart();
if (actionIsPaused) {
actionStartTime = actionStartTime + (getTimer() - pauseStartTime);
actionIsPaused = false;
} else {
DoIt();
}
}
function StopIt() {
Cancel();
}
function PauseIt() {
if (actionIsRunning && (!actionIsPaused)) {
actionIsPaused = true;
pauseStartTime = getTimer();
}
}
pointsArray = new Array();
currentIndex = 0;
pathLength = 0;
pointsArray = [new AniPoint(-52, 400, -25.4555625915527), new AniPoint(803, -7, -25.4555625915527), new AniPoint(803, -7, 81.9073638916016), new AniPoint(864, 422, 81.9073638916016), new AniPoint(864, 422, 177.33283996582), new AniPoint(-59, 465, 177.33283996582), new AniPoint(-59, 465, 276.146545410156), new AniPoint(-52, 400, 276.146545410156), new AniPoint(-52, 400, 276.146545410156)];
(InitPointsArray());// not popped
}
onClipEvent (enterFrame) {
if (actionIsRunning && (!actionIsPaused)) {
var timeNow = getTimer();
var timePassed = (timeNow - actionStartTime);
if (actionDuration < timePassed) {
if (repeat) {
var numbOfDurationsPassed = Math.floor(timePassed / actionDuration);
actionStartTime = actionStartTime + (numbOfDurationsPassed * actionDuration);
timePassed = timeNow - actionStartTime;
} else {
EffectFunc(1);
Cancel();
return(undefined);
}
}
var completion = (timePassed / actionDuration);
if (completion >= 1) {
completion = 1;
}
EffectFunc(completion);
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 51 MovieClip "Seite1_Aktion04" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function GetDuration() {
return(7000);
}
actionTargetName = "_root.Seite1.Seite1_invader2";
actionIsRunning = false;
actionStartTime = "";
actionDuration = 7000;
repeat = true;
autoShow = false;
reverse = false;
followAngle = false;
useCurrentPosAsFirstPoint = false;
beginAtCurrentPos = false;
endAtCurrentPos = false;
velocType = 0;
function DoIt() {
if (show) {
var targetSprite = eval (actionTargetName);
trace("DoIt show, target = " + targetSprite);
trace("DoIt show, action = " + this);
trace("DoIt show, action parent = " + _parent);
}
var timeNow = getTimer();
if (EffectInit()) {
actionDuration = GetDuration();
actionStartTime = timeNow;
actionIsRunning = true;
}
}
function AniPoint(x, y, angle) {
this.ang = angle;
this.x = x;
this.y = y;
this.Distance = function (point) {
return(Math.sqrt(((this.x - point.x) * (this.x - point.x)) + ((this.y - point.y) * (this.y - point.y))));
};
}
function InitPointsArray() {
if (reverse) {
pointsArray.reverse();
}
pathLenght = 0;
pointsArray[0].lengthToPoint = 0;
i = 0;
while (i < (pointsArray.length - 1)) {
pathLength = pathLength + pointsArray[i].Distance(pointsArray[i + 1]);
pointsArray[i + 1].lengthToPoint = pathLength;
i++;
}
pointsArray[pointsArray.length - 1].lengthToPoint = pathLength;
}
function EffectInit() {
var targetSprite = eval (actionTargetName);
if (targetSprite.runningActions.animateActionObj) {
targetSprite.runningActions.animateActionObj.Cancel();
}
targetSprite.runningActions.animateActionObj = this;
if (autoShow) {
if (targetSprite.runningActions.hideActionObj) {
targetSprite.runningActions.hideActionObj.Cancel();
}
if (!targetSprite.visibleState) {
targetSprite.visibleState = true;
targetSprite.OnShow();
}
}
currentIndex = 0;
startPointUsed = false;
startDistance = 0;
offsetX = 0;
offsetY = 0;
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (useCurrentPosAsFirstPoint) {
startPoint = new AniPoint(targetSprite.fullX + origoToCenterOffsetX, targetSprite.fullY + origoToCenterOffsetY, 0);
startPointUsed = true;
startDistance = startPoint.Distance(pointsArray[0]);
startPoint.lengthToPoint = -startDistance;
pointsArray.splice(0, 0, startPoint);
} else if (beginAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[0].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[0].y;
} else if (endAtCurrentPos) {
offsetX = (targetSprite.fullX + origoToCenterOffsetX) - pointsArray[pointsArray.length - 1].x;
offsety = (targetSprite.fullY + origoToCenterOffsetY) - pointsArray[pointsArray.length - 1].y;
targetSprite.fullX = pointsArray[0].x + offsetX;
targetSprite.fullY = pointsArray[0].y + offsetY;
} else {
targetSprite.fullX = pointsArray[0].x - origoToCenterOffsetX;
targetSprite.fullY = pointsArray[0].y - origoToCenterOffsetY;
}
return(true);
}
function EffectFunc(effectCompletion) {
if (velocType == 1) {
effectCompletion = 0.5 - (Math.cos(effectCompletion * Math.PI) * 0.5);
} else if (velocType == 2) {
effectCompletion = ((Math.cos(effectCompletion * Math.PI) * 0.5) + (effectCompletion * 2)) - 0.5;
} else if (velocType == 3) {
effectCompletion = Math.pow(effectCompletion, 3);
} else if (velocType == 4) {
if (effectCompletion < 0.5) {
effectCompletion = Math.pow(effectCompletion, 3);
} else {
effectCompletion = (0.5 * effectCompletion) - 0.125;
}
effectCompletion = effectCompletion * 2.6667;
} else if (velocType == 5) {
if (effectCompletion < 0.3) {
effectCompletion = effectCompletion;
} else {
effectCompletion = effectCompletion + Math.pow(effectCompletion - 0.3, 2);
}
effectCompletion = effectCompletion / 1.49;
} else if (velocType == 6) {
if (effectCompletion < 0.4) {
effectCompletion = Math.pow(effectCompletion, 2);
} else if (0.8 < effectCompletion) {
effectCompletion = (effectCompletion + (effectCompletion - 0.8)) - 0.32;
} else {
effectCompletion = (0.8 * effectCompletion) - 0.16;
}
effectCompletion = effectCompletion * 1.136;
} else if (velocType == 7) {
effectCompletion = (-1 * Math.pow(1 - effectCompletion, 3)) + 1;
} else if (velocType == 8) {
effectCompletion = Math.sin((effectCompletion * Math.PI) / 2);
} else if (velocType == 9) {
effectCompletion = effectCompletion + (Math.sin(effectCompletion * Math.PI) * 0.3);
} else if (velocType == 10) {
effectCompletion = effectCompletion + (Math.cos((effectCompletion - 0.5) * Math.PI) * 0.3);
}
var targetSprite = eval (actionTargetName);
if (targetSprite.visibleState) {
targetSprite._visible = true;
}
var origoToCenterOffsetX = (targetSprite.getBounds(targetSprite).xMin + (targetSprite.fullWidth / 2));
var origoToCenterOffsetY = (targetSprite.getBounds(targetSprite).yMin + (targetSprite.fullHeight / 2));
if (effectCompletion >= 1) {
targetSprite.fullX = (pointsArray[pointsArray.length - 1].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[pointsArray.length - 1].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[pointsArray.length - 1].ang);
}
currentIndex = 0;
return(undefined);
}
lengthTraveled = effectCompletion * (pathLength + startDistance);
if (pointsArray.length == 1) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled < (pointsArray[currentIndex].lengthToPoint + startDistance)) {
currentIndex = 0;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
}
while (true) {
if (currentIndex == (pointsArray.length - 1)) {
targetSprite.fullX = (pointsArray[currentIndex].x + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = (pointsArray[currentIndex].y + offsetY) - origoToCenterOffsetY;
if (followAngle) {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
return(undefined);
}
if (lengthTraveled >= (pointsArray[currentIndex + 1].lengthToPoint + startDistance)) {
} else {
break;
}
currentIndex++;
}
var segmentlength = (pointsArray[currentIndex + 1].lengthToPoint - pointsArray[currentIndex].lengthToPoint);
var segmentlengthTraveled = (lengthTraveled - (pointsArray[currentIndex].lengthToPoint + startDistance));
var seqmentFraction = (segmentlengthTraveled / segmentlength);
targetSprite.fullX = ((pointsArray[currentIndex].x + (seqmentFraction * (pointsArray[currentIndex + 1].x - pointsArray[currentIndex].x))) + offsetX) - origoToCenterOffsetX;
targetSprite.fullY = ((pointsArray[currentIndex].y + (seqmentFraction * (pointsArray[currentIndex + 1].y - pointsArray[currentIndex].y))) + offsetY) - origoToCenterOffsetY;
if (followAngle) {
if (currentIndex < (pointsArray.length - 1)) {
var a = ((pointsArray[currentIndex].ang * (1 - seqmentFraction)) + (pointsArray[currentIndex + 1].ang * seqmentFraction));
targetSprite.SetRotation(a);
} else {
targetSprite.SetRotation(pointsArray[currentIndex].ang);
}
}
}
function Cancel() {
if (actionIsRunning) {
OnStop();
}
actionIsRunning = false;
actionIsPaused = false;
if (startPointUsed) {
pointsArray.splice(0, 1);
startPointUsed = false;
startDistance = 0;
}
eval (actionTargetName).runningActions.animateActionObj = 0;
}
function StartIt() {
OnStart();
if (actionIsPaused) {
actionStartTime = actionStartTime + (getTimer() - pauseStartTime);
actionIsPaused = false;
} else {
DoIt();
}
}
function StopIt() {
Cancel();
}
function PauseIt() {
if (actionIsRunning && (!actionIsPaused)) {
actionIsPaused = true;
pauseStartTime = getTimer();
}
}
pointsArray = new Array();
currentIndex = 0;
pathLength = 0;
pointsArray = [new AniPoint(-90, -45, 29.0649681091309), new AniPoint(851, 478, 29.0649681091309), new AniPoint(851, 478, -91.8312835693359), new AniPoint(833, -85, -91.8312835693359), new AniPoint(833, -85, -182.481307983398), new AniPoint(-90, -45, -182.481307983398), new AniPoint(-90, -45, -182.481323242188)];
(InitPointsArray());// not popped
}
onClipEvent (enterFrame) {
if (actionIsRunning && (!actionIsPaused)) {
var timeNow = getTimer();
var timePassed = (timeNow - actionStartTime);
if (actionDuration < timePassed) {
if (repeat) {
var numbOfDurationsPassed = Math.floor(timePassed / actionDuration);
actionStartTime = actionStartTime + (numbOfDurationsPassed * actionDuration);
timePassed = timeNow - actionStartTime;
} else {
EffectFunc(1);
Cancel();
return(undefined);
}
}
var completion = (timePassed / actionDuration);
if (completion >= 1) {
completion = 1;
}
EffectFunc(completion);
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 52 MovieClip "pageStartAction" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function DoIt() {
_root.Seite1._parent.Seite1.DoIt();
_root.Seite1.Seite1_Aktion01.DoIt();
_root.Seite1.Seite1_Aktion02.DoIt();
_root.Seite1.Seite1_Aktion07.DoIt();
_root.Seite1.Seite1_Aktion06.DoIt();
_root.Seite1.Seite1_Aktion05.DoIt();
_root.Seite1.Seite1_Aktion03.DoIt();
_root.Seite1.Seite1_Aktion04.DoIt();
}
function StartIt() {
DoIt();
}
}
onClipEvent (unload) {
Cancel();
}
onClipEvent (load) {
}
Instance of Symbol 5 MovieClip "mouseTracker" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
EvntRecipArray = new Array();
EvntRecipArray["0"] = _root.Seite1.Seite1_HeadEr;
EvntRecipArray["1"] = _root.Seite1.Seite1_HeadEr.scrollBarVertical;
EvntRecipArray["2"] = _root.Seite1.Seite1_HeadEr.scrollBarVertical.SBButton1;
EvntRecipArray["3"] = _root.Seite1.Seite1_HeadEr.scrollBarVertical.SBButton2;
EvntRecipArray["4"] = _root.Seite1.Seite1_HeadEr.scrollBarVertical.SBSlider;
EvntRecipArray["5"] = _root.Seite1.Seite1_HeadEr.scrollBarHorizontal;
EvntRecipArray["6"] = _root.Seite1.Seite1_HeadEr.scrollBarHorizontal.SBButton1;
EvntRecipArray["7"] = _root.Seite1.Seite1_HeadEr.scrollBarHorizontal.SBButton2;
EvntRecipArray["8"] = _root.Seite1.Seite1_HeadEr.scrollBarHorizontal.SBSlider;
EvntRecipArray["9"] = _root.Seite1.Seite1_Invader1;
EvntRecipArray["10"] = _root.Seite1.Seite1_Invader1.scrollBarVertical;
EvntRecipArray["11"] = _root.Seite1.Seite1_Invader1.scrollBarVertical.SBButton1;
EvntRecipArray["12"] = _root.Seite1.Seite1_Invader1.scrollBarVertical.SBButton2;
EvntRecipArray["13"] = _root.Seite1.Seite1_Invader1.scrollBarVertical.SBSlider;
EvntRecipArray["14"] = _root.Seite1.Seite1_Invader1.scrollBarHorizontal;
EvntRecipArray["15"] = _root.Seite1.Seite1_Invader1.scrollBarHorizontal.SBButton1;
EvntRecipArray["16"] = _root.Seite1.Seite1_Invader1.scrollBarHorizontal.SBButton2;
EvntRecipArray["17"] = _root.Seite1.Seite1_Invader1.scrollBarHorizontal.SBSlider;
EvntRecipArray["18"] = _root.Seite1.Seite1_invader2;
EvntRecipArray["19"] = _root.Seite1.Seite1_invader2.scrollBarVertical;
EvntRecipArray["20"] = _root.Seite1.Seite1_invader2.scrollBarVertical.SBButton1;
EvntRecipArray["21"] = _root.Seite1.Seite1_invader2.scrollBarVertical.SBButton2;
EvntRecipArray["22"] = _root.Seite1.Seite1_invader2.scrollBarVertical.SBSlider;
EvntRecipArray["23"] = _root.Seite1.Seite1_invader2.scrollBarHorizontal;
EvntRecipArray["24"] = _root.Seite1.Seite1_invader2.scrollBarHorizontal.SBButton1;
EvntRecipArray["25"] = _root.Seite1.Seite1_invader2.scrollBarHorizontal.SBButton2;
EvntRecipArray["26"] = _root.Seite1.Seite1_invader2.scrollBarHorizontal.SBSlider;
EvntRecipArray["27"] = _root.Seite1.Seite1_invader3;
EvntRecipArray["28"] = _root.Seite1.Seite1_invader3.scrollBarVertical;
EvntRecipArray["29"] = _root.Seite1.Seite1_invader3.scrollBarVertical.SBButton1;
EvntRecipArray["30"] = _root.Seite1.Seite1_invader3.scrollBarVertical.SBButton2;
EvntRecipArray["31"] = _root.Seite1.Seite1_invader3.scrollBarVertical.SBSlider;
EvntRecipArray["32"] = _root.Seite1.Seite1_invader3.scrollBarHorizontal;
EvntRecipArray["33"] = _root.Seite1.Seite1_invader3.scrollBarHorizontal.SBButton1;
EvntRecipArray["34"] = _root.Seite1.Seite1_invader3.scrollBarHorizontal.SBButton2;
EvntRecipArray["35"] = _root.Seite1.Seite1_invader3.scrollBarHorizontal.SBSlider;
EvntRecipArray["36"] = _root.Seite1.Seite1_invader5;
EvntRecipArray["37"] = _root.Seite1.Seite1_invader5.scrollBarVertical;
EvntRecipArray["38"] = _root.Seite1.Seite1_invader5.scrollBarVertical.SBButton1;
EvntRecipArray["39"] = _root.Seite1.Seite1_invader5.scrollBarVertical.SBButton2;
EvntRecipArray["40"] = _root.Seite1.Seite1_invader5.scrollBarVertical.SBSlider;
EvntRecipArray["41"] = _root.Seite1.Seite1_invader5.scrollBarHorizontal;
EvntRecipArray["42"] = _root.Seite1.Seite1_invader5.scrollBarHorizontal.SBButton1;
EvntRecipArray["43"] = _root.Seite1.Seite1_invader5.scrollBarHorizontal.SBButton2;
EvntRecipArray["44"] = _root.Seite1.Seite1_invader5.scrollBarHorizontal.SBSlider;
EvntRecipArray["45"] = _root.Seite1.Seite1_lol01;
EvntRecipArray["46"] = _root.Seite1.Seite1_lol01.scrollBarVertical;
EvntRecipArray["47"] = _root.Seite1.Seite1_lol01.scrollBarVertical.SBButton1;
EvntRecipArray["48"] = _root.Seite1.Seite1_lol01.scrollBarVertical.SBButton2;
EvntRecipArray["49"] = _root.Seite1.Seite1_lol01.scrollBarVertical.SBSlider;
EvntRecipArray["50"] = _root.Seite1.Seite1_lol01.scrollBarHorizontal;
EvntRecipArray["51"] = _root.Seite1.Seite1_lol01.scrollBarHorizontal.SBButton1;
EvntRecipArray["52"] = _root.Seite1.Seite1_lol01.scrollBarHorizontal.SBButton2;
EvntRecipArray["53"] = _root.Seite1.Seite1_lol01.scrollBarHorizontal.SBSlider;
EvntRecipArray["54"] = _root.Seite1.Seite1_Yberschrift;
activated = false;
mouseIsCaptured = false;
function MoveMouseRecipientToTop(spriteToMoveRef) {
var _local3;
var _local4 = EvntRecipArray.length;
var _local2;
_local2 = 0;
while (_local2 < EvntRecipArray.length) {
if (EvntRecipArray[_local2] == spriteToMoveRef) {
_local3 = _local2;
} else if (_local3 != undefined) {
if (EvntRecipArray[_local2]._parent == this._parent) {
_local4 = _local2;
break;
}
}
_local2++;
}
if (_local3 != undefined) {
var _local6 = EvntRecipArray.slice(_local3, _local4);
EvntRecipArray.splice(_local3, _local4 - _local3);
EvntRecipArray = EvntRecipArray.concat(_local6);
}
}
function GetTopMostSpriteHitBy(hittingSprite) {
i = EvntRecipArray.length - 1;
while (i >= 0) {
if (((((EvntRecipArray[i]._parent != this._parent) || (EvntRecipArray[i] == hittingSprite)) || (EvntRecipArray[i].isMouseTransp)) || (!EvntRecipArray[i].visibleState)) || (!EvntRecipArray[i].OnDropOn)) {
} else if (EvntRecipArray[i].hitTest(hittingSprite.fullX + (hittingSprite.fullWidth / 2), hittingSprite.fullY + (hittingSprite.fullHeight / 2), EvntRecipArray[i].hitExact)) {
return(EvntRecipArray[i]);
}
i--;
}
return(undefined);
}
}
onClipEvent (enterFrame) {
if (!activated) {
return(undefined);
}
var delayedActionsQueueLength = _level0.delayedActionsQueue.length;
if ((xOld != _root._xmouse) || (yOld != _root._ymouse)) {
if (delayedActionsQueueLength <= 0) {
_parent.OnMouseMove();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push("_parent.OnMouseMove");
}
lastMoveTime = getTimer();
_parent.theToolTip._visible = false;
} else if ((!parent.theToolTip._visible) && (lastMoveTime != undefined)) {
var curTime = getTimer();
if ((curTime - lastMoveTime) > 500) {
var tipText = "";
i2 = EvntRecipArray.length - 1;
while (i2 >= 0) {
if (EvntRecipArray[i2].isHovered) {
tipText = EvntRecipArray[i2].toolTipText;
break;
}
i2--;
}
if ((tipText != "") && (tipText != undefined)) {
_parent.theToolTip.SetText(tipText);
if ((_root._xmouse + _parent.theToolTip._width) > _parent._width) {
_parent.theToolTip._x = _parent._width - _parent.theToolTip._width;
} else {
_parent.theToolTip._x = _root._xmouse;
}
if (((_root._ymouse + 22) + _parent.theToolTip._height) > _parent._height) {
_parent.theToolTip._y = (_root._ymouse - _parent.theToolTip._height) - 3;
} else {
_parent.theToolTip._y = _root._ymouse + 22;
}
_parent.theToolTip._visible = true;
} else {
lastMoveTime = undefined;
_parent.theToolTip._visible = false;
}
}
}
xOld = _root._xmouse;
yOld = _root._ymouse;
var mouseInObjArray = new Array();
var i2;
var propogateMouseEvent = true;
i2 = EvntRecipArray.length - 1;
while (i2 >= 0) {
if ((!EvntRecipArray[i2].visibleState) || (!EvntRecipArray[i2].hitTest(_root._xmouse, _root._ymouse, EvntRecipArray[i2].hitExact))) {
if (EvntRecipArray[i2].isHovered) {
EvntRecipArray[i2].isHovered = false;
if (delayedActionsQueueLength <= 0) {
EvntRecipArray[i2].OnMouseOut();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(EvntRecipArray[i2]._target + ".OnMouseOut");
}
updateAfterEvent();
}
} else if (propogateMouseEvent) {
if (!EvntRecipArray[i2].isHovered) {
mouseInObjArray.push(EvntRecipArray[i2]);
}
propogateMouseEvent = EvntRecipArray[i2].isMouseTransp;
} else if (EvntRecipArray[i2].isHovered) {
EvntRecipArray[i2].isHovered = false;
if (delayedActionsQueueLength <= 0) {
EvntRecipArray[i2].OnMouseOut();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(EvntRecipArray[i2]._target + ".OnMouseOut");
}
updateAfterEvent();
}
i2--;
}
i2 = 0;
while (i2 < mouseInObjArray.length) {
mouseInObjArray[i2].isHovered = true;
if (delayedActionsQueueLength <= 0) {
mouseInObjArray[i2].OnMouseIn();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(mouseInObjArray[i2]._target + ".OnMouseIn");
}
updateAfterEvent();
i2++;
}
mouseInObjArray = undefined;
}
onClipEvent (mouseDown) {
if (!activated) {
return(undefined);
}
var delayedActionsQueueLength = _level0.delayedActionsQueue.length;
lastMoveTime = undefined;
_parent.theToolTip._visible = false;
var i2;
var propogateMouseEvent = true;
if (mouseIsCaptured) {
i2 = EvntRecipArray.length - 1;
while (i2 >= 0) {
if (EvntRecipArray[i2].hasMouseCapture) {
if (delayedActionsQueueLength <= 0) {
EvntRecipArray[i2].OnMouseUp();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(EvntRecipArray[i2]._target + ".OnMouseUp");
}
EvntRecipArray[i2].hasMouseCapture = false;
}
i2--;
}
mouseIsCaptured = false;
}
i2 = EvntRecipArray.length - 1;
while (i2 >= 0) {
if (EvntRecipArray[i2].visibleState && (EvntRecipArray[i2].hitTest(_root._xmouse, _root._ymouse, EvntRecipArray[i2].hitExact))) {
if (propogateMouseEvent) {
EvntRecipArray[i2].hasMouseCapture = true;
if (delayedActionsQueueLength <= 0) {
EvntRecipArray[i2].OnMouseDown();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(EvntRecipArray[i2]._target + ".OnMouseDown");
}
var t = getTimer();
if ((t - EvntRecipArray[i2].lastMouseDownTime) < 400) {
EvntRecipArray[i2].lastMouseDownTime = 0;
if (delayedActionsQueueLength <= 0) {
EvntRecipArray[i2].OnMouseDoubleClick();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(EvntRecipArray[i2]._target + ".OnMouseDoubleClick");
}
} else {
EvntRecipArray[i2].lastMouseDownTime = t;
}
updateAfterEvent();
propogateMouseEvent = EvntRecipArray[i2].isMouseTransp;
mouseIsCaptured = true;
}
}
i2--;
}
}
onClipEvent (mouseUp) {
if (!activated) {
return(undefined);
}
var delayedActionsQueueLength = _level0.delayedActionsQueue.length;
lastMoveTime = undefined;
_parent.theToolTip._visible = false;
if (mouseIsCaptured) {
var propogateClick = true;
var i2;
i2 = EvntRecipArray.length - 1;
while (i2 >= 0) {
var hit = (propogateClick && (EvntRecipArray[i2].hitTest(_root._xmouse, _root._ymouse, EvntRecipArray[i2].hitExact)));
if (hit) {
propogateClick = EvntRecipArray[i2].isMouseTransp || (!EvntRecipArray[i2].visibleState);
}
if (EvntRecipArray[i2].hasMouseCapture) {
if (delayedActionsQueueLength <= 0) {
EvntRecipArray[i2].OnMouseUp();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(EvntRecipArray[i2]._target + ".OnMouseUp");
}
EvntRecipArray[i2].hasMouseCapture = false;
if ((!EvntRecipArray[i2].autoFireInterval) && (hit)) {
if (delayedActionsQueueLength <= 0) {
EvntRecipArray[i2].OnMouseClick();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(EvntRecipArray[i2]._target + ".OnMouseClick");
}
}
}
i2--;
}
updateAfterEvent();
}
mouseIsCaptured = false;
}
onClipEvent (enterFrame) {
if (!activated) {
return(undefined);
}
if (_level0.delayedActionsQueue.length > 0) {
var action = 0;
while (action < _level0.delayedActionsQueue[0].length) {
eval (_level0.delayedActionsQueue[0][action])();
action++;
}
_level0.delayedActionsQueue.shift();
}
var delayedActionsQueueLength = _level0.delayedActionsQueue.length;
var focus = Selection.getFocus();
if (focus == null) {
if (fieldWithFocus) {
if (delayedActionsQueueLength <= 0) {
fieldWithFocus.OnStop();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(fieldWithFocus._target + ".OnStop");
}
fieldWithFocus = 0;
}
} else {
var lastPeriod = focus.lastIndexOf(".");
var newFieldWithFocus = eval (focus.slice(0, lastPeriod));
if (newFieldWithFocus != fieldWithFocus) {
if (fieldWithFocus) {
if (delayedActionsQueueLength <= 0) {
fieldWithFocus.OnStop();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(fieldWithFocus._target + ".OnStop");
}
}
if (delayedActionsQueueLength <= 0) {
newFieldWithFocus.OnStart();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(newFieldWithFocus._target + ".OnStart");
}
fieldWithFocus = newFieldWithFocus;
}
}
}
onClipEvent (keyDown) {
if (!activated) {
return(undefined);
}
var delayedActionsQueueLength = _level0.delayedActionsQueue.length;
lastMoveTime = undefined;
_parent.theToolTip._visible = false;
if (!fieldWithFocus) {
_root.lastActivatedKey = "";
var virtualKey = Key.getCode();
if (virtualKey == 27) {
_root.lastActivatedKey = "escape";
} else if (virtualKey == 13) {
_root.lastActivatedKey = "enter";
} else if (virtualKey == 9) {
_root.lastActivatedKey = "tab";
} else if (virtualKey == 8) {
_root.lastActivatedKey = "backspace";
} else if (virtualKey == 37) {
_root.lastActivatedKey = "left";
} else if (virtualKey == 39) {
_root.lastActivatedKey = "right";
} else if (virtualKey == 38) {
_root.lastActivatedKey = "up";
} else if (virtualKey == 40) {
_root.lastActivatedKey = "down";
} else if (virtualKey == 33) {
_root.lastActivatedKey = "page up";
} else if (virtualKey == 34) {
_root.lastActivatedKey = "page down";
} else if (virtualKey == 35) {
_root.lastActivatedKey = "end";
} else if (virtualKey == 36) {
_root.lastActivatedKey = "home";
} else if (virtualKey == 45) {
_root.lastActivatedKey = "insert";
} else if (virtualKey == 46) {
_root.lastActivatedKey = "delete";
} else if (virtualKey == 17) {
_root.lastActivatedKey = "ctrl";
} else if (virtualKey == 16) {
_root.lastActivatedKey = "shift";
} else if (virtualKey == 32) {
_root.lastActivatedKey = " ";
} else if (virtualKey == 20) {
_root.lastActivatedKey = "";
} else {
_root.lastActivatedKey = String.fromCharCode(Key.getAscii());
}
if (delayedActionsQueueLength <= 0) {
_parent.OnKeyDown();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push("_parent.OnKeyDown");
}
}
}
onClipEvent (keyUp) {
if (!activated) {
return(undefined);
}
var delayedActionsQueueLength = _level0.delayedActionsQueue.length;
lastMoveTime = undefined;
_parent.theToolTip._visible = false;
if (fieldWithFocus) {
if (delayedActionsQueueLength <= 0) {
fieldWithFocus.OnChange();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(fieldWithFocus._target + ".OnChange");
}
if (Key.getCode() == 13) {
if (delayedActionsQueueLength <= 0) {
fieldWithFocus.OnStop();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push(fieldWithFocus._target + ".OnStop");
}
Selection.setFocus(null);
fieldWithFocus = 0;
}
} else {
_root.lastActivatedKey = "";
var virtualKey = Key.getCode();
if (virtualKey == 27) {
_root.lastActivatedKey = "escape";
} else if (virtualKey == 13) {
_root.lastActivatedKey = "enter";
} else if (virtualKey == 9) {
_root.lastActivatedKey = "tab";
} else if (virtualKey == 8) {
_root.lastActivatedKey = "backspace";
} else if (virtualKey == 37) {
_root.lastActivatedKey = "left";
} else if (virtualKey == 39) {
_root.lastActivatedKey = "right";
} else if (virtualKey == 38) {
_root.lastActivatedKey = "up";
} else if (virtualKey == 40) {
_root.lastActivatedKey = "down";
} else if (virtualKey == 33) {
_root.lastActivatedKey = "page up";
} else if (virtualKey == 34) {
_root.lastActivatedKey = "page down";
} else if (virtualKey == 35) {
_root.lastActivatedKey = "end";
} else if (virtualKey == 36) {
_root.lastActivatedKey = "home";
} else if (virtualKey == 45) {
_root.lastActivatedKey = "insert";
} else if (virtualKey == 46) {
_root.lastActivatedKey = "delete";
} else if (virtualKey == 17) {
_root.lastActivatedKey = "ctrl";
} else if (virtualKey == 16) {
_root.lastActivatedKey = "shift";
} else if (virtualKey == 32) {
_root.lastActivatedKey = " ";
} else if (virtualKey == 20) {
_root.lastActivatedKey = "";
} else {
_root.lastActivatedKey = String.fromCharCode(Key.getAscii());
}
if (delayedActionsQueueLength <= 0) {
_parent.OnKeyUp();
} else {
_level0.delayedActionsQueue[delayedActionsQueueLength - 1].push("_parent.OnKeyUp");
}
}
}
onClipEvent (load) {
}
Instance of Symbol 53 MovieClip "theTimer" in Symbol 4 MovieClip Frame 5
onClipEvent (load) {
function TimeEvent(callBackTarget, callBackFuncName, time, id) {
this.callBackFuncPath = (targetPath(callBackTarget) + ".") + callBackFuncName;
this.time = time;
this.id = id;
}
function Comp(a, b) {
if (a.time < b.time) {
return(1);
}
if (a.time > b.time) {
return(-1);
}
return(0);
}
function SetTimer(callBackTarget, callBackFuncName, time) {
uniqueId++;
evnt = new TimeEvent(callBackTarget, callBackFuncName, getTimer() + time, uniqueId);
timeEventArray.push(evnt);
timeEventArray.sort(Comp);
return(uniqueId);
}
function CancelTimer(id) {
var _local1 = timeEventArray.length - 1;
while (_local1 >= 0) {
if (timeEventArray[_local1].id == id) {
var _local2 = timeEventArray[_local1];
timeEventArray.splice(_local1, 1);
break;
}
_local1--;
}
}
uniqueId = 1;
timeEventArray = new Array();
}
onClipEvent (enterFrame) {
if (_level0.delayedActionsQueue.length > 0) {
return(undefined);
}
timeNow = getTimer();
i = timeEventArray.length - 1;
while ((timeEventArray[i].time <= timeNow) && (i >= 0)) {
var evnt = timeEventArray.pop();
eval (evnt.callBackFuncPath)(evnt.id);
if (evnt.callBackFuncPath.indexOf("__SCORM_ASYNC__", 0) != -1) {
if (timeEventArray.length == 0) {
if (!_level0.delayedActionsQueue[2]) {
_level0.delayedActionsQueue[2] = new Array();
}
_level0.delayedActionsQueue[2].push("");
delete evnt;
break;
}
if ((timeEventArray[timeEventArray.length - 1].time <= timeNow) && (timeEventArray[timeEventArray.length - 1].callBackFuncPath.indexOf("__SCORM_ASYNC__", 0) != -1)) {
} else {
if (!_level0.delayedActionsQueue[2]) {
_level0.delayedActionsQueue[2] = new Array();
}
_level0.delayedActionsQueue[2].push("");
delete evnt;
break;
}
}
delete evnt;
i = timeEventArray.length - 1;
}
}
onClipEvent (load) {
}
Symbol 4 MovieClip Frame 6
highestUsedDepth = 21;
if (isFirstShownPage) {
pageStartAction.DoIt();
mouseTracker.activated = true;
}
Symbol 4 MovieClip Frame 8
_alpha = (effectAlpha * fullAlpha);
_xscale = (effectXscale * fullXscale);
_yscale = (effectYscale * fullYscale);
if (isBeingDragged) {
fullX = _root._xmouse - dragOffsetToCursorX;
fullY = _root._ymouse - dragOffsetToCursorY;
if (limitDragToWindow) {
if (fullX > (_parent.fullWidth - fullWidth)) {
fullX = _parent.fullWidth - fullWidth;
} else if (fullX < 0) {
fullX = 0;
}
if (fullY > (_parent.fullHeight - fullHeight)) {
fullY = _parent.fullHeight - fullHeight;
} else if (fullY < 0) {
fullY = 0;
}
}
}
_x = ((effectX + fullX) + rotCenterCorrectionX);
_y = ((effectY + fullY) + rotCenterCorrectionY);
_rotation = totalRotation;
if (!enableEffectOverlay) {
stop();
return();
}
prevFrame();
play();
Symbol 4 MovieClip Frame 9
prevFrame();
play();