Frame 1
Count = 1;
loop = 0;
Frame 2
loadedBytes = _root.getBytesLoaded();
totalBytes = _root.getBytesTotal();
if (loadedBytes < totalBytes) {
percentageOutput = int((loadedBytes / totalBytes) * 100);
gotoAndPlay (1);
} else {
gotoAndPlay (10);
}
Frame 10
_root.Active = true;
setProperty("_root.etchy.savedialog", _visible , "0");
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.about", _visible , "0");
setProperty("_root.etchy.help", _visible , "0");
setProperty("_root.etchy.loaddialog", _visible , "0");
stop();
Frame 11
_root.Active = true;
setProperty("_root.etchy.savedialog", _visible , "0");
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.about", _visible , "0");
setProperty("_root.etchy.help", _visible , "0");
setProperty("_root.etchy.loaddialog", _visible , "0");
stop();
Instance of Symbol 87 MovieClip "controlmov" in Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(40) && (_root.Active == true)) {
if (_root.etchy.drawing.dot._y < 129) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.Count, _root.Count);
_root.etchy.drawing.dot._y = _root.etchy.drawing.dot._y + 1;
_root.Count++;
_root.etchy.rightknob._rotation = _root.etchy.rightknob._rotation - 6;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.Active == true)) {
if (-200 < _root.etchy.drawing.dot._x) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.Count, _root.Count);
_root.etchy.drawing.dot._x = _root.etchy.drawing.dot._x - 1;
_root.Count++;
_root.etchy.leftknob._rotation = _root.etchy.leftknob._rotation - 6;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_root.Active == true)) {
if (_root.etchy.drawing.dot._x < 204) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.Count, _root.Count);
_root.etchy.drawing.dot._x = _root.etchy.drawing.dot._x + 1;
_root.Count++;
_root.etchy.leftknob._rotation = _root.etchy.leftknob._rotation + 6;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_root.Active == true)) {
if (-139 < _root.etchy.drawing.dot._y) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.Count, _root.Count);
_root.etchy.drawing.dot._y = _root.etchy.drawing.dot._y - 1;
_root.Count++;
_root.etchy.rightknob._rotation = _root.etchy.rightknob._rotation + 6;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) && (_root.Active == true)) {
_root.Active = false;
setProperty("_root.etchy.savedialog", _visible , "1");
_root.etchy.savedialog.etofriend = false;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(69) && (_root.Active == true)) {
_root.Active = false;
setProperty("_root.etchy.savedialog", _visible , "1");
_root.etchy.savedialog.etofriend = "yes";
}
}
onClipEvent (enterFrame) {
if (Key.isDown(85) && (_root.Active == true)) {
removeMovieClip(_root.etchy.drawing["dot" + _root.Count]);
_root.Count = _root.Count - 1;
_root.etchy.drawing.dot._x = _root.etchy.drawing["dot" + _root.Count]._x;
_root.etchy.drawing.dot._y = _root.etchy.drawing["dot" + _root.Count]._y;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(67) && (_root.Active == true)) {
do {
removeMovieClip(_root.etchy.drawing["dot" + _root.number]);
_root.Count = _root.Count - 1;
} while (-1 < _root.Count);
_root.Count = 0;
_root.oldx = _root.etchy.drawing.dot._x;
_root.oldy = _root.etchy.drawing.dot._y;
_root.gotoAndPlay("shake");
}
}
Frame 30
if ((loop = 20)) {
loop = 0;
gotoAndStop (11);
} else {
loop = loop + 1;
gotoAndPlay (20);
}
Symbol 11 Button
on (release) {
_root.gotoAndPlay("start");
}
Symbol 19 Button
on (release) {
setProperty("_root.etchy.savedialog", _visible , "0");
_root.controlmov._visible = 1;
_root.Active = true;
}
Symbol 35 Button
on (release) {
total_number = _root.Count;
sendnumber = 1;
do {
this["posx" + sendnumber] = _root.etchy.drawing["dot" + sendnumber]._x;
this["posy" + sendnumber] = _root.etchy.drawing["dot" + sendnumber]._y;
sendnumber++;
} while (total_number >= sendnumber);
getURL ("/submit.php", "_self", "POST");
setProperty("_root.etchy.savedialog", _visible , "0");
_root.controlmov._visible = 1;
title = "";
comments = "";
etofriend = "";
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 38 Button
on (release) {
setProperty("_root.etchy.drawing", _visible , "1");
setProperty("_root.etchy.help", _visible , "0");
_root.Active = true;
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 42 Button
on (release) {
setProperty("_root.etchy.drawing", _visible , "1");
setProperty("_root.etchy.about", _visible , "0");
_root.Active = true;
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 45 Button
on (release) {
setProperty("_root.etchy.drawing", _visible , "1");
setProperty("_root.etchy.menu", _visible , "0");
_root.Active = true;
}
Symbol 49 Button
on (release, keyPress "u") {
removeMovieClip(_root.etchy.drawing["dot" + _root.number]);
_root.number = _root.number - 1;
_root.etchy.drawing.dot._x = _root.etchy.drawing["dot" + _root.number]._x;
_root.etchy.drawing.dot._y = _root.etchy.drawing["dot" + _root.number]._y;
setProperty(_root.etchy.menu, _visible , 0);
}
Symbol 53 Button
on (release, keyPress "c") {
setProperty(_root.etchy.menu, _visible , 0);
do {
removeMovieClip(_root.etchy.drawing["dot" + _root.number]);
_root.number = _root.number - 1;
} while (-1 < _root.number);
_root.number = 0;
_root.oldx = _root.etchy.drawing.dot._x;
_root.oldy = _root.etchy.drawing.dot._y;
_root.gotoAndPlay("shake");
}
Symbol 57 Button
on (release, keyPress "s") {
setProperty("_root.etchy.savedialog", _visible , "1");
setProperty("_root.etchy.menu", _visible , "0");
_root.controlmov._visible = 0;
}
Symbol 61 Button
on (release, keyPress "e") {
setProperty("_root.etchy.savedialog", _visible , "1");
setProperty("_root.etchy.menu", _visible , "0");
_root.etchy.savedialog.etofriend = "yes";
_root.controlmov._visible = 0;
}
Symbol 63 Button
on (release) {
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.drawing", _visible , "0");
setProperty("_root.etchy.help", _visible , "1");
}
Symbol 65 Button
on (release) {
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.drawing", _visible , "0");
setProperty("_root.etchy.about", _visible , "1");
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 74 Button
on (release) {
_root.Active = false;
setProperty("_root.etchy.menu", _visible , "1");
setProperty("_root.start", _visible , "0");
setProperty("_root.etchy.about", _visible , "0");
setProperty("_root.etchy.help", _visible , "0");
setProperty("_root.etchy.loaddialog", _visible , "0");
setProperty("_root.etchy.savedialog", _visible , "0");
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 1
if (_root.oldx) {
_root.etchy.drawing.dot._x = _root.oldx;
_root.etchy.drawing.dot._y = _root.oldy;
}
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
stop();