Frame 1 (716 B)
stage.showMenu = false;
stage.scaleMode = "exactFit";
Mouse.hide();
col = "0x000000";
drawing = false;
db = this.createEmptyMovieClip("db", 0);
db.point = new Object();
_root.onMouseMove = function () {
thickness = (box.slide.slider._x + 70) / 10;
if (mode == "eraser") {
thickness = 26.3;
} else {
cursor.gotoAndStop(1);
}
mx = _root._xmouse;
my = _root._ymouse;
db.point.x = mx;
db.point.y = my;
localToGlobal(db.point);
x = db.point.x;
y = db.point.y;
db.lineStyle(thickness, col, 100);
if (drawing) {
db.lineTo(x, y);
} else {
db.moveTo(x, y);
}
};
_root.onMouseDown = function () {
drawing = true;
};
_root.onMouseUp = function () {
drawing = false;
};
Instance of Symbol 2 MovieClip in Frame 1 (47 B)
onClipEvent (load) {
this.swapDepths(99997);
}
Instance of Symbol 5 MovieClip "cursor" in Frame 1 (104 B)
onClipEvent (mouseMove) {
this.swapDepths(99999);
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 41 MovieClip "box" in Frame 1 (47 B)
onClipEvent (load) {
this.swapDepths(99998);
}
Symbol 5 MovieClip Frame 1 (8 B)
stop();
Symbol 12 Button (105 B)
on (release) {
_root.col = "0x000000";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 13 Button (105 B)
on (release) {
_root.col = "0xFF9900";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 14 Button (105 B)
on (release) {
_root.col = "0xFFFF00";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 15 Button (105 B)
on (release) {
_root.col = "0x00FF00";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 16 Button (80 B)
on (release) {
_root.col = "0xFF0000";
}
on (press) {
_root.drawing = false;
}
Symbol 17 Button (80 B)
on (release) {
_root.col = "0x0000FF";
}
on (press) {
_root.drawing = false;
}
Symbol 22 Button (35 B)
on (release) {
_root.db.clear();
}
Symbol 23 Button (105 B)
on (release) {
_root.col = "0x996600";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 24 Button (80 B)
on (release) {
_root.col = "0xFFCC99";
}
on (press) {
_root.drawing = false;
}
Symbol 28 Button (38 B)
on (press) {
_root.drawing = false;
}
Instance of Symbol 29 MovieClip "slider" in Symbol 30 MovieClip Frame 1 (202 B)
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.startDrag(false, -70, -8.3, 70, -8.3);
_root.drawing = false;
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Symbol 36 Button (134 B)
on (release) {
_root.col = "0xFFFFFF";
_root.cursor.gotoAndStop(2);
_root.mode = "eraser";
}
on (press) {
_root.drawing = false;
}
Symbol 37 Button (105 B)
on (release) {
_root.col = "0xFF0000";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 38 Button (105 B)
on (release) {
_root.col = "0x0000FF";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 39 Button (105 B)
on (release) {
_root.col = "0xFF00FF";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Symbol 40 Button (105 B)
on (release) {
_root.col = "0xFFCC99";
_root.mode = "noerase";
}
on (press) {
_root.drawing = false;
}
Instance of Symbol 30 MovieClip "slide" in Symbol 41 MovieClip Frame 1 (47 B)
onClipEvent (load) {
this.swapDepths(99997);
}