Combined Code
frame 1 {
stop();
onLoad = function () {
_root.started = false;
};
var total = _root.getBytesTotal();
glowrot = 0;
glowrotpluys = 0.15;
loadplus = 0;
startgame = function () {
lusty._alpha = 45;
gotoAndStop(2);
};
onEnterFrame = function () {
loaded = _root.getBytesLoaded();
percent = Math.round((loaded / total) * 1000);
glowrot += glowrotplus;
if (glowrot > 6.283185307179586) {
glowrot -= 6.283185307179586;
}
var v3 = new flash.filters.GlowFilter(16776960, 30, 15, 15, 2, 5, false, false);
var v5 = new flash.filters.GlowFilter(16776960, 45, 11, 11, 10, 5, false, false);
var v2 = new flash.filters.GlowFilter(16776960, 30, 22, 22, 5, 2, false, false);
var v4 = new flash.filters.GlowFilter(16776960, 5, 15, 15, 1, 5, false, false);
lusty.R_arm.wand.filters = [v3];
loading_bar.gotoAndStop(percent);
lusty.belly.gotoAndStop(Math.max(1, percent));
lusty.L_breast.gotoAndStop(percent);
lusty.R_breast.gotoAndStop(percent);
lusty.L_leg.gotoAndStop(percent);
lusty.R_leg.gotoAndStop(percent);
lusty.bra.gotoAndStop(percent);
if (lusty.belly.play_button.hitTest(_root._xmouse, _root._ymouse, true)) {
lusty.belly.play_button.words.filters = [v2];
lusty.belly.play_button.words._alpha = 100;
} else {
lusty.belly.play_button.words.filters = [];
lusty.belly.play_button.words._alpha = 100;
}
lusty.L_arm.forearm.wand.star.filters = [v2];
loadplus += 1;
if (loadplus > 39) {
loadplus -= 40;
}
if (Math.floor(loadplus / 10) == 0) {
loading_txt.text = 'Loading.';
}
if (Math.floor(loadplus / 10) == 1) {
loading_txt.text = 'Loading..';
}
if (Math.floor(loadplus / 10) == 2) {
loading_txt.text = 'Loading...';
}
if (Math.floor(loadplus / 10) == 3) {
loading_txt.text = 'Loading....';
}
if (Math.floor(loadplus / 10) == 4) {
loading_txt.text = 'Loading.....';
}
if (percent >= 1000) {
lusty.belly.filters = [];
lusty.head.eyes.gotoAndStop('wink');
lusty.head.lips.gotoAndStop(2);
lusty.hips.gotoAndStop(2);
lusty.torso.gotoAndStop(2);
loading_txt.text = '';
} else {}
if (_root.started == true) {
}
};
}
movieClip 3 {
frame 1 {
rot = 0;
rotplus = 0.06;
this.onEnterFrame = function () {
rot += rotplus;
if (rot > 6.283185307179586) {
rot -= 6.283185307179586;
}
this._rotation = Math.sin(rot) * 5;
};
}
}
movieClip 6 {
frame 1 {
stop();
}
}
movieClip 9 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 25 {
frame 1 {
stop();
}
}
movieClip 40 {
}
movieClip 48 {
}
movieClip 49 {
frame 1 {
rot = 0;
rotplus = 0.24;
this.onEnterFrame = function () {
rot += rotplus;
if (rot > 6.283185307179586) {
rot -= 6.283185307179586;
}
this._rotation = Math.cos(rot) * 5;
};
}
}
movieClip 51 {
frame 1 {
rot = 0;
rotplus = 0.12;
this.onEnterFrame = function () {
rot += rotplus;
if (rot > 6.283185307179586) {
rot -= 6.283185307179586;
}
this._rotation = Math.sin(rot) * 5;
};
}
}
movieClip 52 {
}
movieClip 57 {
}
movieClip 76 {
}
movieClip 77 {
frame 1 {
this.onPress = function () {
_root.startgame();
};
}
}
movieClip 78 {
}
movieClip 83 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 93 {
}
movieClip 100 {
frame 2 {
stop();
}
}
movieClip 104 {
frame 1 {
stop();
}
}
movieClip 106 {
}
movieClip 107 {
frame 1 {
ystart = this._y;
rot = 0;
rotplus = 0.08;
this.onEnterFrame = function () {
rot += rotplus;
if (rot >= 6.283185307179586) {
rot -= 6.283185307179586;
}
this._y = ystart + Math.sin(rot) * 15;
this._rotation = Math.cos(rot) * 5;
};
}
}
frame 2 {
stop();
n_arrow.onPress = function () {
_root.gotoAndStop(_root._currentframe + 1);
};
p_arrow.onPress = function () {
_root.gotoAndStop(_root._currentframe - 1);
};
onEnterFrame = function () {
p_arrow._y = _ymouse;
n_arrow._y = _ymouse;
_numbertxt.text = _currentframe - 1;
if (_root._currentframe < _root._totalframes) {
n_arrow._visible = true;
if (_xmouse > _root._width - 50) {
n_arrow._alpha = 100;
} else {
n_arrow._alpha = 25;
}
} else {
n_arrow._visible = false;
}
if (_root._currentframe > 2) {
p_arrow._visible = true;
if (_xmouse < 50) {
p_arrow._alpha = 100;
} else {
p_arrow._alpha = 25;
}
} else {
p_arrow._visible = false;
}
};
}
movieClip 113 {
}