Frame 1
stop();
Frame 2
stop();
Instance of Symbol 37 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.feeling == 1) {
this.gotoAndStop(2);
}
if (_root.feeling == 2) {
this.gotoAndStop(3);
}
if (_root.feeling == 3) {
this.gotoAndStop(4);
}
if (_root.feeling == 4) {
this.gotoAndStop(5);
}
if (_root.feeling == 5) {
this.gotoAndStop(6);
}
if (_root.feeling == 6) {
this.gotoAndStop(7);
}
if (_root.feeling == 7) {
this.gotoAndStop(8);
}
if (_root.feeling == 8) {
this.gotoAndStop(9);
}
if (_root.feeling == 9) {
this.gotoAndStop(10);
}
if (_root.feeling == 10) {
this.gotoAndStop(11);
}
if (_root.feeling == 11) {
this.gotoAndStop(12);
}
if (_root.feeling == 12) {
this.gotoAndStop(13);
}
if (_root.feeling == 13) {
this.gotoAndStop(14);
}
if (_root.feeling == 14) {
this.gotoAndStop(15);
}
}
Instance of Symbol 53 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.plan == 1) {
this.gotoAndStop(2);
}
if (_root.plan == 2) {
this.gotoAndStop(3);
}
if (_root.plan == 3) {
this.gotoAndStop(4);
}
if (_root.plan == 4) {
this.gotoAndStop(5);
}
if (_root.plan == 5) {
this.gotoAndStop(6);
}
if (_root.plan == 6) {
this.gotoAndStop(7);
}
if (_root.plan == 7) {
this.gotoAndStop(8);
}
if (_root.plan == 8) {
this.gotoAndStop(9);
}
if (_root.plan == 9) {
this.gotoAndStop(10);
}
if (_root.plan == 10) {
this.gotoAndStop(11);
}
if (_root.plan == 11) {
this.gotoAndStop(12);
}
if (_root.plan == 12) {
this.gotoAndStop(13);
}
if (_root.plan == 13) {
this.gotoAndStop(14);
}
if (_root.plan == 14) {
this.gotoAndStop(15);
}
if (_root.plan == 15) {
this.gotoAndStop(16);
}
}
Instance of Symbol 68 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.thetwist == 1) {
this.gotoAndStop(2);
}
if (_root.thetwist == 2) {
this.gotoAndStop(3);
}
if (_root.thetwist == 3) {
this.gotoAndStop(4);
}
if (_root.thetwist == 4) {
this.gotoAndStop(5);
}
if (_root.thetwist == 5) {
this.gotoAndStop(6);
}
if (_root.thetwist == 6) {
this.gotoAndStop(7);
}
if (_root.thetwist == 7) {
this.gotoAndStop(8);
}
if (_root.thetwist == 8) {
this.gotoAndStop(9);
}
if (_root.thetwist == 9) {
this.gotoAndStop(10);
}
if (_root.thetwist == 10) {
this.gotoAndStop(11);
}
if (_root.thetwist == 11) {
this.gotoAndStop(12);
}
if (_root.thetwist == 12) {
this.gotoAndStop(13);
}
if (_root.thetwist == 13) {
this.gotoAndStop(14);
}
if (_root.thetwist == 14) {
this.gotoAndStop(15);
}
}
Symbol 10 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 10 MovieClip Frame 37
startMovie();
Symbol 15 Button
on (release) {
_root.feeling = random(14) + 1;
}
Symbol 18 Button
on (release) {
_root.plan = random(15) + 1;
}
Symbol 21 Button
on (release) {
_root.thetwist = random(14) + 1;
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
stop();