Frame 1
stop();
_quality = "LOW";
System.security.allowDomain("juicyfruit.com");
Frame 3
intro_sound = new Sound();
intro_sound.attachSound("sound_intro");
intro_sound.start(0, 999);
_global.gameOver = false;
Frame 52
stop();
Frame 75
stop();
Frame 85
gotoAndPlay (113);
Frame 113
_quality = "MEDIUM";
Instance of Symbol 141 MovieClip "grassArea" in Frame 113
onClipEvent (load) {
this.swapDepths(5);
}
Frame 115
function setScore(pointsAdded, x, y, depth) {
var _local3 = pointsAdded;
if (!isNaN(_local3)) {
if (isBonusRound) {
_local3 = _local3 * bonusPiecesCaught;
} else if ((playerLife == 100) && (_local3 > 0)) {
_local3 = _local3 * 5;
}
_global.playerScore = _global.playerScore + _local3;
playerScore_string = String(_global.playerScore);
var _local2 = 6 - playerScore_string.length;
var _local1 = 0;
while (_local1 < _local2) {
playerScore_string = "0" + playerScore_string;
_local1++;
}
overlay.scoreMC.score = playerScore_string;
}
new pointsObj(_local3, x, y, depth);
if (_global.playerScore >= ((playerLevel * (playerLevel + 1)) * 500)) {
changeLevel();
}
}
pointsObj = function (points, x, y, depth) {
var _local1 = this;
_local1.clip = overlay.attachMovie("points", "points_" + depth, depth);
_local1.clip._x = x;
_local1.clip._y = y;
_local1.clip.pointsText.points = points;
};
function changeLevel() {
playerLevel++;
overlay.levelBox.animation.theLevel = "LEVEL " + playerLevel;
overlay.levelBox.play();
levelBG.play();
delay = 50 - (playerLevel * 4);
gamePaused = true;
}
function flowerBlink() {
if (flowerHurt) {
hurtFrames++;
flowerColorTransform = new Color("flowerHead");
if ((hurtFrames % 6) == 0) {
flowerColorTransform.setTransform(this.noColor);
} else if ((hurtFrames % 3) == 0) {
flowerColorTransform.setTransform(this.blinkColor);
}
if (hurtFrames == 32) {
flowerHurt = false;
hurtFrames = 0;
}
}
}
function updateLifeBar() {
if (playerLife > 100) {
playerLife = 100;
}
var _local1 = overlay.lifeBar.bar._width;
overlay.lifeBar.bar._x = Math.floor(((_local1 * playerLife) / 100) - _local1);
if (playerLife <= 15) {
overlay.lifeBar.gotoAndStop("low");
} else if (playerLife == 100) {
overlay.lifeBar.gotoAndStop("combo");
} else {
overlay.lifeBar.gotoAndStop("normal");
}
if (playerLife <= 0) {
gamePaused = true;
_global.gameOver = true;
flowerHead.gotoAndStop("eatBad");
overlay.gameOver.play();
levelBG.gotoAndStop("gameOver");
gotoAndPlay ("gameOver");
gameOver_sound.start();
}
}
function callFruit() {
if (isBonusRound) {
delayUp = ((delayCounter++) % bonusDelay) == 0;
if ((bonusCount++) > bonusTime) {
bonusCount = 0;
isBonusRound = false;
delayCounter = 0;
bonusPiecesCaught = 0;
bgColorTransform.setTransform(noColor);
}
} else {
delayUp = ((delayCounter++) % delay) == 0;
randUp = Math.floor((Math.random() * (delay * 5)) / (playerLevel * 0.25)) == 0;
}
if (delayUp || (randUp)) {
makeNewFruit();
}
}
function makeNewFruit() {
var _local1 = this;
d++;
F = attachMovie("Fruit", "F" + d, 100 + (d * 2));
F.depth = d + 100;
F._x = random(100) + (random(2) * 220);
F.xn = (random(75) + 20) + (random(2) * 220);
F._y = 230;
F.vel = (random(4) + 18) + (playerLevel / 3);
F.accel = 1.5 + (playerLevel / 3);
F.gravity = -2.5 - (playerLevel / 3);
F.checkForHit = true;
pop_sound.start();
if (isBonusRound) {
F.objectType = Math.floor(Math.random() * 2) + 10;
} else if (delayCounter >= gumPowerAt) {
F.objectType = Math.floor(Math.random() * 2) + 8;
delayCounter = 0;
gumPowerAt = gumPowerAt + (gumPowerAt * 0.3);
F.vel = F.vel + 2;
powerUp_sound.start();
} else if (randUp) {
F.objectType = Math.floor(Math.random() * 2) + 6;
F.xn = F._x;
} else {
F.objectType = Math.floor(Math.random() * 5) + 1;
}
F.gotoAndStop(F.objectType);
F.onEnterFrame = function () {
var _local1 = this;
if (!gamePaused) {
_local1.vel = _local1.vel + _local1.accel;
_local1.vel = _local1.vel + _local1.gravity;
_local1._y = _local1._y - _local1.vel;
if (_local1._y < 230) {
_local1._x = _local1._x - ((_local1._x - _local1.xn) * 0.1);
}
if ((_local1.objectType == 6) || (_local1.objectType == 7)) {
if (_local1.checkForHit) {
var hitHead = flowerHead.hitTest(_local1._x, _local1._y, false);
if (hitHead) {
_local1.checkForHit = false;
playerLife = playerLife - (8 + playerLevel);
flowerHurt = true;
flowerState = 2;
flowerHead.gotoAndStop("eatBad");
hit_sound.start();
}
}
} else if (_local1.hitTest(flowerHead.hitBox) && (flowerState == 1)) {
flowerState = 2;
var _local3 = "";
var _local2 = 0;
var addLife = 0;
var playSound;
if ((_local1.objectType == 8) || (_local1.objectType == 9)) {
_local3 = "eatGood";
_local2 = "BONUS";
addLife = 30;
bgColorTransform.setTransform(bonusColor);
isBonusRound = true;
playSound = bonus_sound;
} else if ((_local1.objectType == 10) || (_local1.objectType == 11)) {
_local3 = "eatGood";
_local2 = 25;
bonusPiecesCaught++;
playSound = points_sound;
} else {
_local3 = "eatGood";
_local2 = 50;
addLife = 10;
playSound = points_sound;
}
setScore(_local2, _local1._x, _local1._y, _local1.depth);
flowerHead.gotoAndStop(_local3);
playerLife = playerLife + addLife;
playSound.start();
removeMovieClip(_local1);
}
_local1.timer++;
if ((_local1._y > 230) && (_local1.Timer >= 25)) {
if (_local1.objectType < 6) {
playerLife = playerLife - (10 + playerLevel);
flowerHurt = true;
hit_sound.start();
}
var plopClip = attachMovie("dirtpop", "fruitHit" + F.depth, F.depth + 1);
plopClip._x = _local1._x;
plopClip._y = 238;
removeMovieClip(_local1);
}
}
};
}
function DrawLine(TAR, COL, WID) {
var _local1 = TAR;
var _local2 = this;
_local2[_local1].clear();
_local2[_local1].lineStyle(WID, COL, 100);
_local2[_local1].moveTo(Ground.x, Ground.y + 3);
_local2[_local1].curveTo(A3.x, A3.y, B3.x, B3.y);
_local2[_local1].curveTo(A2.x, A2.y, B2.x, B2.y);
_local2[_local1].curveTo(A1.x, A1.y, B1.x, B1.y);
_local2[_local1].lineStyle(WID - 1, COL, 100);
_local2[_local1].curveTo(A0.x, A0.y, B0.x, B0.y);
_local2[_local1].lineTo(Head.x, Head.y);
}
function drawFlower() {
flowerHead._x = head.x;
flowerHead._y = head.y;
((!gameOver) ? ((flowerHead._rotation = 90 + Angl)) : ((flowerHead._rotation = 0)));
}
function flower() {
var _local3 = this;
biteDist = 210;
mousePoint = {x:_xmouse - ground.x, y:_ymouse - ground.y};
mouseDist = Math.sqrt((mousePoint.x * mousePoint.x) + (mousePoint.y * mousePoint.y));
lengthDiff = biteDist / mouseDist;
biteAimingPoint = {x:(mousePoint.x * lengthDiff) + ground.x, y:ground.y + (mousePoint.y * lengthDiff)};
if (flowerState == 1) {
aimingPoint = biteAimingPoint;
if (counter < biteDist) {
counter = counter + 25;
} else {
flowerState = 2;
flowerHead.gotoAndStop("eatMiss");
}
} else {
if (counter > 0) {
counter = counter - 25;
} else {
flowerState = 0;
counter = 0;
}
aimingPoint = {x:_xmouse, y:_ymouse};
}
CIRC = 25 + counter;
if (CIRC < 20) {
}
Perim.height = CIRC * 2;
Perim.width = CIRC * 2;
if (_ymouse < Ground.y) {
Follow.x = aimingPoint.x;
Follow.y = aimingPoint.y;
}
X = Follow.x - Ground.x;
Y = Follow.y - Ground.y;
DIST = Math.sqrt((X * X) + (Y * Y));
Angl = (Math.atan2(Y, X) * 180) / 3.141593;
Angle = Angle - ((Angle - Angl) * 0.2);
Guide.x = Ground.x + (CIRC * Math.cos(angle * 0.017453));
Guide.y = Ground.y + (CIRC * Math.sin(angle * 0.017453));
if (DIST < CIRC) {
Head.xn = Follow.x;
Head.yn = Follow.y;
Seg = (CIRC * 1.2) / 3;
A1.anos = ((random(10 + ((CIRC - DIST) * 1.5)) + Angle) - 180) - ((10 + ((CIRC - DIST) * 1.5)) / 2);
} else {
Head.xn = Guide.x;
Head.yn = Guide.y;
Seg = (CIRC * 1.2) / 3;
A1.anos = ((random(40) + Angle) - 180) - 20;
}
Head.x = Head.x - ((Head.x - Head.xn) * m);
Head.y = Head.y - ((Head.y - Head.yn) * m);
hitBox._x = Head.x;
hitBox._y = Head.y;
if (random(100) == 0) {
POS = true;
}
if (random(150) == 0) {
POS = false;
}
if (POS) {
OS = OS + ((random(10) + 5) / 28);
} else {
OS = OS - ((random(10) + 5) / 28);
}
OS2 = OS2 + ((random(25) + 5) / 8);
A1.angle = ((Math.sin(OS / 40) * 30) + Angle) + 180;
G1.angle = ((Math.sin(OS2 / 50) * 20) + Angle) + 180;
A1.x = Head.x + (Seg * Math.cos(A1.angle * 0.017453));
A1.y = Head.y + (Seg * Math.sin(A1.angle * 0.017453));
G1.x = A1.x + ((Seg / 1) * Math.cos(G1.angle * 0.017453));
G1.y = A1.y + ((Seg / 1) * Math.sin(G1.angle * 0.017453));
G2.x = Ground.x + ((Seg / 1) * Math.cos((G1.angle - 180) * 0.017453));
G2.y = Ground.y + ((Seg / 1) * Math.sin((G1.angle - 180) * 0.017453));
if (A1.y > (Ground.y - 8)) {
A1.y = Ground.y - 8;
}
A2.x = G1.x + ((G2.x - G1.x) / 3);
A2.y = G1.y + ((G2.y - G1.y) / 3);
if (A2.y > (Ground.y - 15)) {
A2.y = Ground.y - 15;
}
A0.x = Head.x;
A0.y = Head.y + 12;
A3.x = Ground.x;
A3.y = Ground.y - 10;
B0.x = Head.x + ((A0.x - Head.x) / 2);
B0.y = Head.y + ((A0.y - Head.y) / 2);
B1.x = A0.x + ((A1.x - A0.x) / 2);
B1.y = A0.y + ((A1.y - A0.y) / 2);
B2.x = A1.x + ((A2.x - A1.x) / 2);
B2.y = A1.y + ((A2.y - A1.y) / 2);
B3.x = A2.x + ((A3.x - A2.x) / 2);
B3.y = A2.y + ((A3.y - A2.y) / 2);
_local3.Draw1.clear();
_local3.createEmptyMovieClip("Draw1", 1);
_local3.createEmptyMovieClip("Draw2", 2);
_local3.createEmptyMovieClip("Draw3", 3);
DrawLine("Draw1", 0, 6);
DrawLine("Draw2", 1154572, 4);
DrawLine("Draw3", 7779850, 1);
drawFlower();
}
function randomizeBG() {
var _local3 = Math.floor(Math.random() * 500);
switch (_local3) {
case 100 :
bgAnimations.bee.play();
return;
case 200 :
bgAnimations.grasshopper.play();
return;
case 300 :
bgAnimations.ladybug.play();
return;
case 400 :
bgAnimations.birds.play();
return;
case 450 :
var _local1 = Math.floor(Math.random() * 250) + 25;
var _local2 = bgAnimations.attachMovie("worm", "worm_" + _local1, _local1);
_local2._x = _local1;
_local2._y = 238;
}
}
Ground = {x:160, y:230};
Follow = {};
Perim = {};
CIRC = 25;
A0 = {};
A1 = {};
A2 = {};
A3 = {};
B0 = {};
B1 = {};
B2 = {};
B3 = {};
G1 = {};
G2 = {};
G3 = {};
Head = {};
Guide = {};
flowerState = 0;
flowerHurt = false;
mouseDist = 0;
counter = 0;
hurtFrames = 0;
_global.playerScore = 0;
playerLevel = 1;
playerLife = 85;
lifeCounter = 0;
gumPowerAt = 625;
delayCounter = 0;
delay = 50;
bonusDelay = 10;
isBonusRound = false;
bonusCount = 0;
bonusTime = 300;
bonusPiecesCaught = 0;
gameStart = false;
gamePaused = false;
overlay.swapDepths(10);
flowerHead.swapDepths(9);
bgAnimations.swapDepths(8);
bgColorTransform = new Color(levelBG);
noColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
blinkColor = {ra:"50", rb:"128", ga:"50", gb:"0", ba:"50", bb:"0", aa:"100", ab:"0"};
bonusColor = {ra:"20", rb:"204", ga:"20", gb:"204", ba:"20", bb:"0", aa:"100", ab:"0"};
StartPercent = 75;
var m = 0.3;
intro_sound.stop();
game_sound = new Sound();
game_sound.attachSound("sound_game");
game_sound.start(0, 999);
points_sound = new Sound();
points_sound.attachSound("sound_points");
hit_sound = new Sound();
hit_sound.attachSound("sound_slurp");
bonus_sound = new Sound();
bonus_sound.attachSound("sound_bonus");
pop_sound = new Sound();
pop_sound.attachSound("sound_pop");
powerUp_sound = new Sound();
powerUP_sound.attachSound("sound_powerUp");
gameOver_sound = new Sound();
gameOver_sound.attachSound("sound_gameOver");
overlay.levelBox.animation.theLevel = "READY?!";
overlay.levelBox.play();
this.onEnterFrame = function () {
if (!gamePaused) {
if (gameStart) {
callFruit();
randomizeBG();
updateLifeBar();
flowerBlink();
}
flower();
}
};
this.onMouseUp = function () {
if (flowerState == 0) {
flowerState = 1;
}
};
this.onMouseMove = function () {
if (!bite) {
OS = OS + 3;
OS2 = OS2 + 2;
}
};
Frame 118
stop();
Frame 147
function serverTimeout() {
trace("serverTimeout");
clearInterval(_global.serverWaitInterval);
_global.serverPresent = false;
createDefaultHighScoreList();
server_mc._visible = false;
highScoreList.play();
}
function createDefaultHighScoreList() {
this.defaultHighScore_array = [{score:100000, initials:"AAA"}, {score:90000, initials:"BBB"}, {score:80000, initials:"CCC"}, {score:70000, initials:"DDD"}, {score:60000, initials:"EEE"}, {score:50000, initials:"FFF"}, {score:40000, initials:"GGG"}, {score:30000, initials:"HHH"}, {score:20000, initials:"AAA"}, {score:10000, initials:"BBB"}];
_global.highScore_array = this.defaultHighScore_array;
}
function checkForHighScore() {
var _local1 = _global;
server_mc.gameID = _local1.gameID;
server_mc.score = _local1.playerScore;
server_mc.onData = function () {
var _local1 = _global;
if (this.result == "success") {
_local1.isHighScore = true;
server_mc._visible = false;
initialsBox.play();
clearInterval(_local1.serverWaitInterval);
} else {
_local1.isHighScore = false;
clearInterval(_local1.serverWaitInterval);
getHighScores();
}
};
server_mc.loadVariables(sitePath + "checkScore.php", "POST");
_local1.serverWaitInterval = setInterval(serverTimeout, _local1.serverTimeoutSec);
}
function getHighScores() {
trace("getHighScores");
server_mc.gameID = _global.gameID;
server_mc.onData = function () {
if (this.result == "success") {
var playerID_str = new String(this.players);
var playerInitials_str = new String(this.initials);
var playerScores_str = new String(this.scores);
var playerID_array = playerID_str.split(":");
var playerInitials_array = playerInitials_str.split(":");
var playerScore_array = playerScores_str.split(":");
var _local1 = 1;
while (_local1 <= playerID_array.length) {
_global.highScore_array[_local1 - 1] = {initials:playerInitials_array[_local1 - 1], score:playerScore_array[_local1 - 1]};
_local1++;
}
server_mc._visible = false;
highScoreList.play();
clearInterval(_global.serverWaitInterval);
} else {
createDefaultHighScoreList();
clearInterval(_global.serverWaitInterval);
}
};
server_mc.loadVariables(sitePath + "getScores.php", "POST");
_global.serverWaitInterval = setInterval(serverTimeout, _global.serverTimeoutSec);
}
_global.gameID = 2;
_global.highScore_array = [];
sitePath = "";
_global.isHighScore = false;
_global.playerInitials = "";
_global.serverTimeoutSec = 4000;
_global.serverPresent = true;
_global.submitHighScore = function () {
var _local1 = _global;
server_mc.gameID = _local1.gameID;
server_mc.initials = _local1.playerInitials;
server_mc.score = _local1.playerScore;
server_mc.onData = function () {
if (this.result == "success") {
getHighScores();
initialsBox.play();
}
};
server_mc.loadVariables(sitePath + "putScore.php", "POST");
};
stop();
for (var c in this) {
if (typeof(this[c]) == "movieclip") {
removeMovieClip(this[c]);
}
}
server_mc._visible = true;
if (_global.gameOver == true) {
checkForHighScore();
} else {
getHighScores();
}
_global.scoreForCode = 15000;
if (_global.playerScore >= _global.scoreForCode) {
receiveCode_mc.gotoAndPlay("show");
}
Frame 154
game_sound.stop();
intro_sound.stop();
gotoAndPlay ("intro");
Symbol 10 MovieClip [worm] Frame 51
stop();
removeMovieClip(this);
Symbol 14 MovieClip Frame 1
totalK = Math.round(_root.getBytesTotal() / 1024);
this.onEnterFrame = function () {
loadedK = Math.round(_root.getBytesLoaded() / 1024);
percent = loadedK / totalK;
loadedString = (((loadedK + "k") + " / ") + totalK) + "k";
bar._xscale = percent * 100;
if (percent == 1) {
_parent.play();
}
};
Symbol 26 MovieClip Frame 21
stop();
Symbol 34 Button
on (release) {
gotoAndStop ("highScore");
}
Symbol 38 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 42 Button
on (release) {
gotoAndPlay (113);
}
Symbol 54 Button
on (release) {
_parent.play();
}
Symbol 61 Button
on (press) {
instructionsClip._y = Math.min(instructionsClip._y + 20, 0);
}
Symbol 62 Button
on (press) {
instructionsClip._y = Math.max(instructionsClip._y - 20, -180);
}
Symbol 71 MovieClip [dirtpop] Frame 11
removeMovieClip(this);
Symbol 75 MovieClip [points] Frame 31
stop();
removeMovieClip(this);
Symbol 88 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 9
stop();
Symbol 124 MovieClip Frame 21
stop();
Symbol 124 MovieClip Frame 33
stop();
Symbol 124 MovieClip Frame 45
stop();
Symbol 124 MovieClip Frame 57
stop();
Symbol 124 MovieClip Frame 67
stop();
Symbol 124 MovieClip Frame 77
stop();
Symbol 124 MovieClip Frame 89
stop();
Symbol 124 MovieClip Frame 101
stop();
Symbol 124 MovieClip Frame 113
stop();
Symbol 124 MovieClip Frame 125
stop();
Symbol 124 MovieClip Frame 137
stop();
Symbol 124 MovieClip Frame 149
stop();
Symbol 124 MovieClip Frame 161
stop();
Symbol 124 MovieClip Frame 173
stop();
Symbol 124 MovieClip Frame 185
stop();
Symbol 124 MovieClip Frame 197
gotoAndStop (1);
Symbol 134 MovieClip Frame 19
_parent.gotoAndStop("idle");
Symbol 137 MovieClip Frame 23
if (_global.gameOver) {
stop();
}
Symbol 137 MovieClip Frame 25
_parent.gotoAndPlay("idle");
Symbol 138 MovieClip Frame 8
_parent.gotoAndStop("idle");
Symbol 139 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 40
_root.gamePaused = false;
_root.gameStart = true;
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 10
gotoAndPlay (2);
Symbol 184 MovieClip Frame 1
this._visible = false;
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 15
function restart() {
clearInterval(restartInterval);
_parent.play();
}
function addHighScore() {
var i;
i = 0;
while (i < 2) {
var _local3 = attachMovie("highscoreObject", "score_" + highScoreNum, 10 + highScoreNum);
var score = _global.highScore_array[highScoreNum].score;
var _local1 = String(score);
var _local2;
var addZeroes = (6 - _local1.length);
_local2 = 0;
while (_local2 < addZeroes) {
_local1 = "0" + _local1;
_local2++;
}
_local3.score = _local1;
_local3.initials = highScore_array[highScoreNum].initials;
_local3._x = startingPoint.x + (i * 155);
_local3._y = startingPoint.y + (Math.floor(highScoreNum / 2) * 30);
highScoreNum++;
i++;
}
if (highScoreNum == 10) {
clearInterval(highScoreInterval);
}
}
stop();
highScoreNum = 0;
startingPoint = {x:12, y:40};
restartInterval = setInterval(restart, 8000);
highScoreInterval = setInterval(addHighScore, 250);
Symbol 200 MovieClip Frame 1
underscore._visible = false;
Symbol 202 MovieClip Frame 1
stop();
currentInitial = 1;
key.addListener(this);
this.onKeyUp = function () {
var _local1 = this;
if ((Key.getCode() >= 65) && (Key.getCode() <= 90)) {
_local1["initial" + currentInitial].character = String.fromCharCode(Key.getAscii()).toUpperCase();
_local1["initial" + currentInitial].underscore._visible = false;
_global.playerInitials = _global.playerInitials + _local1["initial" + currentInitial].character;
if (currentInitial < 3) {
currentInitial++;
_local1["initial" + currentInitial].underscore._visible = true;
_local1["initial" + currentInitial].character = "";
} else {
key.removeListener(_local1);
play();
}
}
};
Symbol 202 MovieClip Frame 9
stop();
_global.submitHighScore();
Symbol 203 MovieClip Frame 1
stop();
initialBox.initial1.character = "";
initialBox.initial1.underscore._visible = true;
Symbol 203 MovieClip Frame 15
stop();
initialBox.initial1.character = "";
initialBox.initial1.underscore._visible = true;
Symbol 203 MovieClip Frame 31
stop();
Symbol 218 Button
on (release) {
_quality = "MEDIUM";
gotoAndPlay ("hide");
}
Symbol 223 Button
on (release) {
getURL ("javascript:gotoCodeSection();");
}
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 12
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
play();
Symbol 232 MovieClip Frame 7
stop();
_quality = "HIGH";
var codeVars = new LoadVars();
codeVars.id = 2;
codeVars.onLoad = function (success) {
if (success) {
var _local1 = new String(codeVars.code);
code_txt.text = _local1.toUpperCase();
} else {
trace("error loading code data");
}
};
codeVars.sendAndLoad("../getCode.php", codeVars, "POST");
Symbol 232 MovieClip Frame 12
gotoAndStop (1);