Frame 1
System.security.allowDomain(_root._url);
Instance of Symbol 32 MovieClip "sound" in Frame 1
onClipEvent (load) {
_root.globalsound = new Sound();
if (!_root.soundOff) {
stopAllSounds();
_root.fader.onEnterFrame = null;
_root.globalsound.setVolume(100);
_root.soundOff = false;
this.gotoAndPlay("start");
}
}
Instance of Symbol 30 MovieClip "loader" in Frame 6
onClipEvent (enterFrame) {
loadPct = _parent.getBytesLoaded() / _parent.getBytesTotal();
gotoAndStop(int(_totalframes * loadPct));
if (loadPct == 1) {
_parent.play();
} else {
_parent.stop();
}
}
Frame 13
bigCurtains.gotoAndPlay("open");
Frame 25
stop();
Frame 27
bigCurtains.gotoAndPlay("close");
Instance of Symbol 244 MovieClip "fader" in Frame 27
onClipEvent (load) {
_root.globalsound = new Sound();
this.onEnterFrame = function () {
currvolume = _root.globalsound.getVolume();
if (currvolume >= 10) {
_root.globalsound.setVolume(currvolume - 10);
} else {
_root.globalsound.setVolume(0);
}
};
}
Frame 40
if (!newGame) {
_root.gotoAndPlay("startHome");
var mcLoader = new MovieClipLoader();
mcLoader.unloadClip(_root.container);
} else {
_root.game = newGame;
var mcLoader = new MovieClipLoader();
mcLoader.unloadClip(_root.container);
_root.gotoAndPlay("loadGame");
}
Symbol 5 MovieClip [permaSplat] Frame 4
stop();
Symbol 12 MovieClip [score] Frame 10
this.removeMovieClip();
Symbol 12 MovieClip [score] Frame 20
this.removeMovieClip();
Symbol 12 MovieClip [score] Frame 30
this.removeMovieClip();
Symbol 12 MovieClip [score] Frame 40
this.removeMovieClip();
Symbol 12 MovieClip [score] Frame 50
this.removeMovieClip();
Symbol 14 MovieClip [marker] Frame 1
#initclip 2
Object.registerClass("marker", Marker);
#endinitclip
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
Symbol 16 MovieClip [salsaSplat] Frame 89
this.stop();
Symbol 21 MovieClip [salsaShot] Frame 11
_parent.salsaSplat.attachMovie("salsaSplat", _parent.makeName(), _parent.salsaSplat.getNextHighestDepth(), {_x:this._x, _y:this._y + 10});
this.swapDepths(this._parent.getNextHighestDepth());
this.removeMovieClip();
stop();
Symbol 21 MovieClip [salsaShot] Frame 17
this.removeMovieClip();
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 1
stop();
Symbol 245 MovieClip [__Packages.Marker] Frame 0
class Marker extends MovieClip
{
var swapDepths, _parent, removeMovieClip;
function Marker () {
super();
}
function onLoad() {
swapDepths(_parent.getNextHighestDepth());
removeMovieClip();
}
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 48 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 48 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 48 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 48 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 48 MovieClip Frame 51
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 48 MovieClip Frame 52
gotoAndPlay ("sat");
Symbol 53 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 53 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 53 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 53 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 53 MovieClip Frame 51
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 53 MovieClip Frame 52
gotoAndPlay ("sat");
Symbol 57 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 57 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 57 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 57 MovieClip Frame 35
gotoAndPlay ("sat");
Symbol 57 MovieClip Frame 48
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 61 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 61 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 61 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 61 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 61 MovieClip Frame 47
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 61 MovieClip Frame 48
gotoAndPlay ("sat");
Symbol 65 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 65 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 65 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 65 MovieClip Frame 35
gotoAndPlay ("sat");
Symbol 65 MovieClip Frame 48
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 69 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 69 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 69 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 69 MovieClip Frame 35
gotoAndPlay ("sat");
Symbol 69 MovieClip Frame 47
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 69 MovieClip Frame 48
gotoAndPlay ("sat");
Symbol 73 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 73 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 73 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 73 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 73 MovieClip Frame 49
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 73 MovieClip Frame 50
gotoAndPlay ("sat");
Symbol 77 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 77 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 77 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 77 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 77 MovieClip Frame 52
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 77 MovieClip Frame 53
gotoAndPlay ("sat");
Symbol 83 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 83 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 83 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 83 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 83 MovieClip Frame 47
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 87 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 87 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 87 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 87 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 87 MovieClip Frame 51
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 91 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 91 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 91 MovieClip Frame 15
_parent._parent.iAmStood(this);
stop();
Symbol 91 MovieClip Frame 28
gotoAndPlay ("sat");
Symbol 91 MovieClip Frame 42
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Symbol 95 MovieClip Frame 2
_parent._parent.iAmSat(this);
stop();
Instance of Symbol 45 MovieClip "target" in Symbol 95 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 95 MovieClip Frame 16
_parent._parent.iAmStood(this);
stop();
Symbol 95 MovieClip Frame 34
gotoAndPlay ("sat");
Symbol 95 MovieClip Frame 35
gotoAndPlay ("sat");
Symbol 95 MovieClip Frame 47
_parent._parent.iAmDoneHit(this);
gotoAndPlay ("sat");
Instance of Symbol 83 MovieClip "p3" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent.targetEnterFrame(this);
}
Instance of Symbol 87 MovieClip "p2" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent.targetEnterFrame(this);
}
Instance of Symbol 91 MovieClip "p1" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent.targetEnterFrame(this);
}
Instance of Symbol 95 MovieClip "p0" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent.targetEnterFrame(this);
}
Symbol 110 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 3
_parent.armState = "throwing";
Symbol 110 MovieClip Frame 4
_parent.generateShot(this);
Symbol 110 MovieClip Frame 6
_parent.armState = "thrown";
stop();
Symbol 110 MovieClip Frame 13
gotoAndPlay ("ready");
_parent.armState = "ready";
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
play();
Symbol 122 MovieClip Frame 54
_parent.gotoAndPlay("start");
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
play();
Symbol 127 MovieClip Frame 49
this._parent._parent.menu.gotoAndPlay("closeCurtains");
this._parent._parent.menu.right.gotoAndPlay("chooseEvent");
if (_parent.score > 0) {
this._parent._parent.menu.left.gotoAndStop("worldRecord");
} else {
this._parent._parent.menu.left.gotoAndStop("wellDone");
}
stop();
Symbol 130 MovieClip Frame 1
stop();
Instance of Symbol 110 MovieClip "playerArm" in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
}
Symbol 130 MovieClip Frame 2
_parent.cursor._visible = true;
stop();
mouseListener = new Object();
mouseListener.onMouseUp = function () {
if (armState == "ready") {
armState = "throw";
playerArm.gotoAndPlay("throw");
}
};
mouseListener.onMouseDown = function () {
};
mouseListener.onMouseMove = function () {
_parent.cursor._x = _root._xmouse;
if ((_root._ymouse > aimTop) && (_root._ymouse < aimBottom)) {
_parent.cursor._y = _root._ymouse;
} else if (_root._ymouse < aimTop) {
_parent.cursor._y = aimTop;
} else if (_root._ymouse > aimBottom) {
_parent.cursor._y = aimBottom;
}
if ((_root._ymouse > gameTop) && (_root._ymouse < gameBottom)) {
Mouse.hide();
} else {
Mouse.show();
}
};
keyboardListener = new Object();
keyboardListener.onKeyDown = function () {
if (Key.getCode() == 19) {
pausegame();
}
};
function setVars() {
score = 0;
anonIndex = 0;
totalPeople = 13;
hitRange = 50;
armTargetX = 0;
armTargetY = 0;
armState = "ready";
armMoveRateAiming = 1.5;
armMoveRateReload = 1;
armMoveRate = 0;
pausestate = false;
fps = 25;
ft = 1 / fps;
gameTime = 30;
aimTop = top._y;
aimBottom = bottom._y;
gameTop = gametop._y;
gameBottom = gamebottom._y;
initTargetFrequency = 30;
initTargetStandTime = 130;
endTargetFrequency = 10;
endTargetStandTime = 30;
deltaTargetFrequency = (initTargetFrequency - endTargetFrequency) / (gameTime * fps);
deltaTargetStandTime = (initTargetStandTime - endTargetStandTime) / (gameTime * fps);
randomSitDown = false;
salsaPerspective = 0.95;
setupPeople();
}
function control() {
if (this.frame === undefined) {
this.frame = 0;
}
this.frame++;
if ((this.frame * ft) >= gameTime) {
this.onEnterFrame = sitDownPeople;
this._parent.playerArm.onEnterFrame = null;
this._parent._parent.cursor._visible = false;
Key.removeListener(keyboardListener);
Mouse.removeListener(mouseListener);
Mouse.show();
finished.play();
}
this._parent._parent.cursor._rotation = this._parent._parent.cursor._rotation + 10;
targetFrequency = Math.round(initTargetFrequency - (this.frame * deltaTargetFrequency));
targetStandTime = Math.round(initTargetStandTime - (this.frame * deltaTargetStandTime));
updateHUD((this.frame * ft) / gameTime);
var _local2 = 0;
while (_local2 < totalPeople) {
targetEnterFrame(main["p" + _local2]);
_local2++;
}
if ((this.frame % targetFrequency) == 1) {
chooseTarget();
}
}
function setupPeople() {
personState = new Array();
i = 0;
while (i < totalPeople) {
personState[i] = "sat";
main["p" + i].gotoAndStop("sat");
i++;
}
personDistance = new Array();
personDistance[0] = 5;
personDistance[1] = 5;
personDistance[2] = 5;
personDistance[3] = 5;
personDistance[4] = 7;
personDistance[5] = 8;
personDistance[6] = 8;
personDistance[7] = 9;
personDistance[8] = 9;
personDistance[9] = 10;
personDistance[10] = 10;
personDistance[11] = 10;
}
function sitDownPeople() {
var _local1 = 0;
while (_local1 < totalPeople) {
targetEnterFrame(main["p" + _local1]);
_local1++;
}
}
function targetEnterFrame(t) {
var _local2 = Number(t._name.substring(1));
if (personState[_local2] != "stood") {
t.standCount = 0;
} else {
t.standCount++;
if (t.standCount > targetStandTime) {
t.standCount = 0;
t.gotoAndPlay("sitDown");
personState[_local2] = "sitting";
}
}
}
function makeName() {
anonIndex++;
return("anon" + anonIndex);
}
function armControl() {
t = this;
if (armState == "ready") {
armMoveRate = armMoveRateAiming;
armTargetX = _xmouse;
armTargetY = _ymouse;
} else if (armState == "throwing") {
armMoveRate = 0;
} else if (armState == "thrown") {
armMoveRate = armMoveRateReload;
armTargetX = dip._x;
armTargetY = dip._y;
playerArm.gotoAndPlay("getSalsa");
armState = "getSalsa";
}
t._x = (armTargetX + (t._x * armMoveRate)) / (armMoveRate + 1);
t._y = t.startY + (armTargetY * 0.5);
}
function generateShot(t) {
var _local4 = {x:_parent.cursor._x, y:_parent.cursor._y};
globalToLocal(_local4);
var _local5 = this.attachMovie("salsaShot", makeName(), _root.world.getNextHighestDepth(), {_x:playerArm._x, _y:playerArm._y - 20, salsaDepth:0, hasHit:false, xVector:(_local4.x - playerArm._x) / 8, yVector:(_parent.cursor._y - playerArm._y) / 8});
_local5.onEnterFrame = function () {
this._x = this._x + this.xVector;
this._y = this._y + this.yVector;
this.xVector = this.xVector * salsaPerspective;
this.yVector = this.yVector * salsaPerspective;
this.salsaDepth++;
if (!this.hasHit) {
checkTargetsForHits(this, this._x, this._y, this.salsaDepth);
}
};
}
function checkTargetsForHits(t, x, y, shotDist) {
i = 0;
while (i <= totalPeople) {
if (shotDist == personDistance[i]) {
var _local5 = (main["p" + i].target._x + main["p" + i]._x) - x;
var _local3 = false;
if (_local5 > (-hitRange)) {
if (_local5 < hitRange) {
_local3 = true;
}
}
if (yDist >= hitRange) {
if (yDist < hitRange) {
yHit = true;
}
}
if (_local3) {
var _local1 = main["p" + i];
var _local4 = Math.ceil((1 - (_local1.standCount / targetStandTime)) * 5);
var _local2 = main.attachMovie("score", "score" + main.getNextHighestDepth(), main.getNextHighestDepth(), {});
_local2._x = _local1._x;
_local2._y = _local1._y;
_local2.gotoAndPlay("p" + _local4);
t.hasHit = true;
personState[i] = "hit";
_local1.gotoAndPlay("hit");
score = score + _local4;
t.gotoAndPlay("splat");
}
}
i++;
}
}
function chooseTarget() {
var _local1 = Math.floor(Math.random() * 12);
if (personState[_local1] == "sat") {
main["p" + _local1].gotoAndPlay("standUp");
personState[_local1] = "standing";
}
}
function iAmSat(t) {
personState[Number(t._name.substring(1))] = "sat";
}
function iAmStood(t) {
personState[Number(t._name.substring(1))] = "stood";
}
function iAmDoneHit(t) {
}
function updateHUD(timeelapsed) {
var _local2 = _parent.hud;
_local2.time.mask._xscale = (1 - timeelapsed) * 100;
}
function pausegame() {
if (pausestate) {
pausestate = false;
controller.onEnterFrame = control;
playerArm.onEnterFrame = armControl;
Mouse.addListener(mouseListener);
Mouse.hide();
eggscape.play();
var _local1 = 0;
while (_local1 < totalPeople) {
if (((personState[_local1] == "sitting") || (personState[_local1] == "standing")) || (personState[_local1] == "hit")) {
main["p" + _local1].play();
}
_local1++;
}
} else {
pausestate = true;
controller.onEnterFrame = null;
playerArm.onEnterFrame = null;
Mouse.removeListener(mouseListener);
Mouse.show();
eggscape.stop();
var _local1 = 0;
while (_local1 < totalPeople) {
main["p" + _local1].stop();
_local1++;
}
}
}
Instance of Symbol 129 MovieClip "controller" in Symbol 130 MovieClip Frame 2
onClipEvent (load) {
_parent.setVars();
trace("init");
Mouse.addListener(_parent.mouseListener);
Key.addListener(_parent.keyboardListener);
this.onEnterFrame = _parent.control;
this._parent.playerArm.onEnterFrame = _parent.armControl;
}
Symbol 142 Button
on (release) {
_root.wegaInfo();
}
Symbol 144 Button
on (release) {
_root.wegaInfo();
}
Symbol 153 MovieClip Frame 1
stop();
this.qual_txt.text = _root._quality + " DETAIL";
this.onRelease = function () {
switch (_root._quality) {
case "BEST" :
_root._quality = "LOW";
break;
case "HIGH" :
_root._quality = "BEST";
break;
case "MEDIUM" :
_root._quality = "HIGH";
break;
case "LOW" :
_root._quality = "MEDIUM";
}
this.qual_txt.text = _root._quality + " DETAIL";
};
this.onRollOver = function () {
this.gotoAndStop("over");
};
this.onRollOut = function () {
this.gotoAndStop("out");
};
Symbol 153 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
stop();
Symbol 156 Button
on (release) {
_root.openPage("dealer");
}
Symbol 157 Button
on (release) {
_root.openPage("bravia");
}
Symbol 158 Button
on (release) {
_root.openPage("highscores");
}
Symbol 159 Button
on (release) {
_parent._parent.gotoAndPlay("restart");
}
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 9
stop();
Instance of Symbol 162 MovieClip in Symbol 163 MovieClip Frame 9
onClipEvent (load) {
if (_root.soundOff == true) {
this.gotoAndStop(4);
}
this.onRelease = function () {
if (!(_root.soundOff === true)) {
_root.soundOff = true;
_root.sound.gotoAndStop(1);
stopAllSounds();
this.gotoAndStop("off");
} else {
_root.soundOff = false;
_root.sound.gotoAndPlay("start");
this.gotoAndStop("on");
}
};
this.onRollOver = function () {
this.btn.gotoAndStop("over");
};
this.onRollOut = function () {
this.btn.gotoAndStop("out");
};
}
Symbol 167 Button
on (release) {
if (_parent.game.pausestate === false) {
_parent.game.pausegame();
}
gotoAndPlay ("menuOpen");
menuButts.gotoAndPlay("open");
}
Symbol 172 Button
on (release) {
if (_parent.game.pausestate === true) {
_parent.game.pausegame();
}
gotoAndPlay ("menuClose");
menuButts.gotoAndPlay("close");
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 7
stop();
Symbol 182 Button
on (release) {
_root.openPage("bravia");
}
Symbol 185 Button
on (release) {
_root.openPage("bravia");
}
Symbol 190 Button
on (release) {
this._parent._parent.game.gotoAndStop(1);
this._parent._parent.game.s321.gotoAndPlay("start");
this._parent.gotoAndPlay("openCurtains");
}
Symbol 201 Button
on (release) {
gotoAndPlay ("choosePlayer");
}
Symbol 207 Button
on (release) {
this._parent._parent.gotoAndPlay("endGame");
}
Symbol 212 Button
on (release) {
_root.openPage("prize");
}
Symbol 215 MovieClip Frame 1
_global.g.aiDifficulty = 0;
trace("->" + _global.g);
stop();
Symbol 215 MovieClip Frame 5
stop();
Symbol 220 Button
on (release) {
this._parent._parent.gotoAndPlay("endGame");
}
Symbol 232 Button
on (release) {
_root.challenge(_parent._parent.game.score, "salsa");
}
Symbol 238 Button
on (release) {
trace(_parent._parent.game.score);
_root.enterComp(_parent._parent.game.score, "salsa");
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 6
stop();
Symbol 240 MovieClip Frame 11
score_txt.text = this._parent._parent.game.score;
stop();
Symbol 242 MovieClip Frame 1
t = this._parent;
p1 = t.player1;
p2 = t.player2;
p1.character = "man1";
p2.character = "girl1";
t.numPlayers = 1;
Instance of Symbol 177 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
};
this.onPress = function () {
};
this.onRelease = function () {
};
this.useHandCursor = false;
}
Symbol 242 MovieClip Frame 13
stop();
Symbol 242 MovieClip Frame 39
left.gotoAndStop(1);
this.stop();
Symbol 242 MovieClip Frame 40
if (_parent.wd && (!_parent.wr)) {
left.gotoAndStop("wellDone");
delete _parent.wd;
}
if (_parent.wr) {
left.gotoAndStop("worldRecord");
delete _parent.wr;
}
Symbol 242 MovieClip Frame 54
function formatNumber(value, precision) {
var _local1;
if (precision > 0) {
var _local5 = Math.pow(10, precision);
_local1 = (Math.round(value * _local5) / _local5).toString();
if (_local1.length > 0) {
var _local4 = _local1.lastIndexOf(".");
var _local2 = 0;
if (_local4 < 0) {
_local1 = _local1 + ".";
_local2 = precision;
} else {
_local2 = precision - (_local1.length - (_local4 + 1));
}
_local1 = _local1 + "0000000000000000000000000000".substring(0, _local2);
}
} else {
_local1 = Math.round(value).toString();
}
return(_local1);
}
score_txt.text = formatNumber(_parent.score1, 2) + "s";
stop();
Instance of Symbol 177 MovieClip in Symbol 242 MovieClip Frame 54
onClipEvent (load) {
this.onRollOver = function () {
};
this.onPress = function () {
};
this.onRelease = function () {
};
this.useHandCursor = false;
}
Symbol 243 MovieClip Frame 13
stop();
Symbol 243 MovieClip Frame 26
stop();