[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (20.36 KiB) ● ● ●
function clockIs(ticking) {
if (ticking) {
clock.start();
} else {
clearInterval(si);
}
}
function SendVars(cmdName, objFunction, strFunction) {
if (!processing) {
processing = true;
friendlyMessage = "";
cleanUpVars("Result", "Round", "BoxesToOpen", "Amount");
_level0.resetKicker();
vars.dond = cmdName;
vars.onLoad = objFunction;
vars.sendAndLoad(tUrl, vars, "POST");
}
}
function cleanUpVars() {
var _local2 = arguments;
var _local1 = 0;
while (_local1 < _local2.length) {
if (vars[_local2[_local1]] != null) {
delete vars[_local2[_local1]];
}
_local1++;
}
}
function moneyFormat(a) {
var _local1 = a.toString();
var dot = _local1.indexOf(".");
var cents = "";
if (dot > -1) {
cents = _local1.substring(dot + 1, _local1.length);
if (cents.length == 1) {
cents = cents + "0";
}
_local1 = _local1.substring(0, dot) + ",";
}
var _local3 = new Array();
var j = 0;
var _local2 = _local1.length;
while (_local2 > 0) {
_local3[j] = _local1.substring(_local2 - 3, _local2);
_local2 = _local2 - 3;
j++;
}
_local1 = "";
_local2 = _local3.length - 1;
while (_local2 >= 0) {
_local1 = _local1 + _local3[_local2];
if (_local2 > 0) {
_local1 = _local1 + ",";
}
_local2--;
}
if (_local1 == ",") {
_local1 = "0";
}
return(_local1 + cents);
}
function disableBoxes() {
var _local2 = _root;
var _local1 = 0;
while (_local1 <= totalBoxes) {
_local2["box" + _local1].enabled = false;
_local1++;
}
boxesDisabled = true;
}
function enableBoxes() {
var _local2 = _root;
var _local1 = 0;
while (_local1 <= totalBoxes) {
_local2["box" + _local1].enabled = true;
_local1++;
}
boxesDisabled = false;
}
function alert(msg) {
processing = false;
var _local1 = vars.Result.toLowerCase();
switch (_local1) {
case "broken session" :
friendlyMessage = friendlyMessage + "Verbinding verbroken";
return(null);
case "wrong status" :
friendlyMessage = friendlyMessage + "Er is iets misgegaan";
return(null);
case "wrong pin code or validation server unreachable" :
friendlyMessage = "Verkeerde code, controleer je code en voer hem nogmaals in";
return(null);
}
tmpMsg = tmpMsg + (((msg + ": ") + unescape(vars)) + "\n\n");
friendlyMessage = tmpMsg;
return(undefined);
}
function restartGame() {
playAgain();
}
function createVarsObject() {
calls = calls + "createVarsObject\n";
serverCalls = "";
vars = new LoadVars();
vars.Round = 1;
vars.Username = _level0.vars.Username;
vars.SessionID = _level0.vars.SessionID;
vars.SessionPassword = _level0.vars.SessionPassword;
tUrl = _level0.tUrl;
vars.ResponseType = "pair";
vars.cmd = "firstgeneration";
processing = false;
}
function showrandoms() {
var _local1 = 0;
while (_local1 < rands.length) {
_local1++;
}
}
function shuffle() {
rands = new Array(totalBoxes);
populateRands(1);
}
function populateRands(i) {
var _local1 = i;
if (_local1 < amnts.length) {
var _local2 = Math.floor(Math.random() * totalBoxes) + 1;
if (rands[_local2] == null) {
rands[_local2] = _local1;
_local1++;
_local1++;
populateRands(_local1);
return(null);
}
populateRands(_local1);
}
return(undefined);
}
function setRands(minNr, maxNr, maxNrs) {
var _local1 = new Array();
var j = 0;
var randMax;
var _local3;
var rnds = new Array();
var _local2 = minNr;
while (_local2 <= maxNr) {
_local1[j++] = _local2;
_local2++;
}
_local2 = 0;
while (_local2 < maxNrs) {
randMax = _local1.length;
_local3 = Math.floor(Math.random() * randMax);
rnds.push(_local1[_local3]);
_local1.splice(_local3, 1);
_local2++;
}
return(rnds);
}
function init() {
var _local1 = _root;
XML.prototype.ignoreWhite = true;
System.useCodepage = true;
debugMessage = "";
dealMade = false;
finalAmount = "";
fAmount = "";
fr = new Array("preliminaries", "load anim", "game start", "round start", "deal or no deal");
amnts = new Array("0", ".01", "1", "5", "10", "25", "50", "75", "100", "200", "300", "400", "500", "750", "1,000", "5,000", "10,000", "25,000", "50,000", "75,000", "100,000", "200,000", "300,000", "400,000", "500,000", "750,000", "1,000,000");
amntsReal = new Array(0, 0.01, 1, 5, 10, 25, 50, 75, 100, 200, 300, 400, 500, 750, 1000, 5000, 10000, 25000, 50000, 75000, 100000, 200000, 300000, 400000, 500000, 750000, 1000000);
ratios = new Array(0.05, 0.15, 0.25, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9);
sumPercentages = new Array(5, 7, 9, 13, 17, 20, 25, 33, 50, 50, 50, 50);
variablePercentages = new Array(6, 11, 16, 21, 26, 31, 41, 51, 61, 71, 81, 91);
currentBoxes = 26;
totalBoxes = 26;
tFullName = level0.tFullName;
user = tFullName.substring(0, tFullName.indexOf(" "));
user = user.charAt(0).toUpperCase() + user.substring(1, user.length).toLowercase();
nrOfBoxesToRemove = 6;
boxesRemoved = 0;
roundNr = 0;
soundSet = false;
categoriesAreStored = false;
shuffle();
oldTab = "";
tScore = "day";
clock = new Sound(_local1);
clock.attachSound("clock");
doorSlide = new Sound(_local1);
doorSlide.attachSound("doorSlide");
machineSlide = new Sound(_local1);
machineSlide.attachSound("machineSlide");
boxRowPang = new Sound(_local1);
boxRowPang.attachSound("boxRowPang");
myBoxWoosh = new Sound(_local1);
myBoxWoosh.attachSound("myBoxWoosh");
boxSelectCling = new Sound(_local1);
boxSelectCling.attachSound("boxSelectCling");
boxSelectCling.setVolume(20);
amountSelectClick = new Sound(_local1);
amountSelectClick.attachSound("amountSelectClick");
sndWrong = new Sound(_local1);
sndWrong.attachSound("wrong");
sndRight = new Sound(_local1);
sndRight.attachSound("right");
mxml = new XML();
mxml.load("lines.xml");
mxml.onLoad = readXML;
}
function readXML() {
var _local2 = _root;
base = this.childNodes[0].childNodes;
var _local1 = 0;
while (_local1 < base.length) {
if (base[_local1].attributes.value != "HTML") {
_local2[base[_local1].attributes.id] = unescape(base[_local1].attributes.value);
} else {
_local2[base[_local1].attributes.id] = base[_local1].childNodes.toString();
}
_local1++;
}
gotoRUReady();
_local2.logoMC.gotoAndStop(language);
}
function gotoRUReady() {
gotoAndStop ("r u ready");
startGameButton.enabled = true;
startGameButton.onPress = startGame;
}
function startGame() {
_root.setupBoxes();
}
function setupBoxes() {
var _local2 = this;
var _local1 = _root;
var _loc2 = _local2;
processing = false;
gotoAndStop ("game start");
amountHolder = _local1.ahLeft.ah;
v1 = 1;
j = 0;
while (v1 <= totalBoxes) {
if (v1 > 13) {
amountHolder = _local1.ahRight.ah;
}
v3 = amountHolder["amount" + ((j % 13) + 1)];
v3.amount = euro + amnts[v1];
v3.amountNr = v1 - 1;
v3.removed = false;
v3.gotoAndStop(1);
v2 = _local1["box" + v1];
v2._visible = false;
v2.enabled = false;
v2.gotoAndStop(v1 + 1);
v2.boxNr = v1;
v2.onPress = function () {
openSuitcase(this);
};
v1++;
j++;
}
doorSlide.start();
ahLeft.gotoAndPlay(2);
ahRight.gotoAndPlay(2);
bxNr = 0;
boxesInRow = 6;
si = setInterval(showBoxRow, 300);
}
function showBoxRow() {
var _local3 = _root;
var _local2;
if (bxNr < 22) {
boxRowPang.start();
var _local1 = 1;
while (_local1 <= boxesInRow) {
_local2 = _local3["box" + (_local1 + bxNr)];
_local2._visible = true;
_local1++;
}
bxNr = bxNr + boxesInRow;
boxesInRow = 5;
return(null);
}
clearInterval(si);
enableBoxes();
return(undefined);
}
function openSuitcase(suitcase) {
var _local1 = suitcase;
disableBoxes();
globalSuitcase = _local1;
vars.Box = _local1.boxNr - 1;
trace(roundNr);
if (roundNr == 0) {
_root.openSuitcase2(_local1);
return(null);
}
if ((roundNr == 1) && (!soundSet)) {
myBoxWoosh.onSoundComplete = function () {
amountSelectClick.start();
};
soundSet = true;
}
_root.openSuitcase2(_local1);
return(undefined);
}
function openSuitcase2(suitcase) {
amountSelectClick.start();
var amount;
var amountNr;
var _local1;
var _local2;
processing = false;
myBoxWoosh.start();
if (roundNr == 0) {
roundNumber = "";
roundNr++;
gotoAndStop ("round start");
box0.gotoAndStop((globalSuitcase.boxNr - 1) + 2);
box0.boxNr = suitcase.boxNr;
globalSuitcase._visible = false;
animateOwnBox(globalSuitcase.boxNr);
return(null);
}
_local2 = rands[suitcase.boxNr];
_local1 = ((_local2 <= 13) ? (_root.ahLeft.ah["amount" + _local2]) : (_root.ahRight.ah["amount" + (_local2 - 13)]));
if ((++boxesRemoved) < nrOfBoxesToRemove) {
globalSuitcase._visible = false;
_local1.gotoAndPlay(2);
_local1.removed = true;
explainRound(false);
return(null);
}
if (boxesRemoved == nrOfBoxesToRemove) {
globalSuitcase._visible = false;
_local1.gotoAndPlay(2);
_local1.removed = true;
si = setInterval(gotoDealOrNoDeal, 1000);
if (nrOfBoxesToRemove != 1) {
nrOfBoxesToRemoveNextRound = nrOfBoxesToRemove - 1;
}
if (nrOfBoxesToRemoveNextRound == 1) {
casesString = "case";
return(null);
}
casesString = "cases";
}
return(undefined);
}
function gotoDealOrNoDeal() {
clearInterval(si);
fadeBoxes(true);
updateUser(false);
gotoAndStop ("deal or no deal");
machineSlide.start();
si = setInterval(checkSum, 4000, true);
}
function dealOrNoDealEnd(boxNr) {
myAmountNr = rands[box0.boxNr];
trace((("box0: " + box0.boxNr) + " - myAmountNr: ") + MyAmountNr);
if (!dealMade) {
fAmount = amntsReal[myAmountNr];
trace("fAmount: " + fAmount);
}
var _local1 = ((myAmountNr <= 13) ? (_root.ahLeft.ah["amount" + myAmountNr]) : (_root.ahRight.ah["amount" + (myAmountNr - 13)]));
_local1.gotoAndPlay(2);
_local1.removed = true;
updateUser();
}
function updateUser(inbetween) {
if (inbetween) {
updateMain = line05;
return(null);
}
currentBoxes = currentBoxes - boxesRemoved;
boxesIn = currentBoxes;
boxesOut = totalBoxes - currentBoxes;
finalAmount = euro + moneyFormat(fAmount);
if (roundNr < 10) {
if (!dealMade) {
updateMain = ((((((((line06_A + boxesOut) + line06_B) + boxesIn) + line06_C) + line06_D) + nrOfBoxesToRemoveNextRound) + line06_E) + casesString) + line06_F;
} else {
updateMain = (((((line07_A + boxesOut) + line07_B) + boxesIn) + line07_C) + finalAmount) + line07_D;
}
return(null);
}
if (roundNr == 10) {
if (!dealMade) {
updateMain = line08;
box0._x = 360;
box0._y = 450;
box0.onRelease = function () {
_root.dealOrNoDealEnd(this.boxNr);
};
} else {
updateMain = (line09_A + finalAmount) + line09_B;
box0._x = 360;
box0._y = 480;
box0.onRelease = function () {
_root.dealOrNoDealEnd(this.boxNr);
};
}
myBoxWoosh.start();
boxMessage = "";
box0._yscale = 200;
box0._xscale = 200;
box0.enabled = true;
roundNr++;
return(null);
}
if (roundNr == 11) {
var _local2 = line19;
var _local1 = line04;
if (vars.Rank > 0) {
if (_level0.isGuestLogin) {
_local2 = line23_B;
} else {
_local2 = line23_A + vars.Rank;
}
_local1 = line20;
}
trace(_local1);
if (!dealMade) {
updateMain = (((((_local1 + line24_A) + moneyFormat(fAmount)) + line24_B) + moneyFormat(fAmount)) + line24_C) + _local2;
} else {
updateMain = ((((((_local1 + line24_A) + moneyFormat(amntsReal[myAmountNr])) + line24_D) + finalAmount) + line24_B) + moneyFormat(fAmount)) + line24_C;
trace(line24_C);
}
playAgainButton._visible = true;
playAgainButton.onRelease = playAgain;
box0._visible = false;
roundNr++;
}
return(undefined);
}
function explainRound(timed) {
nrOfBoxesLeftToRemove = nrOfBoxesToRemove - boxesRemoved;
if (timed) {
clearInterval(si);
}
roundNumber = (roundText + " ") + roundNr;
if (nrOfBoxesLeftToRemove != 1) {
roundMessage = (line13_A + nrOfBoxesLeftToRemove) + line13_B;
} else {
roundMessage = line14;
}
enableBoxes();
}
function fadeBoxes(out) {
var _local3 = (out ? 80 : 100);
var v3 = (out ? 80 : 0);
var _local2;
var _local1 = 1;
while (_local1 <= totalBoxes) {
_local2 = _root["box" + _local1];
_local2._alpha = _local3;
_local2.fade._alpha = v3;
_local1++;
}
}
function dealAccepted() {
clockIs(false);
fAmount = dealAmount;
trace("fAmount: " + fAmount);
_root.deal();
}
function nodeal() {
if ((!dealMade) && (roundNr < 10)) {
updateUser(true);
si = setInterval(backToGame, 2500, true);
} else {
backToGame();
}
processing = false;
}
function continueGameAfterDeal() {
gotoAndStop ("deal or no deal");
backToGame();
}
function backToGame(timed) {
if (timed) {
clearInterval(si);
}
boxesRemoved = 0;
roundNr++;
if (nrOfBoxesToRemove != 1) {
nrOfBoxesToRemove--;
}
if (roundNr < 10) {
fadeBoxes(false);
explainRound(false);
gotoAndStop ("round start");
enableBoxes();
} else {
dealMachine._visible = false;
updateUser(false);
}
}
function deal() {
processing = false;
fadeBoxes(true);
updateMain = ((((line15_A + euro) + moneyFormat(fAmount)) + line15_B) + moneyFormat(fAmount)) + line15_C;
gotoAndStop ("deal");
dealMade = true;
continueAfterDealButton.onRelease = continueGameAfterDeal;
continueAfterDealButton.enabled = true;
}
function dealDeclined() {
clockIs(false);
_root.nodeal();
}
function checkSum(timed) {
var _loc3 = _root;
globalTimed = timed;
var _local3 = 0;
var _local2 = 0;
trace((("box0.boxNr: " + box0.boxNr) + " -> ") + amntsReal[rands[box0.boxNr]]);
var _local1 = 1;
while (_local1 <= totalBoxes) {
amount = ((rands[_local1] <= 13) ? (_loc3.ahLeft.ah["amount" + rands[_local1]]) : (_loc3.ahRight.ah["amount" + (rands[_local1] - 13)]));
if (!amount.removed) {
if (amntsReal[rands[_local1]] < 100000) {
_local3 = _local3 + amntsReal[rands[_local1]];
} else {
_local2 = _local2 + amntsReal[rands[_local1]];
}
}
_local1++;
}
_local3 = (_local3 * sumPercentages[roundNr]) / 100;
_local2 = (_local2 * sumPercentages[roundNr]) / 100;
_local2 = (_local2 * variablePercentages[roundNr]) / 100;
trace(sumPercentages[roundNr]);
trace(variablePercentages[roundNr]);
var sum = Math.round(_local3 + _local2);
trace(sum);
_loc3.checkSum2(sum);
}
function checkSum2(sum) {
processing = false;
dealAmount = sum;
dealMachine.dealAmount = euro + moneyFormat(dealAmount);
boxSelectCling.start(4.7);
if (globalTimed) {
clearInterval(si);
if (roundNr < 10) {
if (!dealMade) {
dealMachine.gotoAndStop("deal");
} else {
dealMachine.gotoAndStop("play on");
}
}
globalTimed = false;
}
}
function animateOwnBox(boxNr) {
var _local1 = _root;
var _local2 = boxNr;
endX = _local1.box0._x;
endY = _local1.box0._y;
endXscale = _local1.box0._xscale;
endYscale = _local1.box0._yscale;
endRotation = _local1.box0._rotation;
startX = _local1["box" + _local2]._x;
startY = _local1["box" + _local2]._y;
startXscale = _local1["box" + _local2]._xscale;
startYscale = _local1["box" + _local2]._yscale;
startRotation = _local1["box" + _local2]._rotation;
xDiff = startX - endX;
yDiff = startY - endY;
xScaleDiff = endXscale - startXscale;
yScaleDiff = endYscale - startYscale;
rotDiff = endRotation - startRotation;
nrOfSteps = 10;
animStep = 10;
xStep = xDiff / animStep;
yStep = yDiff / animStep;
xScaleStep = xScaleDiff / animStep;
yScaleStep = yScaleDiff / animStep;
rotStep = rotDiff / animStep;
_local1.box0._x = startX;
_local1.box0._y = startY;
_local1.box0._xscale = startXscale;
_local1.box0._yscale = startYscale;
_local1.box0._rotation = startRotation;
si = setInterval(animateOwnBox2, 10);
}
function animateOwnBox2() {
var _local1 = _root;
if ((nrOfSteps--) > 0) {
_local1.box0._x = _local1.box0._x - xStep;
_local1.box0._y = _local1.box0._y - yStep;
_local1.box0._xscale = _local1.box0._xscale + xScaleStep;
_local1.box0._yscale = _local1.box0._yscale + yScaleStep;
_local1.box0._rotation = _local1.box0._rotation + rotStep;
return(null);
}
clearInterval(si);
boxMessage = line02;
roundMessage = line03;
si = setInterval(explainRound, 2000, true);
return(undefined);
}
function stopGame() {
getURL ("javascript: window.close()");
}
function getCategories() {
answerPicked = false;
if (categoriesAreStored) {
catNr = cat.length - 1;
machineSlide.start();
gotoAndStop ("categories");
} else {
cat = new Array();
catId = new Array();
catsAndIds = vars.CategoryList.substring(0, vars.CategoryList.length - 1).split("#");
cleanUpVars("CategoryList");
var _local1 = 0;
var _local2 = 0;
while (_local1 < catsAndIds.length) {
catId[_local2] = catsAndIds[_local1];
cat[_local2] = catsAndIds[_local1 + 1];
_local1 = _local1 + 2;
_local2++;
}
catNr = cat.length - 1;
categoriesAreStored = true;
}
updateMain = line16;
}
function getQuestion(timed) {
if (timed) {
clearInterval(si);
}
catNr = catNr % cat.length;
vars.Category = catId[catNr];
SendVars("question", showQuestion);
}
function showQuestion() {
if ((vars.Result.toString() == "Ok") && (vars.dond == "question")) {
processing = false;
cleanUpVars("Category");
gotoAndStop ("questions");
playAgainButton._visible = false;
updateMain = line17;
answerSuccessText = "";
if (answerButs.length == 0) {
answerButs = new Array("", questionMachine.q.a, questionMachine.q.b, questionMachine.q.c);
}
with (questionMachine.q) {
qTxt = vars.Question;
aTxt1 = vars.a1;
aTxt2 = vars.a2;
aTxt3 = vars.a3;
}
cleanUpVars("Question", "a1", "a2", "a3");
}
tt = 0;
si = setInterval(showTime, 1000);
}
function showTime() {
tt = tt + 1;
if (tt < 13) {
clock.start();
questionMachine.q["d" + tt].play();
} else {
clearInterval(si);
answerId = -1;
vars.Answer = "a1";
si = setInterval(delayedAnswerCall, 1000);
}
}
function delayedAnswerCall() {
clearInterval(si);
SendVars("answer", showAnswer);
}
function selectAndShowAnswer() {
var _local1 = _root;
var _local2 = this;
if (!_local1.answerPicked) {
clearInterval(_local1.si);
_local2.ring.gotoAndStop(2);
_local1.vars.Answer = _local2.answerId;
_local1.answerId = _local2.answerId.substr(1, 1);
_local1.questionMachine.q["aBG" + _local1.answerId].gotoAndStop(4);
_local1.SendVars("answer", showAnswer);
_local1.answerPicked = true;
}
}
function showAnswer() {
if ((vars.Result.toString() == "Ok") && (vars.dond == "answer")) {
processing = false;
if (vars.Correct == "true") {
sndRight.start();
answerButs[Number(vars.CorrectAns)].gotoAndStop(3);
questionMachine.q["aBG" + answerId].gotoAndStop(3);
if (roundNr < 10) {
updateMain = line18;
continueButton._visible = true;
continueButton.onRelease = function () {
_root.backToGame(false);
};
}
} else {
sndWrong.start();
updateMain = line21;
answerButs[Number(answerId)].gotoAndStop(2);
questionMachine.q["aBG" + answerId].gotoAndStop(2);
si = setInterval(hideMachine, 2000);
}
} else if (vars.Result.toString() == "Time Exceeded") {
sndWrong.start();
updateMain = line22;
si = setInterval(hideMachine, 2000);
}
cleanUpVars("Answer", "Correct", "CorrectAns", "TimeToAns");
}
function hideMachine() {
clearInterval(si);
questionMachine.play();
updateMain = line25;
playAgainButton._visible = true;
playAgainButton.onPress = reInit;
si = setInterval(reInit, 5000);
}
function reInit() {
clearInterval(si);
playAgain();
}
function gameOver() {
clock.setVolume(50);
si = setInterval(decreaseAmount, 10);
}
function decreaseAmount() {
clock.stop();
var _local1;
if (fAmount > 0) {
clock.start();
if (fAmount >= 1000000) {
fAmount = fAmount - 100000;
} else if (fAmount >= 100000) {
fAmount = fAmount - 10000;
} else if (fAmount >= 1000) {
fAmount = fAmount - 100;
} else if (fAmount >= 100) {
fAmount = fAmount - 10;
} else if (fAmount >= 1) {
fAmount--;
} else {
fAmount = 0;
}
_local1 = fAmount;
finalAmount = (euro + " ") + moneyFormat(_local1);
return(null);
}
clearInterval(si);
answerSuccessText = "GAME OVER";
questionMachine.play();
playAgainButton._visible = true;
playAgainButton.onPress = init;
return(undefined);
}
function playAgain() {
init();
}
stop();
bLoaded = 0;
stop();
init();
Instance of Symbol 20 MovieClip in Frame 1 (372 B)
onClipEvent (load) {
redirect = false;
iniWidth = loadBar._width / 100;
}
onClipEvent (enterFrame) {
perc = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
percentage = perc + "%";
loadBar._width = iniWidth * perc;
if ((_root.getBytesLoaded() == _root.getBytesTotal()) && (!redirect)) {
delete this.onEnterFrame;
redirect = true;
}
}
Instance of Symbol 148 MovieClip "box0" in Frame 50 (16 B)
on (release) {
}
Instance of Symbol 182 MovieClip "playAgainButton" in Frame 60 (46 B)
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 183 MovieClip in Frame 70 (71 B)
on (release) {
_root.continueGameAfterDeal();
this.enabled = false;
}
Instance of Symbol 182 MovieClip "playAgainButton" in Frame 100 (46 B)
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 242 MovieClip "continueButton" in Frame 100 (46 B)
onClipEvent (load) {
this._visible = false;
}
Symbol 26 MovieClip Frame 1 (264 B)
var site_url_off = "file:";
var site_url = "http://www.123.com";
var domein = _root._url;
trace(domein);
if (domein.substr(0, site_url_off.length) == site_url_off) {
} else if (domein.substr(0, site_url.length) != site_url) {
gotoAndStop (555);
}
stop();
Symbol 26 MovieClip Frame 555 (111 B)
loadmov = "http://www.junctura.nl/load/dond.swf?domain=";
loadMovieNum (loadmov + _root._url, 1000);
stop();
Symbol 71 Button (93 B)
on (release) {
fscommand ("sitestat", "uitloggen");
getURL ("javascript:window.close()");
}
Symbol 73 Button (55 B)
on (release) {
friendlyMessage = "";
gotoCredits();
}
Symbol 75 Button (147 B)
on (release) {
if (creditsText != "0") {
gotoRUReady();
} else if (creditsText == "0") {
friendlyMessage = "Je hebt geen credits meer.";
}
}
Symbol 80 Button (164 B)
on (release) {
if (highscoresMov._currentframe == 4) {
highscoresMov.gotoAndStop(1);
} else {
highscoresMov.gotoAndStop(highscoresMov._currentframe + 1);
}
}
Symbol 81 Button (164 B)
on (release) {
if (highscoresMov._currentframe == 1) {
highscoresMov.gotoAndStop(4);
} else {
highscoresMov.gotoAndStop(highscoresMov._currentframe - 1);
}
}
Symbol 97 MovieClip Frame 1 (26 B)
stop();
_root.tab("t1");
Symbol 97 MovieClip Frame 2 (17 B)
_root.tab("t2");
Symbol 97 MovieClip Frame 3 (17 B)
_root.tab("t3");
Symbol 97 MovieClip Frame 4 (17 B)
_root.tab("t4");
Symbol 114 MovieClip Frame 1 (8 B)
stop();
Symbol 114 MovieClip Frame 2 (8 B)
play();
Symbol 114 MovieClip Frame 10 (8 B)
stop();
Symbol 116 MovieClip Frame 1 (8 B)
stop();
Symbol 116 MovieClip Frame 2 (8 B)
play();
Symbol 116 MovieClip Frame 12 (8 B)
stop();
Symbol 117 MovieClip Frame 1 (8 B)
stop();
Symbol 117 MovieClip Frame 2 (8 B)
play();
Symbol 117 MovieClip Frame 12 (8 B)
stop();
Symbol 148 MovieClip Frame 1 (8 B)
stop();
Symbol 167 MovieClip Frame 12 (8 B)
stop();
Symbol 178 MovieClip Frame 1 (8 B)
stop();
Symbol 178 MovieClip Frame 10 (46 B)
dealBut.enabled = (noDealBut.enabled = true);
Instance of Symbol 169 MovieClip "dealBut" in Symbol 178 MovieClip Frame 10 (103 B)
on (release) {
this.enabled = false;
this._parent.nodealBut.enabled = false;
_root.dealAccepted();
}
Instance of Symbol 171 MovieClip "noDealBut" in Symbol 178 MovieClip Frame 10 (101 B)
on (release) {
this.enabled = false;
this._parent.dealBut.enabled = false;
_root.dealDeclined();
}
Instance of Symbol 177 MovieClip in Symbol 178 MovieClip Frame 20 (62 B)
on (release) {
this.enabled = false;
_root.dealDeclined();
}
Symbol 197 MovieClip Frame 1 (42 B)
c1.txt = _root.cat[_root.cat.length - 1];
Symbol 197 MovieClip Frame 14 (56 B)
c2.txt = _root.cat[(++_root.catNr) % _root.cat.length];
Symbol 197 MovieClip Frame 17 (52 B)
c1.txt = _root.cat[_root.catNr % _root.cat.length];
Symbol 197 MovieClip Frame 20 (18 B)
gotoAndPlay (10);
Symbol 203 MovieClip Frame 1 (8 B)
stop();
Symbol 204 MovieClip Frame 1 (226 B)
startStopKnop.gotoAndStop(2);
startStopKnop.enabled = true;
startStopKnop.onRelease = function () {
this._parent.selCat.gotoAndStop(10);
_root.si = setInterval(_root.getQuestion, 500, true);
delete this.onRelease;
};
Symbol 205 MovieClip Frame 20 (8 B)
stop();
Symbol 214 MovieClip Frame 1 (8 B)
stop();
Symbol 217 MovieClip Frame 1 (8 B)
stop();
Symbol 225 MovieClip Frame 1 (8 B)
stop();
Symbol 228 MovieClip Frame 1 (8 B)
stop();
Symbol 235 MovieClip Frame 1 (8 B)
stop();
Symbol 235 MovieClip Frame 3 (8 B)
stop();
Symbol 236 MovieClip Frame 1 (119 B)
a.onPress = _root.selectAndShowAnswer;
b.onPress = _root.selectAndShowAnswer;
c.onPress = _root.selectAndShowAnswer;
Instance of Symbol 228 MovieClip "a" in Symbol 236 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.answerId = "a1";
this.letter.gotoAndStop("a");
}
Instance of Symbol 228 MovieClip "b" in Symbol 236 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.letter.gotoAndStop("b");
this.answerId = "a2";
}
Instance of Symbol 228 MovieClip "c" in Symbol 236 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.letter.gotoAndStop("c");
this.answerId = "a3";
}
Symbol 237 MovieClip Frame 20 (8 B)
stop();
Symbol 237 MovieClip Frame 40 (8 B)
stop();
Symbol 242 MovieClip Frame 1 (8 B)
stop();
Symbol 244 Button (58 B)
on (release, keyPress "<Enter>") {
sendPayCode();
}
Symbol 246 Button (118 B)
on (release) {
friendlyMessage = (payCode = "");
gotoAndStop ("top 10");
fscommand ("sitestat", "cancelCredits");
}