Frame 1
function setBGmusic(n) {
if (!(n === 0)) {
} else {
sbg.music.attachSound(tracks[n]);
sbg.music.start(0, 99999);
}
}
function setSqueeks() {
var _local1 = 0;
while (_local1 < squeek.length) {
sfx[squeek[_local1]] = new Sound(sfx.squeekMC);
sfx[squeek[_local1]].attachSound(squeek[_local1]);
_local1++;
}
}
function set_fxVolume(n) {
fxVolume = n;
sfx.step.setVolume(fxVolume * 0.5);
sfx.land.setVolume(fxVolume * 0.8);
sfx.soft.setVolume(fxVolume * 1);
sfx.vert.setVolume(fxVolume * 0.2);
sfx.point.setVolume(fxVolume * 0.4);
sfx.point2.setVolume(fxVolume * 0.4);
sfx.point3.setVolume(fxVolume * 0.4);
sfx.levelup.setVolume(fxVolume * 0.4);
sfx.btnOver.setVolume(fxVolume * 0.5);
sfx.btnDown.setVolume(fxVolume * 0.6);
sfx.bounce.setVolume(fxVolume * 0.3);
sfx.gOver.setVolume(fxVolume * 0.8);
sfx.cbalert.setVolume(fxVolume * 0.3);
var _local1 = 0;
while (_local1 < squeek.length) {
sfx[squeek[_local1]].setVolume(fxVolume * 0.6);
_local1++;
}
}
function set_bgVolume(n) {
bgVolume = n;
sbg.music.setVolume(bgVolume * 1);
}
function loadHub() {
var _local1;
switch (dFactor) {
case 1 :
_local1 = "easy";
break;
case 2 :
_local1 = "normal";
break;
case 3 :
_local1 = "hard";
}
_level0.swHighScoreObject.gameId = "adidassuperstarbreakout" + _local1;
_level0.swHighScoreObject.gameTitle = ("Superstar Breakout - " + _local1) + " mode";
_level0.swHighScoreObject.player1Score = score;
mcl.loadClip("http://www.shockwave.com/content/highscores/scorez-2002.swf", 100033);
}
function playAgain() {
screen_gameOver.restartBtn.enabled = true;
screen_gameOver.saveBtn.enabled = true;
frame_logo.enabled = true;
frame_celebrate.enabled = true;
frame_superstar.enabled = true;
}
function gameOver() {
Mouse.removeListener(Jlstn);
field.pointer.removeMovieClip();
killFrameBtns();
gameOverScreen();
sfx.gOver.start();
}
function gamePause() {
clearInterval(timerID);
Mouse.removeListener(Jlstn);
ingame = false;
killFrameBtns();
}
function gameResume() {
timerID = setInterval(runTimer, 100);
Mouse.addListener(Jlstn);
ingame = true;
activateFrameBtns();
}
function setGame() {
startGame = false;
frame_logo.enabled = true;
frame_celebrate.enabled = true;
frame_superstar.enabled = true;
levelNum = 1;
levelFactor = 5 - dFactor;
levelGoal = 20 * dFactor;
levelAssets = 3 + dFactor;
levelCount = 0;
levelBar._yscale = 100;
time = 10 * (4 - dFactor);
timerBar._yscale = 100;
score = 0;
score_txt.text = score;
rows = [];
rNum = 0;
pNum = 0;
dNum = 0;
cNum = 12;
rMax = 12;
startRows = 2 + dFactor;
pAngle = 0;
deck.getInstanceAtDepth(od - 1).removeMovieClip();
od = 0;
initial = true;
offset = false;
addingRow = false;
action = false;
clearField();
buildField();
}
function addScore(val, dp, xp, yp, st, cw) {
field.attachMovie("fieldscore", "fs" + dp, dp, {_x:xp, _y:yp});
field["fs" + dp].fscoreText.fscore_txt.text = val;
field["fs" + dp].transColor(cw);
starGen(xp, yp, 4, cw, 1);
switch (st) {
case 0 :
sfx.point.start();
break;
case 1 :
sfx.point2.start();
break;
case 2 :
sfx.point3.start();
}
score = score + val;
score_txt.text = score;
}
function menuScreen() {
gamePause();
new mx.transitions.Tween(screen_menu, "_y", mx.transitions.easing.Strong.easeOut, -140, 170, 15, false);
}
function gameOverScreen() {
gamePause();
screen_gameOver.gameLevel_txt.text = levelNum;
screen_gameOver.gameScore_txt.text = score;
new mx.transitions.Tween(screen_gameOver, "_y", mx.transitions.easing.Strong.easeOut, -140, 140, 15, false);
}
function levelScreen() {
ingame = false;
if (startGame) {
setGame();
}
screen_level.level_txt.text = levelNum;
screen_level.goal_txt.text = levelGoal;
screen_level.timer_txt.text = time;
screen_level.cways_txt.text = levelAssets;
new mx.transitions.Tween(screen_level, "_y", mx.transitions.easing.Strong.easeOut, -140, 140, 15, false);
}
function levelStart() {
setAssets();
initial = true;
action = false;
ingame = true;
addRow(startRows);
}
function howtoScreen() {
screen_howto.gotoAndStop("pg1");
screen_howto.startRun();
new mx.transitions.Tween(screen_howto, "_y", mx.transitions.easing.Strong.easeOut, -140, 170, 15, false);
}
function optionsScreen() {
new mx.transitions.Tween(screen_options, "_y", mx.transitions.easing.Strong.easeOut, -140, 170, 15, false);
}
function creditsScreen() {
new mx.transitions.Tween(screen_credits, "_y", mx.transitions.easing.Strong.easeOut, -140, 170, 15, false);
}
function killFrameBtns() {
frame_menuBtn.enabled = false;
frame_pauseBtn.enabled = false;
}
function activateFrameBtns() {
frame_menuBtn.gotoAndStop("_up");
frame_pauseBtn.gotoAndStop("_up");
frame_menuBtn.enabled = true;
frame_pauseBtn.enabled = true;
}
function scoresScreen() {
screen_scores.swapBtns(dFactor - 1);
new mx.transitions.Tween(screen_scores, "_y", mx.transitions.easing.Strong.easeOut, -140, 170, 15, false);
}
function screenOut(screen, func, home, park) {
var _local1 = new mx.transitions.Tween(screen, "_y", mx.transitions.easing.Strong.easeIn, home, park, 15, false);
_local1.onMotionFinished = function () {
func();
};
}
function setTimer() {
timerBar._yscale = 100;
clearInterval(timerID);
timerID = setInterval(runTimer, 100);
}
function runTimer() {
var _local1 = (100 / time) / 10;
timerBar._yscale = timerBar._yscale - _local1;
if ((Math.random() * 100) < 5) {
starBlocker();
}
if ((timerBar._yscale <= 0) && (!action)) {
clearInterval(timerID);
addRow();
}
}
function buildField() {
var _local1 = 0;
while (_local1 < rMax) {
rows[_local1] = [null, null, null, null, null, null, null, null, null, null, null, null];
_local1++;
}
}
function clearField() {
var _local2 = 0;
while (_local2 < rows.length) {
var _local1 = 0;
while (_local1 < rows[_local2].length) {
rows[_local2][_local1].mc.removeMovieClip();
_local1++;
}
rows[_local2] = [null, null, null, null, null, null, null, null, null, null, null, null];
_local2++;
}
jumper.removeMovieClip();
field.pointer.removeMovieClip();
for (var _local3 in field) {
if (typeof(field[_local3]) == "movieclip") {
field[_local3].removeMovieClip();
}
}
}
function setAssets() {
var _local2 = [];
var _local10 = [];
var _local9 = [];
shoes.splice(0);
img.splice(0);
cways.splice(0);
var _local3 = 0;
while (_local3 < levelAssets) {
var _local6 = Math.round(Math.random() * (colorways.length - 1));
var _local4 = colorways[_local6];
var _local7 = images[_local6];
var _local8 = colors[_local6];
var _local5 = false;
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local4 == _local2[_local1]) {
_local5 = true;
break;
}
_local1++;
}
if (_local5) {
_local3--;
} else {
_local2.push(_local4);
_local10.push(_local7);
_local9.push(_local8);
}
_local3++;
}
shoes = _local2;
img = _local10;
cways = _local9;
setDeck();
}
function starGen(xp, yp, qty, cw, typ) {
if (sRun) {
var _local14 = 0;
var _local2 = 0;
while (_local2 < qty) {
var _local4 = xp + Math.round(5 - (Math.random() * 10));
var _local3 = yp + Math.round(2 - (Math.random() * 4));
var _local1 = 60 + Math.round(Math.random() * 40);
stars.attachMovie("star", "st" + sNum, sNum, {_x:_local4, _y:_local3, _xscale:_local1, _yscale:_local1});
starRun(stars["st" + sNum], typ);
stars["st" + sNum].transColor(cw);
((sNum < 1000) ? (sNum++) : ((sNum = 0)));
_local2++;
}
}
}
function starClick(clip) {
var _local1 = 0;
var _local12 = 5 + Math.round(Math.random() * 5);
var _local3 = 0;
while (_local3 < _local12) {
var _local2 = 60 + Math.round(Math.random() * 40);
var _local5 = _xmouse + Math.round(30 - (Math.random() * 60));
var _local4 = _ymouse + Math.round(20 - (Math.random() * 40));
topStars.attachMovie("star", "st" + _local1, _local1, {_x:_local5, _y:_local4, _alpha:100, _xscale:_local2, _yscale:_local2});
starRun(topStars["st" + _local1], 1);
var _local6 = new flash.geom.Transform(topStars["st" + _local1]);
_local6.colorTransform = colors[0];
_local1++;
_local3++;
}
}
function starBlocker() {
var _local1 = Math.round(Math.random() * (blockers.length - 1));
if (sRun && (blockers.length > 0)) {
var _local2 = 60 + Math.round(Math.random() * 40);
var _local4 = blockers[_local1]._x;
var _local3 = blockers[_local1]._y;
stars.attachMovie("star", "st" + sNum, sNum, {_x:_local4, _y:_local3, _xscale:_local2, _yscale:_local2});
starRun(stars["st" + sNum], 2);
var _local5 = new flash.geom.Transform(stars["st" + sNum]);
_local5.colorTransform = colors[300];
((sNum < 1000) ? (sNum++) : ((sNum = 0)));
}
}
function starRun(clip, st) {
switch (st) {
case 0 :
var _local1 = 5 + Math.round(Math.random() * 5);
var _local2 = Math.round(Math.random() * 720);
if (Math.round(Math.random())) {
_local2 = _local2 * -1;
}
clip.tw = new mx.transitions.Tween(clip, "_rotation", mx.transitions.easing.Strong.easeOut, 0, _local2, _local1, false);
new mx.transitions.Tween(clip, "_xscale", mx.transitions.easing.Strong.easeIn, clip._xscale, 20, _local1, false);
new mx.transitions.Tween(clip, "_yscale", mx.transitions.easing.Strong.easeIn, clip._yscale, 20, _local1, false);
clip.tw.onMotionFinished = function () {
clip.removeMovieClip();
};
break;
case 1 :
_local1 = 5 + Math.round(Math.random() * 5);
_local2 = Math.round(Math.random() * 360);
if (Math.round(Math.random())) {
_local2 = _local2 * -1;
}
var _local3 = 10 + Math.round(Math.random() * 20);
var _local5 = clip._x - (_local3 * Math.cos(_local2 * (Math.PI/180)));
var _local4 = clip._y + (_local3 * Math.sin(_local2 * (Math.PI/180)));
clip.tw = new mx.transitions.Tween(clip, "_rotation", mx.transitions.easing.Strong.easeOut, 0, _local2, _local1, false);
new mx.transitions.Tween(clip, "_xscale", mx.transitions.easing.Strong.easeIn, clip._xscale, 20, _local1, false);
new mx.transitions.Tween(clip, "_yscale", mx.transitions.easing.Strong.easeIn, clip._yscale, 20, _local1, false);
new mx.transitions.Tween(clip, "_x", mx.transitions.easing.Strong.easeOut, clip._x, _local5, _local1, false);
new mx.transitions.Tween(clip, "_y", mx.transitions.easing.Strong.easeOut, clip._y, _local4, _local1, false);
clip.tw.onMotionFinished = function () {
clip.removeMovieClip();
};
break;
case 2 :
_local1 = 5 + Math.round(Math.random() * 5);
_local2 = Math.round(Math.random() * 360);
if (Math.round(Math.random())) {
_local2 = _local2 * -1;
}
_local3 = 5 + Math.round(Math.random() * 10);
_local5 = clip._x - (_local3 * Math.cos(_local2 * (Math.PI/180)));
_local4 = clip._y + (_local3 * Math.sin(_local2 * (Math.PI/180)));
clip.tw = new mx.transitions.Tween(clip, "_rotation", mx.transitions.easing.Strong.easeOut, 0, _local2, _local1, false);
new mx.transitions.Tween(clip, "_xscale", mx.transitions.easing.Strong.easeIn, clip._xscale, 20, _local1, false);
new mx.transitions.Tween(clip, "_yscale", mx.transitions.easing.Strong.easeIn, clip._yscale, 20, _local1, false);
new mx.transitions.Tween(clip, "_x", mx.transitions.easing.Strong.easeOut, clip._x, _local5, _local1, false);
new mx.transitions.Tween(clip, "_y", mx.transitions.easing.Strong.easeOut, clip._y, _local4, _local1, false);
clip.tw.onMotionFinished = function () {
clip.removeMovieClip();
};
}
}
function levelCheck() {
var _local3 = true;
var _local2 = 0;
while (_local2 < rows.length) {
var _local1 = 0;
while (_local1 < rows[_local2].length) {
if (rows[_local2][_local1] != null) {
_local3 = false;
break;
}
_local1++;
}
if (!_local3) {
break;
}
_local2++;
}
if (_local3) {
levelBonus();
} else if (levelCount >= levelGoal) {
levelRemove();
} else {
action = false;
nextJumper();
}
}
function levelBonus() {
clearInterval(timerID);
Mouse.removeListener(Jlstn);
Jumper.removeMovieClip();
field.pointer.removeMovieClip();
killFrameBtns();
sfx.levelup.start();
var _local1 = levelNum * 1000;
screen_levelBonus.bonus_txt.text = _local1;
screen_levelBonus._visible = true;
score = score + _local1;
score_txt.text = score;
}
function levelNext() {
for (var _local1 in field) {
if (typeof(field[_local1]) == "movieclip") {
field[_local1].removeMovieClip();
}
}
levelNum++;
levelGoal = levelGoal + (10 * dFactor);
levelCount = 0;
((time > 2) ? ((time = time - 2)) : ((time = 2)));
timerBar._yscale = 100;
levelBar._yscale = 100;
if (((levelNum % levelFactor) == 0) && (levelAssets < colorways.length)) {
levelAssets++;
}
if ((levelNum % levelFactor) == 0) {
startRows++;
}
levelScreen();
}
function levelRemove() {
function remove() {
var _local1 = new mx.transitions.Tween(group[num].mc, "_xscale", mx.transitions.easing.Strong.easeIn, 110, 0, 3, false);
var _local2 = new mx.transitions.Tween(group[num].mc, "_yscale", mx.transitions.easing.Strong.easeIn, 110, 0, 3, false);
_local1.onMotionFinished = function () {
blockers.splice(0);
addScore(10, group[num].mc.getDepth(), group[num].mc._x, group[num].mc._y, 2, group[num].s);
group[num].mc.removeMovieClip();
rows[group[num].r][group[num].p] = null;
if (num < (group.length - 1)) {
num++;
remove();
} else {
levelNext();
}
};
}
clearInterval(timerID);
Mouse.removeListener(Jlstn);
Jumper.removeMovieClip();
field.pointer.removeMovieClip();
killFrameBtns();
sfx.levelup.start();
var group = [];
var _local2 = 0;
while (_local2 < rows.length) {
var _local1 = 0;
while (_local1 < rows[_local2].length) {
if (rows[_local2][_local1] != null) {
group.push(rows[_local2][_local1]);
}
_local1++;
}
_local2++;
}
var num = 0;
remove();
}
function buildRow(qty) {
var _local1;
(offset ? (_local1 = 40) : (_local1 = 20));
if (pNum < cNum) {
sfx.soft.start();
var _local2 = Math.round(Math.random() * 100);
if (_local2 > (10 - (dFactor * 2))) {
var _local3 = Math.round(Math.random() * (shoes.length - 1));
field.attachMovie(shoes[_local3], "s" + dNum, dNum, {_x:(40 * pNum) + _local1, _y:(20 * rNum) + 10});
if (Math.round(Math.random() * 100) > 50) {
field["s" + dNum]._xscale = -100;
}
} else {
var _local3 = 1000;
field.attachMovie("shoe_blocker", "s" + dNum, dNum, {_x:(40 * pNum) + _local1, _y:(20 * rNum) + 10});
if (Math.round(Math.random() * 100) > 50) {
field["s" + dNum]._xscale = -100;
}
blockers.push(field["s" + dNum]);
}
rows[rNum][pNum] = {mc:field["s" + dNum], s:_local3, r:rNum, p:pNum, o:offset, hook:false};
((dNum < 10000) ? (dNum++) : ((dNum = 0)));
pNum++;
} else if ((rNum + 1) < qty) {
pNum = 0;
rNum++;
(offset ? ((offset = false)) : ((offset = true)));
} else {
clearInterval(rowID);
pNum = 0;
rNum = 0;
(rows[0][0].o ? ((offset = false)) : ((offset = true)));
if (initial) {
startJumper();
initial = false;
}
addingRow = false;
activateFrameBtns();
setTimer();
}
}
function addRow(n) {
killFrameBtns();
addingRow = true;
var _local2 = rows.length - 1;
while (_local2 > -1) {
var _local1 = 0;
while (_local1 < cNum) {
if (rows[_local2][_local1] != null) {
rows[_local2][_local1].mc._y = rows[_local2][_local1].mc._y + 20;
rows[_local2][_local1].r++;
}
_local1++;
}
_local2--;
}
rows.unshift([null, null, null, null, null, null, null, null, null, null, null, null]);
rows.pop();
if (checkRows()) {
clearInterval(rowID);
rowID = setInterval(buildRow, 50, n);
} else {
gameOver();
}
}
function checkRows() {
var _local2 = true;
var _local1 = 0;
while (_local1 < cNum) {
if (rows[rMax - 1][_local1] != null) {
_local2 = false;
break;
}
_local1++;
}
return(_local2);
}
function setDeck() {
ondeck = Math.round(Math.random() * (shoes.length - 1));
deck.attachMovie(img[ondeck], "img" + od, od, {_x:-120});
var _local2 = new mx.transitions.Tween(deck["img" + (od - 1)], "_yscale", mx.transitions.easing.Strong.easeOut, 100, 0, 5, false);
var _local1 = new mx.transitions.Tween(deck["img" + od], "_x", mx.transitions.easing.Strong.easeIn, -120, 0, 10, false);
_local1.onMotionFinished = function () {
starGen(-90, 220, 4, ondeck, 1);
deck["img" + (od - 1)].removeMovieClip();
od++;
};
}
function startJumper() {
field.attachMovie(shoes[ondeck], "s" + dNum, dNum, {_x:30, _y:270});
field.attachMovie("pointer", "pointer", 10000, {_x:field["s" + dNum]._x, _y:field["s" + dNum]._y});
field.pointer.cacheAsBitmap = true;
jumper = field["s" + dNum];
jumper.num = ondeck;
jumper.cway = ondeck;
jumper.cacheAsBitmap = true;
jumper.gotoAndStop("step");
trackPointet(jumper._x, jumper._y);
((dNum < 10000) ? (dNum++) : ((dNum = 0)));
setDeck();
Mouse.addListener(Jlstn);
}
function nextJumper() {
var _local1 = Math.round(Math.random() * 100);
if (_local1 > (10 - (dFactor * 2))) {
var _local2 = Math.floor(field.pointer._x / 40) * 40;
field.attachMovie(shoes[ondeck], "s" + dNum, dNum, {_x:30 + _local2, _y:270});
jumper = field["s" + dNum];
jumper.num = ondeck;
jumper.cway = ondeck;
jumper.cacheAsBitmap = true;
jumper.gotoAndStop("step");
field.pointer._visible = true;
((dNum < 10000) ? (dNum++) : ((dNum = 0)));
setDeck();
} else {
var _local2 = Math.floor(field.pointer._x / 40) * 40;
field.attachMovie("shoe_colorball", "s" + dNum, dNum, {_x:30 + _local2, _y:270});
sfx.cbalert.start();
jumper = field["s" + dNum];
jumper.num = 100;
jumper.cway = 300;
jumper.cacheAsBitmap = true;
jumper.gotoAndStop("step");
field.pointer._visible = true;
((dNum < 10000) ? (dNum++) : ((dNum = 0)));
}
Mouse.addListener(Jlstn);
}
function trackPointer(px, py) {
field.pointer._x = jumper._x + px;
var _local2 = flash.geom.Point.distance(new flash.geom.Point(field._xmouse, field._ymouse), new flash.geom.Point(jumper._x + px, jumper._y));
pAngle = 90 + (Math.asin(((jumper._x + px) - field._xmouse) / _local2) * 57.2957795130823);
field.pointer._rotation = -1 * pAngle;
if ((Math.random() * 100) < 50) {
starGen(jumper._x + px, jumper._y + py, 1, jumper.cway, 0);
}
}
function trackJumper() {
var hit = false;
onEnterFrame = function () {
jumper._x = jumper._x + (15 * Math.cos(pAngle * (Math.PI/180)));
jumper._y = jumper._y - (15 * Math.sin(pAngle * (Math.PI/180)));
if ((Math.random() * 100) < 70) {
starGen(jumper._x, jumper._y, 1, jumper.cway, 0);
}
if ((jumper._x <= 20) || (jumper._x >= 480)) {
pAngle = 180 - pAngle;
sfx.vert.start();
}
if (jumper._y <= 0) {
jumper._y = 10;
var _local16;
var _local17;
if (offset) {
_local17 = false;
_local16 = 20;
} else {
_local17 = true;
_local16 = 40;
}
var _local3 = Math.round((jumper._x - _local16) / 40);
jumper._x = (_local3 * 40) + _local16;
if (jumper.num == 100) {
rows[0][_local3] = {mc:jumper, s:jumper.num, r:0, p:_local3, o:_local17, hook:true};
colorballStrike(rows[0][_local3]);
} else {
rows[0][_local3] = {mc:jumper, s:jumper.num, r:0, p:_local3, o:_local17, hook:true};
matchCheck(rows[0][_local3]);
}
delete onEnterFrame;
} else {
var _local5 = rows.length - 1;
while (_local5 > -1) {
var _local3 = 0;
while (_local3 < cNum) {
if (jumper.hitBox.hitTest(rows[_local5][_local3].mc)) {
sfx.land.start();
var _local6 = rows[_local5][_local3].mc._x;
var _local7 = rows[_local5][_local3].mc._y;
var _local9 = jumper._y;
var _local8 = jumper._x;
var _local2;
var _local1;
var _local4;
if (_local9 <= _local7) {
jumper._y = _local7;
_local2 = _local5;
_local4 = rows[_local5][_local3].o;
if (_local8 <= _local6) {
jumper._x = _local6 - 40;
_local1 = _local3 - 1;
}
if (_local8 > _local6) {
jumper._x = _local6 + 40;
_local1 = _local3 + 1;
}
} else {
jumper._y = _local7 + 20;
_local2 = _local5 + 1;
if (_local8 <= _local6) {
jumper._x = _local6 - 20;
(rows[_local5][_local3].o ? (_local1 = _local3) : (_local1 = _local3 - 1));
}
if (_local8 > _local6) {
jumper._x = _local6 + 20;
(rows[_local5][_local3].o ? (_local1 = _local3 + 1) : (_local1 = _local3));
}
(rows[_local5][_local3].o ? (_local4 = false) : (_local4 = true));
}
if (rows[_local2][_local1] != null) {
trace("error found");
if (jx >= _local6) {
if (rows[_local2][_local1 + 1] == null) {
trace("move R");
jumper._x = jumper._x + 40;
_local1 = _local1 + 1;
} else if (_local4) {
if (rows[_local2 + 1][_local1 + 1] == null) {
trace("move RD f");
jumper._x = jumper._x + 20;
jumper._y = jumper._y + 20;
_local2 = _local2 + 1;
_local1 = _local1 + 1;
_local4 = false;
}
} else if (rows[_local2 + 1][_local1] == null) {
trace("move RD t");
jumper._x = jumper._x + 20;
jumper._y = jumper._y + 20;
_local2 = _local2 + 1;
_local4 = true;
}
} else {
trace("move L");
if (rows[_local2][_local1 - 1] == null) {
jumper._x = jumper._x - 40;
_local1 = _local1 - 1;
} else if (_local4) {
if (rows[_local2 + 1][_local1] == null) {
trace("move LD f");
jumper._x = jumper._x - 20;
jumper._y = jumper._y + 20;
_local2 = _local2 + 1;
_local4 = false;
}
} else if (rows[_local2 + 1][_local1 - 1] == null) {
trace("move LD t");
jumper._x = jumper._x - 20;
jumper._y = jumper._y + 20;
_local2 = _local2 + 1;
_local1 = _local1 - 1;
_local4 = true;
}
}
}
if (_local1 < 0) {
if (_local9 <= _local7) {
jumper._y = jumper._y + 20;
_local2 = _local2 + 1;
(_local4 ? (_local4 = false) : (_local4 = true));
}
if (rows[_local5][_local3].o) {
jumper._x = jumper._x + 20;
_local1 = _local1 + 1;
} else {
jumper._x = jumper._x + 40;
_local1 = _local1 + 1;
}
}
if (_local1 > (cNum - 1)) {
if (_local9 <= _local7) {
jumper._y = jumper._y + 20;
_local2 = _local2 + 1;
(_local4 ? (_local4 = false) : (_local4 = true));
}
if (rows[_local5][_local3].o) {
jumper._x = jumper._x - 40;
_local1 = _local1 - 1;
} else {
jumper._x = jumper._x - 20;
_local1 = _local1 - 1;
}
}
if (_local2 == (rMax - 1)) {
gameOver();
} else if (jumper.num == 100) {
rows[_local2][_local1] = {mc:jumper, s:jumper.num, r:_local2, p:_local1, o:_local4, hook:false};
colorballStrike(rows[_local2][_local1]);
} else {
rows[_local2][_local1] = {mc:jumper, s:jumper.num, r:_local2, p:_local1, o:_local4, hook:false};
matchCheck(rows[_local2][_local1]);
}
hit = true;
break;
}
_local3++;
}
if (hit) {
delete onEnterFrame;
break;
}
_local5--;
}
}
};
}
function colorballStrike(obj) {
var _local2 = [rows[obj.r][obj.p]];
if (rows[obj.r][obj.p].o) {
if (rows[obj.r - 1][obj.p] != null) {
_local2.push(rows[obj.r - 1][obj.p]);
}
if (rows[obj.r - 1][obj.p + 1] != null) {
_local2.push(rows[obj.r - 1][obj.p + 1]);
}
if (rows[obj.r][obj.p - 1] != null) {
_local2.push(rows[obj.r][obj.p - 1]);
}
if (rows[obj.r][obj.p + 1] != null) {
_local2.push(rows[obj.r][obj.p + 1]);
}
if (rows[obj.r + 1][obj.p] != null) {
_local2.push(rows[obj.r + 1][obj.p]);
}
if (rows[obj.r + 1][obj.p + 1] != null) {
_local2.push(rows[obj.r + 1][obj.p + 1]);
}
} else {
if (rows[obj.r - 1][obj.p] != null) {
_local2.push(rows[obj.r - 1][obj.p]);
}
if (rows[obj.r - 1][obj.p - 1] != null) {
_local2.push(rows[obj.r - 1][obj.p - 1]);
}
if (rows[obj.r][obj.p - 1] != null) {
_local2.push(rows[obj.r][obj.p - 1]);
}
if (rows[obj.r][obj.p + 1] != null) {
_local2.push(rows[obj.r][obj.p + 1]);
}
if (rows[obj.r + 1][obj.p] != null) {
_local2.push(rows[obj.r + 1][obj.p]);
}
if (rows[obj.r + 1][obj.p - 1] != null) {
_local2.push(rows[obj.r + 1][obj.p - 1]);
}
}
colorRemove(_local2);
}
function matchCheck(n) {
function exclude(obj) {
var _local2 = false;
var _local1 = 0;
while (_local1 < match.length) {
if (obj.mc == match[_local1].mc) {
_local2 = true;
break;
}
_local1++;
}
if (!_local2) {
match.push(obj);
}
}
var match = [n];
var _local1 = 0;
while (_local1 < match.length) {
if (rows[match[_local1].r][match[_local1].p].o) {
if (rows[match[_local1].r - 1][match[_local1].p].s == match[_local1].s) {
exclude(rows[match[_local1].r - 1][match[_local1].p]);
}
if (rows[match[_local1].r - 1][match[_local1].p + 1].s == match[_local1].s) {
exclude(rows[match[_local1].r - 1][match[_local1].p + 1]);
}
if (rows[match[_local1].r][match[_local1].p - 1].s == match[_local1].s) {
exclude(rows[match[_local1].r][match[_local1].p - 1]);
}
if (rows[match[_local1].r][match[_local1].p + 1].s == match[_local1].s) {
exclude(rows[match[_local1].r][match[_local1].p + 1]);
}
if (rows[match[_local1].r + 1][match[_local1].p].s == match[_local1].s) {
exclude(rows[match[_local1].r + 1][match[_local1].p]);
}
if (rows[match[_local1].r + 1][match[_local1].p + 1].s == match[_local1].s) {
exclude(rows[match[_local1].r + 1][match[_local1].p + 1]);
}
} else {
if (rows[match[_local1].r - 1][match[_local1].p].s == match[_local1].s) {
exclude(rows[match[_local1].r - 1][match[_local1].p]);
}
if (rows[match[_local1].r - 1][match[_local1].p - 1].s == match[_local1].s) {
exclude(rows[match[_local1].r - 1][match[_local1].p - 1]);
}
if (rows[match[_local1].r][match[_local1].p - 1].s == match[_local1].s) {
exclude(rows[match[_local1].r][match[_local1].p - 1]);
}
if (rows[match[_local1].r][match[_local1].p + 1].s == match[_local1].s) {
exclude(rows[match[_local1].r][match[_local1].p + 1]);
}
if (rows[match[_local1].r + 1][match[_local1].p].s == match[_local1].s) {
exclude(rows[match[_local1].r + 1][match[_local1].p]);
}
if (rows[match[_local1].r + 1][match[_local1].p - 1].s == match[_local1].s) {
exclude(rows[match[_local1].r + 1][match[_local1].p - 1]);
}
}
_local1++;
}
if (match.length >= 3) {
matchRemove(match);
} else {
levelCheck();
}
}
function matchRemove(group) {
function remove() {
var _local1 = new mx.transitions.Tween(group[num].mc, "_xscale", mx.transitions.easing.Strong.easeIn, 110, 0, 5, false);
var _local2 = new mx.transitions.Tween(group[num].mc, "_yscale", mx.transitions.easing.Strong.easeIn, 110, 0, 5, false);
_local1.onMotionFinished = function () {
if (group[num].s == 1000) {
blockerArrayRemove(group[num].mc);
}
addScore(25, group[num].mc.getDepth(), group[num].mc._x, group[num].mc._y, 0, group[num].s);
group[num].mc.removeMovieClip();
rows[group[num].r][group[num].p] = null;
if (num < (group.length - 1)) {
num++;
remove();
} else {
levelCount = levelCount + group.length;
orphanCheck();
}
};
}
var num = 0;
remove();
}
function colorRemove(group) {
function remove() {
var _local1 = new mx.transitions.Tween(group[num].mc, "_xscale", mx.transitions.easing.Strong.easeIn, 110, 0, 5, false);
var _local2 = new mx.transitions.Tween(group[num].mc, "_yscale", mx.transitions.easing.Strong.easeIn, 110, 0, 5, false);
_local1.onMotionFinished = function () {
(((group[num].s == 100) || (group[num].s == 1000)) ? ((bonus = 100)) : ((bonus = 50)));
((group[num].s == 100) ? ((clr = jumper.cway)) : ((clr = group[num].s)));
if (group[num].s == 1000) {
blockerArrayRemove(group[num].mc);
}
addScore(bonus, group[num].mc.getDepth(), group[num].mc._x, group[num].mc._y, 0, clr);
group[num].mc.removeMovieClip();
rows[group[num].r][group[num].p] = null;
if (num < (group.length - 1)) {
num++;
remove();
} else {
levelCount = levelCount + group.length;
orphanCheck();
}
};
}
var num = 0;
var bonus = 0;
var clr = 0;
remove();
}
function blockerArrayRemove(clip) {
var _local1 = 0;
while (_local1 < blockers.length) {
if (blockers[_local1] == clip) {
blockers.splice(_local1, 1);
break;
}
_local1++;
}
}
function orphanCheck() {
var _local3 = [];
var _local2 = 0;
while (_local2 < rows.length) {
var _local1 = 0;
while (_local1 < rows[_local2].length) {
if (rows[_local2][_local1] != null) {
rows[_local2][_local1].hook = false;
}
_local1++;
}
_local2++;
}
var _local1 = 0;
while (_local1 < rows[0].length) {
if (rows[0][_local1] != null) {
rows[0][_local1].hook = true;
}
_local1++;
}
_local2 = 0;
while (_local2 < rows.length) {
_local1 = 0;
while (_local1 < rows[_local2].length) {
if (rows[_local2][_local1] != null) {
setHook(_local2, _local1);
}
_local1++;
}
_local2++;
}
_local2 = rows.length - 1;
while (_local2 > -1) {
_local1 = rows[_local2].length - 1;
while (_local1 > -1) {
if (rows[_local2][_local1] != null) {
setHook(_local2, _local1);
}
_local1--;
}
_local2--;
}
_local2 = rows.length - 1;
while (_local2 > -1) {
_local1 = 0;
while (_local1 < rows[_local2].length) {
if ((rows[_local2][_local1] != null) && (!rows[_local2][_local1].hook)) {
_local3.push(rows[_local2][_local1]);
}
_local1++;
}
_local2--;
}
if (_local3.length > 0) {
orphansRemove(_local3);
} else {
levelCheck();
}
}
function setHook(r, p) {
if (rows[r][p].hook) {
if (rows[r][p].o) {
if (r > 0) {
if ((p >= 0) && (rows[r - 1][p] != null)) {
rows[r - 1][p].hook = true;
}
if (((p + 1) <= cNum) && (rows[r - 1][p + 1] != null)) {
rows[r - 1][p + 1].hook = true;
}
}
if (((p - 1) >= 0) && (rows[r][p - 1] != null)) {
rows[r][p - 1].hook = true;
}
if (((p + 1) <= cNum) && (rows[r][p + 1] != null)) {
rows[r][p + 1].hook = true;
}
if (r <= (rows.length - 1)) {
if ((p >= 0) && (rows[r + 1][p] != null)) {
rows[r + 1][p].hook = true;
}
if (((p + 1) <= cNum) && (rows[r + 1][p + 1] != null)) {
rows[r + 1][p + 1].hook = true;
}
}
} else {
if (r > 0) {
if ((p <= cNum) && (rows[r - 1][p] != null)) {
rows[r - 1][p].hook = true;
}
if (((p - 1) >= 0) && (rows[r - 1][p - 1] != null)) {
rows[r - 1][p - 1].hook = true;
}
}
if (((p - 1) >= 0) && (rows[r][p - 1] != null)) {
rows[r][p - 1].hook = true;
}
if (((p + 1) <= cNum) && (rows[r][p + 1] != null)) {
rows[r][p + 1].hook = true;
}
if ((r + 1) <= (rows.length - 1)) {
if ((p <= cNum) && (rows[r + 1][p] != null)) {
rows[r + 1][p].hook = true;
}
if (((p - 1) >= 0) && (rows[r + 1][p - 1] != null)) {
rows[r + 1][p - 1].hook = true;
}
}
}
}
}
function orphansRemove(group) {
function remove() {
var _local3 = new mx.transitions.Tween(group[num].mc, "_y", mx.transitions.easing.Strong.easeIn, group[num].mc._y, group[num].mc._y + 20, 5, false);
var _local1 = new mx.transitions.Tween(group[num].mc, "_xscale", mx.transitions.easing.Strong.easeIn, 110, 0, 5, false);
var _local2 = new mx.transitions.Tween(group[num].mc, "_yscale", mx.transitions.easing.Strong.easeIn, 110, 0, 5, false);
_local1.onMotionFinished = function () {
if (group[num].s == 1000) {
blockerArrayRemove(group[num].mc);
}
addScore(50, group[num].mc.getDepth(), group[num].mc._x, group[num].mc._y, 1, group[num].s);
group[num].mc.removeMovieClip();
rows[group[num].r][group[num].p] = null;
if (num < (group.length - 1)) {
num++;
remove();
} else {
levelCount = levelCount + group.length;
levelCheck();
}
};
}
var num = 0;
remove();
}
stop();
var score = 0;
var time = 60;
var startGame = true;
var ingame = false;
var initial = true;
var offset = false;
var addingRow = false;
var ondeck;
var od = 0;
var jumper;
var Jlstn = new Object();
var pAngle = 0;
var action = false;
var fxVolume = 100;
var bgVolume = 100;
var dFactor = 1;
var timerID;
var rows = [];
var rNum = 0;
var pNum = 0;
var dNum = 0;
var cNum = 12;
var rMax = 12;
var startRows = 4;
var levelCount = 0;
var levelNum = 1;
var levelFactor = (5 - dFactor);
var levelGoal = (20 * dFactor);
var levelAssets = (3 + dFactor);
screen_levelBonus._visible = false;
screen_pause._visible = false;
screen_quit._visible = false;
menuScreen();
this.createEmptyMovieClip("sbg", 20000);
this.createEmptyMovieClip("sfx", 20001);
var tracks = ["superstar_bubbles_1"];
sbg.createEmptyMovieClip("musicMC", 0);
sbg.music = new Sound(sbg.musicMC);
setBGmusic(0);
var squeek = ["adidas_s1", "adidas_s4", "adidas_s5"];
sfx.createEmptyMovieClip("squeekMC", sfx.getNextHighestDepth());
setSqueeks();
sfx.createEmptyMovieClip("stepMC", sfx.getNextHighestDepth());
sfx.step = new Sound(sfx.stepMC);
sfx.step.attachSound("step_A");
sfx.createEmptyMovieClip("landMC", sfx.getNextHighestDepth());
sfx.land = new Sound(sfx.landMC);
sfx.land.attachSound("step_D");
sfx.createEmptyMovieClip("softMC", sfx.getNextHighestDepth());
sfx.soft = new Sound(sfx.softMC);
sfx.soft.attachSound("step_C");
sfx.createEmptyMovieClip("vertMC", sfx.getNextHighestDepth());
sfx.vert = new Sound(sfx.vertMC);
sfx.vert.attachSound("verticle2");
sfx.createEmptyMovieClip("pointMC", sfx.getNextHighestDepth());
sfx.point = new Sound(sfx.pointMC);
sfx.point.attachSound("blip_A");
sfx.createEmptyMovieClip("point2MC", sfx.getNextHighestDepth());
sfx.point2 = new Sound(sfx.point2MC);
sfx.point2.attachSound("blip_C");
sfx.createEmptyMovieClip("point3MC", sfx.getNextHighestDepth());
sfx.point3 = new Sound(sfx.point3MC);
sfx.point3.attachSound("blip_D");
sfx.createEmptyMovieClip("levelUpMC", sfx.getNextHighestDepth());
sfx.levelup = new Sound(sfx.levelUpMC);
sfx.levelup.attachSound("bling_A");
sfx.createEmptyMovieClip("btnOverMC", sfx.getNextHighestDepth());
sfx.btnOver = new Sound(sfx.btnOverMC);
sfx.btnOver.attachSound("select_A");
sfx.createEmptyMovieClip("btnDownMC", sfx.getNextHighestDepth());
sfx.btnDown = new Sound(sfx.btnDownMC);
sfx.btnDown.attachSound("select_B");
sfx.createEmptyMovieClip("bounceMC", sfx.getNextHighestDepth());
sfx.bounce = new Sound(sfx.bounceMC);
sfx.bounce.attachSound("bounce2");
sfx.createEmptyMovieClip("gOverMC", sfx.getNextHighestDepth());
sfx.gOver = new Sound(sfx.gOverMC);
sfx.gOver.attachSound("gOver");
sfx.createEmptyMovieClip("cballMC", sfx.getNextHighestDepth());
sfx.cbalert = new Sound(sfx.cballMC);
sfx.cbalert.attachSound("cball");
var mcl = new MovieClipLoader();
_level0.swHighScoreObject = new Object();
_level0.HSLOAD_ID = 0;
System.security.allowDomain("shockwave.com", "intranet.shockwave.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com");
_level0.swHighScoreObject = {showTab:"submit", gameId:null, gameTitle:null, screenWidth:750, screenHeight:400, scoreDescriptor:"points", numPlayers:1, player1Score:0};
var adidasURL = "http://www.adidas.com/us/shared/home.asp";
frame_logo.onPress = function () {
sfx.btnDown.start();
starClick(this);
if (ingame) {
gamePause();
screen_pause._visible = true;
}
getURL (adidasURL, "_blank");
};
frame_celebrate.onPress = function () {
this.gotoAndStop("_up");
if (ingame) {
gamePause();
screen_pause._visible = true;
}
getURL ("http://ad.doubleclick.net/clk;200989476;15177704;q?http://www.adidas.com/campaigns/umbrella2008/index.asp?strCountry_adidascom=us", "_blank");
};
frame_superstar.onPress = function () {
this.gotoAndStop("_up");
if (ingame) {
gamePause();
screen_pause._visible = true;
}
getURL ("http://ad.doubleclick.net/clk;200989475;15177704;p?http://www.adidas.com/superstar", "_blank");
};
frame_menuBtn.onPress = function () {
gamePause();
this.gotoAndStop("_up");
screen_quit._visible = true;
};
frame_pauseBtn.onPress = function () {
gamePause();
this.gotoAndStop("_up");
screen_pause._visible = true;
};
screen_pause.resumeBtn.onPress = function () {
screen_pause._visible = false;
gameResume();
};
screen_menu.playBtn.onPress = function () {
clearField();
startGame = true;
screenOut(screen_menu, levelScreen, 170, -140);
};
screen_menu.howtoBtn.onPress = function () {
screenOut(screen_menu, howtoScreen, 170, -140);
};
screen_menu.optBtn.onPress = function () {
screenOut(screen_menu, optionsScreen, 170, -140);
};
screen_menu.creditsBtn.onPress = function () {
screenOut(screen_menu, creditsScreen, 170, -140);
};
screen_quit.noBtn.onPress = function () {
screen_quit._visible = false;
gameResume();
};
screen_quit.yesBtn.onPress = function () {
clearField();
screen_quit._visible = false;
new mx.transitions.Tween(screen_menu, "_y", mx.transitions.easing.Strong.easeOut, -140, 170, 15, false);
};
screen_level.goBtn.onPress = function () {
screenOut(screen_level, levelStart, 140, -140);
};
screen_howto.menuBtn.onPress = function () {
screen_howto.stopRun();
screenOut(screen_howto, menuScreen, 170, -140);
};
screen_options.menuBtn.onPress = function () {
screenOut(screen_options, menuScreen, 170, -140);
};
screen_credits.menuBtn.onPress = function () {
screenOut(screen_credits, menuScreen, 170, -140);
};
screen_gameOver.submitBtn.onPress = function () {
this.enabled = false;
this.gotoAndStop("_up");
screen_gameOver.restartBtn.enabled = false;
screen_gameOver.saveBtn.enabled = false;
frame_logo.enabled = false;
frame_celebrate.enabled = false;
frame_superstar.enabled = false;
loadHub();
};
screen_gameOver.restartBtn.onPress = function () {
startGame = true;
screenOut(screen_gameOver, menuScreen, 140, -140);
};
screen_gameOver.saveBtn.onPress = function () {
screenOut(screen_gameOver, scoresScreen, 140, -140);
};
var colorways = ["shoe0", "shoe1", "shoe2", "shoe3", "shoe4", "shoe5", "shoe6", "shoe7", "shoe8", "shoe9", "shoe10", "shoe11"];
var images = ["img0", "img1", "img2", "img3", "img4", "img5", "img6", "img7", "img8", "img9", "img10", "img11"];
var colors = [];
colors[0] = new flash.geom.ColorTransform(0, 0, 0, 1, 255, 255, 255, 0);
colors[1] = new flash.geom.ColorTransform(0, 0, 0, 1, 0, 0, 0, 0);
colors[2] = new flash.geom.ColorTransform(0, 0, 0, 1, 255, 153, 204, 0);
colors[3] = new flash.geom.ColorTransform(0, 0, 0, 1, 153, 153, 255, 0);
colors[4] = new flash.geom.ColorTransform(0, 0, 0, 1, 51, 78, 142, 0);
colors[5] = new flash.geom.ColorTransform(0, 0, 0, 1, 153, 153, 102, 0);
colors[6] = new flash.geom.ColorTransform(0, 0, 0, 1, 181, 148, 100, 0);
colors[7] = new flash.geom.ColorTransform(0, 0, 0, 1, 204, 51, 0, 0);
colors[8] = new flash.geom.ColorTransform(0, 0, 0, 1, 145, 195, 178, 0);
colors[9] = new flash.geom.ColorTransform(0, 0, 0, 1, 153, 153, 175, 0);
colors[10] = new flash.geom.ColorTransform(0, 0, 0, 1, 60, 137, 170, 0);
colors[11] = new flash.geom.ColorTransform(0, 0, 0, 1, 90, 62, 58, 0);
colors[300] = new flash.geom.ColorTransform(0, 0, 0, 1, 9, 91, 166, 0);
var shoes = [];
var img = [];
var cways = [];
MovieClip.prototype.transColor = function (c) {
var _local2 = new flash.geom.Transform(this);
if (c == 1000) {
_local2.colorTransform = colors[300];
} else {
_local2.colorTransform = cways[c];
}
};
var sNum = 0;
var sRun = true;
var blockers = [];
var levelChange = function (prop, prev, input) {
levelBar._yscale = 100 - ((input / levelGoal) * 100);
return(input);
};
this.watch("levelCount", levelChange);
screen_levelBonus.goBtn.onPress = function () {
screen_levelBonus._visible = false;
levelNext();
};
Jlstn.onMouseDown = function () {
if (field.hitTest(_xmouse, _ymouse, false) && (!addingRow)) {
Mouse.removeListener(Jlstn);
action = true;
field.pointer._visible = false;
if (jumper.walking) {
jumper.jumping = true;
} else {
jumper.gotoAndPlay("jump");
jumper.jumping = true;
sfx.vert.start();
}
}
};
Jlstn.onMouseMove = function () {
if (((!jumper.walking) && (!jumper.jumping)) && (!addingRow)) {
jumper.walk();
}
};
Symbol 75 MovieClip [shoe10] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 75 MovieClip [shoe10] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 75 MovieClip [shoe10] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 75 MovieClip [shoe10] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 75 MovieClip [shoe10] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 75 MovieClip [shoe10] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 75 MovieClip [shoe10] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 75 MovieClip [shoe10] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 82 MovieClip [shoe9] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 82 MovieClip [shoe9] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 82 MovieClip [shoe9] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 82 MovieClip [shoe9] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 82 MovieClip [shoe9] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 82 MovieClip [shoe9] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 82 MovieClip [shoe9] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 82 MovieClip [shoe9] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 89 MovieClip [shoe8] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 89 MovieClip [shoe8] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 89 MovieClip [shoe8] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 89 MovieClip [shoe8] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 89 MovieClip [shoe8] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 89 MovieClip [shoe8] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 89 MovieClip [shoe8] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 89 MovieClip [shoe8] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 96 MovieClip [shoe7] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 96 MovieClip [shoe7] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 96 MovieClip [shoe7] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 96 MovieClip [shoe7] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 96 MovieClip [shoe7] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 96 MovieClip [shoe7] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 96 MovieClip [shoe7] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 96 MovieClip [shoe7] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 103 MovieClip [shoe6] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 103 MovieClip [shoe6] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 103 MovieClip [shoe6] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 103 MovieClip [shoe6] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 103 MovieClip [shoe6] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 103 MovieClip [shoe6] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 103 MovieClip [shoe6] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 103 MovieClip [shoe6] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 110 MovieClip [shoe5] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 110 MovieClip [shoe5] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 110 MovieClip [shoe5] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 110 MovieClip [shoe5] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 110 MovieClip [shoe5] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 110 MovieClip [shoe5] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 110 MovieClip [shoe5] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 110 MovieClip [shoe5] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 117 MovieClip [shoe4] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 117 MovieClip [shoe4] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 117 MovieClip [shoe4] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 117 MovieClip [shoe4] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 117 MovieClip [shoe4] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 117 MovieClip [shoe4] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 117 MovieClip [shoe4] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 117 MovieClip [shoe4] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 124 MovieClip [shoe3] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 124 MovieClip [shoe3] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 124 MovieClip [shoe3] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 124 MovieClip [shoe3] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 124 MovieClip [shoe3] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 124 MovieClip [shoe3] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 124 MovieClip [shoe3] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 124 MovieClip [shoe3] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 131 MovieClip [shoe2] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 131 MovieClip [shoe2] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 131 MovieClip [shoe2] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 131 MovieClip [shoe2] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 131 MovieClip [shoe2] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 131 MovieClip [shoe2] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 131 MovieClip [shoe2] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 131 MovieClip [shoe2] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 138 MovieClip [shoe1] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 138 MovieClip [shoe1] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 138 MovieClip [shoe1] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 138 MovieClip [shoe1] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 138 MovieClip [shoe1] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 138 MovieClip [shoe1] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 138 MovieClip [shoe1] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 138 MovieClip [shoe1] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 147 MovieClip [shoe_colorball] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 147 MovieClip [shoe_colorball] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.bounce.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 147 MovieClip [shoe_colorball] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 147 MovieClip [shoe_colorball] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 147 MovieClip [shoe_colorball] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 147 MovieClip [shoe_colorball] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 147 MovieClip [shoe_colorball] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 147 MovieClip [shoe_colorball] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 154 MovieClip [shoe0] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 154 MovieClip [shoe0] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 154 MovieClip [shoe0] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 154 MovieClip [shoe0] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 154 MovieClip [shoe0] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 154 MovieClip [shoe0] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 154 MovieClip [shoe0] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 154 MovieClip [shoe0] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 157 MovieClip [shoe_blocker] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
Symbol 164 MovieClip [shoe11] Frame 1
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
var pnum = 0;
var walking = false;
var jumping = false;
Symbol 164 MovieClip [shoe11] Frame 6
function walk() {
if ((_parent._xmouse > (this._x + 20)) && (this._x < 470)) {
walking = true;
((this._xscale == -100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = 100;
pnum = 40;
this.play();
} else if ((_parent._xmouse < (this._x - 20)) && (this._x > 40)) {
walking = true;
((this._xscale == 100) ? (shoeSound(1)) : (shoeSound(0)));
this._xscale = -100;
pnum = -40;
this.play();
} else {
walking = false;
}
}
function shoeSound(n) {
switch (n) {
case 0 :
_root.sfx.step.start();
break;
case 1 :
_root.sfx[_root.squeek[Math.round(Math.random() * (_root.squeek.length - 1))]].start();
break;
case 2 :
_root.sfx.vert.start();
}
}
stop();
this._x = this._x + pnum;
_parent._parent.trackPointer(0, 0);
if (jumping) {
shoeSound(2);
gotoAndPlay ("jump");
} else {
walk();
}
Symbol 164 MovieClip [shoe11] Frame 7
((pnum > 0) ? (_parent._parent.trackPointer(5, 0)) : (_parent._parent.trackPointer(-5, 0)));
Symbol 164 MovieClip [shoe11] Frame 8
((pnum > 0) ? (_parent._parent.trackPointer(10, -10)) : (_parent._parent.trackPointer(-10, -10)));
Symbol 164 MovieClip [shoe11] Frame 9
((pnum > 0) ? (_parent._parent.trackPointer(20, -15)) : (_parent._parent.trackPointer(-20, -15)));
Symbol 164 MovieClip [shoe11] Frame 10
((pnum > 0) ? (_parent._parent.trackPointer(30, -10)) : (_parent._parent.trackPointer(-30, -10)));
Symbol 164 MovieClip [shoe11] Frame 11
((pnum > 0) ? (_parent._parent.trackPointer(35, 0)) : (_parent._parent.trackPointer(-35, 0)));
gotoAndStop ("step");
Symbol 164 MovieClip [shoe11] Frame 16
this._y = this._y - 20;
_root.trackJumper();
Symbol 168 MovieClip [fieldscore] Frame 1
this.cacheAsBitmap = true;
Symbol 168 MovieClip [fieldscore] Frame 6
stop();
this.removeMovieClip();
Symbol 170 MovieClip [star] Frame 1
stop();
this.cacheAsBitmap = true;
Symbol 193 MovieClip Frame 1
stop();
var over = false;
Symbol 193 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 193 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 197 MovieClip Frame 1
stop();
var over = false;
Symbol 197 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 197 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 202 MovieClip Frame 1
stop();
var over = false;
Symbol 202 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 202 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 228 MovieClip Frame 1
function startBlocker_stars() {
onEnterFrame = function () {
var _local1 = Math.round(Math.random() * 100);
if (_local1 < 5) {
star();
}
};
}
function killBlocker_stars() {
delete onEnterFrame;
}
function star() {
var _local2 = 60 + Math.round(Math.random() * 40);
var _local4 = Math.round(5 - (Math.random() * 10));
var _local3 = Math.round(2 - (Math.random() * 4));
bstars.attachMovie("star", "st" + sn, sn, {_x:_local4, _y:_local3, _alpha:50, _xscale:_local2, _yscale:_local2});
_root.starRun(bstars["st" + sn], 2);
var _local5 = new flash.geom.Transform(bstars["st" + sn]);
_local5.colorTransform = _root.colors[300];
((sn < 1000) ? (sn++) : ((sn = 0)));
}
stop();
this.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 2, 2)];
this.createEmptyMovieClip("bstars", 0);
startBlocker_stars();
var sn = 0;
Symbol 246 MovieClip Frame 1
function pageTo(n) {
pg = n;
gotoAndStop("pg" + n);
}
function stopRun() {
if (pg == 3) {
blockerImage.blockerDemo.killBlocker_stars();
}
}
function startRun() {
if (pg == 3) {
blockerImage.blockerDemo.startBlocker_stars();
}
}
stop();
var pg = 1;
backBtn.onPress = function () {
if (pg > 1) {
pg--;
pageTo(pg);
} else {
stopRun();
_root.screenOut(_root.screen_howto, _root.menuScreen, 170, -140);
}
};
nextBtn.onPress = function () {
if (pg < 4) {
pg++;
pageTo(pg);
} else {
stopRun();
_root.screenOut(_root.screen_howto, _root.menuScreen, 170, -140);
}
};
Symbol 274 MovieClip Frame 1
function pageTo(n) {
pg = n;
gotoAndStop("pg" + n);
}
stop();
var pg = 1;
backBtn.onPress = function () {
if (pg > 1) {
pg--;
pageTo(pg);
} else {
_root.screenOut(_root.screen_credits, _root.menuScreen, 170, -140);
}
};
nextBtn.onPress = function () {
if (pg < 3) {
pg++;
pageTo(pg);
} else {
_root.screenOut(_root.screen_credits, _root.menuScreen, 170, -140);
}
};
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 6
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 6
stop();
_root.sfx.btnOver.start();
Symbol 297 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 6
stop();
_root.sfx.btnOver.start();
Symbol 301 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 6
stop();
_root.sfx.btnOver.start();
Symbol 305 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 6
stop();
_root.sfx.btnOver.start();
Symbol 317 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 6
stop();
_root.sfx.btnOver.start();
Symbol 323 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 328 MovieClip Frame 1
function setFX() {
_root.sfx.btnDown.start();
this.barLevel.stopDrag();
var _local3 = Math.round((100 + this.barLevel._x) / 10);
this.barLevel._x = -(100 - (_local3 * 10));
_root.set_fxVolume(_local3 * 10);
}
function setBG() {
_root.sfx.btnDown.start();
this.barLevel.stopDrag();
var _local3 = Math.round((100 + this.barLevel._x) / 10);
this.barLevel._x = -(100 - (_local3 * 10));
_root.set_bgVolume(_local3 * 10);
}
function pageTo(n) {
pg = n;
gotoAndStop("pg" + n);
}
stop();
var FXprev = 0;
var BGprev = 0;
FXmuteBtn.onPress = function () {
_root.sfx.btnDown.start();
if (fxMute) {
this.gotoAndStop("_off");
fxMute = false;
fxBar.barLevel._x = FXprev;
_root.set_fxVolume(100 + FXprev);
} else {
this.gotoAndStop("_on");
fxMute = true;
FXprev = fxBar.barLevel._x;
fxBar.barLevel._x = -100;
_root.set_fxVolume(0);
}
};
FXmuteBtn.onRollOver = function () {
_root.sfx.btnOver.start();
this.gotoAndStop("_on");
};
FXmuteBtn.onRollOut = function () {
if (!fxMute) {
this.gotoAndStop("_off");
}
};
BGmuteBtn.onPress = function () {
_root.sfx.btnDown.start();
if (bgMute) {
this.gotoAndStop("_off");
bgMute = false;
bgBar.barLevel._x = BGprev;
_root.set_bgVolume(100 + BGprev);
} else {
this.gotoAndStop("_on");
bgMute = true;
BGprev = bgBar.barLevel._x;
bgBar.barLevel._x = -100;
_root.set_bgVolume(0);
}
};
BGmuteBtn.onRollOver = function () {
_root.sfx.btnOver.start();
this.gotoAndStop("_on");
};
BGmuteBtn.onRollOut = function () {
if (!bgMute) {
this.gotoAndStop("_off");
}
};
fxBar.barLevel._x = fxBar.barLevel._x - 70;
_root.set_fxVolume(30);
bgBar.barLevel._x = bgBar.barLevel._x - 20;
_root.set_bgVolume(80);
fxBar.onRollOver = function () {
_root.sfx.btnOver.start();
};
fxBar.onPress = function () {
this.barLevel.startDrag(false, -100, 0, 0, 0);
};
fxBar.onRelease = setFX;
fxBar.onReleaseOutside = setFX;
bgBar.onRollOver = function () {
_root.sfx.btnOver.start();
};
bgBar.onPress = function () {
this.barLevel.startDrag(false, -100, 0, 0, 0);
};
bgBar.onRelease = setBG;
bgBar.onReleaseOutside = setBG;
var pg = 1;
backBtn.onPress = function () {
if (pg > 1) {
pg--;
pageTo(pg);
} else {
_root.screenOut(_root.screen_options, _root.menuScreen, 170, -140);
}
};
nextBtn.onPress = function () {
if (pg < 2) {
pg++;
pageTo(pg);
} else {
_root.screenOut(_root.screen_options, _root.menuScreen, 170, -140);
}
};
Symbol 328 MovieClip Frame 6
function setBtns() {
var _local2 = 0;
while (_local2 < 3) {
if ((_local2 + 1) == _root.dFactor) {
btns[_local2].enabled = false;
btns[_local2].gotoAndStop("_down");
dPointer._rotation = 20 - (_local2 * 20);
} else {
btns[_local2].enabled = true;
btns[_local2].gotoAndStop("_up");
}
_local2++;
}
}
stop();
var btns = [easyBtn, normBtn, hardBtn];
setBtns();
easyBtn.onPress = function () {
_root.dFactor = 1;
setBtns();
};
normBtn.onPress = function () {
_root.dFactor = 2;
setBtns();
};
hardBtn.onPress = function () {
_root.dFactor = 3;
setBtns();
};
Symbol 328 MovieClip Frame 11
stop();
onBtn.enabled = false;
onBtn.gotoAndStop("_over");
sPointer._rotation = 10;
onBtn.onPress = function () {
sPointer._rotation = 10;
this.enabled = false;
this.gotoAndStop("_over");
offBtn.enabled = true;
offBtn.gotoAndStop("_up");
_root.sRun = true;
};
offBtn.onPress = function () {
sPointer._rotation = -10;
this.enabled = false;
this.gotoAndStop("_over");
onBtn.enabled = true;
onBtn.gotoAndStop("_up");
_root.sRun = false;
};
Symbol 336 MovieClip Frame 1
stop();
var over = false;
Symbol 336 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 336 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 367 MovieClip Frame 1
stop();
var over = false;
Symbol 367 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 367 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 371 MovieClip Frame 1
function updateBoard() {
d = _root.dFactor;
if (sObj.data.scores == undefined) {
sObj.data.scores = sboard;
} else {
sboard = sObj.data.scores;
}
stats.text = (_root.levelNum + " / ") + _root.score;
input.text = "";
}
function saveScore() {
var _local2 = {nm:input.text, lv:_root.levelNum, sc:_root.score};
sboard[d - 1].push(_local2);
sboard[d - 1].sortOn("sc", Array.NUMERIC | Array.DESCENDING);
if (sboard[d - 1].length > 10) {
sboard[d - 1].pop();
}
sObj.data.scores = sboard;
sObj.flush();
swapBtns(d - 1);
saveBtn.enabled = false;
saveBtn.gotoAndStop("_up");
}
function setBoard(b) {
updateBoard();
sboard[b].sortOn("sc", Array.NUMERIC | Array.DESCENDING);
var _local3 = sboard[b];
var _local2 = 1;
while (_local2 < (_local3.length + 1)) {
this["n" + _local2].text = _local3[_local2 - 1].nm;
this["s" + _local2].text = (_local3[_local2 - 1].lv + " / ") + _local3[_local2 - 1].sc;
_local2++;
}
}
function swapBtns(n) {
var _local1 = 0;
while (_local1 < btns.length) {
if (_local1 == n) {
btns[_local1].enabled = false;
btns[_local1].gotoAndStop("_down");
} else {
btns[_local1].enabled = true;
btns[_local1].gotoAndStop("_up");
}
_local1++;
}
setBoard(n);
}
stop();
var d;
input.maxChars = 8;
var sboard = [];
var i = 0;
while (i < 3) {
var df = [];
var j = 0;
while (j < 10) {
var ob = {nm:" ", lv:0, sc:0};
df.push(ob);
j++;
}
sboard.push(df);
i++;
}
var sObj = SharedObject.getLocal("superstarbreakout", "/");
saveBtn.onPress = saveScore;
backBtn.onPress = function () {
saveBtn.enabled = true;
_root.screenOut(_root.screen_scores, _root.gameOverScreen, 170, -140);
};
var btns = [easyBtn, normBtn, hardBtn];
easyBtn.onPress = function () {
swapBtns(0);
};
normBtn.onPress = function () {
swapBtns(1);
};
hardBtn.onPress = function () {
swapBtns(2);
};
swapBtns(d - 1);
Symbol 389 MovieClip Frame 1
stop();
var over = false;
Symbol 389 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 389 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 393 MovieClip Frame 1
stop();
var over = false;
Symbol 393 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 393 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 395 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 1
stop();
var over = false;
Symbol 409 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 409 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 417 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 1
stop();
var over = false;
Symbol 425 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 425 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 426 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 1
stop();
var over = false;
Symbol 430 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 430 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 434 MovieClip Frame 1
stop();
var over = false;
Symbol 434 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 434 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 438 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 1
stop();
var over = false;
Symbol 447 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 447 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 455 MovieClip Frame 1
stop();
var over = false;
Symbol 455 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 455 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 459 MovieClip Frame 1
stop();
var over = false;
Symbol 459 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 459 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 463 MovieClip Frame 1
stop();
var over = false;
Symbol 463 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 463 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 466 MovieClip Frame 1
stop();
var over = false;
Symbol 466 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 466 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 467 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 1
stop();
var over = false;
Symbol 478 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 478 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 482 MovieClip Frame 1
stop();
var over = false;
Symbol 482 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
}
Symbol 482 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
Symbol 488 MovieClip Frame 1
stop();
var over = false;
Symbol 488 MovieClip Frame 6
stop();
if (!over) {
_root.sfx.btnOver.start();
over = true;
}
Symbol 488 MovieClip Frame 11
stop();
_root.sfx.btnDown.start();
_root.starClick(this);
Symbol 491 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 492 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 493 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 494 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}