[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Combined Code (112.07 KiB) ● ● ● ●
movieClip 6 {
}
movieClip 7 stripUpDown {
frame 1 {
onEnterFrame = function () {
this._xscale += 1.5;
this._yscale += 1.5;
};
}
frame 39 {
++_root.strip_pose;
if (_root.strip_pose == 2) {
setpose(random(3) + 1);
_root.strip_pose = 0;
}
}
frame 130 {
_global.start_stripshow();
this.removeMovieClip();
}
}
movieClip 8 stripDown {
frame 200 {
_global.start_stripshow();
this.removeMovieClip();
}
}
movieClip 9 stripDownShort {
frame 75 {
onEnterFrame = function () {
this._xscale += 3;
this._yscale += 3;
};
++_root.strip_pose;
if (_root.strip_pose == 2) {
setpose(random(3) + 1);
_root.strip_pose = 0;
}
}
frame 190 {
_global.start_stripshow();
this.removeMovieClip();
}
}
movieClip 11 bar bar {
}
// unknown tag 88 length 63
movieClip 21 mc_hourglass {
}
movieClip 22 preloader bar {
frame 1 {
var value = 0;
onEnterFrame = function () {
bar_mc._xscale = 100 * value;
percent_txt.text = Math.round(100 * value) + '%';
percent_txt._x = bar_mc._width - percent_txt._width / 2;
};
onEnterFrame();
}
}
movieClip 24 snow {
}
frame 1 {
Stage.showMenu = false;
stop();
onEnterFrame = function () {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
var v6 = Math.round(this.getBytesTotal() / 1024);
var v5 = v6 / 1024;
mb_str = v5.toString();
mb_total = mb_str.slice(0, 4);
var v8 = Math.round(this.getBytesLoaded() / 1024);
var v7 = v8 / 1024;
mbloaded_str = v7.toString();
mbloaded_total = mbloaded_str.slice(0, 4);
showbytes = mbloaded_total + 'MB / ' + mb_total + 'MB';
preloader_mc.value = v4;
if (v4 == 1) {
delete onEnterFrame;
unconsored = null;
_global.unconsored = null;
gotoAndStop(3);
}
};
}
movieClip 26 {
frame 1 {
k = 0;
while (k < 30) {
duplicateMovieClip(this.snow, 'snow' + k, k);
++k;
}
}
instance snow of movieClip 24 snow {
onClipEvent (load) {
movieWidth = 1000;
movieHeight = 1200;
i = 1 + Math.random() * 2;
k = -Math.PI + Math.random() * Math.PI;
this._yscale = 50 + Math.random() * 100;
this._xscale = this._yscale;
this._alpha = 20 + Math.random() * 100;
this._x = -10 + Math.random() * movieWidth;
this._y = -10 + Math.random() * movieHeight;
}
onClipEvent (enterFrame) {
rad += (k / 180) * Math.PI;
this._x += Math.cos(rad) * 10;
this._y += i / 2;
if (this._y >= movieHeight) {
this._y = -5;
}
if (this._x >= movieWidth || this._x <= 0) {
this._x = -10 + Math.random() * movieWidth;
this._y = -5;
}
}
}
}
movieClip 28 {
}
movieClip 62 1_loadimages {
}
movieClip 75 2_Loadsounds {
frame 1 {
stopAllSounds();
}
}
// unknown tag 88 length 62
movieClip 79 {
}
button 82 {
on (rollOver) {
_root.cloth_tooltip = 'Will hide/show this clothing!';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (releaseOutside) {
_root.cloth_tooltip = '';
}
on (press) {
if (clothbutton_name.clothtype == 'Highheels' && feets != 'low') {
highfeets(false);
feets = 'low';
} else {
if (clothbutton_name.clothtype == 'Highheels') {
highfeets(true);
feets = '';
}
}
if (clothbutton_name.clothtype == 'Panties' && _root.unconsored == undefined) {
_global.set_Panties = true;
_level0.attachMovie('mc_noway', 'mc_noway', _root.getNextHighestDepth, {'_x': 400, '_y': 150});
if (particles == true) {
mc_particle._y = 150;
mc_particle._x = 400;
mc_particle.gotoAndPlay(1);
}
_root.noway_sound.start();
} else {
if (clothbutton_name._alpha == 50) {
_global.play_clothSound(clothbutton_name.clothtype);
clothbutton_name._alpha = 100;
_root.mc_charscreen.mc_cloth[clothbutton_name.clothtype + clothbutton_name.id]._visible = true;
iz = 0;
while (iz < _root.data_Bodysuit.length) {
if (_root.data_Bodysuit[iz][0] == clothbutton_name.clothtype) {
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == 'Panties') {
_root.mc_charscreen.mc_cloth['Panties' + _global.equipment[i][1]]._visible = false;
_root.mc_clothbutton.container['Panties' + _global.equipment[i][1]].clothbutton_name._alpha = 50;
}
++i;
}
}
++iz;
}
} else {
_global.play_clothSound(clothbutton_name.clothtype, 'delete');
clothbutton_name._alpha = 50;
_root.mc_charscreen.mc_cloth[clothbutton_name.clothtype + clothbutton_name.id]._visible = false;
iz = 0;
while (iz < _root.data_Bodysuit.length) {
if (_root.data_Bodysuit[iz][0] == clothbutton_name.clothtype) {
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == 'Panties') {
_root.mc_charscreen.mc_cloth['Panties' + _global.equipment[i][1]]._visible = true;
_root.mc_clothbutton.container['Panties' + _global.equipment[i][1]].clothbutton_name._alpha = 100;
}
++i;
}
}
++iz;
}
}
}
}
}
button 85 {
on (rollOver) {
_root.cloth_tooltip = 'Will remove selected clothing!';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.cloth_tooltip = '';
clicker_cloth(_root.selected_cloth, _root.selected_id, 'delete_btn');
}
on (releaseOutside) {
_root.cloth_tooltip = '';
}
}
movieClip 86 clothbutton {
}
// unknown tag 88 length 44
movieClip 113 {
}
movieClip 115 mc_noway {
frame 1 {
_root.mc_charscreen.mc_character.mc_angryface._visible = true;
_root.mc_charscreen.mc_character.mc_face._visible = false;
if (_global.set_Panties == true) {
this.mc_shootbox.gotoAndStop(random(6) + 1);
} else {
this.mc_shootbox.gotoAndStop(random(6) + 6);
}
}
frame 60 {
_root.mc_charscreen.mc_character.mc_angryface._visible = false;
_root.mc_charscreen.mc_character.mc_face._visible = true;
this.removeMovieClip();
}
}
movieClip 117 {
}
movieClip 119 btn_item {
}
movieClip 277 stripToRight {
frame 30 {
onEnterFrame = function () {
this._xscale += 1.5;
this._yscale += 1.5;
};
}
frame 100 {
++_root.strip_pose;
if (_root.strip_pose == 2) {
setpose(random(3) + 1);
_root.strip_pose = 0;
}
}
frame 190 {
_global.start_stripshow();
this.removeMovieClip();
}
}
movieClip 278 stripZoom {
frame 1 {
onEnterFrame = function () {
this._xscale += 2;
this._yscale += 2;
};
}
frame 100 {
++_root.strip_pose;
if (_root.strip_pose == 2) {
setpose(random(3) + 1);
_root.strip_pose = 0;
}
}
frame 190 {
_global.start_stripshow();
this.removeMovieClip();
}
}
movieClip 279 stripToLeft {
frame 30 {
onEnterFrame = function () {
this._xscale += 1.5;
this._yscale += 1.5;
};
}
frame 100 {
++_root.strip_pose;
if (_root.strip_pose == 2) {
setpose(random(3) + 1);
_root.strip_pose = 0;
}
}
frame 190 {
_global.start_stripshow();
this.removeMovieClip();
}
}
frame 3 {
function loadbtn(array_type, clothtype, id, pose_id, color, array_id) {
if (_root['btn_item_' + array_type + '_x'] == 6) {
_root['btn_item_' + array_type + '_x'] = 1;
_root['btn_item_' + array_type + '_y'] += 1;
}
_root.btn_id = 'btn' + _root['btn_item_' + array_type + '_y'] + _root['btn_item_' + array_type + '_x'];
btn_x = 36 * _root['btn_item_' + array_type + '_x'] - 12;
btn_y = 36 * _root['btn_item_' + array_type + '_y'] + 14;
_root['btn_item_' + array_type + '_x'] += 1;
this.mc_itemwindow['mc_' + array_type].mc_buttons.attachMovie('btn_item', _root.btn_id, this.mc_itemwindow['mc_' + array_type].mc_buttons.getNextHighestDepth(), {'_x': btn_x, '_y': btn_y});
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].icongfx.picture = flash.display.BitmapData.loadBitmap(clothtype + id + '.png');
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].icongfx.attachBitmap(this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].icongfx.picture, 1);
if (_root['data_' + array_type][array_id][3] != 0) {
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].txt_colors.text = 'c' + color + 'x' + _root['data_' + array_type][array_id][3];
} else {
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].txt_colors.text = 'c' + color;
}
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].secondColor = _root['data_' + array_type][array_id][3];
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].tooltip = _root['data_' + array_type][array_id][10];
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].onPress = function () {
if (clothtype + id != selected_cloth + selected_id) {
mc_clothbutton.container[clothtype + id].clothbutton_name.buttonname.textColor = 16751001;
}
_root.cloth_tooltip = '';
Mouse.hide();
_root.createEmptyMovieClip('mouseitem', _root.getNextHighestDepth());
mouseitem.picture = flash.display.BitmapData.loadBitmap(clothtype + id + '_p' + pose + '_c1');
mouseitem.attachBitmap(mouseitem.picture, 1);
if (this.secondColor != 0) {
mouseitem.createEmptyMovieClip('secondItem', mouseitem.getNextHighestDepth());
mouseitem.secondItem.picture = flash.display.BitmapData.loadBitmap(clothtype + id + 'a_p' + pose + '_c1');
mouseitem.secondItem.attachBitmap(mouseitem.secondItem.picture, 1);
selected_category = (this._parent._parent._name.split('mc_')).join('');
i = 0;
while (i < _root['data_' + selected_category + '_2ndColor'].length) {
if (_root['data_' + selected_category + '_2ndColor'][i][0] == clothtype && _root['data_' + selected_category + '_2ndColor'][i][1] == id) {
if (pose == 1) {
mouseitem.secondItem._x = _root['data_' + selected_category + '_2ndColor'][i][2];
mouseitem.secondItem._y = _root['data_' + selected_category + '_2ndColor'][i][3];
}
if (pose == 2) {
mouseitem.secondItem._x = _root['data_' + selected_category + '_2ndColor'][i][4];
mouseitem.secondItem._y = _root['data_' + selected_category + '_2ndColor'][i][5];
}
if (pose == 3) {
mouseitem.secondItem._x = _root['data_' + selected_category + '_2ndColor'][i][6];
mouseitem.secondItem._y = _root['data_' + selected_category + '_2ndColor'][i][7];
}
}
++i;
}
}
mouseitem.startDrag();
mouseitem._x = _xmouse - mouseitem._width / 2;
mouseitem._y = _ymouse - mouseitem._height / 2;
_global.type_id = id;
_global.type_cloth = clothtype;
_global.pose_id = pose_id;
if (dev == 'on') {
if (clothtype == 'Highheels') {
mc_charscreen.mc_character.mc_highfeets._visible = true;
mc_charscreen.mc_character.mc_cutter._height = mc_charscreen.mc_character.mc_body._height - mc_charscreen.mc_character.mc_highfeets._height + 2;
} else {
mc_charscreen.mc_character.mc_highfeets._visible = false;
mc_charscreen.mc_character.mc_cutter._height = mc_charscreen.mc_character.mc_body._height;
}
mouseitem.onEnterFrame = function () {
_root['x' + pose] = mouseitem._x;
_root['y' + pose] = mouseitem._y;
xml_code = clothtype + id + '\n' + [x1 - offset_pose[0]] + ', ' + y1 + ', ' + [x2 - offset_pose[1]] + ', ' + y2 + ', ' + [x3 - offset_pose[2]] + ', ' + y3;
};
}
this.swapDepths(_root.cloth_btn.getNextHighestDepth());
cloth_up_sound.start();
glow.alpha = 0;
this.filters = [glow];
};
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].onRollOver = function () {
var v3 = new flash.filters.GlowFilter(16777215, 0.5, 5, 5, 2, 3);
v3.alpha = 50;
this.filters = [v3];
_root.cloth_tooltip = this.tooltip;
if (clothtype + id != selected_cloth + selected_id) {
mc_clothbutton.container[clothtype + id].clothbutton_name.buttonname.textColor = 16711935;
}
};
this.mc_itemwindow['mc_' + array_type].mc_buttons[_root.btn_id].onRollOut = function () {
glow.alpha = 0;
this.filters = [glow];
_root.cloth_tooltip = '';
if (clothtype + id != selected_cloth + selected_id) {
mc_clothbutton.container[clothtype + id].clothbutton_name.buttonname.textColor = 16751001;
}
};
onMouseUp = function () {
Mouse.show();
character_hit = this.mouseitem.hitTest(_root.mc_clicker);
_root.mouseitem.removeMovieClip();
if (dev != 'on') {
if (character_hit == false) {
cloth_down_sound.start();
}
if (character_hit == true) {
already_equiped = false;
io = 0;
while (io < _global.equipment.length) {
if (type_cloth == 'Panties') {
au = 0;
while (au < _global.equipment.length) {
bu = 0;
while (_root.Bodysuit.length) {
if (_global.equipment[au] == _root.Bodysuit[bu]) {
_root.mc_charscreen.mc_cloth[type_cloth + type_id]._visible = true;
_root.mc_charscreen.mc_cloth[_global.equipment[au][0] + _global.equipment[au][1]].removeMovieClip();
_global.equipment.splice(au, 1);
}
++bu;
}
++au;
}
}
if (_global.equipment[io][0] == type_cloth && _global.equipment[io][1] == type_id && already_equiped == false) {
already_equiped = true;
_root.mc_charscreen.mc_cloth[type_cloth + type_id].swapDepths(_root.mc_charscreen.mc_cloth.getNextHighestDepth());
swap_array = _global.equipment[io];
_global.equipment.splice(io, 1);
_global.equipment.push(swap_array);
swap_array = null;
}
++io;
}
_global.play_clothSound(type_cloth);
if (already_equiped == false) {
if (_global.equipment.length >= _root.max_levels) {
tooManyItems();
} else {
array_item = [type_cloth, type_id, 1, 1];
_global.equipment[_global.equipment.length] = array_item;
maxlevel = _global.equipment.length;
itemplacer(type_cloth, type_id, 1, 0, _root.mc_charscreen.mc_cloth.getNextHighestDepth());
}
}
if (particles == true) {
mc_particle._y = _ymouse;
mc_particle._x = _xmouse;
mc_particle.gotoAndPlay(1);
}
_global.set_tools(type_cloth, type_id);
equipmenu();
}
}
};
}
version = 'Version 0.92.8';
max_hairstyle_variations = [1, 9];
max_hairstyles = 2;
max_headspecials = 5;
start_pose = random(3) + 1;
start_equipment_array = [];
start_equipment_array[0] = '2,1,8,2,0,Panties,2,7,0,Scarf,1,1,0,Gown,1,1,1,Highheels,2,3,7,Feathers,1,6,0,Necklace,1,1,0,Bracelet,1,1,0,Mask,1,1,5,Belt,2,1,0';
start_equipment_array[1] = '2,1,3,2,0,Panties,2,4,0,Socks,1,2,0,Garter,1,4,0,Suspender,1,1,4,Skirt,2,5,0,Skirt,3,3,0,Highheels,1,2,0,Belt,1,2,1,Corset,1,4,3,Bra,2,1,4,Choker,1,1,4,Gloves,1,2,0,Jacket,2,1,0';
start_equipment_array[2] = '1,1,1,4,0,Panties,2,3,0,Socks,1,1,0,Suspender,1,3,3,Bra,2,3,3,Necklace,1,2,0,Highheels,1,6,0,Skirt,1,4,0,Shirt,2,1,0,Pullover,1,3,1';
start_equipment_array[3] = '1,0,1,2,0,Panties,2,3,0,Socks,1,2,0,Garter,1,3,0,Bra,1,2,3,Gown,1,2,1,Skirt,3,2,0,Highheels,2,2,3,Gloves,1,2,0,Armband,1,3,2,Necklace,1,1,0,Choker,1,3,2,Bracelet,1,1,0,Belt,1,1,1,Belt,2,1,0,Feathers,1,6,0';
start_equipment_array[4] = '1,1,1,5,100,Panties,2,1,0,Towel,1,5,1';
start_equipment_array[5] = '2,1,4,3,100,Panties,3,1,1,Bra,3,1,1,Hipscarf,1,1,0,Bracelet,1,1,0,Highheels,2,3,6';
start_equipment_array[6] = '1,1,1,2,0,Panties,1,1,1,Bra,1,1,1,Shirt,3,3,0,Skirt,4,1,0,Jacket,1,1,0,Glasses,1,1,1,Scarf,2,1,0,Highheels,1,4,0';
start_equipment_array[7] = '2,1,2,1,0,Panties,2,3,0,Socks,2,2,2,Scarf,1,6,0,Bodysuit,1,1,1,Bra,4,1,1,Armband,2,1,1,Highheels,3,1,1,NeonTorso,1,1,0,NeonArmwear,1,1,0,NeonLegwear,1,1,0,Eyes,1,1,0';
start_equipment_array[8] = '1,1,1,4,0,Panties,2,1,0,Socks,3,1,0,Pants,2,1,1,Shoes,2,1,1,Armband,3,2,0,Shirt,4,3,0,Jacket,2,4,0,Glasses,1,1,1,Choker,2,2,0';
start_equipment_array[9] = '2,1,8,5,0,Panties,2,1,0,Socks,4,1,0,Highheels,4,3,7,Headband,1,7,0,Glasses,1,1,1,Gloves,2,2,0,Jacket,3,7,1,Scarf,3,2,0';
itemtypes = ['Torso', 'Legwear', 'Shoes', 'Special2', 'Underware', 'Armwear', 'Bodysuit', 'Special1', 'Highheels'];
i = 0;
while (i <= itemtypes.length) {
_root['data_' + itemtypes[i]] = [];
_root['data_' + itemtypes[i] + '_2ndColor'] = [];
++i;
}
_root.data_Underware[0] = new Array('Bra', 1, 7, 8, 77, 162, 134, 174.5, 108.5, 198, 'A simple bra.', 4);
_root.data_Underware[1] = new Array('Panties', 1, 7, 8, 109, 306, 55.5, 286.5, 117, 323.5, 'An hot thong in lace lingerie style.', 2);
_root.data_Underware[2] = new Array('Bra', 2, 8, 9, 71, 171, 97, 177.5, 112, 197.5, 'An hot bra in lace lingerie style with a ribbon.', 4);
_root.data_Underware[3] = new Array('Panties', 2, 8, 0, 104, 276, 69.5, 276, 82, 293.5, 'A simple thong.', 2);
_root.data_Underware[4] = new Array('Bra', 3, 8, 8, 89, 122.5, 94, 112.5, 107.5, 147.5, 'A sexy bikini top.', 4);
_root.data_Underware[5] = new Array('Panties', 3, 8, 8, 69, 296.5, 73, 282.5, 76.5, 297.5, 'A sexy bikini thong.', 2);
_root.data_Underware[6] = new Array('Bra', 4, 8, 8, 70.5, 176, 96.5, 183.5, 110, 204, 'A tupe top.', 4);
_root.data_Underware[7] = new Array('Panties', 4, 8, 9, 72, 303.5, 49.5, 296.5, 49.5, 313.5, 'Just normal Panties.', 2);
_root.data_Underware[8] = new Array('Bra', 5, 8, 9, 70.5, 130, 79, 126, 96, 154, 'Just a normal Bra.', 4);
_root.data_Bodysuit[0] = new Array('Swimsuit', 1, 9, 8, 70.5, 171, 48.5, 176.5, 64.5, 197.5, 'A hot and exquisite swimsuit.', 4);
_root.data_Bodysuit[1] = new Array('Gown', 1, 8, 2, 70, 129, 46, 125, 44, 154.5, 'A exquisite gown.', 4);
_root.data_Bodysuit[2] = new Array('Towel', 1, 8, 2, 66, 175, 45.5, 183.5, 44.5, 201, 'A simple wraped Towel.\n(Or a tube dress?)', 4);
_root.data_Bodysuit[3] = new Array('Bodysuit', 1, 8, 8, 88, 123, 62, 110.5, 85, 148, 'A very,very sexy sporty bodysuit.)', 4);
_root.data_Armwear[0] = new Array('Gloves', 1, 7, 0, 26.5, 156.5, 94, 181.5, 87, 224.5, 'Some nice long gloves in a lace lingerie style with a ribbon.', 1);
_root.data_Armwear[1] = new Array('Gloves', 2, 8, 0, 61.5, 251, 123.5, 295.5, 154, 243.5, 'Some lang winter gloves.', 2);
_root.data_Armwear[2] = new Array('Bracelet', 1, 2, 0, 65.5, 261.5, 140.5, 313, 169, 247.5, 'An golden/silver bracelet.', 2);
_root.data_Armwear[3] = new Array('Armband', 1, 8, 9, 56, 152.5, 88.5, 180, 85, 221.5, 'Some Armband for both arms in a lace lingerie style with a ribbon', 2);
_root.data_Armwear[4] = new Array('Armband', 2, 8, 8, 27, 205, 112, 237, 132, 246, 'Some Armwrabs with strips', 2);
_root.data_Armwear[5] = new Array('Armband', 3, 8, 0, 67, 258.5, 138.5, 298, 164, 246, 'Some Wristbands', 2);
_root.data_Armwear[6] = new Array('NeonArmwear', 1, 5, 0, 33, 164, 98.5, 167, 82, 210.5, 'A luminous-band around both arms.', 2);
_root.data_Torso[0] = new Array('Shirt', 1, 8, 0, 26, 120, 43, 105, 39.5, 142.5, 'An unbuttoned shirt with long sleeves.', 0);
_root.data_Torso[1] = new Array('Shirt', 2, 8, 0, 69.5, 128.5, 97.5, 134.5, 94.5, 154.5, 'A simple skin-tide sports top.', 0);
_root.data_Torso[2] = new Array('Shirt', 3, 8, 0, 49.5, 125.5, 45.5, 117, 51.5, 154.5, 'A simple long-sleeved shirt.', 0);
_root.data_Torso[3] = new Array('Shirt', 4, 8, 0, 69.5, 125, 95, 113, 106, 153.5, 'A small and tide summer top.', 0);
_root.data_Torso[4] = new Array('Corset', 1, 8, 8, 87.5, 208, 95, 221, 119, 265, 'A nice corset.\n(Fits perfectly with a bra to a top!)', 0);
_root.data_Torso[5] = new Array('Pullover', 1, 8, 2, 24.5, 140.5, 39.5, 129.5, 50.5, 150, 'A pullover with one side hanging off the shoulder.', 0);
_root.data_Torso[6] = new Array('Jacket', 1, 8, 0, 26.5, 121.5, 45.5, 109, 50.5, 149.5, 'A formal buisness jacket.', 0);
_root.data_Torso[7] = new Array('Jacket', 2, 8, 0, 26.5, 122.5, 77.5, 110, 65, 151, 'A small (and open) summer jacket.', 0);
_root.data_Torso[8] = new Array('Jacket', 3, 8, 8, 27.5, 122, 45.5, 109.5, 45, 148.5, 'A small (and open) summer jacket.', 0);
_root.data_Torso[9] = new Array('NeonTorso', 1, 5, 0, 65.5, 155, 72, 165, 54, 182.5, 'A luminous-band around the torso.', 2);
_root.data_Shoes[0] = new Array('Shoes', 1, 8, 0, 48, 723, 80.5, 510.5, 73.5, 722.5, 'Some slippers.', 1);
_root.data_Shoes[1] = new Array('Shoes', 2, 8, 8, 47.5, 705, 82.5, 506, 74.5, 706.5, 'Some simple sport shoes.', 1);
_root.data_Shoes[2] = new Array('Highheels', 1, 8, 0, 46, 705.5, 81.5, 506.5, 69.5, 705, 'Some classical highheel shoes.', 1);
_root.data_Shoes[3] = new Array('Highheels', 2, 8, 8, 46, 705.5, 81.5, 506.5, 69.5, 705, 'Some equisite highheel shoes.', 1);
_root.data_Shoes[4] = new Array('Highheels', 3, 8, 9, 45, 436, 74, 355, 67.5, 424, 'A pair of long highheeled boots.', 3);
_root.data_Shoes[5] = new Array('Highheels', 4, 8, 8, 45.5, 514.5, 73.5, 407.5, 69.5, 527.5, 'A pair of highheeled boots.', 3);
_root.data_Special1[0] = new Array('Suspender', 1, 8, 9, 73, 292, 67.5, 269.5, 47.5, 308, 'A suspender in a lace lingerie style with a ribbon.', 2);
_root.data_Special1[1] = new Array('Choker', 1, 8, 9, 133.5, 119, 95.5, 103.5, 111, 147.5, 'A choker in a lace lingerie style with a ribbon.', 2);
_root.data_Special1[2] = new Array('Choker', 2, 8, 0, 134, 115.5, 97, 106.5, 109, 149, 'A simple neck band.', 2);
_root.data_Special1[3] = new Array('Scarf', 1, 8, 0, 112, 121, 19, 107, 52, 141, 'A long and chic scarf.', 3);
_root.data_Special1[4] = new Array('Scarf', 2, 8, 0, 132.5, 114.5, 88.5, 108.5, 104.5, 142.5, 'A simple cloth around the neck.', 3);
_root.data_Special1[5] = new Array('Scarf', 3, 8, 0, 125, 112.5, 94, 102.5, 100, 143, 'A simple winter scarf.', 3);
_root.data_Special1[6] = new Array('Belt', 1, 8, 2, 71.5, 282, 59, 276.5, 72.5, 296, 'A simple thin belt.', 2);
_root.data_Special1[7] = new Array('Belt', 2, 2, 0, 93, 255, 49, 278, 63, 302, 'Some golden/silver chains around the waist.', 2);
_root.data_Special1[8] = new Array('Mask', 1, 9, 9, 120, 61.5, 120.5, 64, 103, 76, 'A carnival mask.', 2);
_root.data_Special1[9] = new Array('Necklace', 1, 2, 0, 122, 132.5, 120.5, 131.5, 101, 147.5, 'An golden/silver necklace.', 2);
_root.data_Special1[10] = new Array('Feathers', 1, 8, 0, 168.5, 62.5, 169, 79, 157, 68, 'A feather ornament for a ear.', 2);
_root.data_Special1[11] = new Array('Hipscarf', 1, 8, 0, 66, 294, 50, 281, 44, 299.5, 'A semi tranzparent hipscarf.', 2);
_root.data_Special1[12] = new Array('Glasses', 1, 3, 2, 121.5, 74.5, 131, 81.5, 120.5, 84.5, 'Some reading glasses.', 2);
_root.data_Special1[13] = new Array('Headband', 1, 8, 0, 121, 35, 116.5, 50, 95.5, 52.5, 'Some simple sport headband.', 2);
_root.data_Special2[0] = new Array('Eyes', 1, 5, 0, 122.5, 65, 130, 72, 112.5, 80, 'Glowing Eyes.', 2);
_root.data_Legwear[0] = new Array('Pants', 1, 8, 0, 64.5, 296, 45.5, 294, 45, 305.5, 'Some tide jeans.', 3);
_root.data_Legwear[1] = new Array('Pants', 2, 8, 2, 54.5, 282.5, 45.5, 286, 44, 298.5, 'Some simple skin-tide sports pants.', 3);
_root.data_Legwear[2] = new Array('Skirt', 1, 8, 0, 48, 283, 44.5, 285.5, 36.5, 297.5, 'A simple long skirt.', 3);
_root.data_Legwear[3] = new Array('Skirt', 2, 8, 0, 58, 285, 44.5, 287, 42, 299.5, 'A simple short skirt with more folding.', 0);
_root.data_Legwear[4] = new Array('Skirt', 3, 8, 0, 50.5, 282.5, 31, 286, 33.5, 298, 'A simple short skirt with less folding.', 0);
_root.data_Legwear[5] = new Array('Skirt', 4, 8, 0, 65, 284, 45.5, 284.5, 45, 299, 'A lang and tide skirt.', 0);
_root.data_Legwear[6] = new Array('Socks', 1, 7, 0, 49, 371, 67.5, 335, 47, 362, 'Some nice long lace lingerie socks.', 3);
_root.data_Legwear[7] = new Array('Socks', 2, 9, 8, 50, 378, 66.5, 341, 47, 366.5, 'Some nice long socks with strips.', 3);
_root.data_Legwear[8] = new Array('Socks', 3, 8, 0, 49, 602.5, 76, 432.5, 71.5, 600, 'Some long sport socks.', 3);
_root.data_Legwear[9] = new Array('Socks', 4, 8, 0, 48, 282.5, 45.5, 288, 44.5, 300, 'Some nice tights.', 3);
_root.data_Legwear[10] = new Array('Garter', 1, 8, 0, 66, 369.5, 66.5, 325, 45.5, 360, 'Two garters for both thighs.\n(Fits perfectly to some high socks!)', 3);
_root.data_Legwear[11] = new Array('NeonLegwear', 1, 5, 0, 70.5, 692.5, 91, 496.5, 76, 693.5, 'A luminous-band around both legs.', 2);
_root.data_Underware_2ndColor[0] = new Array('Bra', 1, -7, -35, -55, -48, -16, -44);
_root.data_Underware_2ndColor[1] = new Array('Panties', 1, -35, -5, 0, 0, -46, -20);
_root.data_Underware_2ndColor[2] = new Array('Bra', 2, 48, 22, 0, 0, 58, 25);
_root.data_Underware_2ndColor[3] = new Array('Bra', 3, -18, 43, 58, 64, 7, 45);
_root.data_Underware_2ndColor[4] = new Array('Panties', 3, 25, 8, -5, 2, 37, 26);
_root.data_Underware_2ndColor[5] = new Array('Bra', 4, 8, 1, 88, 1, 13, 2);
_root.data_Underware_2ndColor[6] = new Array('Panties', 4, 1, 2, 0, 2, 2, 0);
_root.data_Underware_2ndColor[7] = new Array('Bra', 5, 1, 36, 65, 51, 15, 37);
_root.data_Armwear_2ndColor[0] = new Array('Armband', 1, -7, 2, 16, 9, 4, 8);
_root.data_Armwear_2ndColor[1] = new Array('Armband', 2, 3, 8, 5, 9, 9, 0);
_root.data_Legwear_2ndColor[0] = new Array('Socks', 2, 16, 1, 0, 0, 0, 0.5);
_root.data_Legwear_2ndColor[1] = new Array('Pants', 2, 2, 2, 1, 1, 1, 1);
_root.data_Bodysuit_2ndColor[0] = new Array('Swimsuit', 1, 0.5, 0, -1, -1, -2, -1);
_root.data_Bodysuit_2ndColor[1] = new Array('Gown', 1, 1, 21, 1, 34, 0, 6);
_root.data_Bodysuit_2ndColor[2] = new Array('Towel', 1, 0, 0, 0, 0, 0, 0);
_root.data_Bodysuit_2ndColor[3] = new Array('Bodysuit', 1, 4, 96, 5, 122, 30, 114);
_root.data_Torso_2ndColor[0] = new Array('Pullover', 1, 0, 11, 2, 6, 0, 0);
_root.data_Torso_2ndColor[1] = new Array('Corset', 1, 0, 3, 0, 7, -3, -3);
_root.data_Torso_2ndColor[2] = new Array('Jacket', 3, 94, 61.5, 107, 126, 86, 49);
_root.data_Shoes_2ndColor[0] = new Array('Highheels', 2, 6, -2, 5, -8, 0, -3);
_root.data_Shoes_2ndColor[1] = new Array('Highheels', 3, 0, 304, 9, 161, 2, 347);
_root.data_Shoes_2ndColor[2] = new Array('Highheels', 4, 0, 57, 9, 35, 0, 46);
_root.data_Shoes_2ndColor[3] = new Array('Shoes', 2, -1, -1, -2, -1, 0, 0);
_root.data_Special1_2ndColor[0] = new Array('Mask', 1, 0, 0, 0, 0, 0, -9);
_root.data_Special1_2ndColor[1] = new Array('Belt', 1, 48, 26, 0, 0, 53, 34);
_root.data_Special1_2ndColor[2] = new Array('Choker', 1, 6, 9, 31, 21, 23, 3);
_root.data_Special1_2ndColor[3] = new Array('Suspender', 1, 16, 10, 44, 22, 57, 26);
_root.data_Special1_2ndColor[4] = new Array('Glasses', 1, 0, -8.5, -13.5, -17, -14.5, 0);
stopAllSounds();
width_pose = [23, 295, 257, 235];
offset_pose = [30, 50, 50];
blush_btn_txt = 'Skie blushing = ON';
_root.blush = true;
fade_btn_txt = 'Posture Fade = ON';
sound_btn_txt = 'Sounds = ON';
bg_btn_txt = 'Background = ON';
_root.particles_btn_txt = 'Particles = ON';
_global.particles = true;
max_levels = 15;
selected_color = 1;
mc_particle.gotoAndStop(1);
_root.strip_pose = 0;
_root.btn_array = ['mc_clothbutton', 'menu_options', 'menu_SaveLoad', 'menu_infos', 'mc_itemwindow', 'mc_termometer', 'mc_btns'];
_global.array_pose = [width_pose[0], width_pose[0] - width_pose[1], width_pose[0] - width_pose[1] - width_pose[2], width_pose[0] - width_pose[1] - width_pose[2] - width_pose[3]];
_global.array_clothpose = ['0', '0', width_pose[1], parseInt(width_pose[1]) + parseInt(width_pose[2]), parseInt(width_pose[1]) + parseInt(width_pose[2]) + parseInt(width_pose[3])];
sounds = ['click', 'cloth_down', 'cloth_up', 'cloth_equip', 'cloth_lightequip', 'cloth_heavyequip', 'cloth_zipper_up', 'cloth_zipper_down', 'noway', 'whistle', 'lightswitch', 'switch'];
i = 0;
while (i <= sounds.length) {
_root[sounds[i] + '_sound'] = new Sound();
_root[sounds[i] + '_sound'].attachSound(sounds[i] + '.wav');
++i;
}
_global.getwet = function (wet) {
_root.mc_charscreen.mc_character.mc_glow._alpha = wet;
if (wet >= 50) {
_root.mc_charscreen.mc_character.mc_wet._alpha = (wet - 50) / 0.5;
} else {
_root.mc_charscreen.mc_character.mc_wet._alpha = 0;
}
};
mc_charscreen.mc_character.mc_body.picture = flash.display.BitmapData.loadBitmap('body.png');
mc_charscreen.mc_character.mc_body.attachBitmap(mc_charscreen.mc_character.mc_body.picture, 1);
mc_charscreen.mc_character.mc_glow.picture = flash.display.BitmapData.loadBitmap('body_glow.png');
mc_charscreen.mc_character.mc_glow.attachBitmap(mc_charscreen.mc_character.mc_glow.picture, 1);
mc_charscreen.mc_character.mc_wet.picture = flash.display.BitmapData.loadBitmap('body_wet.png');
mc_charscreen.mc_character.mc_wet.attachBitmap(mc_charscreen.mc_character.mc_wet.picture, 1);
mc_charscreen.mc_character.mc_highfeets.picture = flash.display.BitmapData.loadBitmap('body_highfeets.png');
mc_charscreen.mc_character.mc_highfeets.attachBitmap(mc_charscreen.mc_character.mc_highfeets.picture, 1);
mc_charscreen.mc_character.mc_highfeets._y = mc_charscreen.mc_character.mc_body._height - mc_charscreen.mc_character.mc_highfeets._height;
mc_charscreen.mc_character.mc_highfeets._visible = false;
mc_charscreen.mc_character.mc_cutter._width = mc_charscreen.mc_character.mc_highfeets._width;
i = 0;
while (i <= itemtypes.length) {
_root['btn_item_' + itemtypes[i] + '_x'] = 1;
_root['btn_item_' + itemtypes[i] + '_y'] = 1;
++i;
}
index = 0;
while (index < itemtypes.length) {
var i = 0;
while (i < _root['data_' + itemtypes[index]].length) {
type = _root['data_' + itemtypes[index]][i][0];
id = _root['data_' + itemtypes[index]][i][1];
loadbtn(itemtypes[index], type, id, pose, _root['data_' + itemtypes[index]][i][2], i, _root['data_' + itemtypes[index]][i][3]);
++i;
}
++index;
}
_global.setpose = function (id) {
if (id != _root.pose) {
_root.pose = id;
char_alpha = 0;
blur_index = 0;
i = 1;
while (i <= 5) {
_root.mc_btns.mc_poseBG._y = _root.mc_btns['btn_pose' + id]._y;
_root.mc_btns.mc_poseBG._x = _root.mc_btns['btn_pose' + id]._x;
if (id == i) {
startpix = array_pose[i - 1];
if (fade_btn_txt == 'Posture Fade = OFF') {
_root.mc_charscreen._x = offset_pose[id - 1];
_root.mc_cutter._x = parseInt(offset_pose[id - 1]) + 16;
_root.mc_charscreen.mc_character._x = startpix;
_root.mc_charscreen.mc_hairfront._x = startpix;
_root.mc_charscreen.mc_pinkfront._x = startpix;
_root.mc_charscreen.mc_headspecial._x = startpix;
_root.mc_charscreen.mc_cloth._x = startpix;
_root.mc_cutter._width = _root.width_pose[id];
}
if (fade_btn_txt == 'Posture Fade = ON') {
fade_index = 0;
_root.onEnterFrame = function () {
if (fade_index == 0) {
_root.mc_charscreen._alpha -= 25;
blur_index += 1;
var v3 = new flash.filters.BlurFilter(0, blur_index * 3, 5);
_root.mc_charscreen.filters = [v3];
if (_root.mc_charscreen._alpha <= 0) {
fade_index = 1;
}
}
if (fade_index == 1) {
_root.mc_charscreen._x = offset_pose[id - 1];
_root.mc_cutter._x = parseInt(offset_pose[id - 1]) + 16;
_root.mc_charscreen.mc_character._x = startpix;
_root.mc_charscreen.mc_hairfront._x = startpix;
_root.mc_charscreen.mc_pinkfront._x = startpix;
_root.mc_charscreen.mc_headspecial._x = startpix;
_root.mc_charscreen.mc_cloth._x = startpix;
_root.mc_cutter._width = _root.width_pose[id];
blur_index -= 1;
v3 = new flash.filters.BlurFilter(0, blur_index * 3, 5);
_root.mc_charscreen.filters = [v3];
_root.mc_charscreen._alpha += 25;
if (_root.mc_charscreen._alpha >= 100) {
this.onEnterFrame = null;
fade_index = 2;
v3 = new flash.filters.BlurFilter(0, 0, 5);
_root.mc_charscreen.filters = [v3];
}
}
};
}
}
++i;
}
}
};
setpose(start_pose);
_global.itemplacer = function (clothtype, id, color, secondColor, level) {
a = 0;
while (a < _root.itemtypes.length) {
b = 0;
while (b < _root['data_' + itemtypes[a]].length) {
if (_root['data_' + itemtypes[a]][b][0] == clothtype) {
array_id = _root.itemtypes[a];
b = _root['data_' + itemtypes[a]].length + 10;
a = _root.itemtypes.length + 10;
}
++b;
}
++a;
}
_root.mc_charscreen.mc_cloth.createEmptyMovieClip('', 'Dummy', 0);
if (_root.mc_charscreen.mc_cloth[clothtype + id]._name != clothtype + id) {
_root.mc_charscreen.mc_cloth.createEmptyMovieClip(clothtype + id, level);
}
_root.mc_charscreen.mc_cloth[clothtype + id].createEmptyMovieClip('color' + color, color);
if (array_id == 'Torso' || array_id == 'Bodysuit') {
_root.mc_charscreen.mc_character.mc_blush._visible = false;
}
if (array_id == 'Bodysuit') {
_root.mc_charscreen.mc_character.mc_blush._visible = false;
_root.blush_index = false;
iz = 0;
while (iz < _global.equipment.length) {
iz_b = 0;
while (iz_b < _root.data_Bodysuit.length) {
if (_root.data_Bodysuit[iz_b][0] == _global.equipment[iz][0]) {
if (clothtype + id != _global.equipment[iz][0] + _global.equipment[iz][1]) {
clicker_cloth(_global.equipment[iz][0], _global.equipment[iz][1], 'removedoppel');
}
}
++iz_b;
}
if (_global.equipment[iz][0] == 'Panties') {
_root.mc_charscreen.mc_cloth[_global.equipment[iz][0] + _global.equipment[iz][1]]._visible = false;
}
++iz;
}
}
if (array_id == 'Underware') {
_root.mc_charscreen.mc_character.mc_blush._visible = false;
_root.blush_index = false;
delete_index = 0;
while (delete_index < _global.equipment.length) {
if (_global.equipment[delete_index][0] == clothtype && _global.equipment[delete_index][1] != id) {
clicker_cloth(clothtype, _global.equipment[delete_index][1], 'removedoppel');
}
++delete_index;
}
if (clothtype == 'Panties') {
iz = 0;
while (iz < _global.equipment.length) {
iz_b = 0;
while (iz_b < _root.data_Bodysuit.length) {
if (_root.data_Bodysuit[iz_b][0] == _global.equipment[iz][0]) {
clicker_cloth(_global.equipment[iz][0], _global.equipment[iz][1], 'removedoppel');
}
++iz_b;
}
++iz;
}
}
}
if (clothtype == 'Shoes' || clothtype == 'Highheels') {
delete_index = 0;
while (delete_index < _global.equipment.length) {
if (_global.equipment[delete_index][0] == clothtype && _global.equipment[delete_index][1] != id) {
clicker_cloth(clothtype, _global.equipment[delete_index][1], 'removedoppel');
}
if (_global.equipment[delete_index][0] == 'Shoes' && clothtype == 'Highheels') {
clicker_cloth('Shoes', _global.equipment[delete_index][1], 'removedoppel');
}
if (_global.equipment[delete_index][0] == 'Highheels' && clothtype == 'Shoes') {
clicker_cloth('Highheels', _global.equipment[delete_index][1], 'removedoppel');
}
++delete_index;
}
if (clothtype == 'Shoes') {
highfeets(false);
}
if (clothtype == 'Highheels') {
highfeets(true);
}
}
iu = 1;
while (iu <= 3) {
body_coordinates = Number(array_clothpose[iu]);
lange = 0;
while (lange < _root['data_' + array_id].length) {
if (_root['data_' + array_id][lange][0] == clothtype && _root['data_' + array_id][lange][1] == id) {
secondColor_available = false;
if (_root['data_' + array_id][lange][3] != 0) {
secondColor_available = true;
b_lange = 0;
while (b_lange < _root['data_' + array_id + '_2ndColor'].length) {
if (_root['data_' + array_id + '_2ndColor'][b_lange][0] == clothtype && _root['data_' + array_id + '_2ndColor'][b_lange][1] == id) {
if (secondColor == 0) {
secondColor = 1;
}
if (iu == 1) {
second_coordinates_x = _root['data_' + array_id + '_2ndColor'][b_lange][2];
second_coordinates_y = _root['data_' + array_id + '_2ndColor'][b_lange][3];
}
if (iu == 2) {
second_coordinates_x = _root['data_' + array_id + '_2ndColor'][b_lange][4];
second_coordinates_y = _root['data_' + array_id + '_2ndColor'][b_lange][5];
}
if (iu == 3) {
second_coordinates_x = _root['data_' + array_id + '_2ndColor'][b_lange][6];
second_coordinates_y = _root['data_' + array_id + '_2ndColor'][b_lange][7];
}
}
++b_lange;
}
}
if (iu == 1) {
item_coordinates_x = _root['data_' + array_id][lange][4];
item_coordinates_y = _root['data_' + array_id][lange][5];
}
if (iu == 2) {
item_coordinates_x = _root['data_' + array_id][lange][6];
item_coordinates_y = _root['data_' + array_id][lange][7];
}
if (iu == 3) {
item_coordinates_x = _root['data_' + array_id][lange][8];
item_coordinates_y = _root['data_' + array_id][lange][9];
}
}
++lange;
}
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color].createEmptyMovieClip('p' + iu, iu);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p' + iu].picture = flash.display.BitmapData.loadBitmap(clothtype + id + '_p' + iu + '_c' + color);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p' + iu].attachBitmap(_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p' + iu].picture, 1);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p' + iu]._x = body_coordinates + item_coordinates_x - width_pose[0];
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p' + iu]._y = item_coordinates_y - _root.mc_charscreen._y;
if (secondColor_available == true) {
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color].createEmptyMovieClip('p2c' + iu, 6 + iu);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p2c' + iu].picture = flash.display.BitmapData.loadBitmap(clothtype + id + 'a_p' + iu + '_c' + secondColor);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p2c' + iu].attachBitmap(_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p2c' + iu].picture, 1);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p2c' + iu]._x = second_coordinates_x + _root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p' + iu]._x;
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p2c' + iu]._y = second_coordinates_y + _root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['p' + iu]._y;
}
if (clothtype == 'Socks') {
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color].createEmptyMovieClip('ph' + iu, 3 + iu);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['ph' + iu].picture = flash.display.BitmapData.loadBitmap(clothtype + id + 'high_p' + iu + '_c' + color);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['ph' + iu].attachBitmap(_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['ph' + iu].picture, 1);
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['ph' + iu]._x = body_coordinates + item_coordinates_x - width_pose[0];
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + color]['ph' + iu]._y = item_coordinates_y - _root.mc_charscreen._y;
highfeets(false);
a = 0;
while (a < _global.equipment.length) {
if (_global.equipment[a][0] == 'Highheels') {
highfeets(true);
}
++a;
}
}
color_check = 0;
while (color_check < _global.equipment.length) {
if (_global.equipment[color_check][0] == clothtype && _global.equipment[color_check][1] == id) {
if (_global.equipment[color_check][2] != color) {
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + _global.equipment[color_check][2]].removeMovieClip();
_global.equipment[color_check][2] = color;
}
if (_global.equipment[color_check][3] != secondColor) {
_root.mc_charscreen.mc_cloth[clothtype + id]['color' + _global.equipment[color_check][2]].p2c.removeMovieClip();
_global.equipment[color_check][3] = secondColor;
}
}
++color_check;
}
if (iu == 3) {
iz = 0;
while (iz < _global.equipment.length) {
if (_global.equipment[iz][0] == clothtype && _global.equipment[iz][1] == id) {
_global.equipment[iz][2] = color;
_global.equipment[iz][3] = secondColor;
}
++iz;
}
_global.set_tools(clothtype, id);
}
_root.mc_charscreen.mc_cloth[clothtype + id].onRollOver = function () {
if (_root.mc_stripshow._visible != true) {
var glow = new flash.filters.GlowFilter(16777215, 0.5, 5, 5, 2, 3);
_root.cloth_tooltip = 'Click to select this clothing and for more options.';
glow.alpha = 50;
this.filters = [glow];
if (this._name != selected_cloth + selected_id) {
mc_clothbutton.container[clothtype + id].clothbutton_name.buttonname.textColor = 16711680;
}
}
_root.mc_charscreen.mc_cloth[clothtype + id].onRollOut = function () {
_global.cloth_mouse = false;
_root.cloth_tooltip = '';
glow.alpha = 0;
this.filters = [glow];
if (this._name != selected_cloth + selected_id) {
mc_clothbutton.container[clothtype + id].clothbutton_name.buttonname.textColor = 16751001;
}
};
_root.mc_charscreen.mc_cloth[clothtype + id].onReleaseOutside = function () {
_global.cloth_mouse = false;
_root.cloth_tooltip = '';
glow.alpha = 0;
this.filters = [glow];
if (this._name != selected_cloth + selected_id) {
mc_clothbutton.container[clothtype + id].clothbutton_name.buttonname.textColor = 16751001;
}
};
_root.mc_charscreen.mc_cloth[clothtype + id].onPress = function () {
if (_root.mc_stripshow._visible != true) {
_root.cloth_tooltip = 'Click again to remove this clothing.';
mc_clothbutton.container[selected_cloth + selected_id].clothbutton_name.buttonname.textColor = 16751001;
clicker_cloth(clothtype, id);
_global.cloth_mouse = true;
}
};
};
++iu;
}
};
_global.set_tools = function (clothtype, id) {
_root.mc_clothbutton.container[_root.selected_cloth + _root.selected_id].clothbutton_name.buttonname.textColor = 16751001;
_root.mc_clothbutton.container[_root.selected_cloth + _root.selected_id].btn_cross._visible = false;
_root.mc_clothbutton.container[clothtype + id].clothbutton_name.buttonname.textColor = 52224;
_root.mc_clothbutton.container[clothtype + id].btn_cross._visible = true;
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == clothtype && _global.equipment[i][1] == id) {
_root.level_index = i + 1;
_root.selected_color = _global.equipment[i][2];
_root.selected_secondColor = _global.equipment[i][3];
a = 0;
while (a < _root.itemtypes.length) {
b = 0;
while (b < _root['data_' + itemtypes[a]].length) {
if (_root['data_' + itemtypes[a]][b][0] == clothtype) {
itemtype = _root.itemtypes[a];
b = _root['data_' + itemtypes[a]].length + 10;
a = _root.itemtypes.length + 10;
}
++b;
}
++a;
}
a = 0;
while (a < _root['data_' + itemtype].length) {
if (_root['data_' + itemtype][a][0] == clothtype && _root['data_' + itemtype][a][1] == id) {
_root.max_color = _root['data_' + itemtype][a][2];
_root.max_secondColor = _root['data_' + itemtype][a][3];
}
++a;
}
}
++i;
}
_root.mc_btns.color_switcher.gotoAndStop(1);
_root.mc_btns.level_switcher.gotoAndStop(1);
my_str = clothtype + id;
_root.selected_itemtype = itemtype;
_root.selected_cloth = my_str.substring(0, my_str.length - 1);
_root.selected_id = id;
_root.color_switcher_index = _root.selected_color + '/' + _root.max_color;
if (_root.max_secondColor != 0) {
_root.secondColor_switcher_index = _root.selected_secondColor + '/' + _root.max_secondColor;
_root.mc_btns.secondColor_switcher.gotoAndStop(1);
} else {
_root.mc_btns.secondColor_switcher.gotoAndStop(3);
}
};
_global.loadhair = function (hairstyle) {
_global.max_hairvariation = max_hairstyle_variations[_root.hairstyle - 1];
_root.hairvariation_switcher_index = _root.hairvariation + '/' + _global.max_hairvariation;
loadhairvariations(hairstyle, 1);
mc_charscreen.mc_hairfront.picture = flash.display.BitmapData.loadBitmap('hair' + hairstyle + '_front.png');
mc_charscreen.mc_hairfront.attachBitmap(mc_charscreen.mc_hairfront.picture, 1);
mc_charscreen.mc_pinkfront.picture = flash.display.BitmapData.loadBitmap('hair' + hairstyle + '_front_pink.png');
mc_charscreen.mc_pinkfront.attachBitmap(mc_charscreen.mc_pinkfront.picture, 2);
mc_charscreen.mc_character.mc_hairback.picture = flash.display.BitmapData.loadBitmap('hair' + hairstyle + '_back.png');
mc_charscreen.mc_character.mc_hairback.attachBitmap(mc_charscreen.mc_character.mc_hairback.picture, 1);
mc_charscreen.mc_character.mc_pinkback.picture = flash.display.BitmapData.loadBitmap('hair' + hairstyle + '_back_pink.png');
mc_charscreen.mc_character.mc_pinkback.attachBitmap(mc_charscreen.mc_character.mc_pinkback.picture, 2);
};
_global.loadhairvariations = function (hairstyle, id) {
if (_global.max_hairvariation == 1 || id == 1) {
mc_charscreen.mc_character.mc_hairvariation.dummy.removeMovieClip();
} else {
mc_charscreen.mc_character.mc_hairvariation.createEmptyMovieClip('dummy', 1);
mc_charscreen.mc_character.mc_hairvariation.dummy.picture = flash.display.BitmapData.loadBitmap('hair' + hairstyle + '_variation' + [id - 1] + '.png');
mc_charscreen.mc_character.mc_hairvariation.dummy.attachBitmap(mc_charscreen.mc_character.mc_hairvariation.dummy.picture, 1);
}
};
_global.loadheadspecial = function (id) {
if (id != 0) {
mc_charscreen.mc_headspecial.createEmptyMovieClip('dummy', 1);
mc_charscreen.mc_headspecial.dummy.picture = flash.display.BitmapData.loadBitmap('head_special' + id + '.png');
mc_charscreen.mc_headspecial.dummy.attachBitmap(mc_charscreen.mc_headspecial.dummy.picture, 1);
} else {
mc_charscreen.mc_headspecial.dummy.removeMovieClip();
}
};
_global.clicker_cloth = function (clothtype, id, tool) {
if (clothtype + id != selected_cloth + selected_id && tool != 'removedoppel' && tool != 'stripshow' || tool == 'menu' && tool != 'stripshow' && tool != 'removedoppel' || tool != 'delete_btn' && _global.cloth_mouse == false && tool != 'removedoppel' && tool != 'stripshow') {
var v8 = new flash.filters.GlowFilter(65280, 0.5, 5, 5, 2, 3);
v8.alpha = 50;
_root.mc_charscreen.mc_cloth[clothtype + id].filters = [v8];
mc_clothbutton.container[selected_cloth + selected_id].buttonname.textColor = 16751001;
mc_clothbutton.container[clothtype + id].buttonname.textColor = 16711680;
_global.set_tools(clothtype, id);
} else {
if (tool != 'menu' || tool == 'delete_btn' || tool == 'removedoppel' || tool == 'stripshow' || _global.cloth_mouse == true) {
_root.cloth_tooltip = '';
if (tool != 'delete_btn' && tool != 'stripshow' && particles == true && tool != 'btn' && tool != 'removedoppel') {
mc_particle._y = _ymouse;
mc_particle._x = _xmouse;
mc_particle.gotoAndPlay(1);
}
if (_global.cloth_mouse == true || tool == 'delete_btn') {
_global.play_clothSound(clothtype, 'delete');
}
_global.cloth_mouse = false;
i = 0;
while (i <= _global.equipment.length) {
if (_global.equipment[i][0] + _global.equipment[i][1] == _root.mc_charscreen.mc_cloth[clothtype + id]._name) {
if (unconsored != 'on' && clothtype == 'Panties' && tool != 'removedoppel') {
_global.set_Panties = true;
_level0.attachMovie('mc_noway', 'mc_noway', _root.getNextHighestDepth, {'_x': 400, '_y': 150});
if (particles == true) {
mc_particle._y = 150;
mc_particle._x = 400;
mc_particle.gotoAndPlay(1);
}
noway_sound.start();
} else {
if (clothtype == 'Panties' && tool != 'removedoppel') {
whistle_sound.start();
_root.blush_index = true;
_root.mc_charscreen.mc_character.mc_blush._visible = _root.blush;
}
_global.equipment.splice(i, 1);
_root.mc_charscreen.mc_cloth[clothtype + id].removeMovieClip();
suit_available = false;
bodysuit_deleted = false;
j = 0;
while (j < _root.data_Bodysuit.length) {
if (_root.data_Bodysuit[j][0] == clothtype) {
j = _root.data_Bodysuit.length + 10;
bodysuit_deleted = true;
ja = 0;
while (ja < _root.data_Bodysuit.length) {
jb = 0;
while (jb < _global.equipment.length) {
if (_global.equipment[jb][0] == 'Panties') {
pantiesID = _global.equipment[jb][1];
}
if (_root.data_Bodysuit[ja][0] == _global.equipment[jb][0]) {
suit_available = true;
}
++jb;
}
if (ja == _root.data_Bodysuit.length - 1 && suit_available == false) {
_root.mc_charscreen.mc_cloth['Panties' + pantiesID]._visible = true;
mc_clothbutton.container['Panties' + pantiesID].clothbutton_name._alpha = 100;
}
++ja;
}
}
++j;
}
if (clothtype == 'Shirt' || clothtype == 'Bra' || bodysuit_deleted == true) {
whistle_index = 0;
while (whistle_index < _global.equipment.length) {
if (_global.equipment[whistle_index][0] == 'Shirt' || _global.equipment[whistle_index][0] == 'Bra' || suit_available == true) {
_root.blushing = false;
whistle_index = _global.equipment.length;
} else {
_root.blushing = true;
}
++whistle_index;
}
if (_root.blushing != false) {
whistle_sound.start();
_root.blush_index = true;
_root.mc_charscreen.mc_character.mc_blush._visible = _root.blush;
_root.blushing = 0;
}
}
swap = i;
while (swap <= _global.equipment.length) {
_root.mc_charscreen.mc_cloth[_global.equipment[swap][0] + _global.equipment[swap][1]].swapDepths(_root.mc_charscreen.mc_cloth[_global.equipment[swap][0] + _global.equipment[swap][1]].getDepth() - 1);
++swap;
}
if (clothtype == 'Highheels') {
highfeets(false);
}
_root.selected_itemtype = '';
_root.selected_cloth = 'Nothing';
_root.mc_btns.level_switcher.gotoAndStop(2);
_root.mc_btns.color_switcher.gotoAndStop(2);
_root.mc_btns.secondColor_switcher.gotoAndStop(2);
equipmenu();
}
}
++i;
}
}
}
};
_global.equipmenu = function () {
if (dev != 'on') {
save_alpha = [];
alphaCheck = 0;
while (alphaCheck < _global.equipment.length) {
item = _global.equipment[alphaCheck][0];
id = _global.equipment[alphaCheck][1];
getAlpha = mc_clothbutton.container[item + id].clothbutton_name._alpha;
cross = mc_clothbutton.container[item + id].btn_cross._visible;
save_alpha[alphaCheck] = new Array(item, id, getAlpha, cross);
++alphaCheck;
}
mc_clothbutton.container.removeMovieClip();
mc_clothbutton.createEmptyMovieClip('container', 1);
set_equip = _global.equipment;
clothcount = 0;
while (clothcount < _global.equipment.length) {
my = 0;
while (my < _root.data_Bodysuit.length) {
if (_root.data_Bodysuit[my][0] == _global.equipment[clothcount][0]) {
suit = true;
}
++my;
}
if (_global.equipment[clothcount][0] == 'Panties') {
panties_id = _global.equipment[clothcount][1];
}
mc_clothbutton.container.attachMovie('clothbutton', set_equip[clothcount][0] + set_equip[clothcount][1], mc_clothbutton.container.getNextHighestDepth());
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].clothbutton_name.clothtype = _global.equipment[clothcount][0];
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].clothbutton_name.id = _global.equipment[clothcount][1];
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]]._y -= 20 * clothcount;
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].btn_cross._visible = false;
setAlpha = 0;
while (setAlpha < save_alpha.length) {
if (save_alpha[setAlpha][0] == _global.equipment[clothcount][0] && save_alpha[setAlpha][1] == _global.equipment[clothcount][1]) {
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].clothbutton_name._alpha = save_alpha[setAlpha][2];
}
++setAlpha;
}
if (clothcount == _global.equipment.length - 1) {
if (suit == true) {
mc_clothbutton.container['Panties' + panties_id].clothbutton_name._alpha = 50;
suit = null;
}
mc_clothbutton.container[selected_cloth + selected_id].btn_cross._visible = true;
mc_clothbutton.container[selected_cloth + selected_id].clothbutton_name.buttonname.textColor = 52224;
save_alpha = null;
}
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].clothbutton_name.onRollOver = function () {
_root.cloth_tooltip = 'Click to select this clothing and for more options.';
var v3 = new flash.filters.GlowFilter(16777215, 0.5, 5, 5, 2, 3);
v3.alpha = 50;
_root.mc_charscreen.mc_cloth[this.clothtype + this.id].filters = [v3];
if (this._parent._name != selected_cloth + selected_id) {
this.buttonname.textColor = 16711680;
}
};
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].clothbutton_name.onRollOut = function () {
_root.cloth_tooltip = '';
glow.alpha = 0;
_root.mc_charscreen.mc_cloth[this.clothtype + this.id].filters = [glow];
if (this._parent._name != selected_cloth + selected_id) {
this.buttonname.textColor = 16751001;
}
};
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].clothbutton_name.onPress = function () {
glow.alpha = 0;
_root.mc_charscreen.mc_cloth[this.clothtype + this.id].filters = [glow];
clicker_cloth(this.clothtype, this.id, 'menu');
click_sound.start();
_global.menu_clicked = 1;
};
mc_clothbutton.container[set_equip[clothcount][0] + set_equip[clothcount][1]].clothbutton_name.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
++clothcount;
}
}
};
_global.tooManyItems = function () {
_global.set_Panties = false;
_level0.attachMovie('mc_noway', 'mc_noway', _root.getNextHighestDepth, {'_x': 400, '_y': 150});
if (particles == true) {
mc_particle._y = 150;
mc_particle._x = 400;
mc_particle.gotoAndPlay(1);
}
noway_sound.start();
};
_global.highfeets = function (highheels) {
if (highheels == true) {
b = 0;
while (b <= _global.equipment.length) {
if (_global.equipment[b][0] == 'Socks') {
p = 0;
while (p <= 3) {
_root.mc_charscreen.mc_cloth['Socks' + _global.equipment[b][1]]['color' + _global.equipment[b][2]]['ph' + p]._visible = true;
_root.mc_charscreen.mc_cloth['Socks' + _global.equipment[b][1]]['color' + _global.equipment[b][2]]['p' + p]._visible = false;
++p;
}
}
++b;
}
mc_charscreen.mc_character.mc_highfeets._visible = true;
mc_charscreen.mc_character.mc_cutter._height = mc_charscreen.mc_character.mc_body._height - mc_charscreen.mc_character.mc_highfeets._height + 2;
}
if (highheels == false) {
b = 0;
while (b <= _global.equipment.length) {
if (_global.equipment[b][0] == 'Socks') {
p = 0;
while (p <= 3) {
_root.mc_charscreen.mc_cloth['Socks' + _global.equipment[b][1]]['color' + _global.equipment[b][2]]['ph' + p]._visible = false;
_root.mc_charscreen.mc_cloth['Socks' + _global.equipment[b][1]]['color' + _global.equipment[b][2]]['p' + p]._visible = true;
++p;
}
}
++b;
}
mc_charscreen.mc_character.mc_highfeets._visible = false;
mc_charscreen.mc_character.mc_cutter._height = mc_charscreen.mc_character.mc_body._height;
}
};
i = 0;
while (i <= 7) {
_root.mc_itemwindow['mc_' + _root.itemtypes[i]]._x = 0;
++i;
}
if (dev == 'on') {
helper._y = 0;
helper._x = 0;
btn_pose5._x = 516.6;
i = 1;
while (i <= 5) {
_root['y' + i] = '';
_root['x' + i] = '';
++i;
}
}
_global.removeClothing = function (from) {
panties_array = [];
old_count = _global.equipment.length;
found_panties = 0;
u = 0;
while (u < old_count) {
if (_global.equipment[u][0] == 'Panties') {
panties_array = _global.equipment[u];
}
_root.mc_charscreen.mc_cloth[_global.equipment[u][0] + _global.equipment[u][1]].removeMovieClip();
if (u == _global.equipment.length - 1) {
highfeets(false);
_global.equipment = new Array();
_root.mc_termometer.mc_slider.cutter._y = 293 - (_global.equipment.length - 1) * 20;
equipmenu();
if (unconsored != 'on' && from != 'newset') {
_global.itemplacer(panties_array[0], panties_array[1], panties_array[2], panties_array[3], 1);
_global.equipment[0] = panties_array;
_root.mc_termometer.mc_slider.cutter._y = 293 - (_global.equipment.length - 1) * 20;
equipmenu();
}
}
++u;
}
};
_global.load_equipment = function (hairstyle, pink, hairvariation, headspecial, array, wet) {
_global.removeClothing('newset');
_root.hairstyle = hairstyle;
_root.headspecial = headspecial;
_root.hairvariation = hairvariation;
_root.hairstyle_switcher_index = hairstyle + '/' + _root.max_hairstyles;
_root.headspecial_switcher_index = headspecial + '/' + _root.max_headspecials;
_global.max_hairvariation = _root.max_hairstyle_variations[hairstyle - 1];
_root.hairvariation_switcher_index = hairvariation + '/' + _global.max_hairvariation;
_global.getwet(wet);
_root.mc_btns.mc_slider.dragger._x = wet * (_root.mc_btns.mc_slider.line._width / 100);
if (pink == true) {
_root.pinkhair_switcher.gotoAndStop(2);
mc_charscreen.mc_pinkfront._visible = true;
mc_charscreen.mc_character.mc_pinkback._visible = true;
_root.mc_btns.pinkhair_switcher.gotoAndStop(2);
show_pink = false;
} else {
_root.pinkhair_switcher.gotoAndStop(1);
mc_charscreen.mc_pinkfront._visible = false;
mc_charscreen.mc_character.mc_pinkback._visible = false;
_root.mc_btns.pinkhair_switcher.gotoAndStop(1);
show_pink = true;
}
maxlevel = array.length;
if (dev != 'on') {
_global.equipment = array;
ia = 0;
while (ia < array.length) {
itemplacer(array[ia][0], array[ia][1], array[ia][2], array[ia][3], ia + 1);
if (ia == array.length - 1) {
loadhair(hairstyle);
loadhairvariations(hairstyle, hairvariation);
loadheadspecial(headspecial);
_root.mc_btns.level_switcher.gotoAndStop(2);
_root.mc_btns.color_switcher.gotoAndStop(2);
_root.mc_btns.secondColor_switcher.gotoAndStop(2);
_root.selected_itemtype = '';
_root.selected_cloth = '';
_root.selected_id = '';
equipmenu();
_root.mc_termometer.mc_slider.cutter._y = 293 - (_global.equipment.length - 1) * 20;
}
++ia;
}
}
};
_global.build_equipment_array = function (loadstring, preset) {
loadstring = (loadstring.split('\r')).join('');
loadstring = (loadstring.split(' ')).join('');
loadstring = (loadstring.split('.')).join('');
loadstring += ',';
_global.loading_array = [];
word = '';
array_index = 0;
itemsToLoad = 0;
txt_feedback.text = '';
load_panties = false;
numberIndex = 0;
steps = 0;
load_i = 0;
while (load_i <= loadstring.length + 1) {
char = loadstring.charAt(load_i);
if (char != ',') {
word += char;
} else {
if (word == '') {
_root.txt_feedback = 'Missing input on position *' + load_i + '* !';
load_i = loadstring.length + 10;
} else {
++steps;
if (steps == 1) {
num = parseInt(word);
if (isNaN(num) == false) {
if (_root.max_hairstyles >= word && word > 0) {
load_hairstyle = num;
word = '';
} else {
_root.txt_feedback = 'Item ID on position 1 not available! (Hairstyle)';
load_i = loadstring.length + 10;
}
} else {
_root.txt_feedback = 'Wrong input on position 1! (Hairstyle)';
load_i = loadstring.length + 10;
}
}
if (steps == 2) {
if (word == '1') {
load_pink = true;
}
if (word == '0') {
load_pink = false;
}
if (word != '1' && word != '0') {
_root.txt_feedback = 'Wrong input on position 2! (Pinkhair 0/1)';
load_i = loadstring.length + 10;
}
word = '';
}
if (steps == 3) {
num = parseInt(word);
if (isNaN(num) == false) {
if (_root.max_hairstyle_variations[load_hairstyle - 1] >= word && word > 0) {
load_hairvariation = num;
word = '';
} else {
_root.txt_feedback = 'Item ID on position 3 not available! (Hairvariation)';
load_i = loadstring.length + 10;
}
} else {
_root.txt_feedback = 'Wrong input on position 3! (Hairvariation)';
load_i = loadstring.length + 10;
}
}
if (steps == 4) {
num = parseInt(word);
if (isNaN(num) == false) {
if (_root.max_headspecials >= word && word > 0) {
load_headspecial = num;
word = '';
} else {
_root.txt_feedback = 'Item ID on position 4 not available! (Headspecial)';
load_i = loadstring.length + 10;
}
} else {
_root.txt_feedback = 'Wrong input on position 4! (Headspecial)';
load_i = loadstring.length + 10;
}
}
if (steps == 5) {
if (isNaN(Number(word)) == false) {
if (word <= 100 && word >= 0) {
wet = word;
word = '';
} else {
_root.txt_feedback = 'Only numbers between 0 and 100 are allowed !';
load_i = loadstring.length + 10;
}
} else {
_root.txt_feedback = 'Wrong input on position 5! (Bodyglow)';
load_i = loadstring.length + 10;
}
}
if (steps > 5) {
++numberIndex;
if (numberIndex == 1) {
num = parseInt(word);
if (isNaN(num) == false) {
_root.txt_feedback = 'No numbers allowed for Items on position *' + [load_i - word.length] + '* !';
load_i = loadstring.length + 10;
} else {
load_max_secondColor = 0;
load_max_color = 0;
load_max_ID = 0;
spelling = false;
checker = 0;
while (checker <= _root.itemtypes.length) {
b = 0;
while (b < _root['data_' + itemtypes[checker]].length) {
item_dummy = word;
if (_root['data_' + itemtypes[checker]][b][0] == word) {
if (word == 'Panties') {
load_panties = true;
}
_global.loading_array[array_index] = [];
_global.loading_array[array_index][0] = word;
array_id = _root.itemtypes[checker];
spelling = true;
checker = _root.itemtypes.length + 10;
word = '';
}
++b;
}
++checker;
}
}
}
if (spelling == false) {
_root.txt_feedback = '*' + item_dummy + '* is a invalid input !';
load_i = loadstring.length + 10;
}
if (numberIndex == 2) {
numID = word;
word = '';
load_max_ID = 0;
checker = 0;
while (checker <= _root['data_' + array_id].length) {
if (_root['data_' + array_id][checker][0] == item_dummy) {
++load_max_ID;
if (_root['data_' + array_id][checker][1] == numID) {
load_max_color = _root['data_' + array_id][checker][2];
load_max_secondColor = _root['data_' + array_id][checker][3];
}
}
++checker;
}
}
if (numberIndex == 3) {
numColor = word;
word = '';
}
if (numberIndex == 4 && spelling == true) {
numSecondColor = word;
numberIndex = 0;
if (isNaN(Number(numSecondColor)) == false && isNaN(Number(numID)) == false && isNaN(Number(numColor)) == false) {
if (numID < 1 || numID > load_max_ID) {
_root.txt_feedback = 'Invalid ID input on 1.Postion for ' + _global.loading_array[array_index][0] + '!';
load_i = loadstring.length + 10;
} else {
_global.loading_array[array_index][1] = parseInt(numID);
}
if (numColor < 1 || numColor > load_max_color) {
_root.txt_feedback = 'Invalid ID input on 2.Postion for ' + _global.loading_array[array_index][0] + '!';
load_i = loadstring.length + 10;
} else {
_global.loading_array[array_index][2] = parseInt(numColor);
}
if (load_max_secondColor != 0) {
if (numSecondColor < 1 || numSecondColor > load_max_secondColor) {
_root.txt_feedback = 'Invalid ID input on 3.Postion for ' + _global.loading_array[array_index][0] + '!';
load_i = loadstring.length + 10;
} else {
_global.loading_array[array_index][3] = parseInt(numSecondColor);
}
} else {
if (numSecondColor != 0) {
_root.txt_feedback = 'Invalid ID input on 3.Postion for ' + _global.loading_array[array_index][0] + '!';
load_i = loadstring.length + 10;
} else {
_global.loading_array[array_index][3] = 0;
}
}
++array_index;
word = '';
} else {
_root.txt_feedback = 'No characters allowed for IDs of ' + _global.loading_array[array_index][0] + '!';
load_i = loadstring.length + 10;
}
}
}
}
}
if (load_i == loadstring.length) {
if (numberIndex == 0) {
if (load_panties != true) {
_root.txt_feedback = 'You are a naugthy one! No Panties?!';
} else {
if (preset != true) {
_root.menu_SaveLoad.txt.text = loadstring.substring(0, loadstring.length - 1);
_root.txt_feedback = 'Loading Successful';
}
_global.load_equipment(load_hairstyle, load_pink, load_hairvariation, load_headspecial, _global.loading_array, wet);
}
} else {
trace(numberIndex);
_root.txt_feedback = 'Missing Input on last item!';
}
}
++load_i;
}
};
loaded_preset = random(start_equipment_array.length);
_global.build_equipment_array(start_equipment_array[loaded_preset]);
_global.btn_visible = function (toshow) {
delete_id = 0;
while (delete_id < _root.btn_array.length) {
_root[_root.btn_array[delete_id]]._visible = toshow;
++delete_id;
}
};
_global.start_stripshow = function () {
no_stripItems = 0;
lastitem_found = false;
special2_count = 0;
while (lastitem_found == false) {
array_check = 0;
while (array_check < _root.data_Special2.length) {
if (_global.equipment[_global.equipment.length - 1 - no_stripItems][0] == _root.data_Special2[array_check][0] && _global.equipment[_global.equipment.length - 1 - no_stripItems][1] == _root.data_Special2[array_check][1]) {
++no_stripItems;
}
++array_check;
}
if (_global.equipment[_global.equipment.length - 1 - no_stripItems][0] == 'Panties' && unconsored != 'on') {
++no_stripItems;
} else {
lastitem_found = true;
ID = _global.equipment.length - 1 - no_stripItems;
}
}
item = _global.equipment[ID][0];
itemID = _global.equipment[ID][1];
a = 0;
while (a < _root.itemtypes.length) {
b = 0;
while (b < _root['data_' + itemtypes[a]].length) {
if (_root['data_' + itemtypes[a]][b][0] == item) {
coor_item = _root.itemtypes[a];
stripAni = _root['data_' + itemtypes[a]][b][11];
}
++b;
}
++a;
}
coor_id = 0;
while (coor_id < _root['data_' + coor_item].length) {
if (_root['data_' + coor_item][coor_id][1] == itemID && _root['data_' + coor_item][coor_id][0] == item) {
if (_root.pose == 1) {
getx = _root['data_' + coor_item][coor_id][4] + offset_pose[0];
gety = _root['data_' + coor_item][coor_id][5];
}
if (_root.pose == 2) {
getx = _root['data_' + coor_item][coor_id][6] + offset_pose[1];
gety = _root['data_' + coor_item][coor_id][7];
}
if (_root.pose == 3) {
getx = _root['data_' + coor_item][coor_id][8] + offset_pose[2];
gety = _root['data_' + coor_item][coor_id][9];
}
}
++coor_id;
}
second_coor_id = 0;
while (second_coor_id < _root['data_' + coor_item + '_2ndColor'].length) {
if (_root['data_' + coor_item + '_2ndColor'][second_coor_id][0] == item && _root['data_' + coor_item + '_2ndColor'][second_coor_id][1] == itemID) {
if (_root.pose == 1) {
second_getx = _root['data_' + coor_item + '_2ndColor'][second_coor_id][2];
second_gety = _root['data_' + coor_item + '_2ndColor'][second_coor_id][3];
}
if (_root.pose == 2) {
second_getx = _root['data_' + coor_item + '_2ndColor'][second_coor_id][4];
second_gety = _root['data_' + coor_item + '_2ndColor'][second_coor_id][5];
}
if (_root.pose == 3) {
second_getx = _root['data_' + coor_item + '_2ndColor'][second_coor_id][6];
second_gety = _root['data_' + coor_item + '_2ndColor'][second_coor_id][7];
}
}
++second_coor_id;
}
standardstrip = ['stripToRight', 'stripToLeft'];
strip_animation = standardstrip[random(2)];
if (stripAni == 1) {
strip_animation = 'stripUpDown';
}
if (stripAni == 2) {
strip_animation = 'stripZoom';
}
if (stripAni == 3) {
strip_animation = 'stripDown';
}
if (stripAni == 4) {
strip_animation = 'stripDownShort';
}
itemToStrip = item + itemID + '_p' + _root.pose + '_c' + _global.equipment[ID][2];
second_itemToStrip = item + itemID + 'a_p' + _root.pose + '_c' + _global.equipment[ID][3];
if (_global.equipment.length > no_stripItems || _global.equipment.length != 0 && unconsored == 'on') {
_global.clicker_cloth(item, itemID, 'stripshow');
_root.mc_stripshow.mc_stripcloth.attachMovie(strip_animation, 'ani', 1, {'_x': getx, '_y': gety});
_root.mc_stripshow.mc_stripcloth.ani.container.picture = flash.display.BitmapData.loadBitmap(itemToStrip);
_root.mc_stripshow.mc_stripcloth.ani.container.createEmptyMovieClip('placer', 1);
_root.mc_stripshow.mc_stripcloth.ani.container.placer.attachBitmap(_root.mc_stripshow.mc_stripcloth.ani.container.picture, 1);
_root.mc_stripshow.mc_stripcloth.ani.container.second_picture = flash.display.BitmapData.loadBitmap(second_itemToStrip);
_root.mc_stripshow.mc_stripcloth.ani.container.placer.createEmptyMovieClip('second_color', 2);
_root.mc_stripshow.mc_stripcloth.ani.container.placer.second_color.attachBitmap(_root.mc_stripshow.mc_stripcloth.ani.container.second_picture, 1);
_root.mc_stripshow.mc_stripcloth.ani.container.placer.second_color._x = second_getx;
_root.mc_stripshow.mc_stripcloth.ani.container.placer.second_color._y = second_gety;
_root.mc_stripshow.mc_stripcloth.ani.container.placer._y = '-' + _root.mc_stripshow.mc_stripcloth.ani.container.placer._height / 2;
_root.mc_stripshow.mc_stripcloth.ani.container.placer._x = '-' + _root.mc_stripshow.mc_stripcloth.ani.container.placer._width / 2;
_root.mc_stripshow.mc_stripcloth.ani._y += _root.mc_stripshow.mc_stripcloth.ani.container.placer._height / 2;
_root.mc_stripshow.mc_stripcloth.ani._x += _root.mc_stripshow.mc_stripcloth.ani.container.placer._width / 2;
} else {
_root.mc_stripshow.gotoAndPlay(122);
}
};
_global.play_clothSound = function (item, orderFrom) {
soundPlayed = false;
if (item == 'Shirt' || item == 'Shoes' || item == 'Skirt' || item == 'Pullover') {
cloth_heavyequip_sound.start();
soundPlayed = true;
}
if (item == 'Pants' || item == 'Swimsuit' || item == 'Gown' || item == 'Corset') {
soundPlayed = true;
if (orderFrom == 'delete') {
cloth_zipper_down_sound.start();
} else {
cloth_zipper_up_sound.start();
}
}
if (soundPlayed == false) {
cloth_equip_sound.start();
}
};
}
// unknown tag 88 length 80
// unknown tag 88 length 4
movieClip 2221 {
}
movieClip 2223 {
}
movieClip 2225 {
}
movieClip 2233 {
}
movieClip 2234 {
frame 1 {
++i;
if (i == 8 || isNaN(i) == true) {
i = 1;
}
mc_lights.gotoAndStop(i);
}
}
movieClip 2236 {
}
movieClip 2237 {
}
movieClip 2238 {
frame 1 {
}
}
movieClip 2239 {
frame 1 {
this.picture = flash.display.BitmapData.loadBitmap('face1.png');
this.attachBitmap(picture, 1);
}
frame 3 {
this.picture = flash.display.BitmapData.loadBitmap('face2.png');
this.attachBitmap(picture, 1);
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == 'Eyes') {
_root.mc_charscreen.mc_cloth['Eyes' + _global.equipment[i][1]]._alpha = 50;
}
++i;
}
}
frame 5 {
this.picture = flash.display.BitmapData.loadBitmap('face3.png');
this.attachBitmap(picture, 1);
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == 'Eyes') {
_root.mc_charscreen.mc_cloth['Eyes' + _global.equipment[i][1]]._alpha = 0;
}
++i;
}
this.gotoAndPlay(6 + random(15));
}
frame 26 {
this.picture = flash.display.BitmapData.loadBitmap('face2.png');
this.attachBitmap(picture, 1);
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == 'Eyes') {
_root.mc_charscreen.mc_cloth['Eyes' + _global.equipment[i][1]]._alpha = 50;
}
++i;
}
}
frame 28 {
this.stop();
this.picture = flash.display.BitmapData.loadBitmap('face1.png');
this.attachBitmap(picture, 1);
ani_finished = 1;
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == 'Eyes') {
_root.mc_charscreen.mc_cloth['Eyes' + _global.equipment[i][1]]._alpha = 100;
}
++i;
}
}
}
movieClip 2240 {
frame 1 {
mc_angryface._visible = false;
mc_angryface.picture = flash.display.BitmapData.loadBitmap('face_angry.png');
mc_angryface.attachBitmap(mc_angryface.picture, 1);
}
frame 1 {
mc_face.ani_finished = 1;
this.onEnterFrame = function () {
if (4 > random(1000) && mc_face.ani_finished == 1) {
mc_face.ani_finished = 0;
mc_face.gotoAndPlay(1);
}
};
}
frame 1 {
mc_blush._visible = false;
mc_blush.picture = flash.display.BitmapData.loadBitmap('face_blush.png');
mc_blush.attachBitmap(mc_blush.picture, 1);
}
}
movieClip 2241 {
}
movieClip 2242 {
}
movieClip 2243 {
}
movieClip 2247 {
}
movieClip 2248 {
}
movieClip 2250 {
}
movieClip 2253 {
frame 1 {
if (random(2) == 0) {
this._visible = false;
} else {
this._visible = true;
}
this.gotoAndPlay(random(7));
}
}
movieClip 2254 {
frame 1 {
k = 0;
if (particles == true) {
onEnterFrame = function () {
++k;
if (k % 2 == 0) {
duplicateMovieClip(this.particle, 'snow' + k, k);
}
};
}
}
instance particle of movieClip 2253 {
onClipEvent (load) {
movieWidth = 275;
movieHeight = 800;
i = 1 + Math.random() * 2;
k = -Math.PI + Math.random() * Math.PI;
this._yscale = Math.random() * 100;
this._xscale = this._yscale;
this._alpha = 20 + Math.random() * 100;
this._x = -10 + Math.random() * movieWidth;
this._y = -10 + Math.random() * 100;
}
onClipEvent (enterFrame) {
rad += (k / 180) * Math.PI;
this._x += Math.cos(rad) * 10;
this._y += i / 2;
if (this._y >= movieHeight) {
this.removeMovieClip();
this._y = -5;
}
if (this._x >= movieWidth || this._x <= 0) {
this._x = -10 + Math.random() * movieWidth;
this._y = -5;
}
}
}
}
button 2258 {
on (release) {
_root.mc_stripshow.gotoAndPlay(183);
_root.mc_stripshow.mc_stripcloth.ani.removeMovieClip();
}
}
movieClip 2259 {
frame 1 {
_visible = false;
_root.mc_stripshowBG._visible = false;
stop();
}
frame 65 {
onEnterFrame = function () {
_root.mc_stripshowBG.mc_stagePole._x = -(_xmouse / 70) + 275;
_root.mc_stripshowBG.mc_stageBack._x = -(_xmouse / 15);
_root.mc_stripshowBG.mc_neonlights._x = 265 - _xmouse / 25;
_root.mc_stripshowBG.mc_neonlights._y = 80;
mc_stageFront._x = _xmouse / 8 - 150;
};
i = 0;
while (i < _global.equipment.length) {
_root.mc_charscreen.mc_cloth[_global.equipment[i][0] + _global.equipment[i][1]]._visible = true;
++i;
}
bgAni_old = _root.mc_bgAni._visible;
_root.mc_bgAni._visible = false;
_root.switch_sound.start();
}
frame 91 {
_root.mc_stripshowBG._visible = true;
}
frame 121 {
start_stripshow();
stop();
}
frame 183 {
_root.lightswitch_sound.start();
_root.mc_stripshowBG._visible = false;
mc_particle.onEnterFrame = null;
}
frame 261 {
_global.btn_visible(true);
_root.mc_bgAni._visible = bgAni_old;
}
}
// unknown tag 88 length 4
movieClip 2265 {
}
movieClip 2270 {
}
movieClip 2271 {
}
movieClip 2274 {
}
movieClip 2275 {
}
movieClip 2278 {
}
movieClip 2279 {
}
movieClip 2282 {
}
movieClip 2283 {
}
movieClip 2286 {
}
movieClip 2287 {
}
movieClip 2290 {
}
movieClip 2291 {
}
movieClip 2294 {
}
movieClip 2295 {
}
movieClip 2298 {
}
movieClip 2299 {
}
movieClip 2300 {
frame 1 {
i = 1;
while (i <= _root.itemtypes.length) {
_root.mc_itemwindow['mc_' + _root.itemtypes[i]].mc_buttons._visible = false;
++i;
}
var glow = new flash.filters.DropShadowFilter(5, 45, 0, 10, 7, 7, 0.5, 3, false, false, false);
_root.mc_itemwindow['mc_' + _root.itemtypes[0]].filters = [glow];
_global.lastlist = _root.itemtypes[0];
i = 0;
while (i < _root.itemtypes.length) {
_root.mc_itemwindow['mc_' + _root.itemtypes[i]].btn.onRelease = function () {
_root.click_sound.start();
i = 0;
while (i <= _root.itemtypes.length) {
if (this._parent._name != 'mc_' + _root.itemtypes[i]) {
_root.mc_itemwindow['mc_' + _root.itemtypes[i]].mc_buttons._visible = false;
} else {
_root.mc_itemwindow['mc_' + _root.itemtypes[i]].mc_buttons._visible = true;
}
if (this._parent == _root.mc_itemwindow['mc_' + _root.itemtypes[i]]) {
var v4 = new flash.filters.DropShadowFilter(5, 45, 0, 0, 7, 7, 0.5, 3, false, false, false);
_root.mc_itemwindow['mc_' + lastlist].filters = [v4];
v4.alpha = 20;
_root.mc_itemwindow['mc_' + _root.itemtypes[i]].filters = [v4];
_root.mc_itemwindow['mc_' + _root.itemtypes[i]].swapDepths(_root.mc_itemwindow.getNextHighestDepth());
_global.lastlist = _root.itemtypes[i];
}
++i;
}
};
++i;
}
i = 0;
while (i < _root.itemtypes.length) {
this['mc_' + _root.itemtypes[i]].btn.onRollOver = function () {
var v3 = new flash.filters.GlowFilter(16777215, 0.5, 5, 5, 2, 3);
category_name = this._parent._name;
_root.cloth_tooltip = (category_name.split('mc_')).join('') + ' category';
v3.alpha = 50;
this.filters = [v3];
};
this['mc_' + _root.itemtypes[i]].btn.onRollOut = function () {
_root.cloth_tooltip = '';
glow.alpha = 0;
this.filters = [glow];
};
this['mc_' + _root.itemtypes[i]].btn.onReleaseOutside = function () {
_root.cloth_tooltip = '';
glow.alpha = 0;
this.filters = [glow];
};
++i;
}
}
}
movieClip 2304 {
}
button 2314 {
on (rollOver) {
_root.cloth_tooltip = 'Will switch Skie to the first posture.';
}
on (press) {
_root.click_sound.start();
setpose(1);
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (releaseOutside) {
_root.cloth_tooltip = '';
}
}
button 2317 {
on (rollOver) {
_root.cloth_tooltip = 'Will switch Skie to the third posture.';
}
on (press) {
_root.click_sound.start();
setpose(3);
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (releaseOutside) {
_root.cloth_tooltip = '';
}
}
button 2319 {
on (rollOver) {
_root.cloth_tooltip = 'Will switch Skie to the second posture.';
}
on (press) {
_root.click_sound.start();
setpose(2);
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (releaseOutside) {
_root.cloth_tooltip = '';
}
}
button 2320 {
on (rollOver) {
_root.cloth_tooltip = 'Will show/hide all clothing!';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (releaseOutside) {
_root.cloth_tooltip = '';
}
on (press) {
if (pressed != true) {
pressed = true;
_global.play_clothSound('Swimsuit', 'delete');
highfeets(false);
i = 0;
while (i < _global.equipment.length) {
_root.mc_charscreen.mc_cloth[_global.equipment[i][0] + _global.equipment[i][1]]._visible = false;
_root.mc_clothbutton.container[_global.equipment[i][0] + _global.equipment[i][1]].clothbutton_name._alpha = 50;
if (_global.equipment[i][0] == 'Panties') {
pantiesID = _global.equipment[i][1];
}
if (i == _global.equipment.length - 1 && _root.unconsored != 'on') {
_root.mc_charscreen.mc_cloth['Panties' + pantiesID]._visible = true;
_root.mc_clothbutton.container['Panties' + pantiesID].clothbutton_name._alpha = 100;
pantiesID = null;
}
++i;
}
} else {
pressed = false;
_global.play_clothSound('Swimsuit');
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == 'Highheels') {
highfeets(true);
}
_root.mc_charscreen.mc_cloth[_global.equipment[i][0] + _global.equipment[i][1]]._visible = true;
_root.mc_clothbutton.container[_global.equipment[i][0] + _global.equipment[i][1]].clothbutton_name._alpha = 100;
++i;
}
}
}
}
movieClip 2323 {
}
movieClip 2328 {
frame 1 {
stop();
this.btn_plus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.selected_cloth != 'Nothing') {
_root.finished_loaded = 1;
if (_root.max_color != 1) {
if (_root.selected_color < _root.max_color) {
_global.old_color = _root.selected_color;
_root.selected_color += 1;
_root.color_switcher_index = _root.selected_color + '/' + _root.max_color;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
_root['selected_' + _root.selected_cloth + _root.selected_id + '_color'] = _root.selected_color;
} else {
_global.old_color = _root.selected_color;
_root.selected_color = 1;
_root.color_switcher_index = _root.selected_color + '/' + _root.max_color;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
}
}
}
};
this.btn_plus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the first color style of the selected clothing.';
this._xscale = 50;
this._yscale = 50;
};
this.btn_plus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
this.btn_plus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
this.btn_plus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
this.btn_minus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.selected_cloth != 'Nothing') {
if (_root.max_color != 1) {
if (_root.selected_color > 1) {
_global.old_color = _root.selected_color;
_root.selected_color -= 1;
_root.color_switcher_index = _root.selected_color + '/' + _root.max_color;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
_global[_root.selected_cloth + selected_id + '_color'] = _root.selected_color;
} else {
_global.old_color = _root.selected_color;
_root.selected_color = _root.max_color;
_root.color_switcher_index = _root.selected_color + '/' + _root.max_color;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
}
}
}
};
this.btn_minus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the first color style of the selected clothing.';
this._xscale = 50;
this._yscale = 50;
};
this.btn_minus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
this.btn_minus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
this.btn_minus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
}
}
movieClip 2331 {
}
button 2333 {
on (rollOver) {
_root.cloth_tooltip = 'Will show only the selected clothing!';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (releaseOutside) {
_root.cloth_tooltip = '';
}
on (press) {
_global.play_clothSound(_root.selected_cloth, 'delete');
highfeets(false);
i = 0;
while (i < _global.equipment.length) {
if (_root.selected_cloth == 'Highheels') {
highfeets(true);
}
if (_global.equipment[i][0] == 'Panties') {
pantiesID = _global.equipment[i][1];
}
if (_global.equipment[i][0] != 'Panties' && _root.unconsored != 'on' && _root.selected_cloth + _root.selected_id != _global.equipment[i][0] + _global.equipment[i][1]) {
_root.mc_charscreen.mc_cloth[_global.equipment[i][0] + _global.equipment[i][1]]._visible = false;
_root.mc_clothbutton.container[_global.equipment[i][0] + _global.equipment[i][1]].clothbutton_name._alpha = 50;
}
if (_root.selected_cloth + _root.selected_id == _global.equipment[i][0] + _global.equipment[i][1]) {
_root.mc_charscreen.mc_cloth[_global.equipment[i][0] + _global.equipment[i][1]]._visible = true;
_root.mc_clothbutton.container[_global.equipment[i][0] + _global.equipment[i][1]].clothbutton_name._alpha = 100;
}
if (i == _global.equipment.length - 1 && selected_itemtype != 'Bodysuit') {
_root.mc_charscreen.mc_cloth['Panties' + pantiesID]._visible = true;
_root.mc_clothbutton.container['Panties' + pantiesID].clothbutton_name._alpha = 100;
pantiesID = null;
}
if (selected_itemtype == 'Bodysuit') {
_root.mc_charscreen.mc_cloth['Panties' + pantiesID]._visible = false;
_root.mc_clothbutton.container['Panties' + pantiesID].clothbutton_name._alpha = 50;
pantiesID = null;
}
++i;
}
}
}
movieClip 2336 {
frame 1 {
Array.prototype.swap = function (fromIndex, toIndex) {
var v2 = this[toIndex];
this[toIndex] = this[fromIndex];
this[fromIndex] = v2;
};
stop();
this.btn_plus.onPress = function () {
swaped = false;
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == _root.selected_cloth && _global.equipment[i][1] == _root.selected_id) {
if (i + 1 < _global.equipment.length && swaped == false) {
_root.mc_charscreen.mc_cloth[_root.selected_cloth + _root.selected_id].swapDepths(_root.mc_charscreen.mc_cloth[_root.selected_cloth + _root.selected_id].getDepth() + 1);
_global.equipment.swap(i + 1, i);
swaped = true;
equipmenu();
}
}
++i;
}
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
};
this.btn_plus.onRollOver = function () {
_root.cloth_tooltip = 'Will put the selected clothing over the next one.';
clicked = 0;
this._xscale = 45;
this._yscale = 45;
};
this.btn_plus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
this.btn_plus.onRelease = function () {
this._xscale = 45;
this._yscale = 45;
};
this.btn_plus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
this.btn_minus.onPress = function () {
i = 0;
while (i < _global.equipment.length) {
if (_global.equipment[i][0] == _root.selected_cloth && _global.equipment[i][1] == _root.selected_id) {
if (i > 0) {
_root.mc_charscreen.mc_cloth[_root.selected_cloth + _root.selected_id].swapDepths(_root.mc_charscreen.mc_cloth[_root.selected_cloth + _root.selected_id].getDepth() - 1);
_global.equipment.swap(i, i - 1);
equipmenu();
}
}
++i;
}
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
};
this.btn_minus.onRollOver = function () {
_root.cloth_tooltip = 'Will put the selected clothing under the previous one.';
this._xscale = 45;
this._yscale = 45;
};
this.btn_minus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
this.btn_minus.onRelease = function () {
this._xscale = 45;
this._yscale = 45;
};
this.btn_minus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
}
}
movieClip 2340 {
}
movieClip 2344 {
}
movieClip 2348 {
}
movieClip 2356 {
frame 1 {
stop();
this.btn_plus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.selected_cloth != 'Nothing' && _root.max_secondColor != 0) {
_root.finished_loaded = 1;
if (_root.max_secondColor != 1) {
if (_root.selected_secondColor < _root.max_secondColor) {
_global.old_secondColor = _root.selected_secondColor;
_root.selected_secondColor += 1;
_root.secondColor_index = _root.selected_color + '/' + _root.max_color;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
_root['selected_' + _root.selected_cloth + _root.selected_id + '_secondColor'] = _root.selected_secondColor;
} else {
_global.old_color = _root.selected_secondColor;
_root.selected_secondColor = 1;
_root.secondColor_index = _root.selected_color + '/' + _root.max_secondColor;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
}
}
}
};
this.btn_plus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the second color style of the selected clothing.';
this._xscale = 50;
this._yscale = 50;
};
this.btn_plus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
this.btn_plus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
this.btn_plus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
this.btn_minus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.selected_cloth != 'Nothing' && _root.max_secondColor != 0) {
if (_root.max_secondColor != 1) {
if (_root.selected_secondColor > 1) {
_global.old_secondColor = _root.selected_secondColor;
_root.selected_secondColor -= 1;
_root.secondColor_index = _root.selected_secondColor + '/' + _root.max_secondColor;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
_global[_root.selected_cloth + selected_id + '_secondColor'] = _root.selected_secondColor;
} else {
_global.old_secondColor = _root.selected_secondColor;
_root.selected_secondColor = _root.max_secondColor;
_root.secondColor_index = _root.selected_secondColor + '/' + _root.max_secondColor;
itemplacer(_root.selected_cloth, _root.selected_id, _root.selected_color, _root.selected_secondColor);
}
}
}
};
this.btn_minus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the second color style of the selected clothing.';
this._xscale = 50;
this._yscale = 50;
};
this.btn_minus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
this.btn_minus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
this.btn_minus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
}
}
movieClip 2359 {
}
movieClip 2361 {
}
movieClip 2363 {
frame 1 {
this.ratio = 0;
dragger.onPress = function () {
_root.click_sound.start();
this.startDrag(true, 0, 0, line._width, 0);
this.onEnterFrame = function () {
ratio = Math.round(this._x * 100 / line._width);
getwet(ratio);
};
};
dragger.onRelease = function () {
_root.click_sound.start();
this.stopDrag();
this.onEnterFrame = null;
};
dragger.onReleaseOutside = function () {
_root.click_sound.start();
this.stopDrag();
this.onEnterFrame = null;
};
}
}
movieClip 2370 {
frame 1 {
stop();
clicker._visible = false;
}
frame 2 {
stop();
clicker._visible = false;
}
}
movieClip 2375 {
frame 1 {
stop();
clicker._visible = false;
}
}
movieClip 2376 {
frame 1 {
btn_removeAll.onRollOver = function () {
_root.cloth_tooltip = 'Will remove all current clothing from Skie.';
btn_removeAll.gotoAndStop(2);
};
btn_removeAll.onRollOut = function () {
_root.cloth_tooltip = '';
btn_removeAll.gotoAndStop(1);
clicked = false;
};
btn_removeAll.onReleaseOutside = function () {
_root.cloth_tooltip = '';
btn_removeAll.gotoAndStop(1);
clicked = false;
};
btn_removeAll.onPress = function () {
if (clicked != true) {
_root.click_sound.start();
btn_removeAll.gotoAndStop(3);
clicked = true;
} else {
_root.cloth_zipper_down_sound.start();
_global.removeClothing('btn');
clicked = false;
btn_removeAll.gotoAndStop(1);
}
};
btn_preset.onRollOver = function () {
_root.cloth_tooltip = 'Will load a random set of clothing choosen by Skie herself.';
btn_preset.gotoAndStop(2);
};
btn_preset.onRollOut = function () {
_root.cloth_tooltip = '';
btn_preset.gotoAndStop(1);
clicked = false;
};
btn_preset.onReleaseOutside = function () {
_root.cloth_tooltip = '';
btn_preset.gotoAndStop(1);
clicked = false;
};
btn_preset.onPress = function () {
if (clicked != true) {
_root.click_sound.start();
btn_preset.gotoAndStop(3);
clicked = true;
} else {
_root.cloth_zipper_up_sound.start();
set_id = random(_root.start_equipment_array.length);
while (set_id == _root.loaded_preset) {
set_id = random(_root.start_equipment_array.length);
}
_global.build_equipment_array(_root.start_equipment_array[set_id], true);
_root.loaded_preset = set_id;
clicked = false;
btn_preset.gotoAndStop(1);
}
};
hairstyle_switcher.btn_plus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.max_hairstyles != 1) {
if (_root.hairstyle < _root.max_hairstyles) {
_root.hairvariation = 1;
_root.old_hairstyle = _root.hairstyle;
_root.hairstyle += 1;
_root.hairstyle_switcher_index = _root.hairstyle + '/' + _root.max_hairstyles;
loadhair(_root.hairstyle);
} else {
_root.hairvariation = 1;
_root.old_hairstyle = _root.hairstyle;
_root.hairstyle = 1;
_root.hairstyle_switcher_index = _root.hairstyle + '/' + _root.max_hairstyles;
loadhair(_root.hairstyle);
}
}
};
hairstyle_switcher.btn_plus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the general hairstyle.';
this._xscale = 50;
this._yscale = 50;
};
hairstyle_switcher.btn_plus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
hairstyle_switcher.btn_plus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
hairstyle_switcher.btn_plus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
hairstyle_switcher.btn_minus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.max_hairstyles != 1) {
if (_root.hairstyle > 1) {
_root.hairvariation = 1;
_root.old_hairstyle = _root.hairstyle;
_root.hairstyle -= 1;
_root.hairstyle_switcher_index = _root.hairstyle + '/' + _root.max_hairstyles;
loadhair(_root.hairstyle);
} else {
_root.hairvariation = 1;
_root.old_hairstyle = _root.hairstyle;
_root.hairstyle = _root.max_hairstyles;
_root.hairstyle_switcher_index = _root.hairstyle + '/' + _root.max_hairstyles;
loadhair(_root.hairstyle);
}
}
};
hairstyle_switcher.btn_minus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the general hairstyle.';
this._xscale = 50;
this._yscale = 50;
};
hairstyle_switcher.btn_minus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
hairstyle_switcher.btn_minus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
hairstyle_switcher.btn_minus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
headspecial_switcher.btn_plus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.max_headspecials != 1) {
if (_root.headspecial < _root.max_headspecials) {
_root.old_headspecial = _root.headspecial;
_root.headspecial += 1;
_root.headspecial_switcher_index = _root.headspecial + '/' + _root.max_headspecials;
loadheadspecial(_root.headspecial);
} else {
_root.old_headspecial = _root.headspecial;
_root.headspecial = 1;
_root.headspecial_switcher_index = _root.headspecial + '/' + _root.max_headspecials;
loadheadspecial(_root.headspecial);
}
}
};
headspecial_switcher.btn_plus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the head specials like earrings or special makeup.';
this._xscale = 50;
this._yscale = 50;
};
headspecial_switcher.btn_plus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
headspecial_switcher.btn_plus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
headspecial_switcher.btn_plus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
headspecial_switcher.btn_minus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_root.max_headspecials != 1) {
if (_root.headspecial > 1) {
_root.old_headspecial = _root.headspecial;
_root.headspecial -= 1;
_root.headspecial_switcher_index = _root.headspecial + '/' + _root.max_headspecials;
loadheadspecial(_root.headspecial);
} else {
_root.old_headspecial = _root.headspecial;
_root.headspecial = _root.max_headspecials;
_root.headspecial_switcher_index = _root.headspecial + '/' + _root.max_headspecials;
loadheadspecial(_root.headspecial);
}
}
};
headspecial_switcher.btn_minus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the head specials like earrings or special makeup.';
this._xscale = 50;
this._yscale = 50;
};
headspecial_switcher.btn_minus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
headspecial_switcher.btn_minus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
headspecial_switcher.btn_minus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
pinkhair_switcher.onRollOver = function () {
_root.cloth_tooltip = 'Will turn the pink hair coloring on/off';
};
pinkhair_switcher.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
pinkhair_switcher.onRollOut = function () {
_root.cloth_tooltip = '';
};
pinkhair_switcher.onPress = function () {
if (_root.show_pink == true) {
_root.click_sound.start();
pinkhair_switcher.gotoAndStop(2);
_root.mc_charscreen.mc_pinkfront._visible = true;
_root.mc_charscreen.mc_character.mc_pinkback._visible = true;
_root.show_pink = false;
} else {
_root.click_sound.start();
pinkhair_switcher.gotoAndStop(1);
_root.mc_charscreen.mc_pinkfront._visible = false;
_root.mc_charscreen.mc_character.mc_pinkback._visible = false;
_root.show_pink = true;
}
};
stylevariation_switcher.btn_plus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_global.max_hairvariation != 1) {
if (_root.hairvariation < _global.max_hairvariation) {
_root.old_hairvariation = _root.hairvariation;
_root.hairvariation += 1;
_root.hairvariation_switcher_index = _root.hairvariation + '/' + _global.max_hairvariation;
loadhairvariations(_root.hairstyle, _root.hairvariation);
} else {
_root.old_hairvariation = _root.hairvariation;
_root.hairvariation = 1;
_root.hairvariation_switcher_index = _root.hairvariation + '/' + _global.max_hairvariation;
loadhairvariations(_root.hairstyle, _root.hairvariation);
}
}
};
stylevariation_switcher.btn_plus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the variation for the selected hairstyle.';
this._xscale = 50;
this._yscale = 50;
};
stylevariation_switcher.btn_plus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
stylevariation_switcher.btn_plus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
stylevariation_switcher.btn_plus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
stylevariation_switcher.btn_minus.onPress = function () {
_root.click_sound.start();
this._xscale = 40;
this._yscale = 40;
if (_global.max_hairvariation != 1) {
if (_root.hairvariation > 1) {
_root.hairvariation = _root.hairvariation;
_root.hairvariation -= 1;
_root.hairvariation_switcher_index = _root.hairvariation + '/' + _global.max_hairvariation;
loadhairvariations(_root.hairstyle, _root.hairvariation);
} else {
_root.old_hairvariation = _root.hairvariation;
_root.hairvariation = _global.max_hairvariation;
_root.hairvariation_switcher_index = _root.hairvariation + '/' + _global.max_hairvariation;
loadhairvariations(_root.hairstyle, _root.hairvariation);
}
}
};
stylevariation_switcher.btn_minus.onRollOver = function () {
_root.cloth_tooltip = 'Will switch the variation for the selected hairstyle.';
this._xscale = 50;
this._yscale = 50;
};
stylevariation_switcher.btn_minus.onRollOut = function () {
_root.cloth_tooltip = '';
this._xscale = 40;
this._yscale = 40;
};
stylevariation_switcher.btn_minus.onRelease = function () {
this._xscale = 50;
this._yscale = 50;
};
stylevariation_switcher.btn_minus.onReleaseOutside = function () {
_root.cloth_tooltip = '';
};
_root.mc_termometer.mc_maxitems.onPress = function () {
_root.cloth_tooltip = '';
_root.lightswitch_sound.start();
this.gotoAndPlay(26);
_root.termoclicked = true;
_root.mc_stripshow._visible = true;
_root.mc_stripshow.gotoAndPlay(1);
_global.btn_visible(false);
_root.mc_termometer.start_particle = false;
};
_root.mc_termometer.mc_maxitems.onRollOver = function () {
_root.cloth_tooltip = 'Let Skie do a striptease only for you!';
if (_root.termoclicked != true) {
_root.mc_termometer.mc_maxitems._yscale = 110;
_root.mc_termometer.mc_maxitems._xscale = 110;
_root.mc_termometer.start_particle = true;
}
};
_root.mc_termometer.mc_maxitems.onRollOut = function () {
_root.cloth_tooltip = '';
if (_root.termoclicked != true) {
_root.mc_termometer.mc_maxitems._yscale = 100;
_root.mc_termometer.mc_maxitems._xscale = 100;
_root.mc_termometer.start_particle = false;
}
};
}
}
movieClip 2377 {
}
movieClip 2379 {
frame 40 {
stop();
}
}
movieClip 2380 {
frame 1 {
n = 8;
onEnterFrame = function () {
if (particles == true) {
if (_root.mc_termometer.start_particle == true) {
if (n == 50) {
n = 8;
}
++n;
duplicateMovieClip('bluebit', 'bluebit' + n, n);
eval('bluebit' + n)._rotation = random(360);
eval('bluebit' + n)._alpha = random(30) + 80;
eval('bluebit' + n)._xscale = 50 + Number(random(60));
eval('bluebit' + n)._yscale = 50 + Number(random(60));
tellTarget (''bluebit' + n') {
gotoAndPlay(random(5));
}
}
}
};
}
}
movieClip 2382 {
}
movieClip 2384 {
}
movieClip 2386 {
}
movieClip 2391 {
frame 25 {
gotoAndPlay(14);
}
}
// unknown tag 88 length 44
movieClip 2398 {
frame 1 {
stop();
}
frame 25 {
gotoAndPlay(15);
}
}
movieClip 2399 {
frame 1 {
mc_striptease.played = 0;
mc_counter._y = mc_slider.cutter._y - 9;
n = 8;
onEnterFrame = function () {
if (_global.equipment.length >= 10 && mc_striptease.played == 0) {
_root.stripshow_panties = false;
_root.termoclicked = false;
mc_striptease._visible = true;
mc_striptease.gotoAndPlay(1);
mc_maxitems.gotoAndPlay(1);
mc_maxitems._visible = true;
mc_striptease.played = 1;
}
if (_global.equipment.length < 10) {
mc_striptease._visible = false;
mc_striptease.gotoAndStop(1);
mc_maxitems.gotoAndStop(1);
mc_maxitems._visible = false;
mc_striptease.played = 0;
}
mc_slider.goal = 293 - (_global.equipment.length - 1) * 20;
if (mc_slider.goal > mc_slider.cutter._y) {
mc_slider.cutter._y += 1;
}
if (mc_slider.goal < mc_slider.cutter._y) {
mc_slider.cutter._y -= 1;
}
mc_counter._y = mc_slider.cutter._y - 9;
mc_counter.txt.text = _global.equipment.length + '/' + _root.max_levels;
};
}
}
movieClip 2401 {
}
button 2404 {
on (release) {
i = 1;
while (i <= 5) {
_root['y' + i] = '';
_root['x' + i] = '';
++i;
}
_root.xml_code = 'Coordinates for Flash';
}
}
movieClip 2405 {
}
movieClip 2406 {
frame 1 {
hider.label.text = 'Show Code';
content._visible = false;
hider.onRelease = function () {
if (content._visible == true) {
hider.label.text = 'Show Code';
content._visible = false;
} else {
content._visible = true;
hider.label.text = 'Hide Code';
}
};
}
}
movieClip 2407 mc_particel {
frame 2 {
n = 8;
while (n < 50) {
duplicateMovieClip('bluebit', 'bluebit' + n, n);
eval('bluebit' + n)._rotation = random(360);
eval('bluebit' + n)._alpha = random(30) + 80;
eval('bluebit' + n)._xscale = 50 + Number(random(60));
eval('bluebit' + n)._yscale = 50 + Number(random(60));
tellTarget (''bluebit' + n') {
gotoAndPlay(random(5));
}
++n;
}
stop();
}
}
button 2413 {
on (rollOver) {
_root.cloth_tooltip = 'Will open the Options-Window for optimizing the performance.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
gotoAndStop(2);
}
}
button 2415 {
on (rollOver) {
_root.cloth_tooltip = 'Will close the Options-Window.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
gotoAndStop(1);
}
}
button 2418 {
on (rollOver) {
_root.cloth_tooltip = 'Will turn the background animation on/off.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
if (_root.bg_btn_txt == 'Background = ON') {
_root.bg_btn_txt = 'Background = OFF';
_root.mc_bgAni._visible = false;
} else {
_root.bg_btn_txt = 'Background = ON';
_root.mc_bgAni._visible = true;
}
}
}
button 2421 {
on (rollOver) {
_root.cloth_tooltip = 'Will turn the animation during a posture change on/off.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
if (_root.fade_btn_txt == 'Posture Fade = ON') {
_root.fade_btn_txt = 'Posture Fade = OFF';
} else {
_root.fade_btn_txt = 'Posture Fade = ON';
}
}
}
button 2424 {
on (rollOver) {
_root.cloth_tooltip = 'Will turn all sounds on/off.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
if (_root.sound_btn_txt == 'Sounds = ON') {
_root.sound_btn_txt = 'Sounds = OFF';
i = 0;
while (i <= _root.sounds.length) {
_root[sounds[i] + '_sound'].setVolume(0);
++i;
}
} else {
_root.sound_btn_txt = 'Sounds = ON';
i = 0;
while (i <= _root.sounds.length) {
_root[sounds[i] + '_sound'].setVolume(100);
++i;
}
}
}
}
button 2427 {
on (rollOver) {
_root.cloth_tooltip = 'Will turn on/off the blushing while Skie is not wearing a shirt and a bra.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
if (_root.blush_btn_txt == 'Skie blushing = ON') {
_root.blush_btn_txt = 'Skie blushing = OFF';
_root.blush = false;
_root.mc_charscreen.mc_character.mc_blush._visible = false;
} else {
_root.blush_btn_txt = 'Skie blushing = ON';
_root.blush = true;
if (_root.blush_index == true) {
_root.mc_charscreen.mc_character.mc_blush._visible = true;
}
}
}
}
button 2430 {
on (rollOver) {
_root.cloth_tooltip = 'Will turn all particelsystems on/off. (Small stars while removing a clothing)';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
if (_root.particles_btn_txt == 'Particles = ON') {
_root.particles_btn_txt = 'Particles = OFF';
_global.particles = false;
} else {
_root.particles_btn_txt = 'Particles = ON';
_global.particles = true;
}
}
}
movieClip 2431 {
frame 1 {
stop();
}
}
button 2437 {
on (rollOver) {
_root.cloth_tooltip = 'Load and save equipment with copy/paste.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
gotoAndStop(2);
}
}
button 2439 {
on (rollOver) {
_root.cloth_tooltip = 'Will close the Load/Save-Window.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
gotoAndStop(1);
}
}
button 2444 {
on (rollOver) {
_root.cloth_tooltip = 'Will generate a code that can be stored in a separate file with copy/paste.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
if (_root.show_pink == false) {
pink = 1;
} else {
pink = 0;
}
txt_feedback.text = 'Save code with Ctr+C to use it in docs or postings!';
txt.text = _root.hairstyle + ',' + pink + ',' + _root.hairvariation + ',' + _root.headspecial + ',' + Math.round(_root.mc_charscreen.mc_character.mc_glow._alpha) + ',' + _global.equipment;
}
}
button 2448 {
on (rollOver) {
_root.cloth_tooltip = 'Will use a code that was insert with copy/paste.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (press) {
_root.click_sound.start();
if (txt.text == '') {
txt_feedback.text = 'Please enter a Equipment-Code!';
} else {
cheat = txt.text;
if (cheat.toLowerCase() == 'i love skie') {
_root.unconsored = 'on';
txt_feedback.text = 'OK, now you can remove my Panties!';
txt.text = '';
} else {
_global.build_equipment_array(txt.text);
}
}
}
}
movieClip 2451 {
frame 1 {
stop();
}
frame 2 {
txt_feedback.text = '';
}
}
button 2455 {
on (rollOver) {
_root.cloth_tooltip = 'Shows copyright and number of items available.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
gotoAndStop(2);
}
}
button 2457 {
on (rollOver) {
_root.cloth_tooltip = 'Will close the Infos-Window.';
}
on (rollOut) {
_root.cloth_tooltip = '';
}
on (release) {
_root.click_sound.start();
gotoAndStop(1);
}
}
movieClip 2461 {
frame 1 {
stop();
}
frame 2 {
clothtype_counter = 0;
total_variations = 0;
i = 0;
while (i < _root.itemtypes.length) {
clothtype_counter += _root['data_' + _root.itemtypes[i]].length;
a = 0;
while (a < _root['data_' + _root.itemtypes[i]].length) {
num = parseInt(_root['data_' + _root.itemtypes[i]][a][2]);
if (_root['data_' + _root.itemtypes[i]][a][3] == 0) {
multi = 1;
} else {
multi = parseInt(_root['data_' + _root.itemtypes[i]][a][3]);
}
num *= multi;
total_variations += num;
++a;
}
++i;
}
txt_content.text = 'There are ' + clothtype_counter + ' unique cloth types with a total amount of ' + total_variations + ' variations.';
}
}