Frame 1
number = 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
setProperty("_root.etchy.savedialog", _visible , "0");
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.about", _visible , "0");
setProperty("_root.etchy.help", _visible , "0");
stop();
Instance of Symbol 19 MovieClip "controlmov" in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
if (_root.etchy.drawing.dot._y < 129) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._y = _root.etchy.drawing.dot._y + 1;
_root.number++;
_root.etchy.rightknob._rotation = _root.etchy.rightknob._rotation - 6;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
if (-200 < _root.etchy.drawing.dot._x) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._x = _root.etchy.drawing.dot._x - 1;
_root.number++;
_root.etchy.leftknob._rotation = _root.etchy.leftknob._rotation - 6;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
if (_root.etchy.drawing.dot._x < 204) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._x = _root.etchy.drawing.dot._x + 1;
_root.number++;
_root.etchy.leftknob._rotation = _root.etchy.leftknob._rotation + 6;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
if (-139 < _root.etchy.drawing.dot._y) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._y = _root.etchy.drawing.dot._y - 1;
_root.number++;
_root.etchy.rightknob._rotation = _root.etchy.rightknob._rotation + 6;
}
}
}
Frame 11
setProperty("_root.etchy.savedialog", _visible , "0");
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.about", _visible , "0");
setProperty("_root.etchy.help", _visible , "0");
stop();
Frame 30
if ((loop = 20)) {
loop = 0;
gotoAndStop (11);
} else {
loop = loop + 1;
gotoAndPlay (20);
}
Symbol 15 Button
on (release) {
setProperty("_root.start", _visible , false);
}
Symbol 18 Button
on (keyPress "<Left>") {
if (-200 < _root.etchy.drawing.dot._x) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._x = _root.etchy.drawing.dot._x - 1;
_root.number++;
_root.etchy.leftknob._rotation = _root.etchy.leftknob._rotation - 6;
}
}
on (keyPress "<Right>") {
if (_root.etchy.drawing.dot._x < 204) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._x = _root.etchy.drawing.dot._x + 1;
_root.number++;
_root.etchy.leftknob._rotation = _root.etchy.leftknob._rotation + 6;
}
}
on (keyPress "<Up>") {
if (-139 < _root.etchy.drawing.dot._y) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._y = _root.etchy.drawing.dot._y - 1;
_root.number++;
_root.etchy.rightknob._rotation = _root.etchy.rightknob._rotation + 6;
}
}
on (keyPress "<Down>") {
if (_root.etchy.drawing.dot._y < 129) {
_root.etchy.drawing.dot.duplicateMovieClip("dot" + _root.number, _root.number);
_root.etchy.drawing.dot._y = _root.etchy.drawing.dot._y + 1;
_root.number++;
_root.etchy.rightknob._rotation = _root.etchy.rightknob._rotation - 6;
}
}
on (keyPress "s") {
setProperty("_root.etchy.savedialog", _visible , "1");
}
on (keyPress "S") {
setProperty("_root.etchy.savedialog", _visible , "1");
}
on (keyPress "e") {
setProperty("_root.etchy.savedialog", _visible , "1");
_root.etchy.savedialog.etofriend = "yes";
}
on (keyPress "E") {
setProperty("_root.etchy.savedialog", _visible , "1");
_root.etchy.savedialog.etofriend = "yes";
}
on (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;
}
on (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;
}
on (keyPress "c") {
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");
}
on (keyPress "C") {
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 19 MovieClip Frame 1
stop();
Symbol 26 Button
on (release) {
setProperty("_root.etchy.savedialog", _visible , "0");
_root.controlmov._visible = 1;
}
Symbol 42 Button
on (release) {
total_number = _root.number;
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 ("http://www.hairytongue.com/etchy/send.php3", "_self", "POST");
setProperty("_root.etchy.savedialog", _visible , "0");
_root.controlmov._visible = 1;
title = "";
comments = "";
etofriend = "";
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 46 Button
on (release) {
setProperty("_root.etchy.drawing", _visible , "1");
setProperty("_root.etchy.help", _visible , "0");
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 48 Button
on (release) {
setProperty("_root.etchy.drawing", _visible , "1");
setProperty("_root.etchy.about", _visible , "0");
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 52 Button
on (release) {
setProperty("_root.etchy.menu", _visible , "0");
}
Symbol 56 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 60 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 65 Button
on (release, keyPress "s") {
setProperty("_root.etchy.savedialog", _visible , "1");
setProperty("_root.etchy.menu", _visible , "0");
_root.controlmov._visible = 0;
}
Symbol 69 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 71 Button
on (release) {
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.drawing", _visible , "0");
setProperty("_root.etchy.help", _visible , "1");
}
Symbol 73 Button
on (release) {
setProperty("_root.etchy.menu", _visible , "0");
setProperty("_root.etchy.drawing", _visible , "0");
setProperty("_root.etchy.about", _visible , "1");
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 82 Button
on (release) {
setProperty("_root.etchy.menu", _visible , "1");
setProperty("_root.start", _visible , "0");
setProperty("_root.etchy.about", _visible , "0");
setProperty("_root.etchy.help", _visible , "0");
}
Symbol 83 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
if (_root.oldx) {
_root.etchy.drawing.dot._x = _root.oldx;
_root.etchy.drawing.dot._y = _root.oldy;
}
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
stop();