Combined Code
frame 1 {
songBut.onPress = function () {
getURL('http://www.youtube.com/watch?v=0ih1u1OVZa0', _self);
};
}
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 52 {
}
movieClip 54 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 65 {
}
movieClip 70 {
}
movieClip 73 {
}
movieClip 77 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
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 = 0;
var maxPleasure = 100;
var replay = false;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureUp_but.onPress = function () {
pleasure += 1;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
};
pleasureDown_but.onPress = function () {
pleasure -= 1;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
};
}
movieClip 125 {
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 135 {
}
movieClip 138 {
}
movieClip 140 {
}
movieClip 143 {
}
movieClip 146 {
}
movieClip 175 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 7 {
stop();
penetrate_but.onPress = function () {
_root.gotoAndPlay('penetration');
};
}
}
movieClip 183 {
frame 1 {
stop();
}
frame 7 {
stop();
action_but.onPress = function () {
_root.gotoAndPlay('action');
};
}
}
movieClip 189 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 8 {
stop();
climax_but.onPress = function () {
_root.gotoAndPlay('climax');
};
}
}
movieClip 192 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 185 {
stop();
onEnterFrame = function () {
pleasure -= 0.05;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
if (pleasure >= 152) {
_root.penetrateButton_mc.nextFrame();
}
if (pleasure >= 200) {
_root.actionButton_mc.nextFrame();
}
if (pleasure >= 300) {
_root.climaxButton_mc.nextFrame();
}
if (pleasure <= 0) {
pleasure = 0;
}
};
pleasureUp_but.onPress = function () {
pleasure += 1;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
};
pleasureDown_but.onPress = function () {
pleasure -= 1;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
};
prod_but.onPress = function () {
gotoAndPlay('prod');
};
flick_but.onPress = function () {
gotoAndStop('flick');
};
penetrateButton_mc.penetrate_but.onPress = function () {
gotoAndStop('penetration');
};
mute_button.onPress = function () {
s = new Sound();
if (_root.mute == 0) {
_root.mute = 2;
s.setVolume(100);
mute_button.muteBut_mc.nextFrame();
} else {
_root.mute = 0;
s.setVolume(0);
mute_button.muteBut_mc.prevFrame();
}
};
}
movieClip 211 {
}
movieClip 212 {
frame 6 {
_root.prod_02.start(0, 1);
}
}
frame 206 {
stop();
onEnterFrame = function () {
pleasure += 0.1;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
if (pleasure >= 152) {
_root.penetrateButton_mc.nextFrame();
}
if (pleasure >= 200) {
_root.actionButton_mc.nextFrame();
}
if (pleasure >= 300) {
_root.climaxButton_mc.nextFrame();
}
if (pleasure <= 0) {
pleasure = 0;
}
};
flick_but.onPress = function () {
gotoAndStop('flick');
};
idle_but.onPress = function () {
gotoAndStop('idle');
};
}
movieClip 213 {
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.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
if (pleasure >= 152) {
_root.penetrateButton_mc.nextFrame();
}
if (pleasure >= 200) {
_root.actionButton_mc.nextFrame();
}
if (pleasure >= 300) {
_root.climaxButton_mc.nextFrame();
}
if (pleasure <= 0) {
pleasure = 0;
}
};
prod_but.onPress = function () {
gotoAndPlay('prod');
};
idle_but.onPress = function () {
gotoAndStop('idle');
};
penetrate_but.onPress = function () {
gotoAndPlay('penetration');
};
}
movieClip 219 {
}
movieClip 221 {
}
movieClip 252 {
frame 1 {
_root.flick_01.start(0, 1);
}
frame 7 {
_root.flick_02.start(0, 1);
}
}
movieClip 268 {
}
movieClip 290 {
}
movieClip 304 {
}
movieClip 309 {
}
movieClip 310 {
}
frame 306 {
pleasure += 10;
pleasureBar.pleasureBar_positive._height = (pleasure / maxPleasure) * 100;
}
frame 320 {
stop();
onEnterFrame = function () {
pleasure += 0.25;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
if (pleasure >= 152) {
_root.penetrateButton_mc.nextFrame();
}
if (pleasure >= 200) {
_root.actionButton_mc.nextFrame();
}
if (pleasure >= 300) {
_root.climaxButton_mc.nextFrame();
}
if (pleasure <= 0) {
pleasure = 0;
}
};
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 311 {
}
movieClip 312 {
}
frame 321 {
stop();
onEnterFrame = function () {
pleasure += 0.3;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
if (pleasure >= 152) {
_root.penetrateButton_mc.nextFrame();
}
if (pleasure >= 200) {
_root.actionButton_mc.nextFrame();
}
if (pleasure >= 300) {
_root.climaxButton_mc.nextFrame();
}
if (pleasure <= 0) {
pleasure = 0;
}
};
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 317 {
}
movieClip 319 {
}
movieClip 320 {
}
movieClip 350 {
}
frame 322 {
stop();
onEnterFrame = function () {
pleasure = 301;
pleasureBar.pBar._height = (pleasure / maxPleasure) * 100;
pleasureText.text = pleasure;
replay = true;
if (replay) {
replayBut_mc.nextFrame();
}
};
}
movieClip 354 {
}
movieClip 427 {
}
movieClip 428 {
frame 101 {
stop();
_root.replay = true;
}
}
movieClip 434 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 105 {
stop();
replay_but.onPress = function () {
_root.gotoAndPlay('idle');
};
}
}