Frame 1
function setSize() {
audrey.breast1.gotoAndStop(Math.floor(size));
audrey.breast2.gotoAndStop(Math.floor(size));
if (audrey.top._currentframe <= 200) {
audrey.top.gotoAndStop(Math.floor(size));
audrey.top2.gotoAndStop(Math.floor(size));
} else if (audrey.top._currentframe < (audrey.top._totalframes - 1)) {
size = 201;
broken = 1;
audrey.breast1.gotoAndStop(Math.floor(size));
audrey.breast2.gotoAndStop(Math.floor(size));
audrey.top.play();
audrey.top2.play();
} else {
broken = 2;
audrey.top.gotoAndStop(audrey.top._totalframes);
audrey.top2.gotoAndStop(audrey.top2._totalframes);
}
}
function grow() {
if (size < audrey.breast1._totalframes) {
size = size + growthSpeed;
if (size > audrey.breast1._totalframes) {
size = audrey.breast1._totalframes;
}
setSize();
} else {
growth = 0;
}
}
function revert() {
if (size > 1) {
size = size - growthSpeed;
if (size < 1) {
size = 1;
}
setSize();
} else {
growth = 0;
}
}
function timeout_fn() {
if (!timer) {
condition = "";
setState(curState.state);
delete _root.onEnterFrame;
}
timer--;
}
function setState(str) {
if (condition != "") {
return(undefined);
}
if (state != str) {
curState.state = str;
state = str;
curState.state = state;
for (var _local2 in states[str]) {
curState[_local2] = states[str][_local2];
}
audrey.eye.gotoAndPlay(curState.eye);
audrey.mouth.gotoAndPlay(curState.mouth);
if (audrey.arm2._currentlabel != curState.arm2) {
audrey.arm2.gotoAndPlay("move" + curState.arm2);
}
if (audrey.arm1._currentlabel != curState.arm1) {
audrey.arm1.gotoAndPlay("move" + curState.arm1);
}
audrey.eye.pupil._x = pX + curState.pX;
audrey.eye.pupil._y = pY + curState.pY;
canBlink = curState.canBlink;
}
}
_level0.bgColor = 6594303 /* 0x649EFF */;
_level0.flashWidth = 800;
_level0.flashHeight = 600;
var state = "";
var condition = "";
var states = new Array();
var size = 1;
var growthSpeed = 1;
var growth = 0;
var curState = new Object();
var canBlink = false;
var blinking = false;
var timer = 0;
var broken = 0;
var pX = audrey.eye.pupil._x;
var pY = audrey.eye.pupil._y;
setSize();
states.resting = {mouth:"smile", eye:"medium", arm1:"down", arm2:"down", pX:7, pY:5, canBlink:true};
states.check = {mouth:"sad", eye:"big", arm1:"down", arm2:"down", pX:6, pY:10, canBlink:true};
states.realize = {mouth:"small", eye:"mad", arm1:"down", arm2:"down", pX:9, pY:7, canBlink:true};
states.relaxed = {mouth:"sad", eye:"small", arm1:"down", arm2:"down", pX:5, pY:7, canBlink:true};
states.stress = {mouth:"teeth", eye:"shut", arm1:"up", arm2:"up", pX:5, pY:7, canBlink:false};
states.surprised = {mouth:"open", eye:"sad", arm1:"down", arm2:"down", pX:5, pY:7, canBlink:true};
states.sad = {mouth:"small", eye:"sad2", arm1:"down", arm2:"down", pX:5, pY:7, canBlink:true};
states.pleasant = {mouth:"smile", eye:"sad", arm1:"up", arm2:"up", pX:7, pY:10, canBlink:true};
states.enjoy = {mouth:"happy", eye:"small", arm1:"down", arm2:"down", pX:9, pY:7, canBlink:true};
states.happy = {mouth:"happy", eye:"big", arm1:"down", arm2:"up", pX:6, pY:6, canBlink:true};
states.revert = {mouth:"small", eye:"big", arm1:"up", arm2:"down", pX:7, pY:10, canBlink:true};
states.smaller = {mouth:"closed", eye:"big", arm1:"down", arm2:"down", pX:7, pY:10, canBlink:true};
states.almost = {mouth:"happy", eye:"medium", arm1:"down", arm2:"down", pX:7, pY:10, canBlink:true};
setState("resting");
audrey.onEnterFrame = function () {
if ((canBlink && (Math.random() > 0.99)) && (condition == "")) {
audrey.eye.gotoAndPlay("blink");
audrey.eye.pupil._x = pX + curState.pX;
audrey.eye.pupil._y = pY + curState.pY;
blinking = true;
}
if (blinking && (audrey.eye._currentlabel == "endblink")) {
audrey.eye.gotoAndPlay(curState.eye);
audrey.eye.pupil._x = pX + curState.pX;
audrey.eye.pupil._y = pY + curState.pY;
blinking = false;
}
if (growth == 1) {
grow();
switch (true) {
case size < 30 :
break;
case size < 100 :
setState("check");
break;
case size < 200 :
setState("realize");
break;
case (((size > 200) && ((size - growthSpeed) < 200)) && (state != "stress")) && (!(_panel._nonstop._currentframe - 1)) :
size = 200;
if (broken == 0) {
audrey.top.gotoAndStop(size);
audrey.top2.gotoAndStop(size);
}
setSize(size);
case size == 200 :
if (!(_panel._nonstop._currentframe - 1)) {
growth = 0;
setState("relaxed");
}
break;
case size < 300 :
if (audrey.top._currentframe < audrey.top._totalframes) {
if (state != "stress") {
condition = "";
delete _root.onEnterFrame;
setState("stress");
}
} else {
setState("surprised");
}
break;
case size < 400 :
setState("sad");
break;
case (size > 400) && ((size - growthSpeed) < 400) :
if (!(_panel._nonstop._currentframe - 1)) {
size = 400;
setSize(size);
}
case size == 400 :
if (!(_panel._nonstop._currentframe - 1)) {
setState("pleasant");
growth = 0;
}
break;
case size < 600 :
setState("enjoy");
break;
case size >= 600 :
size = 600;
growth = 0;
setState("happy");
}
} else if (growth == -1) {
revert();
switch (true) {
case size == 1 :
setState("resting");
break;
case size < 200 :
setState("almost");
break;
case size < 400 :
setState("smaller");
break;
case size < 600 :
setState("revert");
}
} else {
if ((state == "stress") && (audrey.top._currentframe == audrey.top._totalframes)) {
audrey.top.stop();
audrey.top2.stop();
if (size <= 200) {
setState("realize");
} else {
setState("surprised");
}
} else if ((audrey.top._currentframe > 200) && (audrey.top._currentframe < audrey.top._totalframes)) {
size = 201;
setSize();
audrey.top.play();
audrey.top2.play();
}
if (state == 200) {
setState("relaxed");
} else if (state == 400) {
setState("pleasant");
} else if (state == 600) {
setState("happy");
}
}
};
var reset = false;
_panel._plus._txt.text = "+";
_panel._minus._txt.text = "-";
_panel._expand._txt.text = "Expand";
_panel._revert._txt.text = "Revert";
_panel._nonstop_txt.text = "non-stop";
_panel._info.text = "Audrey breast expansion. Drawn and programmed by Doom the wolf (http://doom-the-wolf.deviantart.com). Click 'Expand' or 'Revert' to change the size of her breasts. Selecting 'continuous' will make the size change automatically. Move the camera by dragging the mouse across the screen. Zoom in or out by using the '+' and '-' buttons.";
_panel._cont_txt.text = "continuous";
_panel._speed_txt.text = "1";
_panel.onEnterFrame = function () {
if (_panel.hitTest(_root._xmouse, _root._ymouse)) {
if (Math.abs(_panel._y - 500) > 1) {
_panel._y = _panel._y + ((500 - _panel._y) * 0.4);
}
} else if (Math.abs(_panel._y - 600) > 1) {
_panel._y = _panel._y + ((600 - _panel._y) * 0.4);
}
if (growth && (_panel._cont._currentframe == 2)) {
_panel._cont_txt.text = "stop";
} else {
_panel._cont_txt.text = "continuous";
}
if (size < 200) {
_panel._expand._txt.text = "Expand";
} else if (size < 400) {
_panel._expand._txt.text = "Bigger";
} else if (size < 600) {
_panel._expand._txt.text = "More";
} else {
_panel._expand._txt.text = "Reset";
}
};
_panel._cont.onRelease = function () {
if (growth != 0) {
growth = 0;
}
_panel._cont.gotoAndStop(3 - _panel._cont._currentframe);
};
_panel._nonstop.onRelease = function () {
this.gotoAndStop(3 - this._currentframe);
};
_panel._plus.onPress = function () {
_panel._plus.onEnterFrame = function () {
audrey._xscale = (audrey._yscale = audrey._xscale + 2);
};
};
_panel._minus.onPress = function () {
_panel._minus.onEnterFrame = function () {
if (audrey._xscale > 15) {
audrey._xscale = (audrey._yscale = audrey._xscale - 2);
} else {
delete _panel._minus.onEnterFrame;
}
};
};
_panel.onMouseUp = function () {
delete _panel._plus.onEnterFrame;
delete _panel._minus.onEnterFrame;
if (_panel._cont._currentframe == 1) {
growth = 0;
}
};
_panel._expand.onPress = function () {
if (size >= audrey.breast1._totalframes) {
growth = 0;
reset = true;
} else {
growth = 1;
}
};
_panel._expand.onRelease = function () {
if (reset) {
growth = 0;
size = 1;
broken = 0;
audrey.top.gotoAndStop(1);
setSize();
condition = "";
delete _root.onEnterFrame;
setState("resting");
reset = false;
}
};
_panel._expand.onReleaseOutside = function () {
reset = false;
};
_panel._revert.onPress = function () {
growth = -1;
};
var kDown = new Object();
Key.addListener(kDown);
_panel._speed_txt.maxChars = 2;
_panel._speed_txt.restrict = "0123456789.";
_panel._speed_txt.background = true;
_panel._speed_txt.backgroundColor = 16777215 /* 0xFFFFFF */;
_panel._speed_txt.border = true;
kDown.onKeyDown = function (K) {
if ((Key.getCode() == 13) || (K != undefined)) {
if ((_panel._speed_txt.text.length == 0) || (_panel._speed_txt.text == "..")) {
_panel._speed_txt.text = "1";
} else if (_panel._speed_txt.text == "0") {
_panel._speed_txt.text = "1";
} else if (Number(_panel._speed_txt.text) > 50) {
_panel._speed_txt.text = "50";
}
growthSpeed = Number(_panel._speed_txt.text);
_panel._speed_txt.backgroundColor = 16777215 /* 0xFFFFFF */;
}
};
_panel._speed_txt.onChanged = function () {
_panel._speed_txt.backgroundColor = 16746632 /* 0xFF8888 */;
};
_panel._speed_txt.onSetFocus = function () {
_panel._speed_txt.backgroundColor = 16746632 /* 0xFF8888 */;
};
_panel._speed_txt.onKillFocus = function () {
kDown.onKeyDown(true);
};
var tF = new TextFormat();
tF.size = 12;
_panel._ok._txt.setNewTextFormat(tF);
_panel._ok._txt.text = "ok";
_panel._ok.onPress = function () {
kDown.onKeyDown(true);
};
audrey.onMouseDown = function () {
audrey.startDrag();
};
audrey.onMouseUp = function () {
audrey.stopDrag();
};
audrey.breast1.onPress = function () {
if (condition == "") {
if (size < 200) {
audrey.mouth.gotoAndPlay("sad");
audrey.eye.gotoAndPlay("mad");
} else {
audrey.mouth.gotoAndPlay("open");
audrey.eye.gotoAndPlay("open");
}
state = "special";
condition = "breastpoke1";
timer = 15;
_root.onEnterFrame = timeout_fn;
}
};
audrey.breast2.onPress = function () {
if (condition == "") {
if (size < 200) {
audrey.mouth.gotoAndPlay("smile");
audrey.eye.gotoAndPlay("mad");
} else {
audrey.mouth.gotoAndPlay("smile");
audrey.eye.gotoAndPlay("small");
if (curState.arm1 == "down") {
audrey.arm1.gotoAndPlay("moveup");
}
if (curState.arm2 == "down") {
audrey.arm2.gotoAndPlay("moveup");
}
}
state = "special";
condition = "breastpoke2";
timer = 20;
_root.onEnterFrame = timeout_fn;
}
};
audrey.front.onPress = function () {
if (condition == "") {
audrey.mouth.gotoAndPlay("happy");
audrey.eye.gotoAndPlay("medium");
audrey.blush.gotoAndPlay(2);
state = "special";
condition = "bellypoke";
timer = 20;
_root.onEnterFrame = timeout_fn;
}
};
audrey.tail.onPress = function () {
if (condition == "") {
audrey.mouth.gotoAndPlay("teeth");
audrey.eye.gotoAndPlay("open");
audrey.drop.gotoAndPlay(2);
state = "special";
condition = "tailpoke";
timer = 20;
_root.onEnterFrame = timeout_fn;
}
};
audrey.head.onPress = function () {
if (condition == "") {
audrey.mouth.gotoAndPlay("smile");
audrey.eye.gotoAndPlay("closed");
audrey.blush.gotoAndPlay(2);
state = "special";
condition = "pet";
timer = 20;
_root.onEnterFrame = timeout_fn;
}
};
Symbol 15 MovieClip Frame 1
_currentlabel = "down";
Symbol 15 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 15 MovieClip Frame 6
_currentlabel = "up";
Symbol 15 MovieClip Frame 11
_currentlabel = "up";
Symbol 15 MovieClip Frame 12
gotoAndPlay(_currentlabel);
Symbol 15 MovieClip Frame 13
_currentlabel = "down";
Symbol 15 MovieClip Frame 17
gotoAndPlay(_currentlabel);
Symbol 46 MovieClip Frame 1
_currentlabel = "down";
Symbol 46 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 46 MovieClip Frame 6
_currentlabel = "up";
Symbol 46 MovieClip Frame 11
_currentlabel = "up";
Symbol 46 MovieClip Frame 12
gotoAndPlay(_currentlabel);
Symbol 46 MovieClip Frame 13
_currentlabel = "down";
Symbol 46 MovieClip Frame 17
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 1
_currentlabel = "open";
Symbol 76 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 3
_currentlabel = "closed";
Symbol 76 MovieClip Frame 4
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 5
_currentlabel = "small";
Symbol 76 MovieClip Frame 6
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 7
_currentlabel = "medium";
Symbol 76 MovieClip Frame 8
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 9
_currentlabel = "big";
Symbol 76 MovieClip Frame 10
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 11
_currentlabel = "sad";
Symbol 76 MovieClip Frame 12
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 13
_currentlabel = "mad";
Symbol 76 MovieClip Frame 14
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 15
_currentlabel = "blink";
Symbol 76 MovieClip Frame 19
_currentlabel = "endblink";
Symbol 76 MovieClip Frame 20
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 21
_currentlabel = "shut";
Symbol 76 MovieClip Frame 22
gotoAndPlay(_currentlabel);
Symbol 76 MovieClip Frame 23
_currentlabel = "sad2";
Symbol 76 MovieClip Frame 24
gotoAndPlay(_currentlabel);
Symbol 89 MovieClip Frame 1
_currentlabel = "smile";
Symbol 89 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 89 MovieClip Frame 3
_currentlabel = "teeth";
Symbol 89 MovieClip Frame 4
gotoAndPlay(_currentlabel);
Symbol 89 MovieClip Frame 5
_currentlabel = "open";
Symbol 89 MovieClip Frame 22
gotoAndPlay(_currentlabel);
Symbol 89 MovieClip Frame 23
_currentlabel = "sad";
Symbol 89 MovieClip Frame 24
gotoAndPlay(_currentlabel);
Symbol 89 MovieClip Frame 25
_currentlabel = "happy";
Symbol 89 MovieClip Frame 26
gotoAndPlay(_currentlabel);
Symbol 89 MovieClip Frame 27
_currentlabel = "small";
Symbol 89 MovieClip Frame 28
gotoAndPlay(_currentlabel);
Symbol 89 MovieClip Frame 29
_currentlabel = "closed";
Symbol 89 MovieClip Frame 30
gotoAndPlay(_currentlabel);
Symbol 96 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 254
stop();
Symbol 156 MovieClip Frame 1
stop();