Frame 1
function cargando() {
total = _root.getBytesTotal();
cargados = _root.getBytesLoaded();
porcentaje = Math.floor((cargados * 100) / total);
barra_mc.gotoAndStop(porcentaje);
if (cargados == total) {
barra_mc._alpha = barra_mc._alpha - 2;
if (this._currentframe > 280) {
clearInterval(hiloPrecarga);
play();
}
}
}
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function createSnow() {
if (act) {
i = _root.getNextHighestDepth();
tmp = _root.attachMovie("star", "star" + i, i);
tmp._x = randRange(1, 800);
tmp._y = randRange(1, 600);
tmp._xscale = randRange(70, 110);
tmp._yscale = tmp._xscale;
}
}
function elimina() {
clearInterval(crear);
q = 0;
while (q < (i + 1)) {
removeMovieClip(this["star" + q]);
q++;
}
}
var hiloPrecarga = setInterval(cargando, 1);
var crear = setInterval(createSnow, 1);
Frame 2
stop();
play_btn._visible = true;
playbutton._visible = false;
printbutton._visible = false;
btnplay._visible = false;
btnplay5._visible = false;
donebtn._visible = false;
face._visible = true;
capmc._visible = true;
hairmc._visible = true;
topmc._visible = true;
bottommc._visible = true;
shoesmc._visible = true;
hairbtn._visible = true;
topbtn._visible = true;
bottombtn._visible = true;
shoesbtn._visible = true;
skinbtn._visible = true;
capbtn._visible = true;
resetbtn._visible = true;
donebtn._visible = true;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
myslider._visible = false;
myslider1._visible = false;
myslider3._visible = false;
myslider4._visible = false;
skinSlider._visible = false;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
containerskin._visible = false;
containertop._visible = false;
containerhair._visible = false;
containershoes._visible = false;
containerbottoms._visible = false;
containercap._visible = false;
play_btn.onRelease = function () {
piaylogo._visible = false;
play_btn._visible = false;
playbutton._visible = false;
btnplay._visible = false;
btnplay5._visible = false;
logo._visible = true;
face._visible = true;
hand._visible = true;
inar._visible = true;
finishedbutton._visible = true;
playbutton._visible = false;
color1_btn._visible = false;
};
var backgroundno = "1";
var topno = "1";
var bagno = "1";
var shoesno = "1";
var capno = "1";
var bottomno = "1";
var hairno = "1";
var hairaccno = "1";
var skinno = "1";
var mc1 = 0;
var movieclipname;
var movieclipcategory;
var frameno = "1";
var changecategory;
i = 1;
while (i < 14) {
eval ("containertop.top" + i).onPress = function () {
var _local4 = new String(this._name);
var _local3 = new String();
_local3 = _local4.substr(3, 1);
_root.topmc.gotoAndStop(_local3);
topno = _local3;
frameno = _local3;
};
eval ("containerhair.hair" + i).onPress = function () {
var _local4 = new String(this._name);
var _local3 = new String();
_local3 = _local4.substr(4, 1);
_root.hairmc.gotoAndStop(_local3);
hairno = _local3;
frameno = _local3;
};
eval ("containerbottoms.bottom" + i).onPress = function () {
var _local4 = new String(this._name);
var _local3 = new String();
_local3 = _local4.substr(6, 1);
_root.bottommc.gotoAndStop(_local3);
bottomno = _local3;
frameno = _local3;
};
eval ("containercap.cap" + i).onPress = function () {
var _local4 = new String(this._name);
var _local3 = new String();
_local3 = _local4.substr(3, 1);
_root.capmc.gotoAndStop(_local3);
capno = _local3;
frameno = _local3;
};
eval ("containerHead.Head" + i).onPress = function () {
var _local4 = new String(this._name);
var _local3 = new String();
_local3 = _local4.substr(4, 1);
_root.hairaccmc.gotoAndStop(_local3);
hairaccno = _local3;
frameno = _local3;
};
eval ("containerskin.skin" + i).onPress = function () {
var _local4 = new String(this._name);
var _local3 = new String();
_local3 = _local4.substr(4, 1);
_root.modelmc.gotoAndStop(_local3);
skinno = _local3;
frameno = _local3;
};
eval ("containershoes.shoes" + i).onPress = function () {
var _local4 = new String(this._name);
var _local3 = new String();
_local3 = _local4.substr(5, 1);
_root.shoesmc.gotoAndStop(_local3);
shoesno = _local3;
frameno = _local3;
};
i++;
}
backgroundbtn.onRelease = function () {
colorpalette._visible = false;
containerskin._visible = false;
colorbtnfalse();
backgroundno = int(backgroundno) + 1;
if (int(backgroundno) == 3) {
backgroundno = "1";
backgroundmc.gotoAndStop(backgroundno);
} else {
backgroundmc.gotoAndStop(backgroundno);
}
};
topbtn.onRelease = function () {
colorbtntrue();
movieclipname = "topmc";
movieclipcategory = "top";
colorpalette._visible = true;
closeFunc(mc1);
topcolor1._visible = true;
topcolor2._visible = true;
topcolor3._visible = true;
topcolor4._visible = true;
myslider3._visible = true;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
myslider1._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
myslider._visible = false;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
myslider4._visible = false;
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
skinslider._visible = false;
containerskin._visible = false;
containertop._visible = true;
containerhair._visible = false;
containershoes._visible = false;
containerbottoms._visible = false;
containercap._visible = false;
var _local3 = new mx.transitions.Tween(containertops, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
mx.transitions.TransitionManager.start(colorpalette, {type:mx.transitions.Iris, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.Strong.easeOut, startPoint:5, shape:mx.transitions.Iris.CIRCLE});
mc1 = containertops;
};
hairbtn.onRelease = function () {
colorbtnfalse();
movieclipname = "hairmc";
movieclipcategory = "hair";
colorpalette._visible = false;
closeFunc(mc1);
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
myslider._visible = true;
haircolor1._visible = true;
haircolor2._visible = true;
haircolor3._visible = true;
haircolor4._visible = true;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
bottomcolor5._visible = false;
myslider1._visible = false;
myslider3._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
b_first_color._visible = false;
b_second_color._visible = false;
b_third_color._visible = false;
b_fourth_color._visible = false;
myslider4._visible = false;
skinSlider._visible = false;
containerskin._visible = false;
containertop._visible = false;
containerhair._visible = true;
containershoes._visible = false;
containerbottoms._visible = false;
containercap._visible = false;
var _local1 = new mx.transitions.Tween(containerhair, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
mc1 = containerhair;
};
bottombtn.onRelease = function () {
colorbtntrue();
movieclipname = "bottommc";
movieclipcategory = "bottom";
colorpalette._visible = true;
closeFunc(mc1);
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
bottomcolor1._visible = true;
bottomcolor2._visible = true;
bottomcolor3._visible = true;
bottomcolor4._visible = true;
bottomcolor5._visible = true;
myslider1._visible = true;
myslider3._visible = false;
myslider._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
b_first_color._visible = false;
b_second_color._visible = false;
b_third_color._visible = false;
b_fourth_color._visible = false;
myslider4._visible = false;
skinSlider._visible = false;
containerskin._visible = false;
containertop._visible = false;
containerhair._visible = false;
containershoes._visible = false;
containerbottoms._visible = true;
containercap._visible = false;
var _local1 = new mx.transitions.Tween(containerbottoms, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
mc1 = containerbottoms;
};
shoesbtn.onRelease = function () {
movieclipname = "shoesmc";
movieclipcategory = "shoes";
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
myslider4._visible = false;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
bottomcolor5._visible = false;
myslider1._visible = false;
myslider3._visible = false;
myslider._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
skinSlider._visible = false;
containerskin._visible = false;
containertop._visible = false;
containerhair._visible = false;
containershoes._visible = true;
containerbottoms._visible = false;
containercap._visible = false;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
var _local1 = new mx.transitions.Tween(containershoes, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
mc1 = containershoes;
};
capbtn.onRelease = function () {
movieclipname = "capmc";
movieclipcategory = "cap";
colorpalette._visible = true;
closeFunc(mc1);
myslider4._visible = true;
capcolor1._visible = true;
capcolor2._visible = true;
capcolor3._visible = true;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
bottomcolor5._visible = false;
myslider1._visible = false;
myslider3._visible = false;
myslider._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
skinSlider._visible = false;
containerskin._visible = false;
containertop._visible = false;
containerhair._visible = false;
containershoes._visible = false;
containerbottoms._visible = false;
containercap._visible = true;
var _local1 = new mx.transitions.Tween(containercap, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
mc1 = containercap;
};
skinbtn.onRelease = function () {
colorbtnfalse();
colorpalette._visible = false;
closeFuncz(mc1);
first_color._visible = true;
second_color._visible = true;
third_color._visible = true;
fourth_color._visible = true;
skinSlider._visible = true;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
b_first_color._visible = false;
b_second_color._visible = false;
b_third_color._visible = false;
b_fourth_color._visible = false;
myslider1._visible = false;
myslider3._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
myslider4._visible = false;
myslider._visible = false;
containerskin._visible = true;
containertop._visible = false;
containerhair._visible = false;
containershoes._visible = false;
containerbottoms._visible = false;
containercap._visible = false;
var _local1 = new mx.transitions.Tween(containerskin, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
mc1 = containerskin;
};
shoesbtn.onRelease = function () {
colorbtnfalse();
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
colorpalette._visible = false;
closeFuncz(mc1);
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
skinSlider._visible = false;
b_first_color._visible = false;
b_second_color._visible = false;
b_third_color._visible = false;
b_fourth_color._visible = false;
myslider1._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
myslider._visible = false;
myslider3._visible = false;
myslider4._visible = false;
mysilder6._visible = false;
myslider8._visible = false;
containerskin._visible = false;
containertop._visible = false;
containerhair._visible = false;
containershoes._visible = true;
containerbottoms._visible = false;
containercap._visible = false;
var _local1 = new mx.transitions.Tween(containerwater, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
mc1 = containerwater;
};
resetbtn.onRelease = function () {
shoesmc.gotoAndStop(6);
topmc.gotoAndStop(6);
hairmc.gotoAndStop(6);
bottommc.gotoAndStop(6);
capmc.gotoAndStop(6);
var _local2 = new Array("0xfddcd5");
var _local1 = new Color(face.basetone);
_local1.setRGB(_local2[0]);
};
donebtn.onRelease = function () {
gotoAndPlay ("m2");
playlogo._visible = true;
hairbtn._visible = false;
topbtn._visible = false;
bottombtn._visible = false;
shoesbtn._visible = false;
skinbtn._visible = false;
capbtn._visible = false;
resetbtn._visible = false;
donebtn._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
capcolor4._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
myslider._visible = false;
myslider1._visible = false;
myslider3._visible = false;
myslider4._visible = false;
skinSlider._visible = false;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
containerskin._visible = false;
containertop._visible = false;
containerhair._visible = false;
containershoes._visible = false;
containerbottoms._visible = false;
containercap._visible = false;
playbtn._visible = true;
};
donebtn.onRelease = function () {
btnplay5._visible = false;
playlogo._visible = true;
logo1._visible = false;
donebtn._visible = false;
playbutton._visible = true;
printbutton._visible = true;
btnplay._visible = true;
color1_btn._visible = false;
hand._visible = true;
containercaps._visible = false;
containerhair._visible = false;
containertop._visible = false;
containercap._visible = false;
containerbends._visible = false;
containershoes._visible = false;
containerballs._visible = false;
containerskin._visible = false;
containerbottoms._visible = false;
colorpalette._visible = false;
maskaraslider._visible = false;
bendcolor1._visible = false;
bendcolor2._visible = false;
bendcolor3._visible = false;
mysilder2._visible = false;
capslider._visible = false;
shoesslider._visible = false;
mysilder6._visible = false;
slider1._visible = false;
myslider._visible = false;
bottomcolor1._visible = false;
bottomcolor2._visible = false;
bottomcolor3._visible = false;
bottomcolor4._visible = false;
myslider1._visible = false;
capcolor1._visible = false;
capcolor2._visible = false;
capcolor3._visible = false;
myslider4._visible = false;
haircolor1._visible = false;
haircolor2._visible = false;
haircolor3._visible = false;
haircolor4._visible = false;
first_color._visible = false;
second_color._visible = false;
third_color._visible = false;
fourth_color._visible = false;
skinSlider._visible = false;
b_second_color._visible = false;
b_third_color._visible = false;
b_fourth_color._visible = false;
topcolor1._visible = false;
topcolor2._visible = false;
topcolor3._visible = false;
topcolor4._visible = false;
myslider3._visible = false;
topbtn._visible = false;
bottombtn._visible = false;
hairbtn._visible = false;
capbtn._visible = false;
bendbtn._visible = false;
ballbtn._visible = false;
shoesbtn._visible = false;
skinbtn._visible = false;
capbtn._visible = false;
resetbtn._visible = false;
};
playbutton.onRelease = function () {
logo2._visible = true;
play_btn._visible = true;
playbutton._visible = true;
printbutton._visible = true;
btnplay._visible = true;
btnplay5._visible = true;
playlogo._visible = true;
logo2._visible = true;
donebtn._visible = true;
playbutton._visible = false;
btnplay._visible = false;
topbtn._visible = true;
bottombtn._visible = true;
hairbtn._visible = true;
capbtn._visible = true;
bendbtn._visible = true;
ballbtn._visible = true;
shoesbtn._visible = true;
skinbtn._visible = true;
capbtn._visible = true;
resetbtn._visible = true;
};
var myArr1 = new Array("0xf7dfcb", "0xf3ccb0", "0xefb994", "0xeaa375");
var my_face = new Color(face.basetone);
first_color.onRelease = function () {
my_face.setRGB(myArr1[0]);
_root.myslider.dragger._x = 0;
_root.myslider.dragger._y = 0;
};
second_color.onRelease = function () {
my_face.setRGB(myArr1[1]);
_root.myslider.dragger._x = 31.4;
_root.myslider.dragger._y = 0;
};
third_color.onRelease = function () {
my_face.setRGB(myArr1[2]);
_root.myslider.dragger._x = 59.2;
_root.myslider.dragger._y = 0;
};
fourth_color.onRelease = function () {
my_face.setRGB(myArr1[3]);
_root.myslider.dragger._x = 97.3;
_root.myslider.dragger._y = 0;
};
Instance of Symbol 382 MovieClip "playlogo" in Frame 2
on (release) {
getURL ("http://www.chicdressup.com", "_blank");
}
Symbol 387 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 388 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 389 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 390 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 391 MovieClip [__Packages.mx.transitions.TransitionManager] Frame 0
class mx.transitions.TransitionManager
{
var _transitions, removeEventListener, _content, addEventListener, _contentAppearance, _innerBounds, _outerBounds, _width, _height, _triggerEvent, dispatchEvent;
function TransitionManager (content) {
this.content = (content);
_transitions = {};
}
function set content(c) {
removeEventListener("allTransitionsInDone", _content);
removeEventListener("allTransitionsOutDone", _content);
_content = c;
saveContentAppearance();
addEventListener("allTransitionsInDone", _content);
addEventListener("allTransitionsOutDone", _content);
//return(content);
}
function get content() {
return(_content);
}
function get transitionsList() {
return(_transitions);
}
function get numTransitions() {
var _local2 = 0;
for (var _local3 in _transitions) {
_local2++;
}
return(_local2);
}
function get numInTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (!_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get numOutTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get contentAppearance() {
return(_contentAppearance);
}
static function start(content, transParams) {
if (content.__transitionManager == undefined) {
content.__transitionManager = new mx.transitions.TransitionManager(content);
}
if (transParams.direction == 1) {
content.__transitionManager._triggerEvent = "hide";
} else {
content.__transitionManager._triggerEvent = "reveal";
}
return(content.__transitionManager.startTransition(transParams));
}
function startTransition(transParams) {
removeTransition(findTransition(transParams));
var _local3 = transParams.type;
var _local2 = new _local3[undefined](_content, transParams, this);
addTransition(_local2);
_local2.start();
return(_local2);
}
function addTransition(trans) {
trans.ID = ++IDCount;
_transitions[trans.ID] = trans;
return(trans);
}
function removeTransition(trans) {
if (_transitions[trans.ID] == undefined) {
return(false);
}
trans.cleanUp();
return(delete _transitions[trans.ID]);
}
function findTransition(transParams) {
var _local2;
for (var _local4 in _transitions) {
_local2 = _transitions[_local4];
if (_local2.type == transParams.type) {
return(_local2);
}
}
return(undefined);
}
function removeAllTransitions() {
for (var _local2 in _transitions) {
_transitions[_local2].cleanUp();
removeTransition(_transitions[_local2]);
}
}
function saveContentAppearance() {
var _local2 = _content;
if (_contentAppearance == undefined) {
var _local3 = (_contentAppearance = {});
for (var _local4 in _visualPropList) {
_local3[_local4] = _local2[_local4];
}
_local3.colorTransform = new Color(_local2).getTransform();
}
_innerBounds = _local2.getBounds(targetPath(_local2));
_outerBounds = _local2.getBounds(targetPath(_local2._parent));
_width = _local2._width;
_height = _local2._height;
}
function restoreContentAppearance() {
var _local2 = _content;
var _local3 = _contentAppearance;
for (var _local4 in _visualPropList) {
_local2[_local4] = _local3[_local4];
}
new Color(_local2).setTransform(_local3.colorTransform);
}
function transitionInDone(e) {
removeTransition(e.target);
if (numInTransitions == 0) {
var _local2;
_local2 = _content._visible;
if ((_triggerEvent == "hide") || (_triggerEvent == "hideChild")) {
_content._visible = false;
}
if (_local2) {
dispatchEvent({type:"allTransitionsInDone", target:this});
}
}
}
function transitionOutDone(e) {
removeTransition(e.target);
if (numOutTransitions == 0) {
restoreContentAppearance();
var _local2;
_local2 = _content._visible;
if (_local2 && ((_triggerEvent == "hide") || (_triggerEvent == "hideChild"))) {
_content._visible = false;
}
updateAfterEvent();
if (_local2) {
dispatchEvent({type:"allTransitionsOutDone", target:this});
}
}
}
function toString() {
return("[TransitionManager]");
}
static var version = "1.1.0.52";
static var IDCount = 0;
var type = mx.transitions.TransitionManager;
var className = "TransitionManager";
var _visualPropList = {_x:null, _y:null, _xscale:null, _yscale:null, _alpha:null, _rotation:null};
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.TransitionManager.prototype);
}
Symbol 392 MovieClip [__Packages.mx.transitions.Transition] Frame 0
class mx.transitions.Transition
{
var _manager, removeEventListener, addEventListener, _content, _twn, _easing, _progress, dispatchEvent, _innerBounds, _outerBounds, _width, _height;
function Transition (content, transParams, manager) {
if (!arguments.length) {
return;
}
init(content, transParams, manager);
}
function set manager(mgr) {
if (_manager != undefined) {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
}
_manager = mgr;
addEventListener("transitionInDone", _manager);
addEventListener("transitionOutDone", _manager);
addEventListener("transitionProgress", _manager);
//return(manager);
}
function get manager() {
return(_manager);
}
function set content(c) {
if (typeof(c) == "movieclip") {
_content = c;
_twn.obj = c;
}
//return(content);
}
function get content() {
return(_content);
}
function set direction(direction) {
_direction = (direction ? 1 : 0);
//return(this.direction);
}
function get direction() {
return(_direction);
}
function set duration(d) {
if (d) {
_duration = d;
_twn.duration = d;
}
//return(duration);
}
function get duration() {
return(_duration);
}
function set easing(e) {
if (typeof(e) == "string") {
e = eval (e);
} else if (e == undefined) {
e = _noEase;
}
_easing = e;
_twn.easing = e;
//return(easing);
}
function get easing() {
return(_easing);
}
function set progress(p) {
if (_progress == p) {
return;
}
_progress = p;
if (_direction) {
_render(1 - p);
} else {
_render(p);
}
dispatchEvent({type:"transitionProgress", target:this, progress:p});
//return(progress);
}
function get progress() {
return(_progress);
}
function init(content, transParams, manager) {
this.content = (content);
direction = (transParams.direction);
duration = (transParams.duration);
easing = (transParams.easing);
this.manager = (manager);
_innerBounds = this.manager._innerBounds;
_outerBounds = this.manager._outerBounds;
_width = this.manager._width;
_height = this.manager._height;
_resetTween();
}
function toString() {
return(("[Transition " + className) + "]");
}
function start() {
content._visible = true;
_twn.start();
}
function stop() {
_twn.fforward();
_twn.stop();
}
function cleanUp() {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
stop();
}
function getNextHighestDepthMC(mc) {
var _local4 = mc.getNextHighestDepth();
if (_local4 != undefined) {
return(_local4);
}
_local4 = -1;
var _local3;
var _local1;
for (var _local5 in mc) {
_local1 = mc[_local5];
if ((typeof(_local1) == "movieclip") && (_local1._parent == mc)) {
_local3 = _local1.getDepth();
if (_local3 > _local4) {
_local4 = _local3;
}
}
}
return(_local4 + 1);
}
function drawBox(mc, x, y, w, h) {
mc.moveTo(x, y);
mc.lineTo(x + w, y);
mc.lineTo(x + w, y + h);
mc.lineTo(x, y + h);
mc.lineTo(x, y);
}
function drawCircle(mc, x, y, r) {
mc.moveTo(x + r, y);
mc.curveTo(r + x, (0.414213562373095 * r) + y, (0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((0.414213562373095 * r) + x, r + y, x, r + y);
mc.curveTo((-0.414213562373095 * r) + x, r + y, (-0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((-r) + x, (0.414213562373095 * r) + y, (-r) + x, y);
mc.curveTo((-r) + x, (-0.414213562373095 * r) + y, (-0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo((-0.414213562373095 * r) + x, (-r) + y, x, (-r) + y);
mc.curveTo((0.414213562373095 * r) + x, (-r) + y, (0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo(r + x, (-0.414213562373095 * r) + y, r + x, y);
}
function _render(p) {
}
function _resetTween() {
_twn.stop();
_twn.removeListener(this);
_twn = new mx.transitions.Tween(this, null, easing, 0, 1, duration, true);
_twn.stop();
_twn.prop = "progress";
_twn.addListener(this);
}
function _noEase(t, b, c, d) {
return(((c * t) / d) + b);
}
function onMotionFinished(src) {
if (direction) {
dispatchEvent({type:"transitionOutDone", target:this});
} else {
dispatchEvent({type:"transitionInDone", target:this});
}
}
static var version = "1.1.0.52";
static var IN = 0;
static var OUT = 1;
var type = mx.transitions.Transition;
var className = "Transition";
var _direction = 0;
var _duration = 2;
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.Transition.prototype);
}
Symbol 393 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 394 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 395 MovieClip [__Packages.mx.transitions.Iris] Frame 0
class mx.transitions.Iris extends mx.transitions.Transition
{
var _maxDimension, _width, _height, _minDimension, _cornerMode, _content, _mask, getNextHighestDepthMC, __get__direction, _innerBounds, drawCircle, drawBox;
function Iris (content, transParams, manager) {
super();
init(content, transParams, manager);
}
function init(content, transParams, manager) {
super.init(content, transParams, manager);
if (transParams.startPoint) {
_startPoint = transParams.startPoint;
}
if (transParams.shape != undefined) {
_shape = transParams.shape;
}
_maxDimension = Math.max(_width, _height);
_minDimension = Math.min(_width, _height);
if (_startPoint % 2) {
_cornerMode = true;
}
if (_shape == "SQUARE") {
if (_cornerMode) {
_render = _renderSquareCorner;
} else {
_render = _renderSquareEdge;
}
} else if (_shape == "CIRCLE") {
_render = _renderCircle;
}
_initMask();
}
function start() {
_content.setMask(_mask);
super.start();
}
function cleanUp() {
_mask.removeMovieClip();
super.cleanUp();
}
function _initMask() {
var _local4 = _content;
var _local5 = getNextHighestDepthMC(_local4);
var _local2 = (_mask = _local4.createEmptyMovieClip("__mask_Iris_" + __get__direction(), _local5));
_local2._visible = false;
var _local3 = _innerBounds;
switch (_startPoint) {
case 1 :
_local2._x = _local3.xMin;
_local2._y = _local3.yMin;
break;
case 4 :
_local2._x = _local3.xMin;
_local2._y = (_local3.yMin + _local3.yMax) * 0.5;
break;
case 3 :
_local2._rotation = 90;
_local2._x = _local3.xMax;
_local2._y = _local3.yMin;
break;
case 2 :
_local2._rotation = 90;
_local2._x = (_local3.xMin + _local3.xMax) * 0.5;
_local2._y = _local3.yMin;
break;
case 9 :
_local2._rotation = 180;
_local2._x = _local3.xMax;
_local2._y = _local3.yMax;
break;
case 6 :
_local2._rotation = 180;
_local2._x = _local3.xMax;
_local2._y = (_local3.yMin + _local3.yMax) * 0.5;
break;
case 7 :
_local2._rotation = -90;
_local2._x = _local3.xMin;
_local2._y = _local3.yMax;
break;
case 8 :
_local2._rotation = -90;
_local2._x = (_local3.xMin + _local3.xMax) * 0.5;
_local2._y = _local3.yMax;
break;
case 5 :
_local2._x = (_local3.xMin + _local3.xMax) * 0.5;
_local2._y = (_local3.yMin + _local3.yMax) * 0.5;
break;
}
}
function _render(p) {
}
function _renderCircle(p) {
var _local2 = _mask;
_local2.clear();
_local2.beginFill(16711680);
if (_startPoint == 5) {
var _local4 = 0.5 * Math.sqrt((_width * _width) + (_height * _height));
drawCircle(_local2, 0, 0, p * _local4);
} else if (_cornerMode) {
var _local4 = Math.sqrt((_width * _width) + (_height * _height));
_drawQuarterCircle(_local2, p * _local4);
} else {
if ((_startPoint == 4) || (_startPoint == 6)) {
var _local4 = Math.sqrt((_width * _width) + ((0.25 * _height) * _height));
} else if ((_startPoint == 2) || (_startPoint == 8)) {
var _local4 = Math.sqrt(((0.25 * _width) * _width) + (_height * _height));
}
_drawHalfCircle(_local2, p * _local4);
}
_local2.endFill();
}
function _drawQuarterCircle(mc, r) {
var _local3 = 0;
var _local2 = 0;
mc.lineTo(r, 0);
mc.curveTo(r + _local3, (0.414213562373095 * r) + _local2, (0.707106781186547 * r) + _local3, (0.707106781186547 * r) + _local2);
mc.curveTo((0.414213562373095 * r) + _local3, r + _local2, _local3, r + _local2);
}
function _drawHalfCircle(mc, r) {
var _local3 = 0;
var _local2 = 0;
mc.lineTo(0, -r);
mc.curveTo((0.414213562373095 * r) + _local3, (-r) + _local2, (0.707106781186547 * r) + _local3, (-0.707106781186547 * r) + _local2);
mc.curveTo(r + _local3, (-0.414213562373095 * r) + _local2, r + _local3, _local2);
mc.curveTo(r + _local3, (0.414213562373095 * r) + _local2, (0.707106781186547 * r) + _local3, (0.707106781186547 * r) + _local2);
mc.curveTo((0.414213562373095 * r) + _local3, r + _local2, _local3, r + _local2);
mc.lineTo(0, 0);
}
function _renderSquareEdge(p) {
var _local2 = _mask;
_local2.clear();
_local2.beginFill(16711680);
var _local5 = _startPoint;
var _local6 = p * _width;
var _local4 = p * _height;
var _local3 = p * _maxDimension;
if ((_local5 == 4) || (_local5 == 6)) {
drawBox(_local2, 0, -0.5 * _local4, _local6, _local4);
} else if (_height < _width) {
drawBox(_local2, 0, -0.5 * _local3, _local4, _local6);
} else {
drawBox(_local2, 0, -0.5 * _local3, _local3, _local3);
}
_local2.endFill();
}
function _renderSquareCorner(p) {
var _local2 = _mask;
_local2.clear();
_local2.beginFill(16711680);
var _local5 = _startPoint;
var _local4 = p * _width;
var _local3 = p * _height;
if (_local5 == 5) {
drawBox(_local2, -0.5 * _local4, -0.5 * _local3, _local4, _local3);
} else if ((_local5 == 3) || (_local5 == 7)) {
drawBox(_local2, 0, 0, _local3, _local4);
} else {
drawBox(_local2, 0, 0, _local4, _local3);
}
_local2.endFill();
}
static var version = "1.1.0.52";
static var SQUARE = "SQUARE";
static var CIRCLE = "CIRCLE";
var type = mx.transitions.Iris;
var className = "Iris";
var _startPoint = 5;
var _shape = "SQUARE";
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
stop();
Symbol 30 MovieClip Frame 3
stop();
Symbol 30 MovieClip Frame 4
stop();
Symbol 30 MovieClip Frame 5
stop();
Symbol 30 MovieClip Frame 6
stop();
Symbol 52 MovieClip Frame 1
function change_color(no) {
num = no;
}
function sending(new_color, new_array) {
if (num == 1) {
var _local2 = new Color(bottom1.bottom1color);
_local2.setRGB(new_array);
b_my_face = new Color(bottom1.bottom1color);
} else if (num == 2) {
var _local2 = new Color(bottom2.bottom2color);
_local2.setRGB(new_array);
b_my_face = new Color(bottom2.bottom2color);
} else if (num == 3) {
var _local2 = new Color(bottom3.bottom3color);
_local2.setRGB(new_array);
b_my_face = new Color(bottom3.bottom3color);
} else if (num == 5) {
var _local2 = new Color(bottom5.bottom5color);
_local2.setRGB(new_array);
b_my_face = new Color(bottom5.bottom5color);
} else if (num == 4) {
var _local2 = new Color(bottom4.bottom4color);
_local2.setRGB(new_array);
b_my_face = new Color(bottom4.bottom4color);
}
}
stop();
var num = 0;
var b_myArr1 = new Array("0xff0000", "0x00cc33", "0x0099ff", "0xc57601");
var b_my_face;
_root.bottomcolor1.onRelease = function () {
_root.myslider1.draggerb._x = 0;
_root.myslider1.draggerb._y = 0;
};
_root.bottomcolor2.onRelease = function () {
_root.myslider1.draggerb._x = 69;
_root.myslider1.draggerb._y = 0;
};
_root.bottomcolor3.onRelease = function () {
_root.myslider1.draggerb._x = 136;
_root.myslider1.draggerb._y = 0;
};
_root.bottomcolor4.onRelease = function () {
_root.myslider1.draggerb._x = 186;
_root.myslider1.draggerb._y = 0;
};
Symbol 52 MovieClip Frame 2
stop();
Symbol 52 MovieClip Frame 3
stop();
Symbol 52 MovieClip Frame 4
stop();
Symbol 52 MovieClip Frame 5
stop();
Symbol 52 MovieClip Frame 6
stop();
Symbol 73 MovieClip Frame 1
function change_color(no) {
num = no;
}
function sending(new_color, new_array) {
if (num == 1) {
var _local2 = new Color(top1.top1color);
_local2.setRGB(new_array);
b_my_face = new Color(top1.top1color);
} else if (num == 2) {
var _local2 = new Color(top2.top2color);
_local2.setRGB(new_array);
b_my_face = new Color(top2.top2color);
} else if (num == 3) {
var _local2 = new Color(top3.top3color);
_local2.setRGB(new_array);
b_my_face = new Color(top3.top3color);
} else if (num == 5) {
var _local2 = new Color(top5.top5color);
_local2.setRGB(new_array);
b_my_face = new Color(top5.top5color);
} else if (num == 4) {
var _local2 = new Color(top4.top4color);
_local2.setRGB(new_array);
b_my_face = new Color(top4.top4color);
}
}
stop();
var num = 0;
var b_myArr1 = new Array("0xff0000", "0x00cc33", "0x0099ff", "0xc57601");
var b_my_face;
_root.topcolor1.onRelease = function () {
_root.myslider3.draggert._x = 0;
_root.myslider3.draggert._y = 0;
};
_root.topcolor2.onRelease = function () {
_root.myslider3.draggert._x = 69;
_root.myslider3.draggert._y = 0;
};
_root.topcolor3.onRelease = function () {
_root.myslider3.draggert._x = 136;
_root.myslider3.draggert._y = 0;
};
_root.topcolor4.onRelease = function () {
_root.myslider3.draggert._x = 186;
_root.myslider3.draggert._y = 0;
};
Symbol 73 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 3
stop();
Symbol 73 MovieClip Frame 4
stop();
Symbol 73 MovieClip Frame 5
stop();
Symbol 73 MovieClip Frame 6
stop();
Symbol 94 MovieClip Frame 1
function change_color(no) {
num = no;
}
function sending(new_color, new_array) {
if (num == 1) {
var _local2 = new Color(hair1.hairshade_brown);
_local2.setRGB(new_array);
b_my_face = new Color(hair1.hairshade_brown);
} else if (num == 2) {
var _local2 = new Color(hair2.hairshade_browndark);
_local2.setRGB(new_array);
b_my_face = new Color(hair2.hairshade_browndark);
} else if (num == 3) {
var _local2 = new Color(hair3.hairshade_brownlight);
_local2.setRGB(new_array);
b_my_face = new Color(hair3.hairshade_brownlight);
} else if (num == 5) {
var _local2 = new Color(hair5.hairshade_blacklight);
_local2.setRGB(new_array);
b_my_face = new Color(hair5.hairshade_blacklight);
} else if (num == 4) {
var _local2 = new Color(hair4.hairshade_black);
_local2.setRGB(new_array);
b_my_face = new Color(hair4.hairshade_black);
}
}
stop();
var num = 0;
var b_myArr1 = new Array("0x020100", "0x412700", "0x885101", "0xc57601");
var b_my_face;
_root.haircolor1.onRelease = function () {
b_my_face.setRGB(b_myArr1[0]);
_root.myslider.dragger1._x = 10.2;
_root.myslider.dragger1._y = 0;
};
_root.haircolor2.onRelease = function () {
b_my_face.setRGB(b_myArr1[1]);
_root.myslider.dragger1._x = 35;
_root.myslider.dragger1._y = 0;
};
_root.haircolor3.onRelease = function () {
b_my_face.setRGB(b_myArr1[2]);
_root.myslider.dragger1._x = 60;
_root.myslider.dragger1._y = 0;
};
_root.haircolor4.onRelease = function () {
b_my_face.setRGB(b_myArr1[3]);
_root.myslider.dragger1._x = 90;
_root.myslider.dragger1._y = 0;
};
Symbol 94 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 3
stop();
Symbol 94 MovieClip Frame 4
stop();
Symbol 94 MovieClip Frame 5
stop();
Symbol 94 MovieClip Frame 6
stop();
Symbol 115 MovieClip Frame 1
function change_color(no) {
num = no;
}
function sending(new_color, new_array) {
if (num == 1) {
var _local2 = new Color(cap1.cap1color);
_local2.setRGB(new_array);
b_my_face = new Color(cap1.cap1color);
} else if (num == 2) {
var _local2 = new Color(cap2.cap2color);
_local2.setRGB(new_array);
b_my_face = new Color(cap2.cap2color);
} else if (num == 3) {
var _local2 = new Color(cap3.cap3color);
_local2.setRGB(new_array);
b_my_face = new Color(cap3.cap3color);
} else if (num == 5) {
var _local2 = new Color(cap5.cap5color);
_local2.setRGB(new_array);
b_my_face = new Color(cap5.cap5color);
} else if (num == 4) {
var _local2 = new Color(cap4.cap4color);
_local2.setRGB(new_array);
b_my_face = new Color(cap4.cap4color);
}
}
stop();
var num = 0;
var b_myArr1 = new Array("0x020100", "0x412700", "0x885101", "0xc57601");
var b_my_face;
_root.capcolor1.onRelease = function () {
b_my_face.setRGB(b_myArr1[0]);
_root.myslider4.draggercap._x = 0;
_root.myslider4.draggercap._y = 0;
};
_root.capcolor2.onRelease = function () {
b_my_face.setRGB(b_myArr1[1]);
_root.myslider4.draggercap._x = 89;
_root.myslider4.draggercap._y = 0;
};
_root.capcolor3.onRelease = function () {
b_my_face.setRGB(b_myArr1[2]);
_root.myslider4.draggercap._x = 168;
_root.myslider4.draggercap._y = 0;
};
_root.capcolor4.onRelease = function () {
b_my_face.setRGB(b_myArr1[3]);
_root.myslider4.draggercap._x = 97.3;
_root.myslider4.draggercap._y = 0;
};
Symbol 115 MovieClip Frame 2
stop();
Symbol 115 MovieClip Frame 3
stop();
Symbol 115 MovieClip Frame 4
stop();
Symbol 115 MovieClip Frame 5
stop();
Symbol 115 MovieClip Frame 6
stop();
Symbol 121 MovieClip Frame 1
var my_color1 = new Color(c1);
Symbol 123 MovieClip Frame 1
var my_color2 = new Color(c2);
Symbol 125 MovieClip Frame 1
var my_color3 = new Color(c3);
Symbol 127 MovieClip Frame 1
var my_color4 = new Color(c4);
Symbol 129 MovieClip Frame 1
var my_color5 = new Color(c5);
Symbol 131 MovieClip Frame 1
var my_color6 = new Color(c6);
Symbol 133 MovieClip Frame 1
var my_color7 = new Color(c7);
Symbol 135 MovieClip Frame 1
var my_color8 = new Color(c8);
Symbol 137 MovieClip Frame 1
var my_color9 = new Color(c9);
Symbol 139 MovieClip Frame 1
var my_color10 = new Color(c10);
Symbol 141 MovieClip Frame 1
var my_color11 = new Color(c11);
Symbol 143 MovieClip Frame 1
var my_color12 = new Color(c12);
Symbol 145 MovieClip Frame 1
var my_color13 = new Color(c13);
Symbol 147 MovieClip Frame 1
var my_color14 = new Color(c14);
Symbol 149 MovieClip Frame 1
var my_color15 = new Color(c15);
Symbol 151 MovieClip Frame 1
var my_color16 = new Color(c16);
Symbol 153 MovieClip Frame 1
var my_color17 = new Color(c17);
Symbol 155 MovieClip Frame 1
var my_color18 = new Color(c18);
Symbol 157 MovieClip Frame 1
var my_color19 = new Color(c19);
Symbol 159 MovieClip Frame 1
var my_color20 = new Color(c20);
Symbol 164 MovieClip Frame 1
function sending(new_color, new_array) {
var _local2 = new Color(_root.face.basetone);
_local2.setRGB(new_array);
}
line._visible = false;
var myArr = new Array("0xf7dfcb", "0xf7dcc6", "0xf6d9c2", "0xf5d6bd", "0xf4d3b9", "0xf4d0b5", "0xf3ccb0", "0xf2c9ab", "0xf2c6a6", "0xf1c3a2", "0xf0c09e", "0xefbc99", "0xefb994", "0xeeb690", "0xedb38b", "0xedb087", "0xecac82", "0xeba97e", "0xeba679", "0xeaa375");
dragger.onPress = function () {
this.startDrag(true, line._width, 0, 0, 0);
};
dragger.onRelease = function () {
this.stopDrag();
if (c1.hitTest(dragger)) {
sending(_root.my_color1, myArr[0]);
} else if (c2.hitTest(dragger)) {
sending(_root.my_color2, myArr[1]);
} else if (c3.hitTest(dragger)) {
sending(_root.my_color3, myArr[2]);
} else if (c4.hitTest(dragger)) {
sending(_root.my_color4, myArr[3]);
} else if (c5.hitTest(dragger)) {
sending(_root.my_color5, myArr[4]);
} else if (c6.hitTest(dragger)) {
sending(_root.my_color6, myArr[5]);
} else if (c7.hitTest(dragger)) {
sending(_root.my_color7, myArr[6]);
} else if (c8.hitTest(dragger)) {
sending(_root.my_color8, myArr[7]);
} else if (c9.hitTest(dragger)) {
sending(_root.my_color9, myArr[8]);
} else if (c10.hitTest(dragger)) {
sending(_root.my_color10, myArr[9]);
} else if (c11.hitTest(dragger)) {
sending(_root.my_color11, myArr[10]);
} else if (c12.hitTest(dragger)) {
sending(_root.my_color12, myArr[11]);
} else if (c13.hitTest(dragger)) {
sending(_root.my_color13, myArr[12]);
} else if (c14.hitTest(dragger)) {
sending(_root.my_color14, myArr[13]);
} else if (c15.hitTest(dragger)) {
sending(_root.my_color15, myArr[14]);
} else if (c16.hitTest(dragger)) {
sending(_root.my_color16, myArr[15]);
} else if (c17.hitTest(dragger)) {
sending(_root.my_color17, myArr[16]);
} else if (c18.hitTest(dragger)) {
sending(my_color18, myArr[17]);
} else if (c19.hitTest(dragger)) {
sending(_root.my_color19, myArr[18]);
} else if (c20.hitTest(dragger)) {
sending(_root.my_color20, myArr[19]);
}
};
dragger.onRollOut = function () {
this.stopDrag();
};
dragger.focusOut = function () {
this.stopDrag();
};
Symbol 219 MovieClip Frame 1
linec._visible = false;
var myArr = new Array("0x7068f5", "0x7f59d2", "0x8a4eb9", "0x9a4097", "0xa6347a ", "0xb52558", "0xc2193b", "0xd00c1c", "0xdb0101", "0xcc0d0d", "0xb91c1c", "0xa82a2a", "0x993737", "0x884444", "0x775252", "0x666060", "0x556e6e", "0x457b7b", "0x427676", "0x476868");
draggercap.onPress = function () {
this.startDrag(true, linec._width, 0, 0, 0);
_root.capmc.change_color(_root.capno);
};
draggercap.onRelease = function () {
this.stopDrag();
if (c1.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color1, myArr[0]);
} else if (c2.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color2, myArr[1]);
} else if (c3.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color3, myArr[2]);
} else if (c4.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color4, myArr[3]);
} else if (c5.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color5, myArr[4]);
} else if (c6.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color6, myArr[5]);
} else if (c7.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color7, myArr[6]);
} else if (c8.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color8, myArr[7]);
} else if (c9.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color9, myArr[8]);
} else if (c10.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color10, myArr[9]);
} else if (c11.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color11, myArr[10]);
} else if (c12.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color12, myArr[11]);
} else if (c13.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color13, myArr[12]);
} else if (c14.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color14, myArr[13]);
} else if (c15.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color15, myArr[14]);
} else if (c16.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color16, myArr[15]);
} else if (c17.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color17, myArr[16]);
} else if (c18.hitTest(draggercap)) {
_root.capmc.sending(my_color18, myArr[17]);
} else if (c19.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color19, myArr[18]);
} else if (c20.hitTest(draggercap)) {
_root.capmc.sending(_root.my_color20, myArr[19]);
}
};
draggercap.onRollOut = function () {
this.stopDrag();
};
draggercap.focusOut = function () {
this.stopDrag();
};
Symbol 272 MovieClip Frame 1
linet._visible = false;
var myArr = new Array("0xff7300", "0xff7f00", "0xff8d00", "0xff9d00", "0xffac00", "0xffbb00", "0xffc900", "0xffb60a", "0xff9919", "0xff8125", "0xff6732", "0xff4e3e", "0xff344b", "0xff1c57", "0xff0066", "0xd90d6c", "0xb81973", "0x992578", "0x74327F", "0x523e85");
draggert.onPress = function () {
this.startDrag(true, linet._width, 0, 0, 0);
_root.topmc.change_color(_root.topno);
};
draggert.onRelease = function () {
this.stopDrag();
if (t1.hitTest(draggert)) {
_root.topmc.sending(_root.my_color1, myArr[0]);
} else if (t2.hitTest(draggert)) {
_root.topmc.sending(_root.my_color2, myArr[1]);
} else if (t3.hitTest(draggert)) {
_root.topmc.sending(_root.my_color3, myArr[2]);
} else if (t4.hitTest(draggert)) {
_root.topmc.sending(_root.my_color4, myArr[3]);
} else if (t5.hitTest(draggert)) {
_root.topmc.sending(_root.my_color5, myArr[4]);
} else if (t6.hitTest(draggert)) {
_root.sending(_root.my_color6, myArr[5]);
} else if (t7.hitTest(draggert)) {
_root.topmc.sending(_root.my_color7, myArr[6]);
} else if (t8.hitTest(draggert)) {
_root.topmc.sending(_root.my_color8, myArr[7]);
} else if (t9.hitTest(draggert)) {
_root.topmc.sending(_root.my_color9, myArr[8]);
} else if (t10.hitTest(draggert)) {
_root.topmc.sending(_root.my_color10, myArr[9]);
} else if (t11.hitTest(draggert)) {
_root.topmc.sending(_root.my_color11, myArr[10]);
} else if (t12.hitTest(draggert)) {
_root.topmc.sending(_root.my_color12, myArr[11]);
} else if (t13.hitTest(draggert)) {
_root.topmc.sending(_root.my_color13, myArr[12]);
} else if (t14.hitTest(draggert)) {
_root.topmc.sending(_root.my_color14, myArr[13]);
} else if (t15.hitTest(draggert)) {
_root.topmc.sending(_root.my_color15, myArr[14]);
} else if (t16.hitTest(draggert)) {
_root.topmc.sending(_root.my_color16, myArr[15]);
} else if (t17.hitTest(draggert)) {
sending(_root.my_color17, myArr[16]);
} else if (t18.hitTest(draggert)) {
_root.topmc.sending(my_color18, myArr[17]);
} else if (t19.hitTest(draggert)) {
_root.topmc.sending(_root.my_color19, myArr[18]);
} else if (t20.hitTest(draggert)) {
_root.topmc.sending(_root.my_color20, myArr[19]);
}
};
draggert.onRollOut = function () {
this.stopDrag();
};
draggert.focusOut = function () {
this.stopDrag();
};
Symbol 303 MovieClip Frame 1
lineb._visible = false;
var myArr = new Array("0xff7300", "0xff7f00", "0xff8d00", "0xff9d00", "0xffac00", "0xffbb00", "0xffc900", "0xffb60a", "0xff9919", "0xff8125", "0xff6732", "0xff4e3e", "0xff344b", "0xff1c57", "0xff0066", "0xd90d6c", "0xb81973", "0x992578", "0x74327F", "0x523e85");
draggerb.onPress = function () {
this.startDrag(true, lineb._width, 0, 0, 0);
_root.bottommc.change_color(_root.bottomno);
};
draggerb.onRelease = function () {
this.stopDrag();
if (d1.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color1, myArr[0]);
} else if (d2.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color2, myArr[1]);
} else if (d3.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color3, myArr[2]);
} else if (d4.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color4, myArr[3]);
} else if (d5.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color5, myArr[4]);
} else if (d6.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color6, myArr[5]);
} else if (d7.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color7, myArr[6]);
} else if (d8.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color8, myArr[7]);
} else if (d9.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color9, myArr[8]);
} else if (d10.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color10, myArr[9]);
} else if (d11.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color11, myArr[10]);
} else if (d12.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color12, myArr[11]);
} else if (d13.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color13, myArr[12]);
} else if (d14.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color14, myArr[13]);
} else if (d15.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color15, myArr[14]);
} else if (d16.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color16, myArr[15]);
} else if (d17.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color17, myArr[16]);
} else if (d18.hitTest(draggerb)) {
_root.bottommc.sending(my_color18, myArr[17]);
} else if (d19.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color19, myArr[18]);
} else if (d20.hitTest(draggerb)) {
_root.bottommc.sending(_root.my_color20, myArr[19]);
}
};
draggerb.onRollOut = function () {
this.stopDrag();
};
draggerb.focusOut = function () {
this.stopDrag();
};
Symbol 307 MovieClip Frame 1
var my_color1 = new Color(b1);
Symbol 309 MovieClip Frame 1
var my_color2 = new Color(b2);
Symbol 311 MovieClip Frame 1
var my_color3 = new Color(b3);
Symbol 313 MovieClip Frame 1
var my_color4 = new Color(b4);
Symbol 315 MovieClip Frame 1
var my_color5 = new Color(b5);
Symbol 317 MovieClip Frame 1
var my_color6 = new Color(b6);
Symbol 319 MovieClip Frame 1
var my_color7 = new Color(b7);
Symbol 321 MovieClip Frame 1
var my_color8 = new Color(b8);
Symbol 323 MovieClip Frame 1
var my_color9 = new Color(b9);
Symbol 325 MovieClip Frame 1
var my_color10 = new Color(b10);
Symbol 327 MovieClip Frame 1
var my_color11 = new Color(b11);
Symbol 329 MovieClip Frame 1
var my_color12 = new Color(b12);
Symbol 331 MovieClip Frame 1
var my_color13 = new Color(b13);
Symbol 333 MovieClip Frame 1
var my_color14 = new Color(b14);
Symbol 335 MovieClip Frame 1
var my_color15 = new Color(b15);
Symbol 337 MovieClip Frame 1
var my_color16 = new Color(b16);
Symbol 339 MovieClip Frame 1
var my_color17 = new Color(b17);
Symbol 341 MovieClip Frame 1
var my_color18 = new Color(b18);
Symbol 343 MovieClip Frame 1
var my_color19 = new Color(b19);
Symbol 345 MovieClip Frame 1
var my_color20 = new Color(b20);
Symbol 349 MovieClip Frame 1
hairline._visible = false;
var myArr = new Array("0x020100", "0x0f0900", "0x180e00", "0x231500", "0x2d1b00", "0x362000", "0x412700", "0x4c2d00", "0x553300", "0x5f3900", "0x6a3f01", "0x744501", "0x7e4b01", "0x885101", "0x935801", "0x9c5d01", "0xa66301", "0xb06901", "0xba6f01", "0xc57601");
dragger1.onPress = function () {
this.startDrag(true, hairline._width, 0, 0, 0);
_root.hairmc.change_color(_root.hairno);
};
dragger1.onRelease = function () {
this.stopDrag();
if (b1.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color1, myArr[0]);
} else if (b2.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color2, myArr[1]);
} else if (b3.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color3, myArr[2]);
} else if (b4.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color4, myArr[3]);
} else if (b5.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color5, myArr[4]);
} else if (b6.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color6, myArr[5]);
} else if (b7.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color7, myArr[6]);
} else if (b8.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color8, myArr[7]);
} else if (b9.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color9, myArr[8]);
} else if (b10.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color10, myArr[9]);
} else if (b11.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color11, myArr[10]);
} else if (b12.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color12, myArr[11]);
} else if (b13.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color13, myArr[12]);
} else if (b14.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color14, myArr[13]);
} else if (b15.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color15, myArr[14]);
} else if (b16.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color16, myArr[15]);
} else if (b17.hitTest(dragger1)) {
sending(_root.my_color17, myArr[16]);
} else if (b18.hitTest(dragger1)) {
_root.hairmc.sending(my_color18, myArr[17]);
} else if (b19.hitTest(dragger)) {
_root.hairmc.sending(_root.my_color19, myArr[18]);
} else if (b20.hitTest(dragger1)) {
_root.hairmc.sending(_root.my_color20, myArr[19]);
}
};
dragger1.onRollOut = function () {
this.stopDrag();
};
dragger1.focusOut = function () {
this.stopDrag();
};
Symbol 381 Button
on (release) {
getURL ("http://www.girldressupgames.net/?utm_source=home&utm_medium=games&utm_campaign=natural", "_blank");
}