Frame 1
Set("/:time0", getTimer());
Set("/:loaded0", _root.getBytesLoaded());
Set("/:total", _root.getBytesTotal());
Instance of Symbol 85 MovieClip in Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Frame 2
Set("/:iteration", Number(/:iteration) + 1);
Frame 3
Set("/:time1", getTimer());
Set("/:loaded1", _root.getBytesLoaded());
Set("/:loaded2", int(Number(/:loaded1) / 1000));
Set("/:timesum", Number(/:time1) - Number(/:time0));
Set("/:loadsum", Number(/:loaded1) - Number(/:loaded0));
Set("/:avtimesum", Number(/:timesum) / Number(/:iteration));
Set("/:avloadsum", Number(/:loadsum) / Number(/:iteration));
Set("/:connectionspeed", int((Number(/:avloadsum) / Number(/:avtimesum)) * 10) / 10);
Set("/:percent", int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100));
setProperty("_root.loadbar", _yscale , Number(/:percent));
Set("/:timeleft", int(((Number(/:total) - Number(/:loaded1)) / Number(/:connectionspeed)) / 100) / 10);
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.gotoAndStop("site");
setProperty("_root.success", _alpha , "100");
} else {
gotoAndPlay (2);
}
Frame 74
ifFrameLoaded (178) {
gotoAndPlay (80);
}
Frame 75
gotoAndPlay (1);
Frame 80
stop();
Frame 178
gotoAndPlay (87);
Frame 179
function validate(address) {
if (address.length >= 7) {
if (0 < address.indexOf("@")) {
if ((address.indexOf("@") + 2) < address.lastIndexOf(".")) {
if (address.lastIndexOf(".") < (address.length - 2)) {
return(true);
}
}
}
}
return(false);
}
function formcheck() {
if (((email == null) || (email.length < 1)) || (email == "ERROR! Address not valid")) {
email = "ERROR! Address not valid";
action = "";
}
if (!validate(email)) {
email = "ERROR! Address not valid";
action = "";
}
if (fname == null) {
fname = "ERROR! Name required";
action = "";
}
if (((validate(email) && (email != "ERROR!")) && (fname != "")) && (lname != "")) {
action = "send";
loadVariablesNum (mailform, 0, "POST");
gotoAndPlay (183);
}
}
mailform = "subscribe.php";
confirm = "please wait for confirmation ...";
action = "send";
Selection.setFocus("fname");
stop();
Frame 183
loadVariablesNum (mailform, 2);
answer = confirm;
Instance of Symbol 1076 MovieClip in Frame 186
onClipEvent (mouseUp) {
if (Selection.getFocus() == "_level0.fname") {
_root.fname = "";
}
if (Selection.getFocus() == "_level0.lname") {
_root.lname = "";
}
if (Selection.getFocus() == "_level0.email") {
_root.email = "";
}
}
Frame 188
gotoAndPlay (184);
Symbol 20 Button
on (release) {
gotoAndPlay (179);
}
Symbol 22 Button
on (release) {
getURL ("http://www.blokland.co.uk/index.html");
}
Symbol 78 MovieClip Frame 75
gotoAndPlay (1);
Symbol 116 Button
on (release) {
gotoAndPlay (87);
}
Symbol 120 Button
on (release) {
gotoAndPlay (2);
}
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 184
stop();
Symbol 128 Button
on (release) {
gotoAndPlay (2);
}
Symbol 134 Button
on (release) {
getURL ("http://www.blokland.co.uk/index.html", "_blank");
}
Symbol 135 Button
on (release) {
gotoAndPlay (1);
}
Symbol 138 Button
on (press) {
startDrag ("../gbox");
}
on (release) {
stopDrag();
}
Symbol 140 Button
on (press) {
gotoAndPlay (2);
}
Symbol 142 Button
on (press) {
gotoAndStop (1);
}
Symbol 155 Button
on (press) {
unloadMovieNum (11);
gotoAndStop (5);
}
Symbol 159 Button
on (press) {
gotoAndStop (2);
}
Symbol 161 Button
on (press) {
gotoAndStop (4);
}
Symbol 166 MovieClip Frame 60
gotoAndPlay (21);
Symbol 172 Button
on (press) {
gotoAndStop (3);
}
Symbol 173 Button
on (press) {
gotoAndStop (1);
}
Symbol 177 Button
on (press) {
gotoAndStop (4);
}
Symbol 178 Button
on (press) {
gotoAndStop (2);
}
Symbol 182 Button
on (press) {
gotoAndStop (1);
}
Symbol 183 Button
on (press) {
gotoAndStop (3);
}
Symbol 189 Button
on (press) {
gotoAndStop (1);
}
Symbol 193 MovieClip Frame 1
loadMovieNum ("g1.swf", 11);
stop();
Symbol 193 MovieClip Frame 2
loadMovieNum ("g2.swf", 11);
stop();
Symbol 193 MovieClip Frame 3
loadMovieNum ("g3.swf", 11);
stop();
Symbol 193 MovieClip Frame 4
loadMovieNum ("g4.swf", 11);
stop();
Symbol 193 MovieClip Frame 5
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 30
stop();
Symbol 197 Button
on (release) {
gotoAndPlay (3);
}
Symbol 199 Button
on (release) {
gotoAndPlay (2);
}
Symbol 201 Button
on (release) {
gotoAndPlay (2);
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
stop();
Symbol 206 MovieClip Frame 3
stop();
Symbol 211 Button
on (release) {
gotoAndPlay (7);
}
Symbol 544 Button
on (rollOver) {
gotoAndPlay (57);
}
Symbol 545 Button
on (rollOver) {
gotoAndPlay (42);
}
Symbol 546 Button
on (rollOver) {
gotoAndPlay (31);
}
Symbol 560 MovieClip Frame 14
stop();
Instance of Symbol 85 MovieClip in Symbol 569 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 547 MovieClip in Symbol 569 MovieClip Frame 21
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 548 MovieClip in Symbol 569 MovieClip Frame 23
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 547 MovieClip in Symbol 569 MovieClip Frame 25
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 569 MovieClip Frame 29
gotoAndPlay (1);
Instance of Symbol 551 MovieClip in Symbol 569 MovieClip Frame 31
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 560 MovieClip in Symbol 569 MovieClip Frame 35
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 569 MovieClip Frame 40
gotoAndPlay (1);
Instance of Symbol 85 MovieClip in Symbol 569 MovieClip Frame 42
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 547 MovieClip in Symbol 569 MovieClip Frame 42
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 551 MovieClip in Symbol 569 MovieClip Frame 46
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 567 MovieClip in Symbol 569 MovieClip Frame 48
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 548 MovieClip in Symbol 569 MovieClip Frame 50
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 551 MovieClip in Symbol 569 MovieClip Frame 52
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 567 MovieClip in Symbol 569 MovieClip Frame 54
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 569 MovieClip Frame 56
gotoAndPlay (1);
Instance of Symbol 85 MovieClip in Symbol 569 MovieClip Frame 57
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 547 MovieClip in Symbol 569 MovieClip Frame 57
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 560 MovieClip in Symbol 569 MovieClip Frame 62
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 569 MovieClip Frame 74
gotoAndPlay (1);
Instance of Symbol 85 MovieClip in Symbol 569 MovieClip Frame 74
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 548 MovieClip in Symbol 569 MovieClip Frame 74
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 567 MovieClip in Symbol 569 MovieClip Frame 74
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 551 MovieClip in Symbol 569 MovieClip Frame 74
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 575 Button
on (release) {
gotoAndPlay (6);
}
Symbol 584 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Symbol 588 Button
on (release) {
gotoAndPlay (2);
}
Symbol 590 Button
on (release) {
gotoAndStop (1);
}
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 95
gotoAndPlay (2);
Symbol 608 Button
on (release) {
gotoAndPlay (2);
}
Symbol 620 MovieClip Frame 1
stop();
Symbol 620 MovieClip Frame 26
stop();
Symbol 621 Button
on (release) {
gotoAndPlay (2);
}
Symbol 655 MovieClip Frame 26
stop();
Symbol 657 MovieClip Frame 26
stop();
Symbol 659 MovieClip Frame 14
stop();
Symbol 662 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 100
stop();
Symbol 682 Button
on (release) {
gotoAndPlay (2);
}
Symbol 684 Button
on (release) {
gotoAndStop (1);
}
Symbol 718 MovieClip Frame 1
stop();
Instance of Symbol 687 MovieClip in Symbol 718 MovieClip Frame 5
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 687 MovieClip in Symbol 718 MovieClip Frame 15
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 687 MovieClip in Symbol 718 MovieClip Frame 26
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 718 MovieClip Frame 88
gotoAndPlay (2);
Symbol 729 Button
on (release) {
gotoAndPlay (5);
}
Symbol 736 Button
on (release) {
gotoAndPlay (1);
}
Symbol 1020 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 216 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 221 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 223 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 225 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 227 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 229 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 231 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 235 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 237 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 239 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 241 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 243 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 244 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 246 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 248 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 250 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 252 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 254 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 256 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 258 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 260 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 268 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 270 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 272 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 274 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 276 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 278 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 280 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 282 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 284 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 310 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 312 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 314 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 316 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 326 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 328 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 331 MovieClip "square" in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (load) {
function drawGrid(param) {
i = 1;
while (16 >= i) {
removeMovieClip(_root.grid["hLine" add i]);
removeMovieClip(_root.grid["vLine" add i]);
i++;
}
if (_root.selected == "normal") {
i = 1;
while (Math.round(400 / param) >= i) {
duplicateMovieClip ("_root.grid.hLine", "hline" add i, i);
duplicateMovieClip ("_root.grid.vLine", "vline" add i, i + 100);
_root.grid["hLine" add i]._y = param * i;
_root.grid["vLine" add i]._x = param * i;
i++;
}
_root.gridSpacing = param;
}
if (_root.selected == "rand") {
gridX[0] = 0;
gridY[0] = 0;
i = 1;
while (i < param) {
gridX[i] = random(400);
gridY[i] = random(400);
duplicateMovieClip ("_root.grid.hLine", "hline" add i, i);
duplicateMovieClip ("_root.grid.vLine", "vline" add i, i + 100);
_root.grid["vLine" add i]._x = gridX[i];
_root.grid["hLine" add i]._y = gridY[i];
i++;
}
_root.numLines = param;
}
}
dragging = 0;
gridX = new Array();
gridY = new Array();
diffX = new Array();
diffY = new Array();
_root.selected = "normal";
drawGrid(25);
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 333 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 335 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 338 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 340 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 354 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 358 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 360 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 362 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 379 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 385 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 403 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 426 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 442 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 459 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 461 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 463 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 465 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 467 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 469 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 471 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 473 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 475 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 477 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 479 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 483 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 492 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 494 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 496 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 498 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 500 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 502 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 504 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 509 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 511 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 513 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 515 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 517 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 519 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 521 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 523 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 525 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 527 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 529 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 531 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 533 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 1038 MovieClip Frame 5
stop();
Symbol 1038 MovieClip Frame 6
stop();
Instance of Symbol 607 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 620 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 662 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 664 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 665 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 667 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 680 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 718 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 720 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 722 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 724 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 726 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 728 MovieClip in Symbol 1038 MovieClip Frame 6
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 738 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 740 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 742 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 746 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 753 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 760 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 766 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 768 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 770 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 777 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 782 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 795 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 798 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 804 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 806 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 809 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 811 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 813 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 815 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 817 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 819 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 821 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 925 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 942 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 951 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 958 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 961 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 963 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 986 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 992 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 1016 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Instance of Symbol 1018 MovieClip in Symbol 1038 MovieClip Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag (this);
dragging = 1;
}
}
onClipEvent (mouseUp) {
if (dragging) {
stopDrag();
X = this._x;
Y = this._y;
if (_root.selected == "normal") {
this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing;
this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing;
}
if (_root.selected == "rand") {
smallestX = 1000;
smallestY = 1000;
i = 0;
while (i < _root.numLines) {
difX = Math.round(Math.abs(gridX[i] - X));
difY = Math.round(Math.abs(gridY[i] - Y));
diffX[difX] = i;
diffY[difY] = i;
smallestX = Math.min(smallestX, difX);
smallestY = Math.min(smallestY, difY);
i++;
}
this._x = gridX[diffX[smallestX]];
this._y = gridY[diffY[smallestY]];
}
dragging = 0;
}
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Symbol 1038 MovieClip Frame 12
stop();
Symbol 1043 Button
on (release) {
getURL ("http://www.blokland.co.uk/index.html", "_blank");
}
Symbol 1051 Button
on (release) {
formcheck();
}
Symbol 1056 Button
on (release) {
loadVariablesNum ("recommend.php", 0, "POST");
gotoAndPlay (165);
}
Symbol 1070 MovieClip Frame 1
stop();
Symbol 1070 MovieClip Frame 166
stop();
Symbol 1073 Button
on (release) {
gotoAndPlay (87);
}
Symbol 1076 MovieClip Frame 1
stop();