Frame 1
loadPercent = "0";
Frame 2
loadPercent = Math.floor((this.getBytesLoaded() / this.getBytesTotal()) * 100);
if (this.getBytesLoaded() == this.getBytesTotal()) {
loadPercent = "100";
gotoAndPlay (4);
}
Frame 3
gotoAndPlay (2);
Frame 4
stop();
pencil = true;
brush = false;
head = true;
body = false;
arm1 = false;
arm2 = false;
leg1 = false;
leg2 = false;
draw_highlight._visible = true;
paint_highlight._visible = false;
body_btn.body_black._visible = false;
arm1_btn.arm1_black._visible = false;
arm2_btn.arm2_black._visible = false;
leg1_btn.leg1_black._visible = false;
leg2_btn.leg2_black._visible = false;
buttons = new Array(white_btn, red_btn, yellow_btn, green_btn, blue_btn, brown_btn);
i = 0;
while (i < buttons.length) {
buttons[i].enabled = false;
i++;
}
colors = new Array(white, red, yellow, green, blue, brown);
brushColors = new Array(16777215, 14942465, 16711254, 5809700, 7562693, 7495233);
colors[0] = true;
pencilActiveToggle = false;
brushActiveToggle = false;
head_box.head_box_bg._visible = true;
head_box.createEmptyMovieClip("paper", 98);
head_box.paper.createEmptyMovieClip("paint", 99);
head_box.paper.createEmptyMovieClip("draw", 100);
head_box.paper.createEmptyMovieClip("mask", 101);
with (head_box.paper.mask) {
beginFill(0, 100);
moveTo(0, 0);
lineTo(100, 0);
lineTo(100, 100);
lineTo(0, 100);
lineTo(0, 0);
endFill();
}
head_box.paper.setMask(head_box.paper.mask);
body_box.body_box_bg._visible = true;
body_box.createEmptyMovieClip("paper", 98);
body_box.paper.createEmptyMovieClip("paint", 99);
body_box.paper.createEmptyMovieClip("draw", 100);
body_box.paper.createEmptyMovieClip("mask", 101);
with (body_box.paper.mask) {
beginFill(0, 100);
moveTo(0, 0);
lineTo(135, 0);
lineTo(135, 140);
lineTo(0, 140);
lineTo(0, 0);
endFill();
}
body_box.paper.setMask(body_box.paper.mask);
arm1_box.arm1_box_bg._visible = true;
arm1_box.createEmptyMovieClip("paper", 98);
arm1_box.paper.createEmptyMovieClip("paint", 99);
arm1_box.paper.createEmptyMovieClip("draw", 100);
arm1_box.paper.createEmptyMovieClip("mask", 101);
with (arm1_box.paper.mask) {
beginFill(0, 100);
moveTo(0, 0);
lineTo(125, 0);
lineTo(125, 65);
lineTo(0, 65);
lineTo(0, 0);
endFill();
}
arm1_box.paper.setMask(arm1_box.paper.mask);
arm2_box.arm2_box_bg._visible = true;
arm2_box.createEmptyMovieClip("paper", 98);
arm2_box.paper.createEmptyMovieClip("paint", 99);
arm2_box.paper.createEmptyMovieClip("draw", 100);
arm2_box.paper.createEmptyMovieClip("mask", 101);
with (arm2_box.paper.mask) {
beginFill(0, 100);
moveTo(0, 0);
lineTo(125, 0);
lineTo(125, 65);
lineTo(0, 65);
lineTo(0, 0);
endFill();
}
arm2_box.paper.setMask(arm2_box.paper.mask);
leg1_box.leg1_box_bg._visible = true;
leg1_box.createEmptyMovieClip("paper", 98);
leg1_box.paper.createEmptyMovieClip("paint", 99);
leg1_box.paper.createEmptyMovieClip("draw", 100);
leg1_box.paper.createEmptyMovieClip("mask", 101);
with (leg1_box.paper.mask) {
beginFill(0, 100);
moveTo(0, 0);
lineTo(65, 0);
lineTo(65, 125);
lineTo(0, 125);
lineTo(0, 0);
endFill();
}
leg1_box.paper.setMask(leg1_box.paper.mask);
leg2_box.leg2_box_bg._visible = true;
leg2_box.createEmptyMovieClip("paper", 98);
leg2_box.paper.createEmptyMovieClip("paint", 99);
leg2_box.paper.createEmptyMovieClip("draw", 100);
leg2_box.paper.createEmptyMovieClip("mask", 101);
with (leg2_box.paper.mask) {
beginFill(0, 100);
moveTo(0, 0);
lineTo(65, 0);
lineTo(65, 125);
lineTo(0, 125);
lineTo(0, 0);
endFill();
}
leg2_box.paper.setMask(leg2_box.paper.mask);
this.onEnterFrame = function () {
if (brush) {
i = 0;
while (i < buttons.length) {
buttons[i].enabled = true;
i++;
}
buttons[0].onPress = function () {
colors[0] = true;
colors[1] = false;
colors[2] = false;
colors[3] = false;
colors[4] = false;
colors[5] = false;
};
buttons[1].onPress = function () {
colors[1] = true;
colors[0] = false;
colors[2] = false;
colors[3] = false;
colors[4] = false;
colors[5] = false;
};
buttons[2].onPress = function () {
colors[2] = true;
colors[1] = false;
colors[0] = false;
colors[3] = false;
colors[4] = false;
colors[5] = false;
};
buttons[3].onPress = function () {
colors[3] = true;
colors[1] = false;
colors[2] = false;
colors[0] = false;
colors[4] = false;
colors[5] = false;
};
buttons[4].onPress = function () {
colors[4] = true;
colors[1] = false;
colors[2] = false;
colors[3] = false;
colors[0] = false;
colors[5] = false;
};
buttons[5].onPress = function () {
colors[5] = true;
colors[1] = false;
colors[2] = false;
colors[3] = false;
colors[4] = false;
colors[0] = false;
};
if (colors[0]) {
buttons[0].gotoAndStop(2);
}
if (!colors[0]) {
if (buttons[0].hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
buttons[0].gotoAndStop(2);
} else {
buttons[0].gotoAndStop(1);
}
}
if (colors[1]) {
buttons[1].gotoAndStop(2);
}
if (!colors[1]) {
if (buttons[1].hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
buttons[1].gotoAndStop(2);
} else {
buttons[1].gotoAndStop(1);
}
}
if (colors[2]) {
buttons[2].gotoAndStop(2);
}
if (!colors[2]) {
if (buttons[2].hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
buttons[2].gotoAndStop(2);
} else {
buttons[2].gotoAndStop(1);
}
}
if (colors[3]) {
buttons[3].gotoAndStop(2);
}
if (!colors[3]) {
if (buttons[3].hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
buttons[3].gotoAndStop(2);
} else {
buttons[3].gotoAndStop(1);
}
}
if (colors[4]) {
buttons[4].gotoAndStop(2);
}
if (!colors[4]) {
if (buttons[4].hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
buttons[4].gotoAndStop(2);
} else {
buttons[4].gotoAndStop(1);
}
}
if (colors[5]) {
buttons[5].gotoAndStop(2);
}
if (!colors[5]) {
if (buttons[5].hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
buttons[5].gotoAndStop(2);
} else {
buttons[5].gotoAndStop(1);
}
}
} else {
i = 0;
while (i < buttons.length) {
buttons[i].enabled = false;
buttons[i].gotoAndStop(1);
i++;
}
}
if (head) {
head_btn.head_black._visible = true;
} else {
head_btn.head_black._visible = false;
}
if (head_btn.hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
head_btn.gotoAndStop(2);
} else {
head_btn.gotoAndStop(1);
}
if (body) {
body_btn.body_black._visible = true;
} else {
body_btn.body_black._visible = false;
}
if (body_btn.hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
body_btn.gotoAndStop(2);
} else {
body_btn.gotoAndStop(1);
}
if (arm1) {
arm1_btn.arm1_black._visible = true;
} else {
arm1_btn.arm1_black._visible = false;
}
if (arm1_btn.hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
arm1_btn.gotoAndStop(2);
} else {
arm1_btn.gotoAndStop(1);
}
if (arm2) {
arm2_btn.arm2_black._visible = true;
} else {
arm2_btn.arm2_black._visible = false;
}
if (arm2_btn.hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
arm2_btn.gotoAndStop(2);
} else {
arm2_btn.gotoAndStop(1);
}
if (leg1) {
leg1_btn.leg1_black._visible = true;
} else {
leg1_btn.leg1_black._visible = false;
}
if (leg1_btn.hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
leg1_btn.gotoAndStop(2);
} else {
leg1_btn.gotoAndStop(1);
}
if (leg2) {
leg2_btn.leg2_black._visible = true;
} else {
leg2_btn.leg2_black._visible = false;
}
if (leg2_btn.hitTest(_xmouse + this._x, _ymouse + this._y, false)) {
leg2_btn.gotoAndStop(2);
} else {
leg2_btn.gotoAndStop(1);
}
head_btn.onRelease = function () {
head = true;
body = false;
arm1 = false;
arm2 = false;
leg1 = false;
leg2 = false;
};
body_btn.onRelease = function () {
body = true;
head = false;
arm1 = false;
arm2 = false;
leg1 = false;
leg2 = false;
};
arm1_btn.onRelease = function () {
arm1 = true;
head = false;
body = false;
arm2 = false;
leg1 = false;
leg2 = false;
};
arm2_btn.onRelease = function () {
arm2 = true;
head = false;
body = false;
arm1 = false;
leg1 = false;
leg2 = false;
};
leg1_btn.onRelease = function () {
leg1 = true;
head = false;
body = false;
arm1 = false;
arm2 = false;
leg2 = false;
};
leg2_btn.onRelease = function () {
leg2 = true;
head = false;
body = false;
arm1 = false;
arm2 = false;
leg1 = false;
};
head_box.paper.draw.onMouseMove = function () {
if ((pencilActiveToggle && (pencil)) && (head)) {
this.lineTo(_xmouse - head_box._x, _ymouse - head_box._y);
updateAfterEvent();
}
};
head_box.paper.draw.onMouseDown = function () {
if (((!pencilActiveToggle) && (pencil)) && (head)) {
pencilActiveToggle = true;
this.moveTo(_xmouse - head_box._x, _ymouse - head_box._y);
this.lineStyle(3, 0, 100);
}
};
head_box.paper.draw.onMouseUp = function () {
pencilActiveToggle = false;
};
head_box.paper.paint.onMouseMove = function () {
if ((brushActiveToggle && (brush)) && (head)) {
this.lineTo(_xmouse - head_box._x, _ymouse - head_box._y);
updateAfterEvent();
}
};
head_box.paper.paint.onMouseDown = function () {
if (((!brushActiveToggle) && (brush)) && (head)) {
brushActiveToggle = true;
this.moveTo(_xmouse - head_box._x, _ymouse - head_box._y);
i = 0;
while (i < colors.length) {
if (colors[i]) {
colors[i] = brushColors[i];
this.lineStyle(7, brushColors[i], 100);
}
i++;
}
}
};
head_box.paper.paint.onMouseUp = function () {
brushActiveToggle = false;
};
body_box.paper.draw.onMouseMove = function () {
if ((pencilActiveToggle && (pencil)) && (body)) {
this.lineTo(_xmouse - body_box._x, _ymouse - body_box._y);
updateAfterEvent();
}
};
body_box.paper.draw.onMouseDown = function () {
if (((!pencilActiveToggle) && (pencil)) && (body)) {
pencilActiveToggle = true;
this.moveTo(_xmouse - body_box._x, _ymouse - body_box._y);
this.lineStyle(3, 0, 100);
}
};
body_box.paper.draw.onMouseUp = function () {
pencilActiveToggle = false;
};
body_box.paper.paint.onMouseMove = function () {
if ((brushActiveToggle && (brush)) && (body)) {
this.lineTo(_xmouse - body_box._x, _ymouse - body_box._y);
updateAfterEvent();
}
};
body_box.paper.paint.onMouseDown = function () {
if (((!brushActiveToggle) && (brush)) && (body)) {
brushActiveToggle = true;
this.moveTo(_xmouse - body_box._x, _ymouse - body_box._y);
i = 0;
while (i < colors.length) {
if (colors[i]) {
colors[i] = brushColors[i];
this.lineStyle(7, brushColors[i], 100);
}
i++;
}
}
};
body_box.paper.paint.onMouseUp = function () {
brushActiveToggle = false;
};
arm1_box.paper.draw.onMouseMove = function () {
if ((pencilActiveToggle && (pencil)) && (arm1)) {
this.lineTo(_xmouse - arm1_box._x, _ymouse - arm1_box._y);
updateAfterEvent();
}
};
arm1_box.paper.draw.onMouseDown = function () {
if (((!pencilActiveToggle) && (pencil)) && (arm1)) {
pencilActiveToggle = true;
this.moveTo(_xmouse - arm1_box._x, _ymouse - arm1_box._y);
this.lineStyle(3, 0, 100);
}
};
arm1_box.paper.draw.onMouseUp = function () {
pencilActiveToggle = false;
};
arm1_box.paper.paint.onMouseMove = function () {
if ((brushActiveToggle && (brush)) && (arm1)) {
this.lineTo(_xmouse - arm1_box._x, _ymouse - arm1_box._y);
updateAfterEvent();
}
};
arm1_box.paper.paint.onMouseDown = function () {
if (((!brushActiveToggle) && (brush)) && (arm1)) {
brushActiveToggle = true;
this.moveTo(_xmouse - arm1_box._x, _ymouse - arm1_box._y);
i = 0;
while (i < colors.length) {
if (colors[i]) {
colors[i] = brushColors[i];
this.lineStyle(7, brushColors[i], 100);
}
i++;
}
}
};
arm1_box.paper.paint.onMouseUp = function () {
brushActiveToggle = false;
};
arm2_box.paper.draw.onMouseMove = function () {
if ((pencilActiveToggle && (pencil)) && (arm2)) {
this.lineTo(_xmouse - arm2_box._x, _ymouse - arm2_box._y);
updateAfterEvent();
}
};
arm2_box.paper.draw.onMouseDown = function () {
if (((!pencilActiveToggle) && (pencil)) && (arm2)) {
pencilActiveToggle = true;
this.moveTo(_xmouse - arm2_box._x, _ymouse - arm2_box._y);
this.lineStyle(3, 0, 100);
}
};
arm2_box.paper.draw.onMouseUp = function () {
pencilActiveToggle = false;
};
arm2_box.paper.paint.onMouseMove = function () {
if ((brushActiveToggle && (brush)) && (arm2)) {
this.lineTo(_xmouse - arm2_box._x, _ymouse - arm2_box._y);
updateAfterEvent();
}
};
arm2_box.paper.paint.onMouseDown = function () {
if (((!brushActiveToggle) && (brush)) && (arm2)) {
brushActiveToggle = true;
this.moveTo(_xmouse - arm2_box._x, _ymouse - arm2_box._y);
i = 0;
while (i < colors.length) {
if (colors[i]) {
colors[i] = brushColors[i];
this.lineStyle(7, brushColors[i], 100);
}
i++;
}
}
};
arm2_box.paper.paint.onMouseUp = function () {
brushActiveToggle = false;
};
leg1_box.paper.draw.onMouseMove = function () {
if ((pencilActiveToggle && (pencil)) && (leg1)) {
this.lineTo(_xmouse - leg1_box._x, _ymouse - leg1_box._y);
updateAfterEvent();
}
};
leg1_box.paper.draw.onMouseDown = function () {
if (((!pencilActiveToggle) && (pencil)) && (leg1)) {
pencilActiveToggle = true;
this.moveTo(_xmouse - leg1_box._x, _ymouse - leg1_box._y);
this.lineStyle(3, 0, 100);
}
};
leg1_box.paper.draw.onMouseUp = function () {
pencilActiveToggle = false;
};
leg1_box.paper.paint.onMouseMove = function () {
if ((brushActiveToggle && (brush)) && (leg1)) {
this.lineTo(_xmouse - leg1_box._x, _ymouse - leg1_box._y);
updateAfterEvent();
}
};
leg1_box.paper.paint.onMouseDown = function () {
if (((!brushActiveToggle) && (brush)) && (leg1)) {
brushActiveToggle = true;
this.moveTo(_xmouse - leg1_box._x, _ymouse - leg1_box._y);
i = 0;
while (i < colors.length) {
if (colors[i]) {
colors[i] = brushColors[i];
this.lineStyle(7, brushColors[i], 100);
}
i++;
}
}
};
leg1_box.paper.paint.onMouseUp = function () {
brushActiveToggle = false;
};
leg2_box.paper.draw.onMouseMove = function () {
if ((pencilActiveToggle && (pencil)) && (leg2)) {
this.lineTo(_xmouse - leg2_box._x, _ymouse - leg2_box._y);
updateAfterEvent();
}
};
leg2_box.paper.draw.onMouseDown = function () {
if (((!pencilActiveToggle) && (pencil)) && (leg2)) {
pencilActiveToggle = true;
this.moveTo(_xmouse - leg2_box._x, _ymouse - leg2_box._y);
this.lineStyle(3, 0, 100);
}
};
leg2_box.paper.draw.onMouseUp = function () {
pencilActiveToggle = false;
};
leg2_box.paper.paint.onMouseMove = function () {
if ((brushActiveToggle && (brush)) && (leg2)) {
this.lineTo(_xmouse - leg2_box._x, _ymouse - leg2_box._y);
updateAfterEvent();
}
};
leg2_box.paper.paint.onMouseDown = function () {
if (((!brushActiveToggle) && (brush)) && (leg2)) {
brushActiveToggle = true;
this.moveTo(_xmouse - leg2_box._x, _ymouse - leg2_box._y);
i = 0;
while (i < colors.length) {
if (colors[i]) {
colors[i] = brushColors[i];
this.lineStyle(7, brushColors[i], 100);
}
i++;
}
}
};
leg2_box.paper.paint.onMouseUp = function () {
brushActiveToggle = false;
};
clear_pencil.onRelease = function () {
if (head) {
head_box.paper.draw.clear();
}
if (body) {
body_box.paper.draw.clear();
}
if (arm1) {
arm1_box.paper.draw.clear();
}
if (arm2) {
arm2_box.paper.draw.clear();
}
if (leg1) {
leg1_box.paper.draw.clear();
}
if (leg2) {
leg2_box.paper.draw.clear();
}
};
clear_brush.onRelease = function () {
if (head) {
head_box.paper.paint.clear();
}
if (body) {
body_box.paper.paint.clear();
}
if (arm1) {
arm1_box.paper.paint.clear();
}
if (arm2) {
arm2_box.paper.paint.clear();
}
if (leg1) {
leg1_box.paper.paint.clear();
}
if (leg2) {
leg2_box.paper.paint.clear();
}
};
};
Instance of Symbol 28 MovieClip "arm1_btn" in Frame 4
/* no clip actions */
Instance of Symbol 69 MovieClip "white_btn" in Frame 4
/* no clip actions */
Instance of Symbol 72 MovieClip "red_btn" in Frame 4
/* no clip actions */
Instance of Symbol 75 MovieClip "yellow_btn" in Frame 4
/* no clip actions */
Frame 5
pencil = false;
brush = false;
head_box.head_box_bg._visible = false;
body_box.body_box_bg._visible = false;
arm1_box.arm1_box_bg._visible = false;
arm2_box.arm2_box_bg._visible = false;
leg1_box.leg1_box_bg._visible = false;
leg2_box.leg2_box_bg._visible = false;
Frame 151
gotoAndPlay (7);
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
stop();
Symbol 52 Button
on (release) {
gotoAndPlay (5);
}
Symbol 57 MovieClip Frame 1
stop();
_parent.last = false;
Symbol 57 MovieClip Frame 4
_parent.last = true;
Symbol 62 Button
on (press) {
pencil = true;
brush = false;
paint_highlight._visible = false;
draw_highlight._visible = true;
}
Symbol 64 Button
on (press) {
brush = true;
pencil = false;
draw_highlight._visible = false;
paint_highlight._visible = true;
}
Symbol 66 MovieClip Frame 1
this._visible = false;
_parent.hitArea = this;
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 89 Button
on (press) {
if (last) {
tips.gotoAndStop(1);
} else {
tips.nextFrame();
}
}
Symbol 98 Button
on (release) {
getURL ("http://www.turksville.com", "_blank");
}
Symbol 103 Button
on (release) {
gotoAndStop (4);
}