Frame 1
var startSound = new Sound();
startSound.attachSound("start");
var classySound = new Sound();
classySound.attachSound("classy");
var trashySound = new Sound();
trashySound.attachSound("trashy");
var countrySound = new Sound();
countrySound.attachSound("country");
var showbizSound = new Sound();
showbizSound.attachSound("showbiz");
var yeehaSound = new Sound();
yeehaSound.attachSound("yeeha");
var boob1Sound = new Sound();
boob1Sound.attachSound("boob1");
var boob2Sound = new Sound();
boob2Sound.attachSound("boob2");
var clothes1Sound = new Sound();
clothes1Sound.attachSound("clothes1");
var clothes2Sound = new Sound();
clothes2Sound.attachSound("clothes2");
var bgTrack = new Sound();
bgTrack.attachSound("bgTrack");
_root.bgTrack.start(0, 999);
help = (Math.random() * 3) + 1;
clothes_dolly.gotoAndStop("frame_0" + Math.round(help));
stop();
Frame 4
function SlideSx() {
clearInterval(slide_sx);
_global.current_sx++;
if (_global.current_sx == 6) {
_global.current_sx = 1;
}
var _local10 = 20;
var _local9 = 280;
var _local8 = 250;
var _local11 = 220;
var _local4 = 20;
var _local6 = 130;
var _local7 = 0;
random_object = (Math.random() * 4) + 1;
random_object = Math.round(random_object);
var _local5 = mx.transitions.easing.Regular.easeOut;
var _local3 = _root[(("obj_sx_" + _global.current_sx) + "_") + random_object];
_root["animated_sx_" + _global.current_sx] = new mx.transitions.Tween(_local3, "_x", _local5, _local10, _local8, _local4);
_root["animated_sx_" + _global.current_sx] = new mx.transitions.Tween(_local3, "_y", _local5, _local9, _local11, _local4);
_root["animated_sx_" + _global.current_sx] = new mx.transitions.Tween(_local3, "_xscale", _local5, _local6, _local7, _local4);
_root["animated_sx_" + _global.current_sx] = new mx.transitions.Tween(_local3, "_yscale", _local5, _local6, _local7, _local4);
_global.sx_finished = true;
}
function SlideDx() {
clearInterval(slide_dx);
_global.current_dx++;
if (_global.current_dx == 6) {
_global.current_dx = 1;
}
var _local10 = 570;
var _local9 = 280;
var _local8 = 360;
var _local11 = 220;
var _local4 = 20;
var _local6 = 130;
var _local7 = 0;
random_object = (Math.random() * 4) + 1;
random_object = Math.round(random_object);
var _local5 = mx.transitions.easing.Regular.easeOut;
var _local3 = _root[(("obj_dx_" + _global.current_dx) + "_") + random_object];
_root["animated_dx_" + _global.current_dx] = new mx.transitions.Tween(_local3, "_x", _local5, _local10, _local8, _local4);
_root["animated_dx_" + _global.current_dx] = new mx.transitions.Tween(_local3, "_y", _local5, _local9, _local11, _local4);
_root["animated_dx_" + _global.current_dx] = new mx.transitions.Tween(_local3, "_xscale", _local5, _local6, _local7, _local4);
_root["animated_dx_" + _global.current_dx] = new mx.transitions.Tween(_local3, "_yscale", _local5, _local6, _local7, _local4);
_global.dx_finished = true;
}
function CreateNewObjMovement() {
timer_sx = (Math.random() * 1400) + 100;
timer_dx = (Math.random() * 1400) + 100;
if (_global.sx_finished) {
_global.sx_finished = false;
slide_sx = setInterval(SlideSx, Math.round(timer_sx));
}
if (_global.dx_finished) {
_global.dx_finished = false;
slide_dx = setInterval(SlideDx, Math.round(timer_dx));
}
}
stop();
MovieClip.prototype.tabHair = function () {
dest = _root.xHair;
pos = this._x;
vel = (dest - pos) / 5;
this._x = this._x + vel;
};
MovieClip.prototype.tabClothes = function () {
dest = _root.xClothes;
pos = this._x;
vel = (dest - pos) / 5;
this._x = this._x + vel;
};
MovieClip.prototype.tabShoes = function () {
dest = _root.xShoes;
pos = this._x;
vel = (dest - pos) / 5;
this._x = this._x + vel;
};
MovieClip.prototype.tabAccessories = function () {
dest = _root.xAccessories;
pos = this._x;
vel = (dest - pos) / 5;
this._x = this._x + vel;
};
MovieClip.prototype.tabDone = function () {
dest = _root.xDone;
pos = this._x;
vel = (dest - pos) / 5;
this._x = this._x + vel;
};
btn_continue._visible = false;
_root.onEnterFrame = function () {
if ((first_name.text != "") && (last_name.text != "")) {
btn_continue._visible = true;
} else {
btn_continue._visible = false;
}
if (((_global.hair && (_global.clothes)) && (_global.shoes)) && (_global.accessories)) {
tab_done._visible = true;
} else {
tab_done._visible = false;
}
if ((((_root._xmouse > 264) && (_root._xmouse < 310)) && (_root._ymouse > 190)) && (_root._ymouse < 215)) {
if (!_global.DraggingId) {
if (((_global.clothes || (_global.accessories == "01")) || (_global.accessories == "02")) || (_global.accessories == "03")) {
_root.body_mc.gotoAndStop("WithClothes");
} else {
_root.body_mc.gotoAndStop("on");
if (!playing_cover_sound) {
playing_cover_sound = true;
help = Math.round((Math.random() * 1) + 1);
if (help == 1) {
_root.head_mc.headmove1_mc.headmove2_mc.face_mc.gotoAndStop("on");
} else {
_root.head_mc.headmove1_mc.headmove2_mc.face_mc.gotoAndStop("speak");
}
}
}
}
} else {
_root.body_mc.gotoAndStop("off");
_root.head_mc.headmove1_mc.headmove2_mc.face_mc.gotoAndStop("off");
playing_cover_sound = undefined;
}
};
first_name.tabIndex = 1;
last_name.tabIndex = 1;
_root.onMouseUp = function () {
if (_global.DraggingId) {
stopDrag();
help = Math.round((Math.random() * 1) + 1);
_root[("clothes" + help) + "Sound"].start(0, 1);
if (((((_global.DraggingCategory == "hair") && (_root._xmouse > 260)) && (_root._xmouse < 330)) && (_root._ymouse > 70)) && (_root._ymouse < 185)) {
head_mc.headmove1_mc.headmove2_mc.gotoAndStop("frame_" + _global.DraggingId);
_global.hair = _global.DraggingId;
}
if (((((_global.DraggingCategory == "clothes") && (_root._xmouse > 275)) && (_root._xmouse < 340)) && (_root._ymouse > 176)) && (_root._ymouse < 246)) {
clothes_mc.gotoAndStop("frame_" + _global.DraggingId);
_global.clothes = _global.DraggingId;
}
if (((((_global.DraggingCategory == "shoes") && (_root._xmouse > 260)) && (_root._xmouse < 330)) && (_root._ymouse > 280)) && (_root._ymouse < 325)) {
shoes_mc.gotoAndStop("frame_" + _global.DraggingId);
_global.shoes = _global.DraggingId;
}
if (((((_global.DraggingCategory == "accessories") && (_root._xmouse > 245)) && (_root._xmouse < 330)) && (_root._ymouse > 45)) && (_root._ymouse < 290)) {
if (_global.DraggingId == "04") {
accessories_mc.gotoAndStop("frame_00");
head_mc.headmove1_mc.headmove2_mc.bunny_mc.gotoAndStop("frame_01");
} else {
head_mc.headmove1_mc.headmove2_mc.bunny_mc.gotoAndStop("frame_00");
accessories_mc.gotoAndStop("frame_" + _global.DraggingId);
}
_global.accessories = _global.DraggingId;
}
removeMovieClip(_root[((_global.DraggingCategory + "_") + _global.DraggingId) + "_copy"]);
_global.DraggingCategory = undefined;
_global.DraggingId = undefined;
}
};
_global.sx_finished = true;
_global.dx_finished = true;
_global.current_sx = 0;
_global.current_dx = 0;
obj_movement = setInterval(CreateNewObjMovement, 100);
Instance of Symbol 199 MovieClip "tab_hair" in Frame 4
onClipEvent (enterFrame) {
tabHair();
}
Instance of Symbol 204 MovieClip "tab_clothes" in Frame 4
onClipEvent (enterFrame) {
tabClothes();
}
Instance of Symbol 209 MovieClip "tab_shoes" in Frame 4
onClipEvent (enterFrame) {
tabShoes();
}
Instance of Symbol 215 MovieClip "tab_accessories" in Frame 4
onClipEvent (enterFrame) {
tabAccessories();
}
Instance of Symbol 233 MovieClip "tab_done" in Frame 4
onClipEvent (enterFrame) {
tabDone();
}
Symbol 14 Button
on (press) {
_root.attachMovie("accessories_mc_02", "accessories_02_copy", 1000);
_root.accessories_02_copy._x = _root._xmouse;
_root.accessories_02_copy._y = _root._ymouse;
_root.accessories_02_copy.startDrag();
_global.DraggingCategory = "accessories";
_global.DraggingId = "02";
}
Symbol 17 Button
on (press) {
_root.attachMovie("accessories_mc_01", "accessories_01_copy", 1000);
_root.accessories_01_copy._x = _root._xmouse;
_root.accessories_01_copy._y = _root._ymouse;
_root.accessories_01_copy.startDrag();
_global.DraggingCategory = "accessories";
_global.DraggingId = "01";
}
Symbol 20 Button
on (press) {
_root.attachMovie("accessories_mc_04", "accessories_04_copy", 1000);
_root.accessories_04_copy._x = _root._xmouse;
_root.accessories_04_copy._y = _root._ymouse;
_root.accessories_04_copy.startDrag();
_global.DraggingCategory = "accessories";
_global.DraggingId = "04";
}
Symbol 23 Button
on (press) {
_root.attachMovie("accessories_mc_03", "accessories_03_copy", 1000);
_root.accessories_03_copy._x = _root._xmouse;
_root.accessories_03_copy._y = _root._ymouse;
_root.accessories_03_copy.startDrag();
_global.DraggingCategory = "accessories";
_global.DraggingId = "03";
}
Symbol 27 Button
on (press) {
_root.attachMovie("shoes_mc_04", "shoes_04_copy", 1000);
_root.shoes_04_copy._x = _root._xmouse;
_root.shoes_04_copy._y = _root._ymouse;
_root.shoes_04_copy.startDrag();
_global.DraggingCategory = "shoes";
_global.DraggingId = "04";
}
Symbol 30 Button
on (press) {
_root.attachMovie("shoes_mc_03", "shoes_03_copy", 1000);
_root.shoes_03_copy._x = _root._xmouse;
_root.shoes_03_copy._y = _root._ymouse;
_root.shoes_03_copy.startDrag();
_global.DraggingCategory = "shoes";
_global.DraggingId = "03";
}
Symbol 33 Button
on (press) {
_root.attachMovie("shoes_mc_02", "shoes_02_copy", 1000);
_root.shoes_02_copy._x = _root._xmouse;
_root.shoes_02_copy._y = _root._ymouse;
_root.shoes_02_copy.startDrag();
_global.DraggingCategory = "shoes";
_global.DraggingId = "02";
}
Symbol 36 Button
on (press) {
_root.attachMovie("shoes_mc_01", "shoes_01_copy", 1000);
_root.shoes_01_copy._x = _root._xmouse;
_root.shoes_01_copy._y = _root._ymouse;
_root.shoes_01_copy.startDrag();
_global.DraggingCategory = "shoes";
_global.DraggingId = "01";
}
Symbol 39 Button
on (press) {
_root.attachMovie("clothes_mc_04", "clothes_04_copy", 1000);
_root.clothes_04_copy._x = _root._xmouse;
_root.clothes_04_copy._y = _root._ymouse;
_root.clothes_04_copy.startDrag();
_global.DraggingCategory = "clothes";
_global.DraggingId = "04";
}
Symbol 42 Button
on (press) {
_root.attachMovie("clothes_mc_03", "clothes_03_copy", 1000);
_root.clothes_03_copy._x = _root._xmouse;
_root.clothes_03_copy._y = _root._ymouse;
_root.clothes_03_copy.startDrag();
_global.DraggingCategory = "clothes";
_global.DraggingId = "03";
}
Symbol 45 Button
on (press) {
_root.attachMovie("clothes_mc_02", "clothes_02_copy", 1000);
_root.clothes_02_copy._x = _root._xmouse;
_root.clothes_02_copy._y = _root._ymouse;
_root.clothes_02_copy.startDrag();
_global.DraggingCategory = "clothes";
_global.DraggingId = "02";
}
Symbol 48 Button
on (press) {
_root.attachMovie("clothes_mc_01", "clothes_01_copy", 1000);
_root.clothes_01_copy._x = _root._xmouse;
_root.clothes_01_copy._y = _root._ymouse;
_root.clothes_01_copy.startDrag();
_global.DraggingCategory = "clothes";
_global.DraggingId = "01";
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 11
stop();
Symbol 58 Button
on (press) {
_root.attachMovie("hair_mc_04", "hair_04_copy", 1000);
_root.hair_04_copy._x = _root._xmouse;
_root.hair_04_copy._y = _root._ymouse;
_root.hair_04_copy.startDrag();
_global.DraggingCategory = "hair";
_global.DraggingId = "04";
}
Symbol 63 Button
on (press) {
_root.attachMovie("hair_mc_03", "hair_03_copy", 1000);
_root.hair_03_copy._x = _root._xmouse;
_root.hair_03_copy._y = _root._ymouse;
_root.hair_03_copy.startDrag();
_global.DraggingCategory = "hair";
_global.DraggingId = "03";
}
Symbol 68 Button
on (press) {
_root.attachMovie("hair_mc_02", "hair_02_copy", 1000);
_root.hair_02_copy._x = _root._xmouse;
_root.hair_02_copy._y = _root._ymouse;
_root.hair_02_copy.startDrag();
_global.DraggingCategory = "hair";
_global.DraggingId = "02";
}
Symbol 72 Button
on (press) {
_root.attachMovie("hair_mc_01", "hair_01_copy", 1000);
_root.hair_01_copy._x = _root._xmouse;
_root.hair_01_copy._y = _root._ymouse;
_root.hair_01_copy.startDrag();
_global.DraggingCategory = "hair";
_global.DraggingId = "01";
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 11
stop();
Symbol 103 MovieClip Frame 21
stop();
Symbol 103 MovieClip Frame 31
stop();
Symbol 103 MovieClip Frame 41
stop();
Symbol 144 MovieClip Frame 24
_root.head_mc.headmove1_mc.headmove2_mc.face_mc.gotoAndStop("off");
Symbol 145 MovieClip Frame 1
function checkSound() {
onEnterFrame = function () {
if (_root.playstatus == 0) {
this.gotoAndStop("off");
delete onEnterFrame;
}
};
}
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 3
stop();
checkSound();
Symbol 155 Button
on (release) {
_root.gotoAndStop("game");
_root.startSound.start(0, 1);
}
Symbol 159 Button
on (release) {
this.gotoAndStop("SoundOn");
}
Symbol 162 Button
on (release) {
this.gotoAndStop("SoundOff");
}
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
_root.bgTrack.start(0, 999);
var presentSound = bgTrack;
var sound = new Sound(_root);
sound.setVolume(100);
Symbol 163 MovieClip Frame 3
stop();
_root.bgTrack.stop();
var presentSound = bgTrack;
var sound = new Sound(_root);
sound.setVolume(0);
Symbol 287 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 288 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 289 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 290 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 165 MovieClip Frame 10
stop();
Symbol 190 Button
on (press) {
_global.first_name = first_name.text;
_global.last_name = last_name.text;
first_name._visible = false;
last_name._visible = false;
_root.xHair = 0;
_root.xClothes = 505;
_root.xShoes = 525;
_root.xAccessories = 545;
_root.xDone = 565;
_root.yeehaSound.start(0, 1);
}
Symbol 198 Button
on (press) {
_root.xHair = 0;
_root.xClothes = 505;
_root.xShoes = 525;
_root.xAccessories = 545;
_root.tab_hair.hair_01._visible = true;
_root.tab_hair.hair_02._visible = true;
_root.tab_hair.hair_03._visible = true;
_root.tab_hair.hair_04._visible = true;
_root.tab_clothes.clothes_01._visible = false;
_root.tab_clothes.clothes_02._visible = false;
_root.tab_clothes.clothes_03._visible = false;
_root.tab_clothes.clothes_04._visible = false;
_root.tab_shoes.shoes_01._visible = false;
_root.tab_shoes.shoes_02._visible = false;
_root.tab_shoes.shoes_03._visible = false;
_root.tab_shoes.shoes_04._visible = false;
_root.tab_accessories.accessories_01._visible = false;
_root.tab_accessories.accessories_02._visible = false;
_root.tab_accessories.accessories_03._visible = false;
_root.tab_accessories.accessories_04._visible = false;
}
Symbol 203 Button
on (press) {
_root.xHair = 0;
_root.xClothes = 20;
_root.xShoes = 525;
_root.xAccessories = 545;
_root.tab_hair.hair_01._visible = false;
_root.tab_hair.hair_02._visible = false;
_root.tab_hair.hair_03._visible = false;
_root.tab_hair.hair_04._visible = false;
_root.tab_clothes.clothes_01._visible = true;
_root.tab_clothes.clothes_02._visible = true;
_root.tab_clothes.clothes_03._visible = true;
_root.tab_clothes.clothes_04._visible = true;
_root.tab_shoes.shoes_01._visible = false;
_root.tab_shoes.shoes_02._visible = false;
_root.tab_shoes.shoes_03._visible = false;
_root.tab_shoes.shoes_04._visible = false;
_root.tab_accessories.accessories_01._visible = false;
_root.tab_accessories.accessories_02._visible = false;
_root.tab_accessories.accessories_03._visible = false;
_root.tab_accessories.accessories_04._visible = false;
}
Symbol 208 Button
on (press) {
_root.xHair = 0;
_root.xClothes = 20;
_root.xShoes = 40;
_root.xAccessories = 545;
_root.tab_hair.hair_01._visible = false;
_root.tab_hair.hair_02._visible = false;
_root.tab_hair.hair_03._visible = false;
_root.tab_hair.hair_04._visible = false;
_root.tab_clothes.clothes_01._visible = false;
_root.tab_clothes.clothes_02._visible = false;
_root.tab_clothes.clothes_03._visible = false;
_root.tab_clothes.clothes_04._visible = false;
_root.tab_shoes.shoes_01._visible = true;
_root.tab_shoes.shoes_02._visible = true;
_root.tab_shoes.shoes_03._visible = true;
_root.tab_shoes.shoes_04._visible = true;
_root.tab_accessories.accessories_01._visible = false;
_root.tab_accessories.accessories_02._visible = false;
_root.tab_accessories.accessories_03._visible = false;
_root.tab_accessories.accessories_04._visible = false;
}
Symbol 214 Button
on (press) {
_root.xHair = 0;
_root.xClothes = 20;
_root.xShoes = 40;
_root.xAccessories = 60;
_root.tab_hair.hair_01._visible = false;
_root.tab_hair.hair_02._visible = false;
_root.tab_hair.hair_03._visible = false;
_root.tab_hair.hair_04._visible = false;
_root.tab_clothes.clothes_01._visible = false;
_root.tab_clothes.clothes_02._visible = false;
_root.tab_clothes.clothes_03._visible = false;
_root.tab_clothes.clothes_04._visible = false;
_root.tab_shoes.shoes_01._visible = false;
_root.tab_shoes.shoes_02._visible = false;
_root.tab_shoes.shoes_03._visible = false;
_root.tab_shoes.shoes_04._visible = false;
_root.tab_accessories.accessories_01._visible = true;
_root.tab_accessories.accessories_02._visible = true;
_root.tab_accessories.accessories_03._visible = true;
_root.tab_accessories.accessories_04._visible = true;
}
Symbol 226 Button
on (press) {
_root.send_box.gotoAndStop("on");
_root.xHair = 0;
_root.xClothes = 20;
_root.xShoes = 40;
_root.xAccessories = 60;
_root.xDone = -20;
_root.balloon.gotoAndStop("on");
_root.box.gotoAndPlay("on");
_root.tab_hair.hair_01._visible = false;
_root.tab_hair.hair_02._visible = false;
_root.tab_hair.hair_03._visible = false;
_root.tab_hair.hair_04._visible = false;
_root.tab_clothes.clothes_01._visible = false;
_root.tab_clothes.clothes_02._visible = false;
_root.tab_clothes.clothes_03._visible = false;
_root.tab_clothes.clothes_04._visible = false;
_root.tab_shoes.shoes_01._visible = false;
_root.tab_shoes.shoes_02._visible = false;
_root.tab_shoes.shoes_03._visible = false;
_root.tab_shoes.shoes_04._visible = false;
_root.tab_accessories.accessories_01._visible = false;
_root.tab_accessories.accessories_02._visible = false;
_root.tab_accessories.accessories_03._visible = false;
_root.tab_accessories.accessories_04._visible = false;
temp_str = _root.first_name.text.toLowerCase();
first_letter = substring(temp_str, 1, 1);
switch (first_letter) {
case "a" :
stage_phrase = "Busty Big Wig";
break;
case "b" :
stage_phrase = "Bubba Buns";
break;
case "c" :
stage_phrase = "Cranky Cooter";
break;
case "d" :
stage_phrase = "Ditzy Dingleberry";
break;
case "e" :
stage_phrase = "Campfire Cussin'";
break;
case "f" :
stage_phrase = "Fanny Big Gaslight";
break;
case "g" :
stage_phrase = "Gingham Knickers";
break;
case "h" :
stage_phrase = "Hillbilly Hickey";
break;
case "i" :
stage_phrase = "Pistol Whipper";
break;
case "j" :
stage_phrase = "On-Yer-Back-Rider";
break;
case "k" :
stage_phrase = "Cleatis Itch";
break;
case "l" :
stage_phrase = "Billy Bob Bum Rash";
break;
case "m" :
stage_phrase = "Winnebago Wendy";
break;
case "n" :
stage_phrase = "Hungry Horse";
break;
case "o" :
stage_phrase = "Gay Gordon";
break;
case "p" :
stage_phrase = "Icky Perky Buns";
break;
case "q" :
stage_phrase = "Dosey Doe";
break;
case "r" :
stage_phrase = "Rubbin' Ruby Sue";
break;
case "s" :
stage_phrase = "Salty Sweet Tip";
break;
case "t" :
stage_phrase = "Saddle Sore";
break;
case "u" :
stage_phrase = "Fancy Dance Pants";
break;
case "v" :
stage_phrase = "Kitten Heels";
break;
case "w" :
stage_phrase = "Icky Willie";
break;
case "x" :
stage_phrase = "Horse Hair";
break;
case "y" :
stage_phrase = "Thigh Slapper";
break;
case "z" :
stage_phrase = "Yee Ha Big Moma";
break;
default :
stage_phrase = "Busty Big Wig";
}
stage_name.text = (((_global.first_name + " ") + stage_phrase) + " ") + _global.last_name;
array_look = new Array();
array_look[0] = new Array();
array_look[1] = new Array();
array_look[2] = new Array();
array_look[3] = new Array();
array_look[0].name = "showbiz";
array_look[0].value = 0;
array_look[1].name = "trashy";
array_look[1].value = 0;
array_look[2].name = "country";
array_look[2].value = 0;
array_look[3].name = "classy";
array_look[3].value = 0;
switch (_global.hair) {
case "01" :
array_look[2].value++;
break;
case "02" :
array_look[3].value++;
break;
case "03" :
array_look[1].value++;
break;
case "04" :
array_look[0].value++;
}
switch (_global.clothes) {
case "01" :
array_look[0].value++;
break;
case "02" :
array_look[2].value++;
break;
case "03" :
array_look[1].value++;
break;
case "04" :
array_look[3].value++;
}
switch (_global.shoes) {
case "01" :
array_look[2].value++;
break;
case "02" :
array_look[0].value++;
break;
case "03" :
array_look[1].value++;
break;
case "04" :
array_look[3].value++;
}
switch (_global.accessories) {
case "01" :
array_look[0].value++;
break;
case "02" :
array_look[3].value++;
break;
case "03" :
array_look[2].value++;
break;
case "04" :
array_look[1].value++;
}
i = 0;
while (i < 4) {
j = 0;
while (j < 3) {
if (array_look[j].value <= array_look[j + 1].value) {
temp_name = array_look[j].name;
temp_value = array_look[j].value;
array_look[j].name = array_look[j + 1].name;
array_look[j].value = array_look[j + 1].value;
array_look[j + 1].name = temp_name;
array_look[j + 1].value = temp_value;
}
j++;
}
i++;
}
if ((array_look[0].value == 4) || (array_look[0].value == 3)) {
look_result = array_look[0].name;
}
if (array_look[0].value == 2) {
if (array_look[1].value == 2) {
help = (Math.random() * 1) + 0;
look_result = array_look[Math.round(help)].name;
} else {
look_result = array_look[0].name;
}
}
if (array_look[0].value == 1) {
help = (Math.random() * 3) + 0;
look_result = array_look[Math.round(help)].name;
}
switch (look_result) {
case "trashy" :
look_str = "Trashy Dolly";
biddest_hit_str = "If I Can't Be Number One In Your Life, Then Number Two On You";
_root.trashySound.start(0, 1);
var presentSound = trashySound;
trashySound.setVolume(10);
break;
case "country" :
look_str = "Country Dolly";
biddest_hit_str = "Her Teeth Was Stained, But Her Heart Was Pure";
_root.countrySound.start(0, 1);
var presentSound = countrySound;
break;
case "classy" :
look_str = "Classy Dolly";
biddest_hit_str = "You Were Only A Splinter In My ___ As I Slid Down The Bannister Of Life";
_root.classySound.start(0, 1);
var presentSound = classySound;
break;
case "showbiz" :
look_str = "Showbiz Dolly";
biddest_hit_str = "Got An Uplift Bra, But An Ache in My Heart";
_root.showbizSound.start(0, 1);
var presentSound = showbizSound;
}
look.text = look_str;
biggest_hit.text = biddest_hit_str;
}
Symbol 230 Button
on (press) {
_root.xHair = 0;
_root.xClothes = 505;
_root.xShoes = 525;
_root.xAccessories = 545;
_root.xDone = 565;
_root.balloon.gotoAndStop("off");
_root.box.gotoAndStop("off");
_global.hair = undefined;
_global.clothes = undefined;
_global.shoes = undefined;
_global.accessories = undefined;
_root.tab_hair.hair_01._visible = true;
_root.tab_hair.hair_02._visible = true;
_root.tab_hair.hair_03._visible = true;
_root.tab_hair.hair_04._visible = true;
_root.tab_clothes.clothes_01._visible = false;
_root.tab_clothes.clothes_02._visible = false;
_root.tab_clothes.clothes_03._visible = false;
_root.tab_clothes.clothes_04._visible = false;
_root.tab_shoes.shoes_01._visible = false;
_root.tab_shoes.shoes_02._visible = false;
_root.tab_shoes.shoes_03._visible = false;
_root.tab_shoes.shoes_04._visible = false;
_root.tab_accessories.accessories_01._visible = false;
_root.tab_accessories.accessories_02._visible = false;
_root.tab_accessories.accessories_03._visible = false;
_root.tab_accessories.accessories_04._visible = false;
_root.head_mc.headmove1_mc.headmove2_mc.gotoAndStop("frame_00");
_root.clothes_mc.gotoAndStop("frame_00");
_root.shoes_mc.gotoAndStop("frame_00");
_root.accessories_mc.gotoAndStop("frame_00");
_root.head_mc.headmove1_mc.headmove2_mc.bunny_mc.gotoAndStop("frame_00");
_root.yeehaSound.start(0, 1);
_root.send_box.gotoAndStop("off");
}
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 2
on (press) {
_root.xHair = 485;
_root.xClothes = 505;
_root.xShoes = 525;
_root.xAccessories = 545;
_root.xDone = 565;
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
stop();
Symbol 248 MovieClip Frame 3
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 11
stop();
Symbol 254 MovieClip Frame 21
stop();
Symbol 254 MovieClip Frame 31
stop();
Symbol 254 MovieClip Frame 41
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 2
stop();
Symbol 258 MovieClip Frame 3
stop();
Symbol 258 MovieClip Frame 4
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 3
stop();
Symbol 268 MovieClip Frame 4
stop();
Symbol 268 MovieClip Frame 5
stop();
Symbol 286 MovieClip Frame 1
stop();
your_email.tabIndex = 1;
recipient_name.tabIndex = 2;
recipient_email.tabIndex = 3;
Symbol 286 MovieClip Frame 2
_root.a = 1;
your_email.onSetFocus = function () {
_root.a = 1;
};
recipient_name.onSetFocus = function () {
_root.a = 2;
};
recipient_email.onSetFocus = function () {
_root.a = 0;
};
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.getCode() == 9) {
if (_root.a == 0) {
Selection.setFocus("your_email");
_root.a = 1;
} else if (_root.a == 1) {
Selection.setFocus("recipient_name");
_root.a = 2;
} else if (_root.a == 2) {
Selection.setFocus("recipient_email");
_root.a = 0;
}
}
};
Key.addListener(myListener);
send_mc.onRelease = function () {
if (((your_email.text != "") && (recipient_name.text != "")) && (recipient_email.text != "")) {
myVars = new LoadVars();
myVars.siteName = "dollygame";
myVars.toEmail = recipient_email.text;
myVars.fromEmail = your_email.text;
myVars.toName = recipient_name.text;
myVars.fromName = (_root.first_name.text + " ") + _root.last_name.text;
myVars.sendAndLoad("/email/sendEmail.jsp", myVars, "GET");
myVars.onLoad = function (success) {
if (success) {
_root.send_box.gotoAndStop("sent");
your_email.text = "";
recipient_name.text = "";
recipient_email.text = "";
}
};
}
};
Symbol 286 MovieClip Frame 3
stop();