Combined Code
movieClip 9 {
}
movieClip 12 {
}
movieClip 23 {
}
movieClip 25 {
frame 40 {
stop();
}
}
movieClip 38 {
}
button 40 {
on (release) {
startMovie();
}
}
movieClip 41 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
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.33333333333334;
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();
}
}
// unknown tag 88 length 215
movieClip 50 {
}
movieClip 52 {
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 63 {
}
movieClip 66 {
}
movieClip 69 {
}
movieClip 73 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 82 {
}
frame 173 {
bg_music = new Sound();
bg_music.attachSound('d2.mp3');
bg_music.start(0, 9999);
flick_01 = new Sound();
flick_01.attachSound('flick_01.mp3');
flick_02 = new Sound();
flick_02.attachSound('flick_02.mp3');
prod_01 = new Sound();
prod_01.attachSound('prod_01.mp3');
prod_02 = new Sound();
prod_02.attachSound('prod_02.mp3');
var pleasure = 90;
var maxPleasure = 100;
var minPleasure = -100;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
pleasureBar.pleasureBar_negative._height = (pleasure / maxPleasure) * 100;
pleasureUp_but.onPress = function () {
pleasure += 1;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
pleasureBar.pleasureBar_negative._height = (pleasure / minPleasure) * 100;
pleasureText.text = pleasure;
};
pleasureDown_but.onPress = function () {
pleasure -= 1;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
pleasureBar.pleasureBar_negative._height = (pleasure / minPleasure) * 100;
pleasureText.text = pleasure;
};
}
movieClip 121 {
}
movieClip 127 {
}
movieClip 129 {
}
movieClip 131 {
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 140 {
}
movieClip 143 {
}
movieClip 145 {
}
movieClip 169 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
frame 185 {
stop();
onEnterFrame = function () {
pleasure -= 0.05;
};
prod_but.onPress = function () {
gotoAndPlay('prod');
};
flick_but.onPress = function () {
gotoAndStop('flick');
};
mute_button.onPress = function () {
s = new Sound();
if (_root.mute == 0) {
_root.mute = 2;
s.setVolume(100);
mute_button.muteBut_mc.gotoAndStop('off');
} else {
_root.mute = 0;
s.setVolume(0);
mute_button.muteBut_mc.gotoAndStop('on');
}
};
}
movieClip 188 {
}
movieClip 189 {
frame 6 {
_root.prod_02.start(0, 1);
}
}
frame 206 {
stop();
flick_but.onPress = function () {
gotoAndStop('flick');
};
idle_but.onPress = function () {
gotoAndPlay('idle');
};
}
movieClip 190 {
frame 1 {
_root.prod_02.start(0, 1);
}
frame 12 {
_root.prod_01.start(0, 1);
}
}
frame 207 {
stop();
onEnterFrame = function () {
pleasure += 0.25;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
pleasureBar.pleasureBar_negative._height = (pleasure / minPleasure) * 100;
pleasureText.text = pleasure;
if (pleasure >= maxPleasure) {
pleasure = maxPleasure;
}
if (pleasure <= minPleasure) {
pleasure = minPleasure;
}
if (pleasure >= maxPleasure) {
penetrateButton_mc.gotoAndPlay(2);
}
};
prod_but.onPress = function () {
gotoAndPlay('prod');
};
idle_but.onPress = function () {
gotoAndStop('idle');
};
penetrate_but.onPress = function () {
gotoAndPlay('penetration');
};
}
movieClip 196 {
}
movieClip 198 {
}
movieClip 229 {
frame 1 {
_root.flick_01.start(0, 1);
}
frame 7 {
_root.flick_02.start(0, 1);
}
}
movieClip 251 {
}
movieClip 273 {
}
movieClip 288 {
}
movieClip 293 {
}
movieClip 294 {
}
frame 306 {
pleasure += 15;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
pleasureBar.pleasureBar_negative._height = (pleasure / minPleasure) * 100;
pleasureText.text = pleasure;
}
frame 320 {
stop();
prod_but.onPress = function () {
gotoAndPlay('prod');
};
flick_but.onPress = function () {
gotoAndPlay('flick');
};
idle_but.onPress = function () {
gotoAndPlay('idle');
};
penetrate_but.onPress = function () {
gotoAndPlay('penetration');
};
action_but.onPress = function () {
gotoAndPlay('action');
};
}
movieClip 295 {
}
movieClip 296 {
}
frame 321 {
stop();
onEnterFrame = function () {
pleasure += 0.3;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
pleasureBar.pleasureBar_negative._height = (pleasure / minPleasure) * 100;
pleasureText.text = pleasure;
};
prod_but.onPress = function () {
gotoAndPlay('prod');
};
flick_but.onPress = function () {
gotoAndPlay('flick');
};
idle_but.onPress = function () {
gotoAndPlay('idle');
};
penetrate_but.onPress = function () {
gotoAndPlay('penetration');
};
action_but.onPress = function () {
gotoAndPlay('action');
};
climax_but.onPress = function () {
gotoAndPlay('climax');
};
}
movieClip 308 {
}
movieClip 310 {
}
movieClip 311 {
}
movieClip 341 {
}
frame 322 {
stop();
onEnterFrame = function () {
pleasure += 0.3;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
pleasureBar.pleasureBar_negative._height = (pleasure / minPleasure) * 100;
pleasureText.text = pleasure;
};
replaybut_mc.replay_but.onPress = function () {
gotoAndPlay('idle');
};
}
movieClip 350 {
}
movieClip 418 {
}
movieClip 419 {
frame 101 {
stop();
}
}
movieClip 425 {
frame 108 {
stop();
}
}