Frame 1
_global.ipb_get_gname = function () {
var _local4 = _root._url;
var _local5 = "";
var _local2 = "";
var _local6 = _local4.lastIndexOf("\\") + 1;
if ((_local6 == -1) || (_local6 == 0)) {
_local6 = _local4.lastIndexOf("/") + 1;
}
var _local3 = _local6;
var _local7 = String(_local4).length;
while (_local3 < String(_local4).length) {
_local2 = _local4.charAt(_local3);
if (_local2 == ".") {
break;
}
_local5 = _local5 + _local2;
_local3++;
}
return(_local5);
};
_global.annie_score = 0;
_global.star_time = 0;
_global.star_tracker = 1;
_global.total_time = 1260;
stop();
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
Frame 3
stop();
Instance of Symbol 47 MovieClip in Frame 3
onClipEvent (load) {
_global.star_time = 10 + random(100);
_root.annie_score = _global.annie_score;
}
onClipEvent (enterFrame) {
_root.stars.gotoAndStop(_global.star_tracker);
_global.total_time--;
_global.star_time--;
if (_global.annie_score > 1) {
_global.annie_score--;
}
if (_global.star_time == 0) {
_global.star_tracker = random(2) + 1;
_global.star_time = 10 + random(100);
}
_root.annie_score = _global.annie_score;
if (_global.total_time <= 0) {
_root.gotoAndPlay(6);
}
}
Frame 6
_root.annie_score = _global.annie_score;
Frame 52
gotoAndPlay (6);
Frame 99
gotoAndPlay (53);
Symbol 16 MovieClip Frame 1
function myWidth(moveObj, newWidth) {
moveObj.w = moveObj._width;
moveObj.dwidth = newWidth - moveObj.w;
moveObj.t = 0;
NFRAMES = 6;
moveObj.onEnterFrame = function () {
if ((moveObj.t++) < NFRAMES) {
moveObj._width = easeOutQuad(moveObj.t, moveObj.w, moveObj.dwidth, NFRAMES);
} else {
delete this.onEnterFrame;
}
};
}
function myMove(moveObj, newX) {
moveObj.x = moveObj._x;
moveObj.dx = newX - moveObj.x;
moveObj.t = 0;
NFRAMES = 6;
moveObj.onEnterFrame = function () {
if ((moveObj.t++) < NFRAMES) {
moveObj._x = easeOutQuad(moveObj.t, moveObj.x, moveObj.dx, NFRAMES);
} else {
delete this.onEnterFrame;
}
};
}
percentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.myWidth(this.loadBar, percentLoaded * 1.94);
this.myMove(this.mc_loadNum, (percentLoaded * 1.9) - 8);
mc_loadNum.loadNum.text = percentLoaded;
easeOutQuad = function (time, beginX, changeX, durationX) {
time = time / (durationX / 2);
if (time < 1) {
return((((changeX / 2) * time) * time) + beginX);
}
time--;
return((((-changeX) / 2) * ((time * (time - 2)) - 1)) + beginX);
};
Symbol 16 MovieClip Frame 2
if (percentLoaded < 100) {
gotoAndPlay ("loading");
}
Symbol 16 MovieClip Frame 25
_root.gotoAndStop(2);
Symbol 20 MovieClip Frame 7
stop();
_root.gotoAndStop(3);
Symbol 34 MovieClip Frame 14
this.stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 48
stop();
Symbol 42 Button
on (release) {
if (_root.stars._currentframe == 1) {
_global.annie_score = _global.annie_score + 250;
} else if (_global.annie_score > 1) {
_global.annie_score--;
}
_root.gotoAndStop(4);
}
Symbol 43 Button
on (release) {
if (_root.stars._currentframe == 2) {
_global.annie_score = _global.annie_score + 250;
} else if (_global.annie_score > 1) {
_global.annie_score--;
}
_root.gotoAndStop(5);
}
Symbol 44 Button
on (release) {
_root.gotoAndPlay(6);
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 40
_root.gotoAndStop(3);
Symbol 52 MovieClip Frame 40
_root.gotoAndStop(3);
Symbol 61 MovieClip Frame 12
stop();
Symbol 62 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 63 Button
on (release) {
sendscore = new LoadVars();
sendscore.gscore = _global.annie_score;
sendscore.gname = "oppaiplayannie";
sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST");
}
Symbol 64 Button
on (release) {
if (_root._currentframe < 53) {
_root.gotoAndPlay(53);
} else {
_root.gotoAndPlay(6);
}
}