Frame 1
function chanF() {
tx.stat.text = ((cv + " ") + Math.floor(_root[cv]._alpha)) + "%\nClick to pause";
if (_root[cv]._alpha < 100) {
_root[cv]._alpha = _root[cv]._alpha + 4;
} else if (c < (pic + 1)) {
c++;
cv = "image" + c;
} else {
clearInterval(chanIn);
tx.stat.text = "The End\nClick to play.";
ldd.start(0, 1);
c = 0;
cv = "image" + c;
owa = true;
pure = false;
ri = true;
}
updateAfterEvent();
}
stop();
Stage.showMenu = false;
var cam = new Sound();
cam.attachSound("cam");
var ldd = new Sound();
ldd.attachSound("ldd");
pic = 8;
m = 0;
ri = false;
pure = false;
owa = true;
this.createEmptyMovieClip("tx", this.getNextHighestDepth());
tx.createTextField("stat", this.getNextHighestDepth(), Stage.width / 2, Stage.height / 2, 200, 80);
tx.stat.background = true;
var kuri = new Object();
kuri.onMouseDown = function () {
if (pure) {
clearInterval(chanIn);
owa = false;
pure = false;
ldd.start(0, 1);
tx.stat.text = "Paused\nClick to play.";
} else {
if (ri & owa) {
i = 0;
while (i < (pic + 1)) {
v = "image" + i;
_root[v]._alpha = 0;
i++;
}
} else {
tx.swapDepths(20);
tx.stat.text = "00";
tx.stat._height = 40;
tx.stat._width = 80;
tx._x = -(Stage.width / 2);
tx._y = -(Stage.height / 2);
}
chanIn = setInterval(chanF, 15);
pure = true;
if (owa) {
cam.start(0, 1);
} else {
ldd.start(0, 1);
}
}
};
var ml = new Object();
var mc = new MovieClipLoader();
ml.onLoadProgress = function (movie, loaded, total) {
tx.stat.text = ("loading " + movie._name) + newline;
tx.stat.text = tx.stat.text + ((Math.floor(loaded / 1024) + " of ") + Math.floor(total / 1024));
if (loaded == total) {
movie._alpha = 0;
if (m >= pic) {
tx.stat.text = tx.stat.text + "\n\nAll images loaded.\nClick to play.";
ldd.start(0, 1);
Mouse.addListener(kuri);
} else {
m++;
switch (m) {
case 1 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=104521&bgcolor=B2B1B7";
break;
case 2 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=104522&bgcolor=B2B1B7";
break;
case 3 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=104571&bgcolor=B2B1B7";
break;
case 4 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=104572&bgcolor=B2B1B7";
break;
case 5 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=105064&bgcolor=B2B1B7";
break;
case 6 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=107905&bgcolor=B2B1B7";
break;
case 7 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=109716&bgcolor=B2B1B7";
break;
case 8 :
v = "http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=122303&bgcolor=B2B1B7";
}
mv = "image" + m;
mc.loadClip(v, mv);
}
}
};
mc.addListener(ml);
i = 0;
while (i < (pic + 1)) {
v = "image" + i;
this.createEmptyMovieClip(v, this.getNextHighestDepth());
i++;
}
mc.loadClip("http://thumbs.hentai-foundry.com/thumb.php?size=728&shadow=0&pid=104520&bgcolor=B2B1B7", image0);
c = 0;
cv = "image" + c;
var chanIn;