Frame 1
function init() {
this.onEnterFrame = function () {
fileTotal = _root.getBytesTotal();
fileLoaded = _root.getBytesLoaded();
total = fileTotal;
loaded = fileLoaded;
percent = Math.ceil((loaded / total) * 100);
loaderoutside_mc.loader_mc.percentdisplay = percent + "%";
loaderoutside_mc.loader_mc.gotoAndStop(percent);
if (fileTotal > 40) {
if (percent == 100) {
delete this.onEnterFrame;
gotoAndPlay (2);
}
}
};
}
_root._quality = "best";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
fscommand ("trapallkeys", "true");
_focusrect = false;
stop();
if (!cid) {
cid = "../data";
_root.testing = true;
}
init();
Frame 2
_global.hBox_submit = function (id) {
trace("hBox_submit : " + id);
_root["interval_" + id] = setInterval(_root.hBox_submitAction, 100, id);
};
hBox_submitAction = function (id) {
clearInterval(_root["interval_" + id]);
var _local2 = "/us/Superman+Returns/Save+Metropolis";
getURL (((("javascript:_hbPageView('" + id) + "','") + _local2) + "');");
};
function testingCallBack(passParams) {
arguments=passParams.split(",");//parameter overwritten
passParams.split(",");
trace("funtion callback success - params are:");
i = 0;
while (i < arguments.length) {
trace(arguments[i]);
i++;
}
}
MovieClip.prototype.effect = function (callBackFunction, callBackParam, prop1, dest1, speed1, snapping1, prop2, dest2, speed2, snapping2, prop3, dest3, speed3, snapping3, prop4, dest4, speed4, snapping4, prop5, dest5, speed5, snapping5, prop6, dest6, speed6, snapping6) {
this.prevProtoCount = ((this.effectProtoCount != undefined) ? (Number(this.effectProtoCount + 1)) : 10);
i = 0;
while (i < this.prevProtoCount) {
this["skipEffectIndex_" + i] = undefined;
this["failSafeCounter_" + i] = 0;
((eval ("prop" + i) == "_alpha") ? (((eval ("snapping" + i) == 1) ? (trace("EFFECT PROTO - ALPHA SNAP CHANGED")undefined[undefined][eval ("snapping" + i) == 2]) : "")) : "");
i++;
}
this.effectProtoCount = (arguments.length - 2) / 4;
this.effectProtoCounter = 0;
this.hardSnapCount = 15;
this.traceDeleted = 1;
this.onEnterFrame = function () {
i = 1;
while (i < Number(this.effectProtoCount + 1)) {
if (this["skipEffectIndex_" + i] == undefined) {
((Math.round(Math.abs(this[eval ("prop" + i)] - eval ("dest" + i))) >= eval ("snapping" + i)) ? ([(this[eval ("prop" + i)] = this[eval ("prop" + i)] + ((eval ("dest" + i) - this[eval ("prop" + i)]) / eval ("speed" + i)))]) : ([(this[eval ("prop" + i)] = eval ("dest" + i))][this.effectProtoCounter++][(this["skipEffectIndex_" + i] = true)]));
((Math.round(Math.abs(this[eval ("prop" + i)] - eval ("dest" + i))) == this["prevSnap_" + i]) ? ((this["failSafeCounter_" + i] = this["failSafeCounter_" + i] + 1)) : "");
this["prevSnap_" + i] = Math.round(Math.abs(this[eval ("prop" + i)] - eval ("dest" + i)));
((this["failSafeCounter_" + i] > this.hardSnapCount) ? (trace("EFFECT PROTO - HARD SNAP - " + eval ("prop" + i))[undefined][(this[eval ("prop" + i)] = eval ("dest" + i))][this.effectProtoCounter++][(this["skipEffectIndex_" + i] = true)]) : "");
}
i++;
}
((this.effectProtoCount == this.effectProtoCounter) ? ([delete this.onEnterFrame][(this.traceDeleted ? (trace("EFFECT PROTO - DELETED: " + this)) : "")][callBackFunction(callBackParam)]) : "");
};
};
this.onMouseDown = function () {
h_0.h_1.h_2.h_3.effect(_root.testingCallBack, "param1,param2,param3", "_x", random(180), 3, 1, "_y", random(200), 3, 1, "_alpha", random(53), 8, 2, "_xscale", random(135), 2, 3, "_yscale", random(50), 3, 1, "_rotation", random(45), 3, 1);
};
Frame 3
playMusic = function (withIntro) {
if (withIntro == undefined) {
withIntro = true;
}
trace("playMusic");
if (withIntro) {
if (!Audio.isPlaying("music_intro")) {
Audio.playSound("music_intro", 100, 0);
} else {
Audio.setVolume("music_intro", 100);
}
}
if (!Audio.isPlaying("music_loop")) {
Audio.playLoop("music_loop", true, 100);
} else {
Audio.clearCallback("music_intro");
Audio.fadeIn("music_loop", 100);
}
};
fadeOutMusic = function () {
Audio.fadeOut("music_intro", 0, {target:_root, func:"stopMusic"});
Audio.fadeOut("music_loop");
};
stopMusic = function () {
Audio.stopSound("music_intro");
Audio.stopSound("music_loop");
};
Frame 12
playMusic();
Frame 14
stop();
if (silver_frame_top._currentframe > 1) {
silver_frame_top.gotoAndPlay("close");
}
if (silver_frame_top._currentframe > 1) {
playMusic();
}
Frame 15
miniclip_mc.loadMovie("http://ads.miniclip.com/RealMedia/ads/adstream_sx.ads/miniclip.com/superman_gameplays/45335@x01");
silver_frame_top.gotoAndPlay("open");
stop();
fadeOutMusic();
Frame 24
silver_frame_top.gotoAndPlay("close");
Frame 34
stop();
playMusic(_root.success);
Symbol 12 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 7
stop();
Symbol 15 MovieClip Frame 1
txt_ondate = "<p align='center'><b>OWN THE DVD<br>11/28</b></p>";
txt_looktothesky = "<p align='center'><b>OWN THE VIDEOGAME<br>11/22</b></p>";
txt_websiteurl = "www.supermanreturns.com";
txt_URL_website = "www.supermanreturns.com";
txt_tellafriend = "Tell a friend";
txt_LOADED = "1";
txt_copyright = "SUPERMAN\u2122 and all related characters and elements are trademarks of and \u00A9 DC Comics.";
txt_register = "Register for Superman Returns updates";
txt_registerurl = "t.4at1.com/was1022/reg.html?source=superman_uktitle=superman_intl";
txt_book = "Book tickets now";
txt_bookurl = "www.hyperlaunch.com/superman/booknow.html";
txt_looktothesky_url = "http://www.dailyplanet.com";
txt_dailyplaneturl = "www.dailyplanet.com";
txt_save = "SAVE";
txt_metropolis = "METROPOLIS";
txt_startscreen = "Loose debris is falling from the Daily Planet\u2122 building! Use your super powers to save the people in the streets below!";
txt_play = "Play";
txt_instructions = "How to play";
txt_instructions_copy = "Save the people on the streets below by catching the wreckage that is falling from the building. Use your arrow keys to steer left and right smashing as much falling debris as you go, but watch out for any Kryptonite\u2122! %0d%0dOnce you've caught the wreckage, start tapping your 'up' arrow key to slow superman down and safely dispose of the wreckage. But be quick - the ground is fast approaching!";
txt_getready = "GET READY!";
txt_tapwarning = "START TAPPING 'UP' NOW!";
txt_restart = "RESTART";
txt_score = "Score:";
txt_level = "Level:";
txt_welldone = "SUPER EFFORT!";
txt_fail = "OH NO!";
txt_gameover = "GAME OVER";
txt_message1 = "You reached the top, but what took you?";
txt_message2 = "But surely you can do better?";
txt_message3 = "Well done, Superman\u2122.";
txt_message4 = "Metropolis is in safe hands. Thank you, Superman\u2122!";
txt_bestscore = "Best score";
txt_newhighscore = "Your highest score!";
txt_replay = "Play again?";
txt_trailer = "Watch the trailer";
txt_URL_trailer = "http://supermanreturns.warnerbros.com/";
txt_clip = "SAVE THE INTERNET";
txt_internet = "Save the Internet";
txt_paperttlgood = "<p align='center'><font size='18'>SUPERMAN</font><font size='4'>TM</font><font size='1'><BR></font><font size='12'>IS BACK!</font></p>";
txt_papersubgood = "<p align='center'><font size='9'>WHY DID HE EVER LEAVE?</font></p>";
txt_paperttlbad = "<p align='center'>SUPERMAN <font size'12'>TM<br>FAILS US!</font></p>";
txt_papersubbad = "<p align='center'><font size='9'>WHY DID HE EVER RETURN?</font></p>";
txt_mailtoSubject = "Help Superman(TM) save Metropolis!";
txt_mailtoBody = "Fly up the Daily Planet building and help Superman save the people below from falling objects!";
txt_mailtoLine2 = "Superman Returns - Own the DVD November 28 and the Videogame November 22";
txt_mailtoLine3 = "Visit DailyPlanet.com";
cid = "uk";
Symbol 22 MovieClip [Building] Frame 1
#initclip 18
Object.registerClass("Building", Building);
#endinitclip
Symbol 35 MovieClip [buildingBlock] Frame 1
stop();
Symbol 47 MovieClip [Debris] Frame 1
#initclip 17
Object.registerClass("Debris", Debris);
#endinitclip
stop();
Symbol 52 MovieClip Frame 1
score = _parent.score;
if (score > 0) {
score = "+" + String(score);
stop();
} else {
score = String(score);
gotoAndStop ("negative");
}
tBox.autoSize = "center";
tBox.multiline = false;
tBox.wordWrap = false;
tBox.text = score;
tBox2.autoSize = "center";
tBox2.multiline = false;
tBox2.wordWrap = false;
tBox2.text = score;
Symbol 52 MovieClip Frame 10
tBox.autoSize = "center";
tBox.multiline = false;
tBox.wordWrap = false;
tBox.text = score;
tBox2.autoSize = "center";
tBox2.multiline = false;
tBox2.wordWrap = false;
tBox2.text = score;
Symbol 53 MovieClip Frame 1
score = _parent.score;
Symbol 54 MovieClip [scorePopup] Frame 31
this.removeMovieClip();
Symbol 55 MovieClip [scorePopupHigh] Frame 43
this.removeMovieClip();
Symbol 57 MovieClip Frame 17
stop();
Symbol 58 MovieClip [McExplosion] Frame 1
Explode_S = new Sound();
Explode_S.attachSound("Exploding");
Explode_S.start();
NbDebris = Math.floor(Math.random() * 6) + 15;
Depth = 1;
var i = 1;
while (i <= NbDebris) {
this.attachMovie("McDebris", "Debris" + i, Depth);
Depth++;
i++;
}
Symbol 60 MovieClip [McDebris] Frame 1
Angle = (Math.PI/180) * (Math.random() * 360);
VitesseV = (Math.random() * 8) + 2;
VitesseH = (Math.random() * 20) + 2;
Gravite = 4;
Hauteur = (Math.random() * 10) + 10;
Ralentis = 0.95;
Taille = (Math.random() * 100) + 50;
Counter = -3;
Rebond = false;
_xscale = ((this._yscale = Taille));
Yadd = 0;
this.onEnterFrame = function () {
Counter++;
var _local3 = Math.ceil(5 - (VitesseV / 2));
if (((Counter == _local3) && (VitesseV > 1)) && (Taille >= 100)) {
_parent.Depth++;
Counter = 0;
}
this._x = this._x + (Math.cos(Angle) * VitesseV);
Yadd = Yadd + (Math.sin(Angle) * VitesseV);
this._y = (Yadd - Hauteur) * 0.75;
VitesseV = VitesseV * Ralentis;
VitesseH = VitesseH - Gravite;
if ((Hauteur + VitesseH) <= 0) {
if ((Math.abs(VitesseH) > 4) && (Rebond)) {
VitesseH = -(VitesseH * 0.3);
}
}
Hauteur = Hauteur + VitesseH;
if (VitesseV < 1) {
this._alpha = this._alpha - 4;
}
if (_alpha <= 2) {
this.removeMovieClip();
}
};
Symbol 61 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 6
stop();
Symbol 68 MovieClip Frame 12
gotoAndStop (1);
Symbol 73 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
var audArr = ["music_intro", "music_loop", "fanfare", "button_click", "button_rollover", "superman_fall", "warning_beep", "wind_down", "wind_up", "city_loop", "smash1", "smash2"];
i = 1;
while (i <= 6) {
audArr.push("debris_swish" + i);
i++;
}
new Audio(this, audArr);
stop();
this.onRelease = function () {
if (!Audio.getMuteToggle()) {
b.gotoAndStop("on");
} else {
b.gotoAndStop("off");
}
Audio.muteToggle();
};
Symbol 568 MovieClip [__Packages.Audio] Frame 0
class Audio
{
static var soundFiles, globSound;
function Audio (tg, audioLinks) {
soundFiles = new Array();
globSound = new Sound(_root);
var _local3 = 0;
while (_local3 < audioLinks.length) {
var _local2 = audioLinks[_local3];
var _local5 = tg.createEmptyMovieClip(_local2, _local3);
tg[_local2] = new Sound(_local5);
tg[_local2].attachSound(_local2);
soundFiles.push({label:_local2, sound:tg[_local2], playing:false, mc:_local5});
_local3++;
}
}
static function muteToggle() {
if (globSound.getVolume() == 0) {
globSound.setVolume(100);
} else {
globSound.setVolume(0);
}
}
static function getMuteToggle() {
if (globSound.getVolume() == 0) {
return(false);
}
return(true);
}
static function setVolume(snd, vol) {
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label == snd) {
soundFiles[_local1].sound.setVolume(vol);
}
_local1++;
}
}
static function playRandomSound(sndGroup, vol, pan) {
var _local2 = new Array();
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label.indexOf(sndGroup) != -1) {
_local2.push(soundFiles[_local1]);
}
_local1++;
}
if (_local2.length == 0) {
trace(sndGroup + " soundGroup not found");
return(undefined);
}
var _local4 = Math.round(MathAdv.random(0, _local2.length - 1));
playSound(_local2[_local4].label, vol, pan);
}
static function playSound(snd, vol, pan, callback) {
var i = 0;
while (i < soundFiles.length) {
if (soundFiles[i].label == snd) {
if (vol != undefined) {
soundFiles[i].sound.setVolume(vol);
} else {
soundFiles[i].sound.setVolume(100);
}
if (pan != undefined) {
soundFiles[i].sound.setPan(pan);
} else {
soundFiles[i].sound.setPan(0);
}
soundFiles[i].sound.start();
soundFiles[i].playing = true;
if (callback != undefined) {
soundFiles[i].sound.onSoundComplete = function () {
Audio.soundFiles[i].playing = false;
callback.target[callback.func]();
};
}
return(undefined);
}
i++;
}
trace(snd + " sound not found");
}
static function cancelCallBack(snd) {
var i = 0;
while (i < soundFiles.length) {
if (soundFiles[i].label == snd) {
soundFiles[i].sound.onSoundComplete = function () {
Audio.soundFiles[i].playing = false;
};
}
i++;
}
}
static function isPlaying(snd) {
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label == snd) {
return(soundFiles[_local1].playing);
}
_local1++;
}
}
static function stopSound(snd) {
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label == snd) {
soundFiles[_local1].sound.stop();
soundFiles[_local1].playing = false;
return(undefined);
}
_local1++;
}
trace(snd + " sound not found");
}
static function playLoop(snd, fade, targVol) {
if (fade == undefined) {
fade = true;
}
if (targVol == undefined) {
targVol = 100;
}
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label == snd) {
if (!soundFiles[_local1].playing) {
soundFiles[_local1].sound.start(0, 1000);
}
if (fade) {
soundFiles[_local1].sound.setVolume(0);
fadeIn(snd, targVol);
} else {
soundFiles[_local1].sound.setVolume(targVol);
}
soundFiles[_local1].playing = true;
return(undefined);
}
_local1++;
}
trace(snd + " sound not found");
}
static function fadeIn(snd, targVol, callback) {
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label == snd) {
snd = soundFiles[_local1].sound;
var _local2 = soundFiles[_local1].mc;
}
_local1++;
}
if (targVol == undefined) {
targVol = 100;
}
clearInterval(_local2.fadeInterval);
_local2.fadeInterval = setInterval(fade, 40, "in", snd, targVol, _local2, callback);
}
static function fadeOut(snd, targVol, callback) {
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label == snd) {
snd = soundFiles[_local1].sound;
var _local2 = soundFiles[_local1].mc;
}
_local1++;
}
if (targVol == undefined) {
targVol = 0;
}
clearInterval(_local2.fadeInterval);
_local2.fadeInterval = setInterval(fade, 40, "out", snd, targVol, _local2, callback);
}
static function fade(type, snd, targVol, sndMC, callback) {
if (type == "in") {
if (snd.getVolume() < targVol) {
snd.setVolume(snd.getVolume() + 2);
} else {
snd.setVolume(targVol);
clearInterval(sndMC.fadeInterval);
sndMC.fadeInterval = null;
if (callback != undefined) {
callback.target[callback.func]();
}
}
}
if (type == "out") {
if (snd.getVolume() > targVol) {
snd.setVolume(snd.getVolume() - 2);
} else {
snd.setVolume(targVol);
clearInterval(sndMC.fadeInterval);
sndMC.fadeInterval = null;
if (callback != undefined) {
callback.target[callback.func]();
}
}
}
}
static function clearCallback(snd) {
var _local1 = 0;
while (_local1 < soundFiles.length) {
if (soundFiles[_local1].label == snd) {
var _local2 = soundFiles[_local1].mc;
clearInterval(_local2.fadeInterval);
_local2.fadeInterval = null;
}
_local1++;
}
}
}
Symbol 569 MovieClip [__Packages.MathAdv] Frame 0
class MathAdv
{
function MathAdv () {
}
static function getValueBasedOnPercent(percentage, maxVal, minVal) {
if (minVal == undefined) {
minVal = 0;
}
if ((percentage == undefined) || (maxVal == undefined)) {
return(undefined);
}
return(minVal + (((maxVal - minVal) * percentage) / 100));
}
static function getPercent(minVal, maxVal) {
return((minVal / maxVal) * 100);
}
static function distance(x1, y1, x2, y2) {
var _local2 = x2 - x1;
var _local1 = y2 - y1;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
}
static function difference(x1, x2) {
var _local1 = x1 - x2;
if (_local1 < 0) {
return(-_local1);
}
return(_local1);
}
static function snap(value, snapTo, offset) {
if (offset == undefined) {
return(Math.round(value / snapTo) * snapTo);
}
return((Math.floor(value / snapTo) * snapTo) + Number(offset));
}
static function getAngle(source, destination) {
var _local1 = Math.atan2(source[1] - destination[1], source[0] - destination[0]);
var _local2 = Math.round(_local1 * 57.2957795130823);
return(_local2);
}
static function toRadians(theta) {
return((theta * Math.PI) / 180);
}
static function toDegrees(theta) {
return((theta * 180) / Math.PI);
}
static function random(min, max) {
return((Math.random() * (max - min)) + min);
}
static function randomize(origValue, randAmount, positive) {
if (positive == undefined) {
positive = false;
}
if (positive) {
return(origValue + (Math.random() * randAmount));
}
return((origValue + (Math.random() * randAmount)) - (randAmount / 2));
}
static function withinArea(coords, area) {
var _local3 = coords[0];
var _local2 = coords[1];
if (_local3 < area[3]) {
_local3 = area[3];
} else if (_local3 > area[1]) {
_local3 = area[1];
}
if (_local2 < area[0]) {
_local2 = area[0];
} else if (_local2 > area[2]) {
_local2 = area[2];
}
if ((coords[0] != _local3) || (coords[1] != _local2)) {
return(false);
}
return(true);
}
static function forceWithinArea(coords, area) {
var _local2 = coords[0];
var _local1 = coords[1];
if (_local2 < area[3]) {
_local2 = area[3];
} else if (_local2 > area[1]) {
_local2 = area[1];
}
if (_local1 < area[0]) {
_local1 = area[0];
} else if (_local1 > area[2]) {
_local1 = area[2];
}
if ((coords[0] != _local2) || (coords[1] != _local1)) {
return([_local2, _local1]);
}
return(coords);
}
static function Intersection(L1x1, L1y1, L1x2, L1y2, L2x1, L2y1, L2x2, L2y2) {
var _local7 = L1x2 - L1x1;
var _local4 = L2x1 - L2x2;
var _local1 = (L1y2 - L1y1) / _local7;
var _local3 = (L2y1 - L2y2) / _local4;
if (!_local7) {
if (!_local4) {
return(false);
}
var _local12 = L1x1;
var _local10 = (_local3 * (L1x1 - L2x2)) + L2y2;
} else if (!_local4) {
var _local12 = L2x2;
var _local10 = (_local1 * (L2x2 - L1x1)) + L1y1;
} else {
var _local12 = ((((_local1 * L1x1) - L1y1) - (_local3 * L2x1)) + L2y1) / (_local1 - _local3);
var _local10 = L1y1 - ((L1x1 - _local12) * _local1);
}
return({x:_local12, y:_local10});
}
static function withinRange(val, minRange, maxRange) {
if ((val > minRange) && (val < maxRange)) {
return(true);
}
return(false);
}
}
Symbol 570 MovieClip [__Packages.Debris] Frame 0
class Debris extends MovieClip
{
var _x, _y, xspeed, yspeedMax, _parent, scored, hitting, randRotation, yspeedRand, swishPlayed, _totalframes, cryptonite, gotoAndStop, onEnterFrame, collision, getDepth;
function Debris () {
super();
_x = MathAdv.random(GameStage.getCoords()[3], GameStage.getCoords()[1]);
_y = GameStage.getCoords()[0] - 50;
xspeed = 0;
yspeedMax = _parent.debrisSpeed;
scored = false;
hitting = false;
randRotation = MathAdv.random(-6, 6);
yspeedRand = yspeedMax + MathAdv.random(-(yspeedMax / 3), yspeedMax / 3);
swishPlayed = false;
var _local7 = _parent.cryptoFrame;
var _local3 = Math.round(MathAdv.random(1, _totalframes));
if (_local3 == _local7) {
cryptonite = true;
} else {
cryptonite = false;
}
(gotoAndStop(_local3));// not popped
onEnterFrame = function () {
this.yspeed = this.yspeedRand + this._parent.building_mc.getSpeed();
this.xspeed = this.xspeed * 0.9;
this._y = this._y + this.yspeed;
if (this.hitting) {
this._rotation = this._rotation + (this.randRotation * 10);
this._x = this._x + this.xspeed;
} else {
this._rotation = this._rotation + this.randRotation;
}
if (this.collisionCheck()) {
this.hit();
}
if ((this._y > (this._parent.superman_mc._y - 100)) && (!this.swishPlayed)) {
this.swishPlayed = true;
var _local2 = [GameStage.getCoords()[3], GameStage.getCoords()[1]];
var _local3 = GameStage.getCenter()[0];
var _local6 = (_local2[1] - _local2[0]) / 2;
var _local4 = this._x - _local3;
var _local5 = MathAdv.getPercent(_local4, _local6);
Audio.playRandomSound("debris_swish", 100, _local5);
}
if ((this._y > this._parent.superman_mc._y) && (!this.scored)) {
this._parent.score(this._parent.scoreDebrisPass, this.getCoords(), this._parent.enablePopupDebrisPass);
this.scored = true;
}
if (this._y > (GameStage.getCoords()[2] + 20)) {
this.removeMovieClip();
}
};
}
function getCoords() {
return([_x, _y]);
}
function collisionCheck() {
if (_parent.superman_mc.readyToCatch) {
return(false);
}
var _local2 = _parent.superman_mc.collision;
for (var _local3 in _local2) {
if (_local2[_local3].hitTest(collision)) {
return(true);
}
}
return(false);
}
function hit() {
if (!scored) {
_parent.superman_mc.hit(cryptonite);
if (cryptonite) {
var _local5 = _parent.scoreCryptoniteHit;
} else {
var _local5 = _parent.scoreDebrisHit;
}
_parent.score(_local5, getCoords(), _parent.enablePopupDebrisHit);
Audio.playRandomSound("smash");
hitting = true;
if (_x >= _parent.superman_mc._x) {
xspeed = 10;
} else {
xspeed = -10;
}
var _local4 = getCoords();
var _local3 = getDepth() - 20;
var _local2 = _parent.attachMovie("McExplosion", "Explosion" + _local3, _local3);
_local2._x = _local4[0];
_local2._y = _local4[1];
scored = true;
}
}
}
Symbol 571 MovieClip [__Packages.GameStage] Frame 0
class GameStage
{
static var coords;
function GameStage () {
}
static function getCoords() {
return(coords);
}
static function getCenter() {
var _local2 = (coords[1] - coords[3]) / 2;
var _local1 = (coords[2] - coords[0]) / 2;
return([_local2, _local1]);
}
static function setCoords(mc) {
var _local2 = mc._y;
var _local4 = mc._width + mc._x;
var _local3 = mc._height + mc._y;
var _local5 = mc._x;
coords = [_local2, _local4, _local3, _local5];
}
}
Symbol 572 MovieClip [__Packages.Building] Frame 0
class Building extends MovieClip
{
var blocks, speed, counter, speedMax, _parent, catchSpeeds, keyToggle, keyPower, keyPressedInFrame, boundaries, keySlowDown, attachMovie, speedTarget, onEnterFrame, onKeyDown, onKeyUp, onUnload;
function Building () {
super();
blocks = new Array();
speed = 0;
counter = 0;
var _local3 = newBlock();
var _local4 = newBlock();
_local4._y = _local3._y + _local3._height;
speedMax = _parent.buildingSpeedMax;
catchSpeeds = _parent.catchSpeeds;
keyToggle = false;
keyPower = _parent.keyPower;
keyPressedInFrame = false;
boundaries = [GameStage.getCoords()[0] - 50, GameStage.getCoords()[2] + 50];
keySlowDown = _parent.keySlowDown;
}
function startPlaying() {
setSpeed(speedMax);
}
function newBlock(blockToAttachTo, dir) {
if (dir == undefined) {
dir = 1;
}
if (blockToAttachTo == undefined) {
var _local4 = -522;
} else if (dir == 1) {
var _local4 = blockToAttachTo._y - 522;
} else {
var _local4 = blockToAttachTo._y + blockToAttachTo._height;
}
counter++;
var _local2 = attachMovie("buildingBlock", "buildingBlock" + counter, counter);
blocks.push(_local2);
_local2._y = _local4;
_local2.id = counter;
_local2.topBlock = true;
_local2.bottomBlock = true;
if (blocks.length > 2) {
deleteBlock(blocks[0]);
}
return(_local2);
}
function deleteBlock(mc) {
var _local2 = 0;
while (_local2 < blocks.length) {
if (blocks[_local2] == mc) {
blocks.splice(_local2, 1);
}
_local2++;
}
mc.removeMovieClip();
}
function setSpeed(spd) {
speedTarget = spd;
if (onEnterFrame == undefined) {
Audio.playLoop("wind_up", false, 0);
onEnterFrame = function () {
this.keyPressedInFrame = false;
var _local8 = this.speedTarget - this.speed;
this.speed = this.speed + (_local8 / 20);
if (this.speedTarget > 0) {
var _local7 = MathAdv.getPercent(Math.abs(this.speed), Math.abs(this.speedTarget));
Audio.setVolume("wind_up", _local7);
Audio.setVolume("wind_down", 0);
_local7 = Math.min(_local7, 100);
} else {
var _local6 = Math.round(MathAdv.getPercent(Math.abs(this.speed), Math.abs(this.catchSpeeds[this._parent.level - 1])));
_local6 = Math.min(_local6, 100);
Audio.setVolume("wind_down", _local6);
Audio.setVolume("wind_up", _local6);
}
var _local3 = 0;
while (_local3 < this.blocks.length) {
var _local2 = this.blocks[_local3];
if (this.speed < 0) {
var _local4 = Math.round(-this.speed);
} else {
var _local4 = Math.round(this.speed);
}
_local2.gotoAndStop(_local4);
_local2._y = _local2._y + this.speed;
if (this.speedTarget > 0) {
if (((_local2._y >= this.boundaries[0]) && (_local2.topBlock)) && (_local2.id != 2)) {
_local2.topBlock = false;
var _local5 = this.newBlock(_local2, 1);
}
if (_local2._y > this.boundaries[1]) {
this.deleteBlock(_local2);
}
} else {
if (Math.round(this.speed) == 0) {
this._parent.obj_mc.throwTheObj();
this._parent.superman_mc.throwTheObj();
this._parent.score(this._parent.heightMeter_mc.getHeight() * this._parent.scorePerMeter, this._parent.obj_mc.getCoords(), this._parent.enablePopupObj);
Audio.stopSound("wind_up");
Audio.stopSound("wind_down");
Key.removeListener(this);
delete this.onEnterFrame;
break;
}
if (((_local2._y + _local2._height) <= this.boundaries[1]) && (_local2.bottomBlock)) {
_local2.bottomBlock = false;
var _local5 = this.newBlock(_local2, -1);
}
if ((_local2._y + _local2._height) < this.boundaries[0]) {
this.deleteBlock(_local2);
}
}
_local3++;
}
};
}
}
function getSpeed() {
if (speed < 0) {
return(-speed);
}
return(speed);
}
function catchTheObj() {
speedTarget = -catchSpeeds[_parent.level - 1];
speed = speedTarget;
Audio.playLoop("wind_down", false, 100);
Key.addListener(this);
onKeyDown = function () {
if (((Key.getCode() == this.keySlowDown) && (!this.keyToggle)) && (!this.keyPressedInFrame)) {
if (this.speedTarget < 0) {
this.speedTarget = this.speedTarget + MathAdv.randomize(this.keyPower, this.keyPower / 2);
} else {
this.speedTarget = 0;
}
this.speedTarget = Math.min(this.speedTarget, 0);
this.keyToggle = true;
this.keyPressedInFrame = true;
this._parent.heightMeter_mc.addKeyPower();
}
};
onKeyUp = function () {
if (Key.getCode() == this.keySlowDown) {
this.keyToggle = false;
}
};
onUnload = function () {
Key.removeListener(this);
};
}
function stopFalling() {
delete onEnterFrame;
}
}
Symbol 573 MovieClip [__Packages.Main] Frame 0
class Main extends MovieClip
{
var level, _parent, DebrisCtl, scoreCtl;
function Main () {
super();
var _local3 = this;
level = 0;
_parent.levelBox.text = String(level);
GameStage.setCoords(_parent.maskMC);
DebrisCtl = new DebrisControl(_local3);
scoreCtl = new ScoreControl(_local3);
}
function nextLevel() {
level++;
_parent.levelBox.text = String(level);
}
static function findDepth(mcType) {
switch (mcType) {
case "mask" :
return(9000);
case "superman" :
return(2);
case "building" :
return(1);
case "debris" :
return(100);
case "scorePopup" :
return(500);
case "miniclipTrack" :
return(9999);
}
}
}
Symbol 574 MovieClip [__Packages.DebrisControl] Frame 0
class DebrisControl
{
var spawnTimes, counter, target, initDelay, refreshInterval;
function DebrisControl (tg) {
spawnTimes = new Array();
counter = 0;
target = tg;
}
function startPlaying() {
initDelay = setInterval(this, "startSpawning", 1000);
}
function startSpawning() {
clearInterval(initDelay);
delete initDelay;
refreshInterval = setInterval(this, "spawn", 200);
}
function stopSpawning() {
clearInterval(refreshInterval);
}
function spawn() {
var _local4 = 0;
var _local2 = 0;
while (_local2 < spawnTimes.length) {
var _local3 = getTimer() - spawnTimes[_local2];
if (_local3 < 1200) {
_local4++;
}
_local2++;
}
var _local5 = target.level;
var _local6 = _local5 * 2;
if (_local4 < MathAdv.random(0, _local6)) {
newObject();
if ((_local5 >= 2) && (Math.round(MathAdv.random(1, 3)) == 1)) {
newObject();
}
}
}
function newObject() {
spawnTimes.push(getTimer());
counter++;
var _local2 = target.attachMovie("Debris", "Debris_mc" + counter, Main.findDepth("debris") + counter);
}
}
Symbol 575 MovieClip [__Packages.ScoreControl] Frame 0
class ScoreControl
{
var totalScore, target;
function ScoreControl (targ) {
totalScore = 0;
target = targ;
target.updateScore();
}
function score(points) {
points = Math.round(points);
totalScore = totalScore + points;
if ((totalScore < 0) && (!target.negativeScore)) {
totalScore = 0;
}
}
}
Symbol 576 MovieClip [__Packages.Warning] Frame 0
class Warning extends MovieClip
{
var catchPreparationCalled, flashing, startHeight, _parent, currentHeight, heightBox, onEnterFrame, onUnload;
function Warning () {
super();
catchPreparationCalled = false;
flashing = false;
}
function startPlaying() {
startHeight = _parent.objDistanceFromSuperman;
currentHeight = startHeight;
heightBox.autoSize = "center";
heightBox.wordWrap = false;
heightBox.multiline = false;
onEnterFrame = function () {
var _local2 = this._parent.building_mc.getSpeed() * this._parent.m2px;
this.currentHeight = this.currentHeight - _local2;
if (this.currentHeight <= this._parent.objPreparationDistance) {
if (!this.flashing) {
(this.gotoAndPlay("flash"));// not popped
Audio.playLoop("warning_beep", false);
this.flashing = true;
}
if (!this.catchPreparationCalled) {
this._parent.prepareForCatch();
}
}
if (this.currentHeight <= 0) {
this._parent.gotoAndStop("catch");
delete this.onEnterFrame;
}
this.heightBox.text = String(Math.round(this.currentHeight));
};
onUnload = function () {
Audio.stopSound("warning_beep");
};
}
}
Symbol 577 MovieClip [__Packages.Obj] Frame 0
class Obj extends MovieClip
{
var gotoAndStop, _parent, speed, onEnterFrame, throwDir, mc, _x, _y;
function Obj () {
super();
(gotoAndStop(_parent.level));// not popped
speed = _parent.objSpeed;
var destY = (GameStage.getCenter()[1] + 50);
onEnterFrame = function () {
if ((this._y + this.speed) < destY) {
this._y = this._y + this.speed;
} else {
this._y = destY;
delete this.onEnterFrame;
this._parent.catchTheObj();
}
this.speed = this.speed * 0.9;
};
}
function throwTheObj() {
var _local3 = Math.round(MathAdv.random(0, 1));
var _local2 = [-1, 1];
throwDir = _local2[_local3];
mc.gotoAndStop("throw");
}
function hasAnimEnded() {
if (mc.subMC._currentframe >= mc.subMC._totalframes) {
return(true);
}
return(false);
}
function catchTheObj() {
mc.gotoAndStop("catch");
}
function getCoords() {
return([_x, _y]);
}
}
Symbol 578 MovieClip [__Packages.HeightMeter] Frame 0
class HeightMeter extends MovieClip
{
var catchHeights, _parent, startHeight, currentHeight, flashing, onEnterFrame, onUnload;
function HeightMeter () {
super();
catchHeights = _parent.catchHeights;
startHeight = catchHeights[_parent.level - 1];
currentHeight = startHeight;
flashing = false;
onEnterFrame = function () {
var _local2 = Math.round(this._parent.building_mc.getSpeed()) * this._parent.m2px;
this.currentHeight = this.currentHeight - _local2;
if (this.currentHeight <= 75) {
if (!this.flashing) {
this.txt.gotoAndPlay("flash");
Audio.playLoop("warning_beep", false);
this.flashing = true;
}
}
if (this.currentHeight <= this._parent.stopPanningHeight) {
this._parent.die();
this.removeMovieClip();
}
if (this.currentHeight < 0) {
this.currentHeight = 0;
}
this.txt.setText(String(Math.round(this.currentHeight)));
};
onUnload = function () {
Audio.stopSound("warning_beep");
};
}
function getHeight() {
return(Math.floor(currentHeight));
}
}
Symbol 579 MovieClip [__Packages.Superman] Frame 0
class Superman extends MovieClip
{
var dir, speedX, speedY, startDelay, keyLeftToggle, keyRightToggle, keyDirections, _parent, targX, _x, targY, onEnterFrame, mc, readyToCatch, onKeyDown, onKeyUp, onUnload, gotoAndStop, animStatus, cryptoniteHit, _y;
function Superman () {
super();
dir = 0;
speedX = 0;
speedY = 0;
startDelay = setInterval(this, "reset", 500);
keyLeftToggle = false;
keyRightToggle = false;
keyDirections = _parent.keyDirections;
}
function reset() {
targX = _x;
targY = GameStage.getCoords()[2] - 55;
animate("hover");
flyInGame();
}
function flyInGame() {
clearInterval(startDelay);
delete startDelay;
onEnterFrame = function () {
this.distFromTarg = this.targY - this._y;
this._y = this._y + (this.distFromTarg / 5);
if (Math.round(this._y) == Math.round(this.targY)) {
delete this.onEnterFrame;
}
};
}
function goLeft() {
go(-1);
}
function goRight() {
go(1);
}
function stopGoing() {
go(0);
}
function go(d) {
if (dir != d) {
mc.go(d);
dir = d;
}
}
function startPlaying() {
readyToCatch = false;
Key.addListener(this);
onKeyDown = function () {
if (Key.isDown(37) && (!this.keyLeftToggle)) {
this.keyLeftToggle = true;
this.goLeft();
}
if (Key.isDown(39) && (!this.keyRightToggle)) {
this.keyRightToggle = true;
this.goRight();
}
};
onKeyUp = function () {
if (Key.getCode() == this.keyDirections[0]) {
if (Key.isDown(this.keyDirections[1])) {
this.keyRightToggle = true;
this.goRight();
} else {
this.stopGoing();
}
this.keyLeftToggle = false;
}
if (Key.getCode() == this.keyDirections[1]) {
if (Key.isDown(this.keyDirections[0])) {
this.keyLeftToggle = true;
this.goLeft();
} else {
this.stopGoing();
}
this.keyRightToggle = false;
}
if ((Key.getCode() == this.keyDirections[0]) || (Key.getCode() == this.keyDirections[1])) {
}
};
onUnload = function () {
Key.removeListener(this);
};
onEnterFrame = function () {
if (!this.readyToCatch) {
this.targX = this.targX + (this.dir * this._parent.supermanXspeed);
}
if (this.targX < (GameStage.getCoords()[3] + 30)) {
this.targX = GameStage.getCoords()[3] + 30;
}
if (this.targX > (GameStage.getCoords()[1] - 30)) {
this.targX = GameStage.getCoords()[1] - 30;
}
this.distFromTarg = this.targX - this._x;
this._x = this._x + (this.distFromTarg / 5);
this._rotation = this.distFromTarg * this._parent.supermanRotSpeedRatio;
this.distFromTarg = this.targY - this._y;
this._y = this._y + (this.distFromTarg / 5);
};
animate("fly");
}
function animate(animation) {
if (animation == "hover") {
(gotoAndStop(animation));// not popped
return(undefined);
}
(gotoAndStop((animStatus + "2") + animation));// not popped
}
function hit(cryptonite) {
cryptoniteHit = cryptonite;
animate("hit");
}
function prepareForCatch() {
if (!readyToCatch) {
stopGoing();
Key.removeListener(this);
targX = GameStage.getCenter()[0];
targY = GameStage.getCenter()[1] + 145;
readyToCatch = true;
}
}
function bounceDownward(objY) {
var _local2 = _y - objY;
_y = objY + _local2;
}
function catchTheObj() {
animate("catch");
targY = targY + 5;
}
function throwTheObj() {
Audio.stopSound("warning_beep");
animate("hold");
}
function endThrowAnimation() {
onEnterFrame = function () {
if (this._parent.obj_mc.hasAnimEnded()) {
this._parent.levelEnd();
this._parent.obj_mc.removeMovieClip();
delete this.onEnterFrame;
}
};
}
function fall() {
onEnterFrame = function () {
this._y = this._y + this._parent.catchSpeeds[this._parent.level - 1];
delete this._parent.obj_mc.onEnterFrame;
this._parent.obj_mc._y = this._parent.obj_mc._y + this._parent.catchSpeeds[this._parent.level - 1];
if (this._parent.obj_mc._y > (GameStage.getCoords()[2] + 200)) {
delete this.onEnterFrame;
this._parent.gameOver(false);
}
};
}
}
Symbol 580 MovieClip [__Packages.com.digitaloutlook.gui.ControllsManager] Frame 0
class com.digitaloutlook.gui.ControllsManager extends MovieClip
{
var nAlphaSpeed, nAlpha, _alpha, nAlpha2go, nSameSpotCount, nXmouse, nYmouse, mcPlay, mcPauze, mcStop, mcSoundOn, mcSoundOff, _parent, mcVideo, bSoundOn, nMainVolume, mainSound, mcVolumeSlider, mcProgressSlider, tf, cf;
function ControllsManager () {
super();
}
function onLoad() {
configUI();
}
function configUI() {
nAlphaSpeed = 0;
nAlpha = _alpha;
nAlpha2go = _alpha;
nSameSpotCount = 0;
nXmouse = _level0._xmouse;
nYmouse = _level0._ymouse;
mcPlay._visible = false;
mcPlay.onRelease = (mcPauze.onRelease = function () {
this._parent.togglePlayPauze();
});
mcStop.onRelease = function () {
this._parent.stopClip();
};
mcSoundOn._visible = false;
mcSoundOn.onRelease = (mcSoundOff.onRelease = function () {
this._parent.toggleSound();
});
}
function stopClip() {
if (_parent.bStart && (_parent.bLoaded)) {
mcVideo.gotoAndStop(1);
_parent.bPlaying = false;
mcPlay._visible = true;
mcPauze._visible = false;
if (_parent.bFadeInOut) {
mcVideo._alpha = 0;
}
updateProgress();
}
}
function togglePlayPauze(b) {
if (_parent.bStart && (_parent.bLoaded)) {
if (b != undefined) {
if (!b) {
mcPlay._visible = true;
mcPauze._visible = false;
} else {
mcPlay._visible = false;
mcPauze._visible = true;
}
toggleSound(bSoundOn);
} else if (_parent.bPlaying) {
mcPlay._visible = true;
mcPauze._visible = false;
mcVideo.stop();
_parent.bPlaying = false;
} else {
mcPlay._visible = false;
mcPauze._visible = true;
mcVideo.play();
_parent.bPlaying = true;
}
}
}
function toggleSound(b) {
if (b != undefined) {
bSoundOn = b;
} else {
bSoundOn = !bSoundOn;
}
if (nMainVolume == undefined) {
nMainVolume = 100;
}
if (bSoundOn) {
mcSoundOn._visible = false;
mcSoundOff._visible = true;
mainSound.setVolume(nMainVolume);
} else {
mcSoundOn._visible = true;
mcSoundOff._visible = false;
mainSound.setVolume(0);
}
mcVolumeSlider.setPosition(nMainVolume / 100, false);
}
function setVideomc(mc) {
mcVideo = mc;
mainSound = new Sound(mcVideo);
}
function newPos(mc, nv) {
switch (mc) {
case mcVolumeSlider :
nMainVolume = nv * 100;
if (bSoundOn) {
mainSound.setVolume(nMainVolume);
}
break;
case mcProgressSlider :
var _local2 = Math.floor(tf * nv);
if (_parent.bPlaying) {
mcVideo.gotoAndPlay(_local2);
} else {
mcVideo.gotoAndStop(_local2);
}
}
}
function moveIt() {
nAlphaSpeed = (nAlpha2go - nAlpha) * 0.15;
nAlpha = nAlpha + nAlphaSpeed;
_alpha = nAlpha;
}
function updateProgress() {
tf = mcVideo._totalframes;
cf = mcVideo._currentframe;
mcProgressSlider.setPosition(cf / tf, false);
}
function onEnterFrame() {
if (_parent.bPlaying) {
updateProgress();
}
if (_parent.bAutoHideControlls) {
if ((nXmouse == _level0._xmouse) && (nYmouse == _level0._ymouse)) {
nSameSpotCount++;
} else {
nSameSpotCount = 0;
}
if (nSameSpotCount > 50) {
nAlpha2go = 0;
} else {
nAlpha2go = 100;
}
nXmouse = _level0._xmouse;
nYmouse = _level0._ymouse;
moveIt();
}
}
}
Symbol 581 MovieClip [__Packages.com.digitaloutlook.players.SwfPlayer] Frame 0
class com.digitaloutlook.players.SwfPlayer extends MovieClip
{
var nFadeFrames, videomaskClip, mcLoadingscreen, bToldem, mcControlls, movieclipHolder, mcParent, nPreloadPerc, nCurrentClip, aPlayList, bRepeat, bAutoHideControlls, bFirstRun, bFadeInOut, bAutoPlayPlaylist, nBandWidthCheckID, nBandWidth, _parent, bStart, bLoaded, bPlaying, nLoadUpdateID, tf, cf;
function SwfPlayer () {
super();
}
function onLoad() {
configUI();
}
function configUI() {
trace("this: " + this);
nFadeFrames = 25;
var _local2 = videomaskClip.duplicateMovieClip("mask2", 1978);
mcLoadingscreen.setMask(_local2);
bToldem = false;
mcControlls.setVideomc(movieclipHolder);
}
function loadSwf(parent, playlist, repeat, autohidecontr, volumeOn, fade, autoplaylist) {
mcParent = parent;
trace(mcParent + "mcParent");
trace("playlist: " + playlist);
nPreloadPerc = 25;
nCurrentClip = 0;
aPlayList = playlist;
bRepeat = repeat;
bAutoHideControlls = autohidecontr;
bFirstRun = true;
mcControlls.toggleSound(volumeOn);
bFadeInOut = fade;
bAutoPlayPlaylist = autoplaylist;
nBandWidthCheckID = setInterval(this, "bandwidthcheck", 1000);
setDirectClickFunctions();
loadClip(nCurrentClip);
}
function setDirectClickFunctions() {
var _local2 = 0;
while (_local2 < aPlayList.length) {
mcParent["directclip" + (_local2 + 1)].directClick = _local2;
mcParent["directclip" + (_local2 + 1)].mp = this;
mcParent["directclip" + (_local2 + 1)].onRelease = function () {
this.mp.loadClip(this.directClick);
};
_local2++;
}
}
function bandwidthcheck() {
clearInterval(nBandWidthCheckID);
nBandWidth = movieclipHolder._framesloaded;
if (nBandWidth < 25) {
nPreloadPerc = (1 - (nBandWidth / 25)) * 100;
} else {
nPreloadPerc = 1;
}
}
function autoNextClip() {
nCurrentClip++;
var _local2 = true;
if (nCurrentClip == aPlayList.length) {
if (bRepeat) {
nCurrentClip = 0;
} else {
_parent.endOfClips();
_local2 = false;
}
}
if (_local2) {
loadClip(nCurrentClip);
}
}
function loadClip(clipno) {
nCurrentClip = clipno;
var _local2 = 0;
while (_local2 < aPlayList.length) {
if (nCurrentClip == _local2) {
mcParent["directclip" + (_local2 + 1)].setActive(false);
} else {
mcParent["directclip" + (_local2 + 1)].setActive(true);
}
_local2++;
}
mcControlls.togglePlayPauze(false);
bToldem = false;
bStart = false;
bLoaded = false;
bPlaying = false;
if (bFadeInOut) {
movieclipHolder._alpha = 0;
}
mcLoadingscreen.gotoAndPlay(1);
mcLoadingscreen._visible = true;
movieclipHolder.loadMovie(aPlayList[nCurrentClip]);
clearInterval(nLoadUpdateID);
nLoadUpdateID = setInterval(this, "loadProgress", 40);
if (!bFirstRun) {
goodToGo();
}
bFirstRun = false;
movieclipHolder.setMask(videomaskClip);
}
function loadProgress() {
if (movieclipHolder.getBytesTotal() > 12) {
var _local2 = (movieclipHolder.getBytesLoaded() / movieclipHolder.getBytesTotal()) * 100;
mcControlls.mcProgressSlider.setLoaded(_local2 / 100);
if (_local2 > nPreloadPerc) {
if (bStart) {
if (!bLoaded) {
bLoaded = true;
playClip();
}
} else {
movieclipHolder.gotoAndStop(1);
}
} else {
movieclipHolder.gotoAndStop(1);
}
if (_local2 >= 100) {
clearInterval(nLoadUpdateID);
loadComplete();
}
}
}
function playClip() {
movieclipHolder._y = (225 - movieclipHolder._height) * 0.5;
if (bStart && (bLoaded)) {
mcLoadingscreen.stop();
mcLoadingscreen._visible = false;
mcControlls.togglePlayPauze(true);
if (bFadeInOut) {
movieclipHolder._alpha = 0;
}
movieclipHolder.setMask(videomaskClip);
movieclipHolder.play();
bPlaying = true;
} else {
movieclipHolder.stop();
}
}
function loadComplete() {
movieclipHolder._y = (225 - movieclipHolder._height) * 0.5;
if (!bPlaying) {
bLoaded = true;
playClip();
}
}
function goodToGo() {
movieclipHolder._y = (225 - movieclipHolder._height) * 0.5;
if (bFadeInOut) {
movieclipHolder._alpha = 0;
}
bToldem = false;
bStart = true;
playClip();
}
function stopIt() {
movieclipHolder.stop();
}
function onEnterFrame() {
movieclipHolder._y = (225 - movieclipHolder._height) * 0.5;
if (bPlaying) {
tf = movieclipHolder._totalframes;
cf = movieclipHolder._currentframe;
if (bFadeInOut) {
if ((tf - cf) < nFadeFrames) {
movieclipHolder._alpha = (tf - cf) * (100 / nFadeFrames);
}
}
if (bFadeInOut) {
if (cf <= nFadeFrames) {
movieclipHolder._alpha = cf * (100 / nFadeFrames);
}
}
if (bFadeInOut) {
if ((cf > nFadeFrames) && ((tf - cf) > nFadeFrames)) {
movieclipHolder._alpha = 100;
}
}
if (cf == tf) {
if (!bToldem) {
bToldem = true;
movieclipHolder.stop();
bPlaying = false;
_parent.clipFinished();
if ((!bAutoPlayPlaylist) && (aPlayList.length == 1)) {
_parent.endOfClips();
}
if (bAutoPlayPlaylist) {
autoNextClip();
}
}
}
}
}
}
Symbol 582 MovieClip [__Packages.com.digitaloutlook.gui.Slider] Frame 0
class com.digitaloutlook.gui.Slider extends MovieClip
{
var mcControllsManager, _parent, bDragging, mcDrag, mcBackground, nDragOffset, _xmouse;
function Slider () {
super();
}
function onLoad() {
configUI();
}
function configUI() {
mcControllsManager = _parent;
bDragging = false;
mcDrag.onPress = function () {
this._parent.startDragging();
};
mcDrag.onRelease = (mcDrag.onReleaseOutside = function () {
this._parent.stopDragging();
});
mcBackground.onRelease = function () {
this._parent.directClick(this._xmouse);
};
}
function setPosition(n, b) {
mcDrag._x = (mcBackground._width - mcDrag._width) * n;
if (b) {
mcControllsManager.newPos(this, n);
}
}
function directClick(cl) {
var _local2 = (cl - (mcDrag._width / 2)) / (mcBackground._width - mcDrag._width);
setPosition(_local2, true);
}
function startDragging() {
nDragOffset = _xmouse - mcDrag._x;
bDragging = true;
}
function stopDragging() {
bDragging = false;
}
function dragging() {
var _local2 = _xmouse - nDragOffset;
if (_local2 < 0) {
_local2 = 0;
}
if (_local2 > (mcBackground._width - mcDrag._width)) {
_local2 = mcBackground._width - mcDrag._width;
}
setPosition(_local2 / (mcBackground._width - mcDrag._width), true);
}
function onEnterFrame() {
if (bDragging) {
dragging();
}
}
}
Symbol 583 MovieClip [__Packages.com.digitaloutlook.gui.ProgressSlider] Frame 0
class com.digitaloutlook.gui.ProgressSlider extends com.digitaloutlook.gui.Slider
{
var mcLoaded;
function ProgressSlider () {
super();
}
function setLoaded(n) {
mcLoaded._xscale = n * 100;
}
}
Symbol 109 MovieClip Frame 1
txt_field1.autoSize = "right";
txt_field2.autoSize = "right";
txt_field3.autoSize = "right";
Symbol 117 MovieClip Frame 1
txt_field1.autoSize = "right";
txt_field2.autoSize = "right";
txt_field3.autoSize = "right";
Symbol 122 MovieClip Frame 1
txt_field1.autoSize = "right";
txt_field2.autoSize = "right";
txt_field3.autoSize = "right";
Symbol 124 MovieClip Frame 1
daily_btn.onRelease = function () {
hBox_submit("Daily+Planet");
getURL ("http://" + _root.vars.txt_dailyplaneturl, "_blank");
};
url_btn.onRelease = function () {
hBox_submit("Visit+Official+Site");
getURL ("http://" + _root.vars.txt_websiteurl, "_blank");
};
tell_btn.onRelease = function () {
var _local2 = (((((_root.vars.txt_mailtoBody + "%0D%0A%0D%0A") + _root.siteURL) + "%0D%0A%0D%0A") + _root.vars.txt_mailtoLine2) + "%0D%0A") + _root.vars.txt_mailtoLine3;
hBox_submit("Tell+Friend");
getURL ((("mailto:?subject=" + _root.vars.txt_mailtoSubject) + "&body=") + _local2);
};
Symbol 132 MovieClip Frame 1
btn.onRelease = function () {
hBox_submit("Save+the+Internet", _root.vars.txt_looktothesky_url, 900, 800, "blank");
};
Symbol 142 MovieClip Frame 1
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
Symbol 146 MovieClip Frame 1
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
percent_scale = (100 / this._width) * 220;
this._xscale = percent_scale;
this._yscale = percent_scale;
Symbol 150 MovieClip Frame 1
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
percent_scale = (100 / this._width) * 220;
this._xscale = percent_scale;
this._yscale = percent_scale;
Instance of Symbol 142 MovieClip "txt_title3" in Symbol 151 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = (_parent.txt_title2._y + _parent.txt_title2._height) - 10;
}
Instance of Symbol 146 MovieClip "txt_title2" in Symbol 151 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = _parent.txt_title1._y + (_parent.txt_title1._height * 0.75);
}
Symbol 162 Button
on (release) {
play();
}
Symbol 173 Button
on (release) {
hBox_submit("Home+Play");
whereNext = "game";
play();
}
Symbol 174 Button
on (release) {
whereNext = "instructions";
play();
}
Symbol 254 MovieClip Frame 14
looped = 0;
Symbol 254 MovieClip Frame 57
trace(looped);
looped = looped + 1;
if (looped < 3) {
gotoAndPlay ("loop");
} else {
gotoAndPlay ("falling");
}
Symbol 254 MovieClip Frame 135
gotoAndPlay (1);
Symbol 260 Button
on (release) {
play();
}
Symbol 261 Button
on (release) {
hBox_submit("Home+Play");
play();
}
Symbol 262 MovieClip Frame 1
hBox_submit("Home+Instructions");
Symbol 262 MovieClip Frame 13
stop();
Symbol 262 MovieClip Frame 19
_parent.play();
stop();
Symbol 263 MovieClip Frame 36
stop();
Symbol 263 MovieClip Frame 47
if (whereNext == "game") {
gotoAndPlay ("skip_help");
} else {
play();
}
Symbol 263 MovieClip Frame 48
stop();
Symbol 263 MovieClip Frame 49
stop();
_root.play();
Symbol 263 MovieClip Frame 58
_root.play();
Symbol 298 MovieClip Frame 7
_parent.gotoAndStop("fly");
Symbol 305 MovieClip Frame 1
if (virgin == undefined) {
framesLeft = 1;
framesMiddle = 3;
framesRight = 5;
frameTarget = framesMiddle;
gotoAndStop(frameTarget);
virgin = false;
}
goLeft = function () {
go(framesLeft);
};
goRight = function () {
go(framesRight);
};
goNormal = function () {
go(framesMiddle);
};
go = function (frameDir) {
if (frameDir == 1) {
frameTarget = framesRight;
}
if (frameDir == -1) {
frameTarget = framesLeft;
}
if (frameDir == 0) {
frameTarget = framesMiddle;
}
if ((this.onEnterFrame == undefined) && (_currentframe != frameTarget)) {
this.onEnterFrame = function () {
if (_currentframe > frameTarget) {
gotoAndStop(_currentframe - 1);
} else if (_currentframe < frameTarget) {
gotoAndStop(_currentframe + 1);
} else {
gotoAndStop(frameTarget);
delete this.onEnterFrame;
}
};
}
};
Symbol 309 MovieClip Frame 1
if (_parent.cryptoniteHit) {
gotoAndPlay ("cryptoHit");
}
Symbol 309 MovieClip Frame 8
_parent.gotoAndStop("fly");
Symbol 309 MovieClip Frame 17
_parent.gotoAndStop("fly");
Symbol 315 MovieClip Frame 5
_parent.gotoAndStop("catch");
Symbol 317 MovieClip Frame 11
_parent.gotoAndStop("throw2hover");
Symbol 324 MovieClip Frame 41
_parent.endThrowAnimation();
_parent.gotoAndStop("hover");
Symbol 325 MovieClip [Superman] Frame 1
#initclip 23
Object.registerClass("Superman", Superman);
#endinitclip
animStatus = "hover";
stop();
Symbol 325 MovieClip [Superman] Frame 20
animStatus = "fly";
stop();
Symbol 325 MovieClip [Superman] Frame 50
animStatus = "catch";
Symbol 346 MovieClip Frame 1
stop();
if (virgin == undefined) {
game = _parent._parent._parent;
maxSpeed = game.catchSpeeds[game.level - 1];
this.onEnterFrame = function () {
spd = game.building_mc.getSpeed();
spdPercent = MathAdv.getPercent(spd, maxSpeed);
if (spdPercent < 40) {
gotoAndStop (2);
delete this.onEnterFrame;
}
};
virgin = false;
}
Symbol 355 MovieClip Frame 1
stop();
if (virgin == undefined) {
game = _parent._parent._parent;
loopEnd = 15;
maxSpeed = game.catchSpeeds[game.level - 1];
maxFrameSpeed = 5;
this.onEnterFrame = function () {
spd = game.building_mc.getSpeed();
spdPercent = MathAdv.getPercent(spd, maxSpeed);
frameSpeed = Math.floor(spdPercent / 10);
if ((_currentframe + frameSpeed) <= loopEnd) {
gotoAndStop(_currentframe + frameSpeed);
} else if (spdPercent > 20) {
gotoAndStop (1);
} else {
gotoAndPlay ("slowdown");
delete this.onEnterFrame;
}
};
virgin = false;
}
Symbol 355 MovieClip Frame 25
Symbol 355 MovieClip Frame 35
stop();
Symbol 365 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.level);
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 63
stop();
_parent.play();
Symbol 371 MovieClip [Warning] Frame 1
#initclip 19
Object.registerClass("Warning", Warning);
#endinitclip
Symbol 371 MovieClip [Warning] Frame 30
stop();
indicator.play();
Symbol 371 MovieClip [Warning] Frame 40
_parent.startPlaying();
stop();
Symbol 371 MovieClip [Warning] Frame 46
gotoAndPlay ("flash");
Symbol 376 MovieClip Frame 51
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 20
Audio.playSound("fanfare");
Symbol 384 MovieClip Frame 48
stop();
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 20
Audio.playSound("fanfare");
Symbol 389 MovieClip Frame 51
stop();
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 20
Audio.playSound("fanfare");
Symbol 395 MovieClip Frame 51
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 20
Audio.playSound("fanfare");
Symbol 406 MovieClip Frame 1
stop();
if (virgin == undefined) {
game = _parent._parent._parent;
maxSpeed = game.catchSpeeds[game.level - 1];
maxFrameSpeed = 10;
this.onEnterFrame = function () {
spd = game.building_mc.getSpeed();
frameSpeed = Math.floor(MathAdv.getPercent(spd, maxSpeed) / 10);
if ((_currentframe + frameSpeed) <= _totalframes) {
gotoAndStop(_currentframe + frameSpeed);
} else {
gotoAndStop (1);
}
};
virgin = false;
}
Symbol 407 MovieClip Frame 51
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 20
Audio.playSound("fanfare");
Symbol 409 MovieClip [Obj] Frame 1
#initclip 20
Object.registerClass("Obj", Obj);
#endinitclip
Symbol 422 MovieClip Frame 1
heightBox1.autoSize = "center";
heightBox1.wordWrap = false;
heightBox1.multiline = false;
heightBox2.autoSize = "center";
heightBox2.wordWrap = false;
heightBox2.multiline = false;
setText = function (txt) {
heightBox1.text = txt;
heightBox2.text = txt;
};
Symbol 422 MovieClip Frame 10
gotoAndPlay ("loop1");
Symbol 422 MovieClip Frame 17
gotoAndPlay ("flash");
Symbol 429 MovieClip Frame 1
power = 0;
keyDownPower = _parent._parent.keyDownPower;
keyInactiveRatio = _parent._parent.keyInactiveRatio;
this.onEnterFrame = function () {
targetWidth = (power - bar._xscale) / 5;
bar._xscale = bar._xscale + targetWidth;
if (power > 0) {
power = power - (keyDownPower * keyInactiveRatio);
}
};
_parent.addKeyPower = function () {
if (power < 100) {
power = power + keyDownPower;
}
};
Symbol 430 MovieClip [HeightMeter] Frame 1
#initclip 21
Object.registerClass("HeightMeter", HeightMeter);
#endinitclip
Symbol 430 MovieClip [HeightMeter] Frame 23
stop();
Symbol 431 MovieClip [Main] Frame 1
#initclip 22
Object.registerClass("Main", Main);
#endinitclip
hBox_submit("Play+Start");
keyDirections = [37, 39];
keySlowDown = 38;
maxLevels = 5;
m2px = 0.1;
scoreCount = 0;
buildingSpeedMax = 10;
debrisSpeed = 7;
cryptoFrame = 5;
supermanXspeed = 30;
supermanRotSpeedRatio = 0.2;
objDistanceFromSuperman = 500;
objPreparationDistance = 50;
objSpeed = 50;
catchHeights = [300, 525, 650, 1000, 1400];
catchSpeeds = [20, 30, 40, 50, 60];
keyPower = 0.5;
stopPanningHeight = 0;
negativeScore = false;
enablePopupDebrisPass = false;
enablePopupDebrisHit = true;
enablePopupObj = true;
scoreDebrisPass = 0;
scoreDebrisHit = 50;
scoreCryptoniteHit = -500;
scorePerMeter = 10;
keyDownPower = 8;
keyInactiveRatio = 0.25;
startPlaying = function () {
superman_mc.startPlaying();
building_mc.startPlaying();
warning_mc.startPlaying();
DebrisCtl.startPlaying();
};
score = function (points, coords, popup) {
if (popup == undefined) {
popup = true;
}
points = Math.round(points);
if (popup) {
scoreCount++;
if (points > Math.max(scoreDebrisHit, scoreDebrisPass)) {
var _local8 = this.attachMovie("scorePopupHigh", "scorePopup" + scoreCount, scoreCount + Main.findDepth("scorePopup"), {_x:coords[0], _y:coords[1], score:points});
} else {
var _local8 = this.attachMovie("scorePopup", "scorePopup" + scoreCount, scoreCount + Main.findDepth("scorePopup"), {_x:coords[0], _y:coords[1], score:points});
}
}
scoreCtl.score(points);
_root.interfaceSetScore(scoreCtl.totalScore);
};
prepareForCatch = function () {
superman_mc.prepareForCatch();
DebrisCtl.stopSpawning();
};
catchTheObj = function () {
building_mc.catchTheObj();
superman_mc.catchTheObj();
obj_mc.catchTheObj();
};
die = function () {
_root.successful = false;
building_mc.stopFalling();
superman_mc.fall();
};
levelEnd = function () {
_root.nextLevel();
if (level < maxLevels) {
gotoAndStop ("play");
} else if (delay == undefined) {
delay = setInterval(gameOver, 1500, true);
}
};
gameOver = function (success) {
clearInterval(delay);
delete delay;
_root.score = scoreCtl.totalScore;
if (!success) {
Audio.playSound("superman_fall");
}
Audio.stopSound("wind_up");
Audio.stopSound("wind_down");
Audio.stopSound("city_loop");
_root.success = success;
_root.gotoAndPlay("gameover");
};
Audio.playLoop("city_loop", true, 40);
Symbol 431 MovieClip [Main] Frame 12
nextLevel();
superman_mc.reset();
stop();
Symbol 431 MovieClip [Main] Frame 23
stop();
Symbol 449 MovieClip Frame 1
stop();
nextLevel = function () {
gotoAndStop(_currentframe + 1);
};
_root.nextLevel = function () {
nextLevel();
};
Symbol 453 MovieClip Frame 1
var alignment = "left";
var countSpeed = 10;
scoreBox.multiline = false;
scoreBox.wordWrap = false;
currentScore = 0;
setScore = function (score) {
if (currentScore < score) {
var amountToAdd = ((score - currentScore) / countSpeed);
var tmpScore = currentScore;
this.onEnterFrame = function () {
if (tmpScore < score) {
tmpScore = tmpScore + amountToAdd;
setText(Math.round(tmpScore));
} else {
setText(score);
delete this.onEnterFrame;
}
};
currentScore = score;
}
if (currentScore > score) {
var amountToSubtract = ((currentScore - score) / countSpeed);
var tmpScore = currentScore;
this.onEnterFrame = function () {
if (tmpScore > score) {
tmpScore = tmpScore - amountToSubtract;
setText(Math.round(tmpScore));
} else {
setText(score);
delete this.onEnterFrame;
}
};
currentScore = score;
}
};
setText = function (score) {
scoreBox.text = score;
};
_root.interfaceSetScore = function (score) {
setScore(score);
};
Symbol 464 MovieClip Frame 12
b_restart.onRelease = function () {
hBox_submit("Restart");
Audio.stopSound("wind_up");
Audio.stopSound("wind_down");
Audio.stopSound("city_loop");
_root.gotoAndStop("home");
};
Instance of Symbol 449 MovieClip "levels" in Symbol 464 MovieClip Frame 12
/* no clip actions */
Symbol 464 MovieClip Frame 21
stop();
Symbol 485 MovieClip Frame 1
if (!_root.success) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 485 MovieClip Frame 2
txt_title1.txt_field.htmlText = _root.vars.txt_paperttlgood;
txt_title2.txt_field.htmlText = _root.vars.txt_papersubgood;
stop();
Symbol 485 MovieClip Frame 3
txt_title1.txt_field.htmlText = _root.vars.txt_paperttlbad;
txt_title2.txt_field.htmlText = _root.vars.txt_papersubbad;
stop();
Symbol 492 MovieClip Frame 1
if (!_root.success) {
gotoAndStop (2);
}
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
percent_scale = (100 / this._width) * 220;
this._xscale = percent_scale;
this._yscale = percent_scale;
stop();
Symbol 492 MovieClip Frame 2
stop();
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
percent_scale = (100 / this._width) * 220;
this._xscale = percent_scale;
this._yscale = percent_scale;
Symbol 508 MovieClip Frame 1
if (!_root.success) {
gotoAndStop (5);
} else if (_root.score <= 3000) {
stop();
} else if (_root.score <= 8000) {
gotoAndStop (2);
} else if (_root.score <= 14000) {
gotoAndStop (3);
} else if (_root.score > 14000) {
gotoAndStop (4);
}
stop();
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
Symbol 508 MovieClip Frame 2
stop();
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
Symbol 508 MovieClip Frame 3
stop();
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
Symbol 508 MovieClip Frame 4
stop();
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
Symbol 508 MovieClip Frame 5
stop();
txt_field1.autoSize = "center";
txt_field2.autoSize = "center";
txt_field3.autoSize = "center";
Symbol 524 Button
on (release) {
whereNext = "game";
play();
this.enabled = false;
}
Symbol 533 MovieClip Frame 1
scoreBox.autoSize = "center";
scoreBox.multiline = false;
scoreBox.wordWrap = false;
scoreBox.text = _root.score;
Symbol 538 MovieClip Frame 1
if (_root.bestScore == undefined) {
_root.bestScore = 0;
}
if (_root.score > _root.bestScore) {
_root.bestScore = _root.score;
gotoAndStop (2);
}
txt_field1.autoSize = "center";
txt_field1.multiline = false;
txt_field1.wordWrap = false;
txt_field1.text = (_root.vars.txt_bestscore + ": ") + _root.bestScore;
txt_field2.autoSize = "center";
txt_field2.multiline = false;
txt_field2.wordWrap = false;
txt_field2.text = (_root.vars.txt_bestscore + ": ") + _root.bestScore;
stop();
Symbol 538 MovieClip Frame 2
txt_field1.autoSize = "center";
txt_field1.multiline = false;
txt_field1.wordWrap = false;
txt_field1.text = _root.vars.txt_newhighscore;
txt_field2.autoSize = "center";
txt_field2.multiline = false;
txt_field2.wordWrap = false;
txt_field2.text = _root.vars.txt_newhighscore;
stop();
Symbol 539 Button
on (release) {
_root.whereto = "game";
play();
hBox_submit("Play+End+Play+Again");
this.enabled = false;
}
Symbol 540 Button
on (release) {
whereNext = "game";
gotoAndPlay ("outro2");
this.enabled = false;
}
Symbol 552 MovieClip [_progressbar] Frame 1
#initclip 26
Object.registerClass("_progressbar", com.digitaloutlook.gui.ProgressSlider);
#endinitclip
Symbol 561 MovieClip [_controlls] Frame 1
#initclip 24
Object.registerClass("_controlls", com.digitaloutlook.gui.ControllsManager);
#endinitclip
Symbol 562 MovieClip [Movieplayer] Frame 1
#initclip 25
Object.registerClass("Movieplayer", com.digitaloutlook.players.SwfPlayer);
#endinitclip
Symbol 563 MovieClip Frame 2
function endOfClips() {
trace("clips done and lets go");
}
var aPlayList = [_parent.clipToLoad];
var bAutoPlayPlaylist = false;
var bRepeat = false;
var bAutoHideControlls = false;
var bVolumeOn = true;
var bFadeInOut = false;
trace(player01);
player01.loadSwf(this, aPlayList, bRepeat, bAutoHideControlls, bVolumeOn, bFadeInOut, bAutoPlayPlaylist);
player01.goodToGo();
stop();
Symbol 567 MovieClip Frame 1
clipToLoad = "swf/clip2.swf";
if (_root.success) {
hBox_submit("Play+End+Successful");
} else {
hBox_submit("Play+End+Unsuccessful");
}
Symbol 567 MovieClip Frame 27
Audio.fadeOut("music_loop");
btn_internet._visible = false;
Symbol 567 MovieClip Frame 57
gotoAndPlay ("clip");
instr_btn.onRelease = function () {
hBox_submit("End+Trailer");
this._parent.clipToLoad = "swf/clip2.swf";
this._parent.video_mc.gotoAndPlay(1);
this._visible = false;
this._parent.btn_internet._visible = true;
if (this._parent._currentframe != 102) {
this._parent.gotoAndPlay("clip");
}
};
btn_internet.onRelease = function () {
hBox_submit("End+Save+the+Internet");
this._parent.clipToLoad = "swf/clip.swf";
this._parent.video_mc.gotoAndPlay(1);
this._visible = false;
this._parent.instr_btn._visible = true;
if (this._parent._currentframe != 102) {
this._parent.gotoAndPlay("clip");
}
};
Symbol 567 MovieClip Frame 67
if (whereNext == "game") {
gotoAndPlay ("skip_help");
} else {
play();
}
Symbol 567 MovieClip Frame 72
instr_btn.onRelease = function () {
hBox_submit("End+Trailer");
this._parent.clipToLoad = "swf/clip2.swf";
this._parent.video_mc.gotoAndPlay(1);
this._visible = false;
this._parent.btn_internet._visible = true;
};
btn_internet.onRelease = function () {
hBox_submit("End+Save+the+Internet");
this._parent.clipToLoad = "swf/clip.swf";
this._parent.video_mc.gotoAndPlay(1);
this._visible = false;
this._parent.instr_btn._visible = true;
};
Symbol 567 MovieClip Frame 84
stop();
Symbol 567 MovieClip Frame 87
clipToLoad = "swf/clip2.swf";
stop();
Symbol 567 MovieClip Frame 98
if (whereNext == "game") {
gotoAndPlay ("skip_help");
} else {
play();
}
Symbol 567 MovieClip Frame 102
stop();
Symbol 567 MovieClip Frame 103
if (_root.success) {
hBox_submit("Play+End+Success+Play+Again");
} else {
hBox_submit("Play+End+Fail+Play+Again");
}
Symbol 567 MovieClip Frame 113
_root.gotoAndStop("game");