Frame 1
function addResizeListener(obj) {
resizeListeners.push(obj);
}
_root._visible = false;
resizeHandler = {};
var oWidth = 950;
var oHeight = 600;
_root.xMin = 0;
_root.yMin = 0;
_root.xMax = oWidth;
_root.yMax = oHeight;
resizeHandler.onResize = function () {
var _local2 = headShell.resize();
_root._xscale = (_root._yscale = _local2.scale * 100);
_root._x = _local2.xReg + _local2.shiftX;
_root._y = _local2.yReg + _local2.shiftY;
var _local3 = _local2.xMin;
var _local4 = ((-(Stage.height - oHeight)) / (_local2.scale * 2)) - (_root._y / _local2.scale);
shield._y = _local2.yMax;
shield._x = _local2.xMin;
shield._height = (((Stage.height / _local2.scale) - _local2.yMax) / 2) + 10;
shield._width = _local2.xMax - _local2.xMin;
titleClip.resize(_local3, _local4, _local2.scale);
};
var resizeListeners = [];
this.resize = function () {
resizeHandler.onResize();
_root._visible = true;
};
Stage.addListener(resizeHandler);
Stage.scaleMode = "noScale";
function getClip() {
dpth++;
titleClip.swapDepths(dpth);
dpth++;
var _local1 = createEmptyMovieClip("f" + dpth, dpth);
dpth++;
shield.swapDepths(dpth);
return(_local1);
}
function restart() {
this.isReloading = true;
headShell.unloadMovie();
headShell.removeMovieClip();
headShell = null;
for (var _local3 in _global) {
_global[_local3] = undefined;
}
headShell = getClip();
headShell.loadMovie("headInner.swf");
}
function fadeInTitle() {
titleClip.fadeIn(10);
}
function fadeOutTitle() {
titleClip.fadeOut(10);
}
var dpth = 0;
this.isReloading = false;
this.shellIsPresent = true;
var headShell = getClip();
headShell.loadMovie("headInner.swf");
titleClip.init();
Symbol 5 MovieClip [titleClip] Frame 1
#initclip 6
Object.registerClass("titleClip", TitleClip);
#endinitclip
Symbol 6 MovieClip [__Packages.SuperClip] Frame 0
class SuperClip extends MovieClip
{
var _rotation, __get___radians, attachMovie, createEmptyMovieClip, onRollOver, onRollOut, onDragOut, fadeEvent, _alpha;
function SuperClip () {
super();
}
function setAbsoluteRotation(deg) {
var _local3 = 0;
var _local2 = this;
while (_local2._parent != undefined) {
_local3 = _local3 + _local2._parent._rotation;
_local2 = _local2._parent;
}
_rotation = deg - _local3;
}
function getAbsoluteRotation() {
var _local3 = _rotation;
var _local2 = this;
while (_local2._parent != undefined) {
_local3 = _local3 + _local2._parent._rotation;
_local2 = _local2._parent;
}
return(_local3);
}
function set _radians(num) {
_rotation = (num / Math.PI) * 180;
//return(__get___radians());
}
function getBetween(mc1, mc2) {
return(new Between({x:mc1._x, y:mc1._y}, {x:mc2._x, y:mc2._y}));
}
function attachClip(linkageName, params) {
return(attachMovie(linkageName, linkageName + (dpth++), dpth, params));
}
function newClip(params) {
return(createEmptyMovieClip("mc" + (dpth++), dpth, params));
}
function pyt(a, b) {
return(sqrt((a * a) + (b * b)));
}
function setUpRollFlag() {
onRollOver = function () {
this.isRolledOver = true;
this.rollIn();
};
onRollOut = (onDragOut = function () {
this.isRolledOver = false;
this.rollOut();
});
}
function rollIn() {
}
function rollOut() {
}
function fadeIn(maxCount, callBack) {
doFade(0, maxCount, 1, callBack);
}
function fadeOut(maxCount, callBack) {
doFade(maxCount, maxCount, -1, callBack);
}
function doFade(counter, maxCount, dir, callBack) {
fadeEvent.cancel();
counter = counter + dir;
var _local4 = Curves.easeOut(counter / maxCount);
_alpha = _local4 * 100;
if (((dir == 1) && (counter < maxCount)) || ((dir == -1) && (counter > 0))) {
fadeEvent = new DelayedEvent(this, 1, "doFade", [counter, maxCount, dir, callBack]);
} else {
callBack();
}
}
var PI = Math.PI;
var cos = Math.cos;
var sin = Math.sin;
var atan2 = Math.atan2;
var sqrt = Math.sqrt;
var abs = Math.abs;
var dpth = 0;
var isRolledOver = false;
var doTrace = false;
}
Symbol 7 MovieClip [__Packages.Between] Frame 0
class Between
{
var _obj1, _obj2;
function Between (obj1, obj2) {
_obj1 = obj1;
_obj2 = obj2;
}
function getDistance(globalFlag) {
var _local4 = _obj2.x - _obj1.x;
var _local3 = _obj2.y - _obj1.y;
return(Math.sqrt((_local4 * _local4) + (_local3 * _local3)) / (globalFlag ? (_root.scale) : 1));
}
function getAngle() {
var _local3 = _obj2.x - _obj1.x;
var _local2 = _obj2.y - _obj1.y;
return(Math.atan2(_local2, _local3));
}
function getDx(globalFlag) {
return((_obj2.x - _obj1.x) / (globalFlag ? (_root.scale) : 1));
}
function getDy(globalFlag) {
return((_obj2.y - _obj1.y) / (globalFlag ? (_root.scale) : 1));
}
}
Symbol 8 MovieClip [__Packages.Curves] Frame 0
class Curves
{
function Curves () {
}
static function scurve(num) {
return(((-Math.cos(num * Math.PI)) + 1) / 2);
}
static function easeOut(num) {
return(Math.sin((num * Math.PI) / 2));
}
static function easeIn(num) {
return(1 - Math.sin(((1 - num) * Math.PI) / 2));
}
}
Symbol 9 MovieClip [__Packages.DelayedEvent] Frame 0
class DelayedEvent extends MovieClip
{
static var evtBin;
var myEvent;
function DelayedEvent (hr, endParam, rf, params) {
super();
var homeRef = hr;
var resultFunc = rf;
if (evtBin == undefined) {
evtBin = _root.createEmptyMovieClip("evtBin", 99999);
}
myEvent = evtBin.createEmptyMovieClip("evt" + (evtIndx++), evtIndx);
if (!isNaN(endParam)) {
var maxTime = endParam;
var currTime = 0;
myEvent.onEnterFrame = function () {
currTime++;
if (currTime >= maxTime) {
if (typeof(rf) == "string") {
homeRef[resultFunc](params[0], params[1], params[2], params[3], params[4], params[5], params[6]);
} else {
resultFunc(params[0], params[1], params[2], params[3], params[4], params[5], params[6]);
}
this.removeMovieClip();
}
};
} else {
myEvent.onEnterFrame = function () {
if (endParam()) {
this.onEnterFrame = undefined;
if (typeof(rf) == "string") {
homeRef[resultFunc](params[0], params[1], params[2], params[3], params[4], params[5], params[6]);
} else {
resultFunc(params[0], params[1], params[2], params[3], params[4], params[5], params[6]);
}
this.removeMovieClip();
}
};
}
}
function cancel() {
myEvent.removeMovieClip();
}
static var evtIndx = 0;
}
Symbol 10 MovieClip [__Packages.TitleClip] Frame 0
class TitleClip extends SuperClip
{
var _alpha, _visible, onPress, _xscale, _yscale, _y, _x, useHandCursor;
function TitleClip () {
super();
_alpha = 100;
_visible = false;
onPress = function () {
this.getURL("http://www.feedTheHead.net", "_top");
};
}
function resize(x, y, scl) {
_xscale = (_yscale = (1 / scl) * 100);
_y = y + 2;
_x = x - 1;
}
function init() {
}
function fadeOut(count, maxCount) {
onPress = undefined;
useHandCursor = false;
super.fadeOut(count, maxCount);
}
function fadeIn(count, maxCount) {
onPress = function () {
this.getURL("http://www.feedTheHead.net", "_top");
};
useHandCursor = true;
_visible = true;
super.fadeIn(count, maxCount);
}
}