Frame 1
stop();
Frame 2
gotoAndPlay (3);
Frame 3
landchoice = 1;
vicchoice = 1;
p1choice = 1;
p2choice = 2;
neighborchoice = 3;
enemychoice = 1;
landmass = 0;
ail = 1;
s_menu = new Sound();
s_menu.attachSound("menu");
s_place = new Sound();
s_place.attachSound("place");
s_vic = new Sound();
s_vic.attachSound("vic");
Frame 4
for (name in _root) {
_root[name].removeMovieClip();
}
stop();
Instance of Symbol 90 MovieClip in Frame 4
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
r = _root;
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
r.s_menu.start();
r.rp = true;
r.bp = false;
r.neighbor = 3;
r.enemy = 1;
r.victory = 2;
r.landmass = 0;
r.ail = 3;
r.gotoAndStop(6);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of ? in Frame 4
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
r = _root;
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
r.s_menu.start();
r.gotoAndStop(5);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of ? in Frame 4
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
r = _root;
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
r.s_menu.start();
_xscale = 70;
_yscale = 70;
getURL ("mailto:cableshaft@omnipen.net?Subject=Proximity%20Feedback%20-%20Newgrounds.com");
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Frame 5
stop();
Instance of Symbol 152 MovieClip "neighbors" in Frame 5
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
choice = _root.neighborchoice;
gotoAndStop(choice);
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
_xscale = 70;
_yscale = 70;
choice++;
if (choice > 3) {
choice = 1;
}
gotoAndStop(choice);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of Symbol 152 MovieClip "enemys" in Frame 5
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
choice = _root.enemychoice;
gotoAndStop(choice);
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
_xscale = 70;
_yscale = 70;
choice++;
if (choice > 3) {
choice = 1;
}
gotoAndStop(choice);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of Symbol 164 MovieClip "red" in Frame 5
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
choice = _root.p1choice;
gotoAndStop(choice);
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
_xscale = 70;
_yscale = 70;
choice++;
if (choice > 4) {
choice = 1;
}
gotoAndStop(choice);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of Symbol 164 MovieClip "blue" in Frame 5
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
choice = _root.p2choice;
gotoAndStop(choice);
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
_xscale = 70;
_yscale = 70;
choice++;
if (choice > 4) {
choice = 1;
}
gotoAndStop(choice);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of Symbol 167 MovieClip in Frame 5
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
choice = 1;
r = _root;
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
r.landchoice = r.lands.choice;
r.vicchoice = r.victories.choice;
r.p1choice = r.red.choice;
r.p2choice = r.blue.choice;
r.neighborchoice = r.neighbors.choice;
r.enemychoice = r.enemys.choice;
if (r.red.choice == 1) {
r.rp = true;
} else {
r.ail = r.red.choice - 1;
r.rp = false;
}
if (r.blue.choice == 1) {
r.bp = true;
} else {
r.ail = r.blue.choice - 1;
r.bp = false;
}
if (r.neighbors.choice == 1) {
r.neighbor = 0;
} else if (r.neighbors.choice == 2) {
r.neighbor = -1;
} else {
r.neighbor = 1;
}
if (r.enemys.choice == 1) {
r.enemy = 0;
} else if (r.enemys.choice == 2) {
r.enemy = -1;
} else {
r.enemy = 1;
}
r.victory = r.victories.choice;
trace("choice" + r.lands.choice);
r.landmass = r.lands.values[r.lands.choice];
trace("land" + r.landmass);
r.gotoAndStop(6);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of Symbol 172 MovieClip "victories" in Frame 5
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
choice = _root.vicchoice;
gotoAndStop(choice);
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
_xscale = 70;
_yscale = 70;
choice++;
if (choice > 2) {
choice = 1;
}
gotoAndStop(choice);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of Symbol 182 MovieClip "lands" in Frame 5
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
choice = _root.landchoice;
gotoAndStop(choice);
values = [0, 0, 0.4, 0.7];
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
_xscale = 70;
_yscale = 70;
choice++;
if (choice > 3) {
choice = 1;
}
gotoAndStop(choice);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Frame 6
for (name in _root) {
_root[name].removeMovieClip();
}
nextFrame();
Frame 7
stop();
Instance of Symbol 185 MovieClip "code" in Frame 7
onClipEvent (load) {
function newTile(p) {
path = this["card" + p];
len = path.length;
cVal = int(Math.random() * len);
returnVal = path[cVal];
path.splice(cVal, 1);
return(returnVal);
}
function checkSwap(x, y) {
var _local1 = y;
var _local2 = x;
path = r.board[(("hex" + _local1) + "_") + _local2];
path2 = r.board[(("hex" + (_local1 - 1)) + "_") + _local2];
compareTiles(path2, path);
path2 = r.board[(("hex" + (_local1 + 1)) + "_") + _local2];
compareTiles(path2, path);
path2 = r.board[(("hex" + _local1) + "_") + (_local2 + 1)];
compareTiles(path2, path);
path2 = r.board[(("hex" + _local1) + "_") + (_local2 - 1)];
compareTiles(path2, path);
if ((_local1 % 2) == 0) {
path2 = r.board[(("hex" + (_local1 - 1)) + "_") + (_local2 - 1)];
compareTiles(path2, path);
path2 = r.board[(("hex" + (_local1 + 1)) + "_") + (_local2 - 1)];
compareTiles(path2, path);
} else {
path2 = r.board[(("hex" + (_local1 - 1)) + "_") + (_local2 + 1)];
compareTiles(path2, path);
path2 = r.board[(("hex" + (_local1 + 1)) + "_") + (_local2 + 1)];
compareTiles(path2, path);
}
}
function checkWin() {
leftTiles--;
if (leftTiles <= 0) {
winner._x = 410;
winner._y = 270;
stillplaying = false;
if (r.victory == 1) {
if (red == blue) {
if (redTile == blueTile) {
winner.winsText.gotoAndStop(4);
} else if (redTile > blueTile) {
winner.winsText.gotoAndStop(2);
} else {
winner.winsText.gotoAndStop(3);
}
} else if (red > blue) {
winner.winsText.gotoAndStop(2);
} else {
winner.winsText.gotoAndStop(3);
}
} else if (redTile == blueTile) {
if (red == blue) {
winner.winsText.gotoAndStop(4);
} else if (red > blue) {
winner.winsText.gotoAndStop(2);
} else {
winner.winsText.gotoAndStop(3);
}
} else if (redTile > blueTile) {
winner.winsText.gotoAndStop(2);
} else {
winner.winsText.gotoAndStop(3);
}
r.s_vic.start();
}
}
function compareTiles(t1, tm) {
var _local1 = t1;
var _local2 = tm;
if (_local1.taken > -1) {
if (_local1.frame != _local2.frame) {
if (_local1.strength < _local2.strength) {
_local1.gotoAndStop(_local2.frame);
_local1.frame = _local2.frame;
_local1.strength = _local1.strength + enemy;
if (_local1.strength < 1) {
_local1.strength = 1;
}
if (_local1.strength > 20) {
_local1.strength = 20;
}
_local1.num.gotoAndStop(_local1.strength);
return(true);
}
} else {
_local1.strength = _local1.strength + neighbor;
if (_local1.strength < 1) {
_local1.strength = 1;
}
if (_local1.strength > 20) {
_local1.strength = 20;
}
_local1.num.gotoAndStop(_local1.strength);
}
}
return(false);
}
function countTTiles() {
red = 0;
blue = 0;
redTile = 0;
blueTile = 0;
a = 0;
while (a < totRow) {
b = 0;
while (b < totCol) {
path = r.board[(("hex" + b) + "_") + a];
if (path.frame == 2) {
red = red + path.strength;
redTile++;
}
if (path.frame == 3) {
blue = blue + path.strength;
blueTile++;
}
b++;
}
a++;
}
r.redArmy.setNumber(red);
r.redTerritory.setNumber(redTile);
r.blueArmy.setNumber(blue);
r.blueTerritory.setNumber(blueTile);
}
function cpuCheck(y, x) {
var _local1 = y;
var _local2 = x;
nS = 0;
path = r.board[(("hex" + _local1) + "_") + _local2];
path2 = r.board[(("hex" + (_local1 - 1)) + "_") + _local2];
nS = nS + getScore(path2, path);
path2 = r.board[(("hex" + (_local1 + 1)) + "_") + _local2];
nS = nS + getScore(path2, path);
path2 = r.board[(("hex" + _local1) + "_") + (_local2 + 1)];
nS = nS + getScore(path2, path);
path2 = r.board[(("hex" + _local1) + "_") + (_local2 - 1)];
nS = nS + getScore(path2, path);
if ((_local1 % 2) == 0) {
path2 = r.board[(("hex" + (_local1 - 1)) + "_") + (_local2 - 1)];
nS = nS + getScore(path2, path);
path2 = r.board[(("hex" + (_local1 + 1)) + "_") + (_local2 - 1)];
nS = nS + getScore(path2, path);
} else {
path2 = r.board[(("hex" + (_local1 - 1)) + "_") + (_local2 + 1)];
nS = nS + getScore(path2, path);
path2 = r.board[(("hex" + (_local1 + 1)) + "_") + (_local2 + 1)];
nS = nS + getScore(path2, path);
}
return(nS);
}
function cpuTurn() {
topScore = 0;
topB = 0;
topA = 0;
possibleB = new Array();
possibleA = new Array();
goodB = new Array();
goodA = new Array();
goodScore = new Array();
a = 0;
while (a < totRow) {
b = 0;
while (b < totCol) {
path = r.board[(("hex" + b) + "_") + a];
if (path.taken == -1) {
possibleB.push(b);
possibleA.push(a);
score = cpuCheck(b, a);
if (score > topScore) {
topB = b;
topA = a;
if (score > 2) {
goodB.push(b);
goodA.push(a);
goodScore.push(score);
}
topScore = score;
}
}
b++;
}
a++;
}
if (topScore > 0) {
if (ailevel == 3) {
placeCPUTile(topB, topA);
} else if (ailevel == 2) {
if (goodScore.length > 0) {
decentScore = 0;
goOne = 0;
goTwo = 0;
a = 0;
while (a < goodScore.length) {
if (goodScore[a] > decentScore) {
goTwo = goOne;
goOne = a;
decentScore = goodScore[a];
}
a++;
}
placeCPUTile(goodB[goTwo], goodA[goTwo]);
} else {
placeCPUTile(topB, topA);
}
} else if (goodScore.length > 0) {
goFor = int(Math.random() * goodScore.length);
placeCPUTile(goodB[goFor], goodA[goFor]);
} else {
len = possibleB.length;
rnd = int(Math.random() * len);
placeCPUTile(possibleB[rnd], possibleA[rnd]);
}
} else {
len = possibleB.length;
rnd = int(Math.random() * len);
placeCPUTile(possibleB[rnd], possibleA[rnd]);
}
}
function getMC() {
x = r._xmouse;
y = r._ymouse;
col = Math.floor((y - startY) / hexHeight) + 1;
if ((col % 2) == 0) {
row = Math.floor(((x - startX) + 10) / hexWidth) + 1;
} else {
row = Math.floor(((x - startX) - 15) / hexWidth) + 1;
}
return(r.board[(("hex" + col) + "_") + row]);
}
function getHex(r, c) {
return(r.board[(("hex" + c) + "_") + r]);
}
function getScore(t1, tm) {
var _local1 = t1;
if (_local1.taken > -1) {
if (cp.frame != _local1.frame) {
if (_local1.strength < cp.currentTile) {
mod = _local1.strength + enemy;
return(mod);
}
return(0);
}
return(neighbor);
}
return(0);
}
function placeCPUTile(b, a) {
r.s_place.start();
path = r.board[(("hex" + b) + "_") + a];
path.gotoAndStop(cp.frame);
path.num.gotoAndStop(cp.currentTile);
path.taken = true;
path.occupied = cp.player;
path.strength = cp.currentTile;
path.frame = cp.frame;
checkSwap(a, b);
countTTiles();
checkWin();
cp.currentTile = newTile(cp.player);
switchTurn(cp.nextTurn);
}
function placeTile() {
if (cp.playing) {
path = getMC();
if (path.taken == -1) {
r.s_place.start();
path.gotoAndStop(cp.frame);
path.num.gotoAndStop(cp.currentTile);
path.taken = true;
path.occupied = cp.player;
path.strength = cp.currentTile;
path.frame = cp.frame;
checkSwap(row, col);
countTTiles();
checkWin();
cp.currentTile = newTile(cp.player);
switchTurn(cp.nextTurn);
}
}
}
function switchTurn(player) {
trace(this["card" + player]);
cp = this["p" + player];
r.current.gotoAndStop(cp.frame);
r.current.num.gotoAndStop(cp.currentTile);
if (!cp.playing) {
countdown = int(Math.random() * 20) + 10;
r.thinking._alpha = 100;
cursor._alpha = 0;
} else {
r.thinking._alpha = 0;
}
}
r = _root;
r.createEmptyMovieClip("board", 1000);
offset = 2;
off = 0;
startX = 140;
startY = 110;
hexWidth = 50;
hexHeight = 37.5;
totRow = 12;
totCol = 10;
totTiles = totRow * totCol;
enemy = r.enemy;
neighbor = r.neighbor;
ailevel = r.ail;
stillplaying = true;
card1 = new Array();
card2 = new Array();
p1 = new Object();
p1.frame = 2;
p1.playing = r.rp;
p1.nextTurn = 2;
p1.player = 1;
p2 = new Object();
p2.frame = 3;
p2.playing = r.bp;
p2.nextTurn = 1;
p2.player = 2;
leftTiles = 0;
id = 0;
a = 0;
while (a < totRow) {
b = 0;
while (b < totCol) {
if (Math.random() > r.landmass) {
r.board.attachMovie("hex", (("hex" + b) + "_") + a, id);
path = r.board[(("hex" + b) + "_") + a];
path._x = (startX + (a * hexWidth)) + (25 * (b % 2));
path._y = startY + (b * hexHeight);
path.taken = -1;
leftTiles++;
} else {
path = r.board[(("hex" + b) + "_") + a];
path.taken = 1;
}
id++;
b++;
}
a++;
}
trace(ailevel);
b = leftTiles / 2;
a = 0;
while (a < b) {
card = Math.ceil(Math.random() * 20);
card1.push(card);
card2.push(card);
a++;
}
p1.currentTile = newTile(1);
p2.currentTile = newTile(2);
cursor = r.board.attachMovie("hex", "cursor", id);
cursor.gotoAndStop(4);
id++;
winner = r.board.attachMovie("victory", "awinnerisjoo", id);
winner._x = -500;
winner._y = 200;
switchTurn(1);
countTTiles();
}
onClipEvent (enterFrame) {
path = getMC();
if (((path.taken == -1) && (cp.playing)) && (stillplaying)) {
cursor._x = path._x;
cursor._y = path._y;
cursor._alpha = 100;
} else {
cursor._alpha = 0;
}
if ((countdown > 0) && (stillplaying)) {
countdown--;
} else if (countdown == 0) {
countdown = -1;
cpuTurn();
}
}
Instance of Symbol 185 MovieClip in Frame 7
on (release) {
_root.code.placeTile();
}
Instance of Symbol 215 MovieClip "bluearmy" in Frame 7
onClipEvent (load) {
function setNumber(num) {
var _local1 = num;
hun._alpha = 100;
ten._alpha = 100;
one._alpha = 100;
_x = baseX;
if (_local1 < 100) {
hun._alpha = 0;
_x = (_x - 18);
}
if (_local1 < 10) {
ten._alpha = 0;
_x = (_x - 18);
}
ones = _local1 % 10;
one.gotoAndStop(ones + 1);
_local1 = int(_local1 / 10);
tens = _local1 % 10;
ten.gotoAndStop(tens + 1);
_local1 = int(_local1 / 10);
huns = _local1 % 10;
hun.gotoAndStop(huns + 1);
cnumber = _local1;
}
baseX = _x;
setNumber(0);
}
Instance of Symbol 215 MovieClip "blueterritory" in Frame 7
onClipEvent (load) {
function setNumber(num) {
var _local1 = num;
hun._alpha = 100;
ten._alpha = 100;
one._alpha = 100;
_x = baseX;
if (_local1 < 100) {
hun._alpha = 0;
_x = (_x - 18);
}
if (_local1 < 10) {
ten._alpha = 0;
_x = (_x - 18);
}
ones = _local1 % 10;
one.gotoAndStop(ones + 1);
_local1 = int(_local1 / 10);
tens = _local1 % 10;
ten.gotoAndStop(tens + 1);
_local1 = int(_local1 / 10);
huns = _local1 % 10;
hun.gotoAndStop(huns + 1);
cnumber = _local1;
}
baseX = _x;
setNumber(0);
}
Instance of Symbol 237 MovieClip "redarmy" in Frame 7
onClipEvent (load) {
function setNumber(num) {
var _local1 = num;
hun._alpha = 100;
ten._alpha = 100;
one._alpha = 100;
_x = baseX;
if (_local1 < 100) {
hun._alpha = 0;
_x = (_x - 18);
}
if (_local1 < 10) {
ten._alpha = 0;
_x = (_x - 18);
}
ones = _local1 % 10;
one.gotoAndStop(ones + 1);
_local1 = int(_local1 / 10);
tens = _local1 % 10;
ten.gotoAndStop(tens + 1);
_local1 = int(_local1 / 10);
huns = _local1 % 10;
hun.gotoAndStop(huns + 1);
cnumber = _local1;
}
baseX = _x;
setNumber(0);
}
Instance of Symbol 237 MovieClip "redterritory" in Frame 7
onClipEvent (load) {
function setNumber(num) {
var _local1 = num;
hun._alpha = 100;
ten._alpha = 100;
one._alpha = 100;
_x = baseX;
if (_local1 < 100) {
hun._alpha = 0;
_x = (_x - 18);
}
if (_local1 < 10) {
ten._alpha = 0;
_x = (_x - 18);
}
ones = _local1 % 10;
one.gotoAndStop(ones + 1);
_local1 = int(_local1 / 10);
tens = _local1 % 10;
ten.gotoAndStop(tens + 1);
_local1 = int(_local1 / 10);
huns = _local1 % 10;
hun.gotoAndStop(huns + 1);
cnumber = _local1;
}
baseX = _x;
setNumber(0);
}
Symbol 82 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 83 MovieClip Frame 1
stop();
Instance of Symbol 77 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
redbar._xscale = 0;
strawberry = false;
}
onClipEvent (enterFrame) {
b_loaded = _root.getBytesLoaded();
b_total = _root.getBytesTotal();
kb_total = Math.ceil(b_total / 1024);
percent = Math.round((b_loaded / b_total) * 100);
redbar._xscale = percent;
if (percent >= 100) {
_parent.gotoAndStop("loaded");
}
}
Symbol 264 MovieClip Frame 1
myURL = "kuclan.org";
if (_root._url.indexOf(myURL) != -1) {
_root.gotoAndStop(1);
}
Symbol 13 MovieClip Frame 1
stop();
Instance of Symbol 16 MovieClip in Symbol 19 MovieClip [victory] Frame 1
onClipEvent (load) {
expand = 1;
sine = false;
amount = 5;
r = _root;
}
on (rollOver) {
sine = true;
}
on (rollOut) {
sine = false;
_xscale = 100;
_yscale = 100;
}
on (release) {
_root.s_menu.start();
r.gotoAndStop(6);
}
on (release) {
if (sine) {
if (expand == 1) {
_xscale = (_xscale + amount);
_yscale = (_yscale + amount);
if (_xscale > 110) {
expand = -1;
}
} else {
_xscale = (_xscale - amount);
_yscale = (_yscale - amount);
if (_xscale < 90) {
expand = 1;
}
}
}
}
Instance of Symbol 18 MovieClip in Symbol 19 MovieClip [victory] Frame 1
onClipEvent (load) {
game_name = "proximity";
}
on (release) {
score = _level0.code.red;
if (score != 0) {
getURL ("newscore.php", "_self", "POST");
}
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 69 MovieClip [hex] Frame 1
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 1
stop();