Frame 1
url = "http://file.barunson.com/upfile/object/Loading/";
loadingw = "loadingw";
www = "www";
swf = ".swf";
loding = 0;
self_loding = 0;
Frame 2
position.loadMovie(((url + loadingw) + a) + swf);
Frame 4
if (Number(_framesloaded) >= Number(_totalframes)) {
self_loding = 1;
} else {
gotoAndPlay(_currentframe - 1);
}
Frame 6
gotoAndPlay (13);
Frame 7
url = "http://file.barunson.com/upfile/object/Loading/";
loadingw = "loadingw";
www = "www";
swf = ".swf";
loding = 0;
self_loding = 0;
Frame 8
position.loadMovie(((url + loadingw) + a) + swf);
Frame 10
if (Number(_framesloaded) >= Number(_totalframes)) {
self_loding = 1;
} else {
gotoAndPlay(_currentframe - 1);
}
Frame 12
if ((self_loding == 1) and (loding == 1)) {
gotoAndPlay (13);
} else {
gotoAndPlay(_currentframe - 1);
}
Frame 13
position.loadMovie(((url + www) + a) + swf);
Frame 30
stop();
Frame 31
position.loadMovie(((url + www) + a) + swf);
i = 0;
push = 0;
no = 0;
sun_ok1 = 0;
sun_ok2 = 0;
sun_ok3 = 0;
earing_ok1 = 0;
earing_ok2 = 0;
earing_ok3 = 0;
earing_ok4 = 0;
neck_ok1 = 0;
neck_ok2 = 0;
Instance of Symbol 53 MovieClip "bgcolor" in Frame 31
onClipEvent (load) {
defaultHSB = "0, 0, 100";
}
Instance of Symbol 253 MovieClip "controls" in Frame 31
onClipEvent (load) {
targetMovie = "";
}
Frame 33
tellTarget ("/total") {
cod1.editColor();
};
tellTarget ("/total") {
cod2.editColor();
};
tellTarget ("/total") {
cod4.editColor();
};
tellTarget ("/total") {
cod5.editColor();
};
tellTarget ("/total") {
cod6.editColor();
};
tellTarget ("/total") {
cod7.editColor();
};
tellTarget ("/total") {
cod8.editColor();
};
Frame 35
tellTarget ("/total/cod3") {
eyeshadow.editColor();
};
tellTarget ("/total/cod3") {
eyesub.editColor();
};
tellTarget ("/total/cod3/eyebase") {
eye.editColor();
};
no - color.editColor();
Frame 37
if (_root.sun_ok1 == 0) {
setProperty("_root.SUN1", _visible , false);
}
if (_root.sun_ok2 == 0) {
setProperty("_root.SUN2", _visible , false);
}
if (_root.sun_ok3 == 0) {
setProperty("_root.SUN3", _visible , false);
}
if (_root.earing_ok4 == 0) {
setProperty("_root.earing4", _visible , false);
}
if (_root.earing_ok3 == 0) {
setProperty("_root.earing3", _visible , false);
}
if (_root.earing_ok2 == 0) {
setProperty("_root.earing2", _visible , false);
}
if (_root.earing_ok1 == 0) {
setProperty("_root.earing1", _visible , false);
}
if (_root.neck_ok1 == 0) {
setProperty("_root.neck1", _visible , false);
}
if (_root.neck_ok2 == 0) {
setProperty("_root.neck2", _visible , false);
}
setProperty("_root.acc", _visible , false);
play();
Instance of Symbol 53 MovieClip "bgcolor" in Frame 37
onClipEvent (load) {
defaultHSB = "0, 0, 100";
}
Instance of Symbol 253 MovieClip "controls" in Frame 37
onClipEvent (load) {
targetMovie = "";
}
Frame 38
cod_xscale = int(_root.controls.mySlideBar4.value());
cod_yscale = int(_root.controls.mySlideBar5.value());
setProperty("_root.total.cod" add i, _xscale , cod_xscale + 50);
setProperty(("_root.total.cod" add i) add i, _xscale , cod_xscale + 50);
setProperty("_root.total.cod" add i, _yscale , cod_yscale + 50);
setProperty(("_root.total.cod" add i) add i, _yscale , cod_yscale + 50);
gotoAndPlay (37);
Frame 39
if (_root.sun_ok1 == 0) {
setProperty(_root.SUN1, _x , 44.6);
setProperty(_root.SUN1, _y , 61.1);
}
if (_root.sun_ok2 == 0) {
setProperty(_root.SUN2, _x , 44.8);
setProperty(_root.SUN2, _y , 99.8);
}
if (_root.sun_ok3 == 0) {
setProperty(_root.SUN3, _x , 44.8);
setProperty(_root.SUN3, _y , 138.8);
}
if (_root.earing_ok4 == 0) {
setProperty(_root.earing4, _x , 226.5);
setProperty(_root.earing4, _y , 68.8);
}
if (_root.earing_ok3 == 0) {
setProperty(_root.earing3, _x , 240.2);
setProperty(_root.earing3, _y , 68.8);
}
if (_root.earing_ok2 == 0) {
setProperty(_root.earing2, _x , 257.1);
setProperty(_root.earing2, _y , 71.3);
}
if (_root.earing_ok1 == 0) {
setProperty(_root.earing1, _x , 271.3);
setProperty(_root.earing1, _y , 71.2);
}
if (_root.neck_ok1 == 0) {
setProperty(_root.neck1, _x , 247.7);
setProperty(_root.neck1, _y , 146.8);
}
if (_root.neck_ok2 == 0) {
setProperty(_root.neck2, _x , 247.6);
setProperty(_root.neck2, _y , 184.3);
}
Frame 41
cod_xscale = int(_root.controls.mySlideBar4.value());
cod_yscale = int(_root.controls.mySlideBar5.value());
setProperty("_root.total.cod" add i, _xscale , cod_xscale + 50);
setProperty(("_root.total.cod" add i) add i, _xscale , cod_xscale + 50);
setProperty("_root.total.cod" add i, _yscale , cod_yscale + 50);
setProperty(("_root.total.cod" add i) add i, _yscale , cod_yscale + 50);
gotoAndPlay (40);
Frame 45
stop();
stopAllSounds();
Frame 46
stopAllSounds();
Frame 70
stop();
Frame 71
stop();
Symbol 5 Button
on (release) {
if ((_currentframe == 2) && (!default)) {
_parent.removeSwatch(num);
} else {
_parent.h = h;
_parent.s = s;
_parent.br = br;
}
}
on (rollOver) {
over = true;
if (Key.isDown(Key.SHIFT) && (!default)) {
gotoAndStop (2);
}
}
on (rollOut) {
over = false;
gotoAndStop (1);
}
Symbol 8 MovieClip [swatch] Frame 1
new Color(block).setRGB(hsb2rgb(h, s, br));
stop();
Instance of Symbol 2 MovieClip "block" in Symbol 8 MovieClip [swatch] Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((h != curH) || (s != curS)) || (br != curBr)) {
trace("change all");
tH = hsb(h, s, br);
new Color(final).setRGB(tH);
new Color(targetMovie.block).setRGB(tH);
curH = h;
curS = s;
curBr = br;
}
};
}
Instance of Symbol 6 MovieClip in Symbol 8 MovieClip [swatch] Frame 1
onClipEvent (keyDown) {
tellTarget (_parent) {
if (Key.isDown(Key.SHIFT) && (over)) {
gotoAndStop (2);
}
};
}
onClipEvent (keyUp) {
_parent.gotoAndStop(1);
}
Symbol 8 MovieClip [swatch] Frame 2
if (default) {
gotoAndStop (1);
}
Symbol 11 MovieClip [swatch] Frame 1
new Color(block).setRGB(hsb2rgb(h, s, br));
stop();
Instance of Symbol 2 MovieClip "block" in Symbol 11 MovieClip [swatch] Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((h != curH) || (s != curS)) || (br != curBr)) {
trace("change all");
tH = hsb(h, s, br);
new Color(final).setRGB(tH);
new Color(targetMovie.block).setRGB(tH);
curH = h;
curS = s;
curBr = br;
}
};
}
Instance of Symbol 6 MovieClip in Symbol 11 MovieClip [swatch] Frame 1
onClipEvent (keyDown) {
tellTarget (_parent) {
if (Key.isDown(Key.SHIFT) && (over)) {
gotoAndStop (2);
}
};
}
onClipEvent (keyUp) {
_parent.gotoAndStop(1);
}
Symbol 11 MovieClip [swatch] Frame 2
if (default) {
gotoAndStop (1);
}
Symbol 12 MovieClip [swatch] Frame 1
new Color(block).setRGB(hsb2rgb(h, s, br));
stop();
Instance of Symbol 2 MovieClip "block" in Symbol 12 MovieClip [swatch] Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((h != curH) || (s != curS)) || (br != curBr)) {
trace("change all");
tH = hsb(h, s, br);
new Color(final).setRGB(tH);
new Color(targetMovie.block).setRGB(tH);
curH = h;
curS = s;
curBr = br;
}
};
}
Instance of Symbol 6 MovieClip in Symbol 12 MovieClip [swatch] Frame 1
onClipEvent (keyDown) {
tellTarget (_parent) {
if (Key.isDown(Key.SHIFT) && (over)) {
gotoAndStop (2);
}
};
}
onClipEvent (keyUp) {
_parent.gotoAndStop(1);
}
Symbol 12 MovieClip [swatch] Frame 2
if (default) {
gotoAndStop (1);
}
Symbol 13 MovieClip [swatch] Frame 1
new Color(block).setRGB(hsb2rgb(h, s, br));
stop();
Instance of Symbol 2 MovieClip "block" in Symbol 13 MovieClip [swatch] Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((h != curH) || (s != curS)) || (br != curBr)) {
trace("change all");
tH = hsb(h, s, br);
new Color(final).setRGB(tH);
new Color(targetMovie.block).setRGB(tH);
curH = h;
curS = s;
curBr = br;
}
};
}
Instance of Symbol 6 MovieClip in Symbol 13 MovieClip [swatch] Frame 1
onClipEvent (keyDown) {
tellTarget (_parent) {
if (Key.isDown(Key.SHIFT) && (over)) {
gotoAndStop (2);
}
};
}
onClipEvent (keyUp) {
_parent.gotoAndStop(1);
}
Symbol 13 MovieClip [swatch] Frame 2
if (default) {
gotoAndStop (1);
}
Symbol 14 MovieClip [swatch] Frame 1
new Color(block).setRGB(hsb2rgb(h, s, br));
stop();
Instance of Symbol 2 MovieClip "block" in Symbol 14 MovieClip [swatch] Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((h != curH) || (s != curS)) || (br != curBr)) {
trace("change all");
tH = hsb(h, s, br);
new Color(final).setRGB(tH);
new Color(targetMovie.block).setRGB(tH);
curH = h;
curS = s;
curBr = br;
}
};
}
Instance of Symbol 6 MovieClip in Symbol 14 MovieClip [swatch] Frame 1
onClipEvent (keyDown) {
tellTarget (_parent) {
if (Key.isDown(Key.SHIFT) && (over)) {
gotoAndStop (2);
}
};
}
onClipEvent (keyUp) {
_parent.gotoAndStop(1);
}
Symbol 14 MovieClip [swatch] Frame 2
if (default) {
gotoAndStop (1);
}
Symbol 15 MovieClip [swatch] Frame 1
new Color(block).setRGB(hsb2rgb(h, s, br));
stop();
Instance of Symbol 2 MovieClip "block" in Symbol 15 MovieClip [swatch] Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((h != curH) || (s != curS)) || (br != curBr)) {
trace("change all");
tH = hsb(h, s, br);
new Color(final).setRGB(tH);
new Color(targetMovie.block).setRGB(tH);
curH = h;
curS = s;
curBr = br;
}
};
}
Instance of Symbol 6 MovieClip in Symbol 15 MovieClip [swatch] Frame 1
onClipEvent (keyDown) {
tellTarget (_parent) {
if (Key.isDown(Key.SHIFT) && (over)) {
gotoAndStop (2);
}
};
}
onClipEvent (keyUp) {
_parent.gotoAndStop(1);
}
Symbol 15 MovieClip [swatch] Frame 2
if (default) {
gotoAndStop (1);
}
Symbol 20 MovieClip Frame 20
stop();
Symbol 26 MovieClip Frame 10
stop();
Symbol 34 MovieClip Frame 7
gotoAndPlay (1);
Symbol 47 Button
on (release) {
nextFrame();
play();
}
Symbol 52 MovieClip Frame 1
_parent._hue = 0;
_parent._saturation = 0;
_parent._brightness = 0;
_parent.setColor = function (h, s, br) {
this._hue = h;
this._saturation = s;
this._brightness = br;
new Color(this).setRGB(hsb2rgb(h, s, br));
};
if (defaultHSB.toLowerCase() == "parent") {
defaultHSB = _parent.defaultHSB;
}
tAr = defaultHSB.split(",");
_parent.setColor(Math.round(tAr[0]), Math.round(tAr[1]), Math.round(tAr[2]));
delete tAr;
gotoAndStop (2);
Symbol 52 MovieClip Frame 2
stop();
Instance of Symbol 52 MovieClip in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 54 Button
on (release) {
bgcolor.editColor();
}
Symbol 56 Button
on (release) {
tellTarget ("/total/accesary") {
nextFrame();
play();
};
}
Symbol 62 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 62 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 62 MovieClip Frame 5
gotoAndPlay (1);
Symbol 62 MovieClip Frame 10
stop();
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 65 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 65 MovieClip Frame 5
gotoAndStop (1);
Symbol 65 MovieClip Frame 10
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 5
gotoAndStop (1);
Symbol 75 MovieClip Frame 10
stop();
Symbol 79 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 79 MovieClip Frame 3
gotoAndStop (1);
Symbol 79 MovieClip Frame 10
stop();
Symbol 87 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 87 MovieClip Frame 6
gotoAndStop (1);
Symbol 87 MovieClip Frame 10
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 6
gotoAndStop (1);
Symbol 93 MovieClip Frame 10
stop();
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 96 MovieClip Frame 3
gotoAndStop (1);
Symbol 96 MovieClip Frame 10
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 3
gotoAndStop (1);
Symbol 99 MovieClip Frame 10
stop();
Symbol 101 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 101 MovieClip Frame 2
gotoAndStop (1);
Symbol 101 MovieClip Frame 10
stop();
Symbol 105 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 105 MovieClip Frame 6
gotoAndStop (1);
Symbol 105 MovieClip Frame 10
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 6
gotoAndStop (1);
Symbol 107 MovieClip Frame 10
stop();
Symbol 109 MovieClip Frame 1
setProperty(_root.total.cod3.eyebase.eye2, _x , getProperty("_root.total.cod3.eyebase.eye", _x));
setProperty(_root.total.cod3.eyebase.eye2, _y , getProperty("_root.total.cod3.eyebase.eye", _y));
setProperty(_root.total.cod3.eyebase.eye2, _xscale , getProperty("_root.total.cod3.eyebase.eye", _xscale));
setProperty(_root.total.cod3.eyebase.eye2, _yscale , getProperty("_root.total.cod3.eyebase.eye", _yscale));
Symbol 109 MovieClip Frame 2
setProperty(_root.total.cod3.eyebase.eye2, _x , getProperty("_root.total.cod3.eyebase.eye", _x));
setProperty(_root.total.cod3.eyebase.eye2, _y , getProperty("_root.total.cod3.eyebase.eye", _y));
setProperty(_root.total.cod3.eyebase.eye2, _xscale , getProperty("_root.total.cod3.eyebase.eye", _xscale));
setProperty(_root.total.cod3.eyebase.eye2, _yscale , getProperty("_root.total.cod3.eyebase.eye", _yscale));
Symbol 115 MovieClip Frame 1
stop();
Instance of Symbol 105 MovieClip "eye" in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "140,100,60";
}
Instance of Symbol 105 MovieClip "eye" in Symbol 115 MovieClip Frame 2
onClipEvent (load) {
defaultHSB = "140,100,60";
}
Instance of Symbol 105 MovieClip "eye" in Symbol 115 MovieClip Frame 3
onClipEvent (load) {
defaultHSB = "140,100,60";
}
Instance of Symbol 105 MovieClip "eye" in Symbol 115 MovieClip Frame 4
onClipEvent (load) {
defaultHSB = "140,100,60";
}
Instance of Symbol 105 MovieClip "eye" in Symbol 115 MovieClip Frame 5
onClipEvent (load) {
defaultHSB = "140,100,60";
}
Symbol 115 MovieClip Frame 6
gotoAndStop (1);
Symbol 115 MovieClip Frame 10
stop();
Symbol 121 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 121 MovieClip Frame 6
gotoAndStop (1);
Symbol 121 MovieClip Frame 10
stop();
Instance of Symbol 101 MovieClip "eyeshadow" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "18,74,48";
}
Instance of Symbol 121 MovieClip "eyesub" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "0,0,0";
}
Symbol 128 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.sun_ok2 = 1;
} else {
_root.sun_ok2 = 0;
setProperty(_root.SUN2, _x , 44.8);
setProperty(_root.SUN2, _y , 99.8);
}
}
Symbol 134 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.sun_ok3 = 1;
} else {
_root.sun_ok3 = 0;
setProperty(_root.SUN3, _x , 44.8);
setProperty(_root.SUN3, _y , 138.8);
}
}
Symbol 138 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.neck_ok1 = 1;
} else {
_root.neck_ok1 = 0;
setProperty(_root.neck1, _x , 247.7);
setProperty(_root.neck1, _y , 146.8);
}
}
Symbol 143 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.sun_ok1 = 1;
} else {
_root.sun_ok1 = 0;
setProperty(_root.SUN1, _x , 44.6);
setProperty(_root.SUN1, _y , 61.1);
}
if ((push == 0) and (_droptarget ne "/IMilo")) {
_root.sun_ok1 = 0;
}
}
Symbol 147 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.earing_ok3 = 1;
} else {
_root.earing_ok3 = 0;
setProperty(_root.earing3, _x , 240.2);
setProperty(_root.earing3, _y , 68.8);
}
}
Symbol 151 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.earing_ok1 = 1;
} else {
_root.earing_ok1 = 0;
setProperty(_root.earing1, _x , 271.3);
setProperty(_root.earing1, _y , 71.2);
}
}
Symbol 154 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.earing_ok4 = 1;
} else {
_root.earing_ok4 = 0;
setProperty(_root.earing4, _x , 226.5);
setProperty(_root.earing4, _y , 68.8);
}
}
Symbol 157 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.earing_ok2 = 1;
} else {
_root.earing_ok2 = 0;
setProperty(_root.earing2, _x , 257.1);
setProperty(_root.earing2, _y , 71.3);
}
}
Symbol 162 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
if (_droptarget eq "/IMilo") {
_root.neck_ok2 = 1;
} else {
_root.neck_ok2 = 0;
setProperty(_root.neck2, _x , 247.6);
setProperty(_root.neck2, _y , 184.3);
}
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
play();
Symbol 167 MovieClip Frame 7
setProperty("_root.SUN1", _visible , true);
setProperty("_root.SUN2", _visible , true);
setProperty("_root.SUN3", _visible , true);
setProperty("_root.earing4", _visible , true);
setProperty("_root.earing3", _visible , true);
setProperty("_root.earing2", _visible , true);
setProperty("_root.earing1", _visible , true);
setProperty("_root.neck1", _visible , true);
setProperty("_root.neck2", _visible , true);
setProperty("_root.acc", _visible , true);
Symbol 167 MovieClip Frame 8
stop();
Symbol 167 MovieClip Frame 9
play();
Symbol 167 MovieClip Frame 14
gotoAndStop (1);
Symbol 173 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 173 MovieClip Frame 5
gotoAndStop (1);
Symbol 173 MovieClip Frame 10
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 5
gotoAndStop (1);
Symbol 178 MovieClip Frame 10
stop();
Symbol 187 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "parent";
}
Symbol 187 MovieClip Frame 9
gotoAndStop (1);
Symbol 187 MovieClip Frame 10
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 9
gotoAndStop (1);
Symbol 193 MovieClip Frame 10
stop();
Instance of Symbol 62 MovieClip "cod6" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "0,0,0";
}
Instance of Symbol 65 MovieClip "cod7" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "27,26,97";
}
Instance of Symbol 79 MovieClip "cod1" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "27,26,97";
}
Instance of Symbol 87 MovieClip "cod5" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "0,50,80";
}
Instance of Symbol 96 MovieClip "cod4" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "17,38,72";
}
Instance of Symbol 187 MovieClip "cod2" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
defaultHSB = "0,0,0";
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 204 Button
on (release) {
getURL ("man.html", "_blank");
}
Symbol 206 Button
on (release) {
i = 2;
tellTarget ("/total") {
cod2.editColor();
};
tellTarget ("/but") {
gotoAndStop (2);
};
_root.name = "hair";
}
Symbol 207 Button
on (release) {
i = 1;
tellTarget ("/total") {
cod1.editColor();
};
tellTarget ("/but") {
gotoAndStop (3);
};
_root.name = "face";
}
Symbol 208 Button
on (release) {
i = "3/eyesub";
tellTarget ("/total/cod3") {
eyesub.editColor();
};
tellTarget ("/but") {
gotoAndStop (4);
};
_root.name = "eyebrow";
}
Symbol 209 Button
on (release) {
i = "3/eyeshadow";
tellTarget ("/total/cod3") {
eyeshadow.editColor();
};
tellTarget ("/but") {
gotoAndStop (5);
};
_root.name = "eyeshadow";
}
Symbol 210 Button
on (release) {
i = "3/eyebase";
no - color.editColor();
tellTarget ("/but") {
gotoAndStop (6);
};
_root.name = "eyeform";
}
Symbol 211 Button
on (release) {
i = "3/eyebase/eye";
tellTarget ("/total/cod3/eyebase") {
eye.editColor();
};
tellTarget ("/but") {
gotoAndStop (7);
};
_root.name = "eyeball";
}
Symbol 212 Button
on (release) {
i = 4;
tellTarget ("/total") {
cod4.editColor();
};
tellTarget ("/but") {
gotoAndStop (8);
};
_root.name = "nose";
}
Symbol 213 Button
on (release) {
i = 5;
tellTarget ("/total") {
cod5.editColor();
};
tellTarget ("/but") {
gotoAndStop (9);
};
_root.name = "mouth";
}
Symbol 214 Button
on (release) {
i = 6;
tellTarget ("/total") {
cod6.editColor();
};
tellTarget ("/but") {
gotoAndStop (10);
};
_root.name = "back hair";
}
Symbol 215 Button
on (release) {
i = 7;
tellTarget ("/total") {
cod7.editColor();
};
tellTarget ("/but") {
gotoAndStop (11);
};
_root.name = "body";
}
Symbol 216 Button
on (release) {
i = 8;
tellTarget ("/total") {
cod8.editColor();
};
tellTarget ("/but") {
gotoAndStop (12);
};
_root.name = "cloth";
}
Symbol 228 Button
on (press) {
this.startMove();
}
on (release) {
this.stopMove();
}
Symbol 229 MovieClip Frame 1
function startMove() {
this.startDrag(false, xMin, _y, xMax, _y);
}
function stopMove() {
this.stopDrag();
}
function value() {
return(((_x - xMin) / haba) * 100);
}
theBounds = _parent.getBounds(_parent);
xMin = theBounds.xMin;
xMax = theBounds.xMax;
haba = xMax - xMin;
Symbol 230 MovieClip Frame 1
function value() {
return(handle.value());
}
Instance of Symbol 229 MovieClip "handle" in Symbol 230 MovieClip Frame 1
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 232 Button
on (press) {
if (_root.i != 0) {
tellTarget ("_root.total.cod" add _root.i) {
nextFrame();
};
tellTarget (("_root.total.cod" add _root.i) add _root.i) {
nextFrame();
};
}
}
Symbol 233 Button
on (press) {
if (_root.i != 0) {
tellTarget ("_root.total.cod" add _root.i) {
prevFrame();
};
tellTarget (("_root.total.cod" add _root.i) add _root.i) {
prevFrame();
};
}
}
Symbol 234 Button
on (press) {
setProperty("_root.total.cod" add _root.i, _x , getProperty("_root.total/cod" add _root.i, _x) + 1);
setProperty(("_root.total.cod" add _root.i) add _root.i, _x , getProperty(("_root.total/cod" add _root.i) add _root.i, _x) + 1);
}
Symbol 235 Button
on (press) {
setProperty("_root.total.cod" add _root.i, _x , getProperty("_root.total/cod" add _root.i, _x) - 1);
setProperty(("_root.total.cod" add _root.i) add _root.i, _x , getProperty(("_root.total/cod" add _root.i) add _root.i, _x) - 1);
}
Symbol 236 Button
on (press) {
setProperty("_root.total.cod" add _root.i, _y , getProperty("_root.total/cod" add _root.i, _y) + 1);
setProperty(("_root.total.cod" add _root.i) add _root.i, _y , getProperty(("_root.total/cod" add _root.i) add _root.i, _y) + 1);
}
Symbol 237 Button
on (press) {
setProperty("_root.total.cod" add _root.i, _y , getProperty("_root.total/cod" add _root.i, _y) - 1);
setProperty(("_root.total.cod" add _root.i) add _root.i, _y , getProperty(("_root.total/cod" add _root.i) add _root.i, _y) - 1);
}
Symbol 244 Button
on (press) {
drag = true;
startDrag (this, true, _parent.slideStart, _y, _parent.slideStart + _parent.slideLen, _y);
}
on (release, releaseOutside) {
drag = false;
stopDrag();
}
Symbol 249 MovieClip Frame 1
_visible = false;
Symbol 250 Button
on (press) {
if (i != 0) {
tellTarget ("_root.total.cod" add _root.i) {
gotoAndPlay (10);
};
tellTarget (("_root.total.cod" add _root.i) add _root.i) {
gotoAndPlay (10);
};
}
}
Symbol 252 Button
on (press) {
startDrag ("/controls");
}
on (release) {
stopDrag();
}
Symbol 253 MovieClip Frame 1
targetMovie = eval (targetMovie);
Object.prototype.colormassa = this;
Object.prototype.editColor = function () {
colormassa.targetMovie = this;
colormassa.h = this._hue;
colormassa.s = this._saturation;
colormassa.br = this._brightness;
};
curH = 0;
curS = 0;
curBr = 0;
h = 0;
s = 100;
br = 100;
Object.prototype.hsb2rgb = function (h, s, br) {
if (s != undefined) {
s = (100 - s) / 100;
br = (100 - br) / 100;
}
if (((300 < h) && (360 >= h)) || ((h >= 0) && (60 >= h))) {
r = 255;
g = (h / 60) * 255;
b = ((360 - h) / 60) * 255;
} else if ((60 < h) && (180 >= h)) {
r = ((120 - h) / 60) * 255;
g = 255;
b = ((h - 120) / 60) * 255;
} else {
r = ((h - 240) / 60) * 255;
g = ((240 - h) / 60) * 255;
b = 255;
}
if ((255 < r) || (r < 0)) {
r = 0;
}
if ((255 < g) || (g < 0)) {
g = 0;
}
if ((255 < b) || (b < 0)) {
b = 0;
}
if (s != undefined) {
r = r + ((255 - r) * s);
g = g + ((255 - g) * s);
b = b + ((255 - b) * s);
r = r - (r * br);
g = g - (g * br);
b = b - (b * br);
r = Math.round(r);
g = Math.round(g);
b = Math.round(b);
}
rgb = (b + (g * 256)) + (r * 65536);
return(rgb);
};
function dragSwatch() {
dragger.ready = true;
new Color(dragger).setRGB(hsb2rgb(h, s, br));
startDrag (dragger, true);
}
function stopDSwatch() {
dragger.ready = false;
dragger._visible = false;
dragger._x = dragger.startX;
dragger._y = dragger.startY;
stopDrag();
if (swatchArea._visible) {
addSwatch();
}
swatchArea._visible = false;
}
function resetPen() {
penX = swatchMarker._x;
penY = swatchMarker._y;
}
function drawSwatches() {
resetPen();
numberSwatches();
rI = 0;
i = 0;
while (i < swatches.length) {
rI++;
tSwatch = swatches[i];
tSwatch._x = penX;
tSwatch._y = penY;
penX = penX + swatchSpace;
if (rI >= perlineSwatch) {
penX = swatchMarker._x;
penY = penY + swatchLine;
rI = 0;
}
i++;
}
}
function addSwatch() {
if (swatches.length < maxSwatch) {
swatchHelp._visible = false;
attachMovie("swatch", "s" + swatchI, swatchI);
tSwatch = eval ("s" + swatchI);
swatches.push(tSwatch);
tSwatch.h = h;
tSwatch.s = s;
tSwatch.br = br;
drawSwatches();
swatchI++;
}
}
function numberSwatches() {
i = 0;
while (i < swatches.length) {
swatches[i].num = i;
i++;
}
}
function removeSwatch(num) {
if (!swatches[num].defualt) {
sNum = num - 1;
if (sNum < 0) {
sNum = 0;
}
removeMovieClip(swatches[num]);
swatches.splice(num, 1);
drawSwatches();
}
}
dragger.swapDepths(1000);
dragger._visible = false;
dragger.startX = _x;
dragger.startY = _y;
swatchArea._visible = false;
swatches = new Array();
swatchSpace = swatchMarker._width;
swatchLine = swatchMarker._height;
perlineSwatch = 5;
maxSwatch = 25;
swatchI = 0;
slideLen = slideLenMarker._width;
slideStart = slideLenMarker._x;
Instance of Symbol 16 MovieClip [colorDragger] "dragger" in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_visible) {
_parent.swatchArea._visible = _parent.swatchArea.hitTest(_root._xmouse, _root._ymouse);
}
}
onClipEvent (mouseMove) {
if (ready && (!_visible)) {
_visible = true;
}
}
Instance of Symbol 238 MovieClip "final" in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((h != curH) || (s != curS)) || (br != curBr)) {
tH = hsb2rgb(h, s, br);
new Color(final).setRGB(tH);
new Color(targetMovie).setRGB(tH);
new Color(hue1).setRGB(hsb2rgb(h, 100, 100));
new Color(hue2).setRGB(hsb2rgb(h, s, 100));
targetMovie._hue = h;
targetMovie._saturation = s;
targetMovie._brightness = br;
curH = h;
curS = s;
curBr = br;
}
};
}
Instance of Symbol 241 MovieClip "brCover" in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (br != curBr) {
brCover._alpha = 100 - br;
}
};
}
Instance of Symbol 245 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
if (drag) {
_parent.h = Math.round(((_x - _parent.slideStart) / _parent.slideLen) * 360);
} else {
_x = Math.round(_parent.slideStart + ((_parent.h / 360) * _parent.slideLen));
}
}
Instance of Symbol 246 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
if (drag) {
_parent.br = Math.round(((_x - _parent.slideStart) / _parent.slideLen) * 100);
} else {
_x = Math.round(_parent.slideStart + ((_parent.br / 100) * _parent.slideLen));
}
}
Instance of Symbol 247 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
if (drag) {
_parent.s = Math.round(((_x - _parent.slideStart) / _parent.slideLen) * 100);
} else {
_x = Math.round(_parent.slideStart + ((_parent.s / 100) * _parent.slideLen));
}
}
Instance of Symbol 15 MovieClip [swatch] in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
h = 0;
s = 100;
br = 100;
default = true;
}
Instance of Symbol 14 MovieClip [swatch] in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
h = 0;
s = 0;
br = 0;
default = true;
}
Instance of Symbol 13 MovieClip [swatch] in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
h = 0;
s = 0;
br = 100;
default = true;
}
Instance of Symbol 12 MovieClip [swatch] in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
h = 120;
s = 100;
br = 50;
default = true;
}
Instance of Symbol 11 MovieClip [swatch] in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
h = 240;
s = 100;
br = 60;
default = true;
}
Symbol 260 MovieClip Frame 9
stop();
Symbol 262 Button
on (release) {
tellTarget ("/total/accesary") {
nextFrame();
};
if (push == 1) {
push = 0;
setProperty("_root.acc", _visible , false);
if (_root.sun_ok1 == 0) {
setProperty("_root.SUN1", _visible , false);
}
if (_root.sun_ok2 == 0) {
setProperty("_root.SUN2", _visible , false);
}
if (_root.sun_ok3 == 0) {
setProperty("_root.SUN3", _visible , false);
}
if (_root.earing_ok4 == 0) {
setProperty("_root.earing4", _visible , false);
}
if (_root.earing_ok3 == 0) {
setProperty("_root.earing3", _visible , false);
}
if (_root.earing_ok2 == 0) {
setProperty("_root.earing2", _visible , false);
}
if (_root.earing_ok1 == 0) {
setProperty("_root.earing1", _visible , false);
}
if (_root.neck_ok1 == 0) {
setProperty("_root.neck1", _visible , false);
}
if (_root.neck_ok2 == 0) {
setProperty("_root.neck2", _visible , false);
}
gotoAndPlay (37);
} else {
push = 1;
gotoAndPlay (39);
}
}
Symbol 267 Button
on (release) {
i = 0;
push = 0;
no = 0;
sun_ok1 = 0;
sun_ok2 = 0;
sun_ok3 = 0;
earing_ok1 = 0;
earing_ok2 = 0;
earing_ok3 = 0;
earing_ok4 = 0;
neck_ok1 = 0;
neck_ok2 = 0;
gotoAndPlay (34);
}
Symbol 269 Button
on (release) {
getURL ("http://file.barunson.com/upfile/card/ceaa69.swf?a=1", "_blank");
fscommand ("fullscreen");
}
Symbol 278 Button
on (press) {
tellTarget ("/help") {
gotoAndPlay (2);
};
}
on (release) {
tellTarget ("/help") {
gotoAndPlay (11);
};
}
Symbol 279 Button
on (release) {
gotoAndPlay (46);
}
Symbol 280 Button
on (release) {
if (no == 0) {
setProperty("_root.controls", _visible , false);
no = 1;
} else {
setProperty("_root.controls", _visible , true);
no = 0;
}
}
Symbol 281 Button
on (release) {
i = 0;
push = 0;
no = 0;
sun_ok1 = 0;
sun_ok2 = 0;
sun_ok3 = 0;
earing_ok1 = 0;
earing_ok2 = 0;
earing_ok3 = 0;
earing_ok4 = 0;
neck_ok1 = 0;
neck_ok2 = 0;
gotoAndPlay (34);
}
Symbol 282 Button
on (rollOver) {
tellTarget ("/soundani") {
gotoAndPlay (2);
};
}
on (rollOut) {
tellTarget ("/soundani") {
gotoAndStop (1);
};
}
on (release) {
if (no == 0) {
tellTarget ("/sound") {
gotoAndStop ("off");
};
stopAllSounds();
no = 1;
} else {
tellTarget ("/sound") {
gotoAndStop ("on");
};
no = 0;
}
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 6
gotoAndPlay (2);
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 2
stop();
Symbol 286 MovieClip Frame 5
stop();
Symbol 286 MovieClip Frame 10
stopAllSounds();
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 10
stop();
Symbol 303 MovieClip Frame 12
stop();
Symbol 313 MovieClip Frame 30
gotoAndPlay (1);
Symbol 320 Button
on (release) {
stopAllSounds();
gotoAndPlay (31);
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 7
gotoAndPlay (2);
Symbol 328 Button
on (release) {
nextFrame();
printNum (0, "bframe");
}
on (rollOver) {
tellTarget ("/print") {
gotoAndPlay (2);
};
}
Symbol 330 Button
on (release) {
stopAllSounds();
gotoAndPlay (13);
}
Symbol 332 Button
on (release) {
stopAllSounds();
gotoAndPlay (13);
}
Symbol 333 Button
on (release) {
printNum (0, "bframe");
}
on (rollOver) {
tellTarget ("/print") {
gotoAndPlay (2);
};
}
on (rollOut) {
tellTarget ("/print") {
gotoAndPlay (1);
};
}