Frame 1
function preloadTF(targetName, fileName) {
var _local1 = this;
var _local2 = targetName;
if (!preloadList) {
preloadList = new Array();
}
_local1[_local2] = new LoadVars();
preloadList.push(_local1[_local2]);
_local1[_local2].load(fileName);
_local1[_local2].onLoad = function (success) {
if (success) {
checkAllPreloads();
}
};
}
function checkAllPreloads() {
var _local1 = 0;
while (_local1 < preloadList.length) {
if (!preloadList[_local1].loaded) {
return(false);
}
_local1++;
}
return(undefined);
}
endGame = "no";
highscore = 0;
preloadTF("text", "swingshot.txt");
stop();
Instance of Symbol 10 MovieClip "mainLoader" in Frame 1
//component parameters
onClipEvent (initialize) {
targetMC = "_root";
callbackFunction = "play";
maxStep = 5;
radius = 55;
barWidth = 5;
fullBarFillColor = 1813318 /* 0x1BAB46 */;
emptyBarFillColor = 13408563 /* 0xCC9933 */;
showText = true;
}
Instance of Symbol 12 MovieClip "circleMask" in Frame 2
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Instance of Symbol 14 MovieClip "ring" in Frame 2
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 150;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Frame 8
ring.initMe(50);
circleMask.initMe(50);
Frame 17
ring.initMe(680);
circleMask.initMe(680);
Frame 28
getURL ("javascript:_hbflash('game',_mlc,'n','n');");
Instance of Symbol 35 MovieClip "bigDash" in Frame 40
onClipEvent (load) {
myXpos = -80;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
if (this._x == -610) {
_parent.play();
}
}
Frame 63
stop();
Frame 73
stop();
Frame 74
bigDash.myXpos = -610;
stop();
Instance of Symbol 7 MovieClip in Frame 86
onClipEvent (load) {
mYpos = 13;
}
onClipEvent (enterFrame) {
if (this._y != mYpos) {
if (this._y > mYpos) {
this._y = Math.floor((this._y + mYpos) * 0.5);
} else {
this._y = Math.ceil((this._y + mYpos) * 0.5);
}
}
}
Instance of Symbol 56 MovieClip "packShot" in Frame 98
onClipEvent (load) {
myXpos = 25;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
}
Instance of Symbol 91 MovieClip "book" in Frame 99
onClipEvent (load) {
doneOnce = "no";
myXpos = 296;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
if (doneOnce == "no") {
if (this._x == 296) {
trace(((this._x + "here now") + " done once =") + doneOnce);
this.gotoAndPlay(2);
doneOnce = "yes";
}
}
}
Frame 100
score = 0;
stop();
Frame 101
panel.play();
book.myXpos = -300;
Instance of Symbol 145 MovieClip "camera" in Frame 126
onClipEvent (load) {
mYpos = 270;
}
onClipEvent (enterFrame) {
if (this._y != mYpos) {
if (this._y > mYpos) {
this._y = Math.floor((this._y + mYpos) * 0.5);
} else {
this._y = Math.ceil((this._y + mYpos) * 0.5);
}
}
}
Frame 129
function triggerNextLevel() {
if (level < levelTotal) {
level++;
getReady.activate(1, getReadyTxt);
runner.reset();
picTaken = 0;
cameraActive = 0;
} else {
getReady.activate(1, developingTxt);
runner.reset();
}
}
function triggerGameOver() {
endGame = "yes";
gotoAndPlay ("gameOver");
}
function triggerRunner() {
cameraActive = 1;
runner.initMe(levelSpeedArray[level - 1]);
}
function takePic(missed) {
if ((!picTaken) && (cameraActive)) {
if (!missed) {
camera.flash();
}
var _local3 = runner.myX - camera._x;
var tmpOffsetDir = 1;
if (_local3 < 0) {
tmpOffsetDir = -1;
}
levelOffsetArray.push(_local3);
var _local2 = Math.round((((scoreZoneWidth / 2) - Math.abs(_local3)) / (scoreZoneWidth / 2)) * 100);
if (_local2 < 0) {
_local2 = 0;
}
var _local1 = Math.round((_local2 / 100) * levalMaxScore[level - 1]);
if (_local1 < 0) {
_local1 = 0;
}
levelScoreArray.push(_local1);
score = score + _local1;
this["photo" + level].initMe(_local2, tmpOffsetDir, _local1);
if (_local2 > bestPhotoArray[0]) {
bestPhotoArray[0] = _local2;
bestPhotoArray[1] = tmpOffsetDir;
bestPhotoArray[2] = _local1;
}
picTaken = 1;
}
}
getReadyTxt = "PREPARADO";
developingTxt = "REVELANDO FOTOS\u2026...";
stop();
level = 0;
levelTotal = 4;
levelSpeedArray = [20, 25, 35, 50];
levelOffsetArray = [];
levelScoreArray = [];
bestPhotoArray = [0, 0, 0];
scoreZoneWidth = 220;
levalMaxScore = [20, 30, 50, 100];
score = 0;
enterCompMC.gotoAndStop("hide");
triggerNextLevel();
Instance of Symbol 91 MovieClip "book" in Frame 131
onClipEvent (load) {
doneOnce = "no";
myXpos = 296;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
if (doneOnce == "no") {
if (this._x == 296) {
trace(((this._x + "here now") + " done once =") + doneOnce);
this.gotoAndPlay(2);
doneOnce = "yes";
}
}
}
Instance of Symbol 121 MovieClip "bestPhoto" in Frame 150
onClipEvent (load) {
function scaleMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Frame 151
bestPhoto.initMe(bestPhotoArray[0], bestPhotoArray[1], bestPhotoArray[2]);
if (score > highscore) {
highscore = score;
}
stop();
Frame 160
Frame 161
panel.play();
book.myXpos = -300;
Frame 175
gotoAndPlay ("game");
Symbol 10 MovieClip Frame 1
function init() {
var _local1 = this;
_local1.guide._visible = false;
if (typeof(_parent[targetMC]) != "movieclip") {
trace(("DISC BAR PRELOADER WARNING (" + _local1) + "):");
trace(("Target MC (" + targetMC) + ") is not a valid MovieClip instance. Defaulting to '_root'.\n");
targetMC = "_root";
}
if (typeof(_parent[callbackFunction]) != "function") {
trace(("DISC BAR PRELOADER WARNING (" + _local1) + "):");
trace(("onLoad Function (" + callbackFunction) + ") is not a valid function. Defaulting to 'play()'.\n");
callbackFunction = "play";
}
pcText.text = "";
_local1.currPC = 0;
_local1.setPerCent(currPC);
_local1.onEnterFrame = preload;
}
function preload() {
var _local2 = _parent;
var _local1 = Math.floor((_local2[targetMC].getBytesLoaded() / _local2[targetMC].getBytesTotal()) * 100);
if ((_local1 == 100) && (currPC == 100)) {
this.onEnterFrame = undefined;
_local2[callbackFunction]();
} else {
currPC = currPC + Math.min(maxStep, _local1 - currPC);
this.setPerCent(currPC);
}
}
function setPerCent(pc) {
var _local2 = this;
_local2.clear();
if (showText) {
pcText.text = pc + "%";
}
var _local1 = 3.6 * pc;
if ((emptyBarFillColor != undefined) || (emptyBarLineColor != undefined)) {
drawBarPieSlice(-90 + _local1, 360 - _local1, _local2, 0, 0, radius, barWidth, emptyBarFillColor, emptyBarLineColor);
}
if ((fullBarFillColor != undefined) || (fullBarLineColor != undefined)) {
drawBarPieSlice(-90, _local1, _local2, 0, 0, radius, barWidth, fullBarFillColor, fullBarLineColor);
}
}
function drawBarPieSlice(startAngle, angle, canvas, xcenter, ycenter, radius, thickness, fillColor, lineColor) {
var radius = radius;
var barThickness = thickness;
var startAngle = startAngle;
var totalAngle = angle;
var cpX = xcenter;
var cpY = ycenter;
var startTheta = ((startAngle / 180) * Math.PI);
var _local2 = startTheta;
var endTheta = (((startAngle + totalAngle) / 180) * Math.PI);
var points = new Array();
var cpoints = new Array();
var innerRadius = (radius - barThickness);
var innerPoints = new Array();
var innerCPoints = new Array();
points.push({x:cpX + (Math.cos(startTheta) * radius), y:cpY + (Math.sin(startTheta) * radius)});
innerPoints.push({x:cpX + (Math.cos(startTheta) * innerRadius), y:cpY + (Math.sin(startTheta) * innerRadius)});
while (_local2 < endTheta) {
var _local1 = Math.min(endTheta - _local2, (Math.PI/4));
var midTheta = (_local2 + (_local1 / 2));
var ctrlRadius = (radius / Math.cos(_local1 / 2));
var cx = (Math.cos(midTheta) * ctrlRadius);
var cy = (Math.sin(midTheta) * ctrlRadius);
var px = (Math.cos(_local2 + _local1) * radius);
var py = (Math.sin(_local2 + _local1) * radius);
cpoints.push({x:cpX + cx, y:cpY + cy});
points.push({x:cpX + px, y:cpY + py});
ctrlRadius = innerRadius / Math.cos(_local1 / 2);
cx = Math.cos(midTheta) * ctrlRadius;
cy = Math.sin(midTheta) * ctrlRadius;
px = Math.cos(_local2 + _local1) * innerRadius;
py = Math.sin(_local2 + _local1) * innerRadius;
innerCPoints.push({x:cpX + cx, y:cpY + cy});
innerPoints.push({x:cpX + px, y:cpY + py});
_local2 = _local2 + _local1;
}
canvas.lineStyle();
if (lineColor != undefined) {
canvas.lineStyle(0, lineColor, 100);
}
canvas.endFill();
if (fillColor != undefined) {
canvas.beginFill(fillColor, 100);
}
canvas.moveTo(points[0].x, points[0].y);
var _local3 = 0;
while (_local3 < (points.length - 1)) {
canvas.curveTo(cpoints[_local3].x, cpoints[_local3].y, points[_local3 + 1].x, points[_local3 + 1].y);
_local3++;
}
canvas.lineTo(innerPoints[innerPoints.length - 1].x, innerPoints[innerPoints.length - 1].y);
_local3 = innerPoints.length - 1;
while (_local3 > 0) {
canvas.curveTo(innerCPoints[_local3 - 1].x, innerCPoints[_local3 - 1].y, innerPoints[_local3 - 1].x, innerPoints[_local3 - 1].y);
_local3--;
}
canvas.lineTo(points[0].x, points[0].y);
}
init();
Symbol 25 Button
on (rollOver) {
play();
}
on (rollOut) {
gotoAndStop (1);
}
on (release) {
getURL ("javascript:window.close();");
}
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 21
gotoAndPlay (2);
Symbol 28 Button
on (release) {
getURL ("http://www.disney.es/DisneyVideos/tarzan", "_parent");
}
Symbol 30 MovieClip Frame 1
stop();
if (_root.remote == 1) {
gotoAndStop (2);
}
Symbol 30 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 12
stop();
Instance of Symbol 38 MovieClip "snap" in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
myXpos = -307;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
}
Instance of Symbol 38 MovieClip "snap1" in Symbol 41 MovieClip Frame 3
onClipEvent (load) {
myXpos = -299;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
}
Instance of Symbol 40 MovieClip "dash1" in Symbol 41 MovieClip Frame 12
onClipEvent (load) {
myXpos = -227;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
}
Symbol 41 MovieClip Frame 20
_parent.play();
_parent.bigDash.play();
Instance of Symbol 40 MovieClip "dash" in Symbol 41 MovieClip Frame 21
onClipEvent (load) {
myXpos = -231;
}
onClipEvent (enterFrame) {
if (this._x != myXpos) {
if (this._x > myXpos) {
this._x = Math.floor((this._x + myXpos) * 0.5);
} else {
this._x = Math.ceil((this._x + myXpos) * 0.5);
}
}
}
Symbol 41 MovieClip Frame 48
_parent.play();
Symbol 41 MovieClip Frame 81
stop();
Symbol 56 MovieClip Frame 1
function initTimer() {
nowTime = new Date();
thisDay = nowTime.getDate();
thisMonth = nowTime.getMonth() + 1;
thisYear = nowTime.getFullYear();
targetDay = Number(availableDate[0]);
targetMonth = Number(availableDate[1]);
targetYear = Number(availableDate[2]);
expired = false;
if (thisYear == targetYear) {
if (thisMonth == targetMonth) {
if (thisDay >= targetDay) {
expired = true;
}
} else if (thisMonth > targetMonth) {
expired = true;
}
} else if (thisYear > targetYear) {
expired = true;
}
if (expired) {
dateText = _parent.text.releaseDateAfter;
} else {
dateText = _parent.text.releaseDate;
}
}
availableDate = new Array();
availableDate[0] = 4;
availableDate[1] = 5;
availableDate[2] = 2005;
initTimer();
Symbol 84 MovieClip Frame 1
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
if (_parent.endGame == "yes") {
gotoAndPlay ("endGamePage");
}
Instance of Symbol 66 MovieClip "photo1" in Symbol 91 MovieClip Frame 3
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Instance of Symbol 72 MovieClip "photo2" in Symbol 91 MovieClip Frame 9
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Instance of Symbol 76 MovieClip "photo3" in Symbol 91 MovieClip Frame 15
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Instance of Symbol 80 MovieClip "photo4" in Symbol 91 MovieClip Frame 21
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Symbol 91 MovieClip Frame 26
stop();
Instance of Symbol 84 MovieClip "photo5" in Symbol 91 MovieClip Frame 26
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Symbol 91 MovieClip Frame 28
photo1.initMe(0);
Symbol 91 MovieClip Frame 31
photo2.initMe(0);
Symbol 91 MovieClip Frame 34
photo3.initMe(0);
Symbol 91 MovieClip Frame 37
photo4.initMe(0);
Symbol 91 MovieClip Frame 40
photo5.initMe(0);
Symbol 91 MovieClip Frame 50
_parent.play();
Symbol 91 MovieClip Frame 51
if (_parent.score <= 75) {
endGameText.text = _parent.text.endGameText1;
endContinueText.text = _parent.text.endGameContinue;
}
if ((_parent.score > 75) and (_parent.score < 125)) {
endGameText.text = _parent.text.endGameText2;
endContinueText.text = _parent.text.endGameContinue;
}
if (_parent.score >= 125) {
endGameText.text = _parent.text.endGameText3;
endContinueText.text = _parent.text.endGameContinueWin;
_parent.enterCompMC.gotoAndStop("show");
} else {
_parent.enterCompMC.gotoAndStop("hide");
}
Instance of Symbol 66 MovieClip "photo1" in Symbol 91 MovieClip Frame 51
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Instance of Symbol 72 MovieClip "photo2" in Symbol 91 MovieClip Frame 57
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Instance of Symbol 76 MovieClip "photo3" in Symbol 91 MovieClip Frame 63
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Instance of Symbol 80 MovieClip "photo4" in Symbol 91 MovieClip Frame 69
onClipEvent (load) {
function initMe(tx) {
trace("target X = " + eval (tx));
targetX = tx;
startXpos = this._xscale;
centrePoint = (startXpos + targetX) * 0.5;
trace(((((((("staring xPos = " + startXpos) + " : ") + "target xPos = ") + targetX) + " : ") + "centrePoint = ") + centrePoint) + " : ");
pSpeed = 1;
}
startXpos = this._xscale;
targetX = 100;
centrePoint = (startXpos + targetX) * 0.5;
pSpeed = 1;
}
onClipEvent (enterFrame) {
if (this._xscale < targetX) {
if (this._xscale < centrePoint) {
this._xscale = (this._yscale = this._xscale + pSpeed);
pSpeed = pSpeed * 2;
trace("left to right : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.ceil((this._xscale + targetX) * 0.5));
trace("left to right : decelerate" + this._xscale);
}
}
if (this._xscale > targetX) {
if (this._xscale > centrePoint) {
this._xscale = (this._yscale = this._xscale - pSpeed);
pSpeed = pSpeed * 2;
trace("right to left : accelerate" + this._xscale);
} else if (this._xscale != targetX) {
this._xscale = (this._yscale = Math.floor((this._xscale + targetX) * 0.5));
trace("right to left : decelerate" + this._xscale);
}
}
}
Symbol 91 MovieClip Frame 74
stop();
Symbol 91 MovieClip Frame 76
photo1.initMe(5);
Symbol 91 MovieClip Frame 79
photo2.initMe(5);
Symbol 91 MovieClip Frame 82
photo3.initMe(5);
Symbol 91 MovieClip Frame 85
photo4.initMe(5);
Symbol 91 MovieClip Frame 88
_parent.bestPhoto.scaleMe(1);
Symbol 91 MovieClip Frame 102
_parent.play();
stop();
Symbol 100 Button
on (release) {
_parent._parent.book.play();
}
Symbol 103 Button
on (release) {
getURL (("mailto:?subject=JUEGA%20A%20SACAR%20FOTOS&body=Hola%0d%0a%0d%0aYo obtuve " + _root.highscore) + " puntos jugando al 'Captura la Mejor Foto'. Haz clic en el link de m\u00E1s abajo e intenta batir mi record:%0D%0A%0D%0Ahttp://www.disney.es/DisneyVideos/tarzan/game/swingshot1.html%0D%0A%0D%0A TARZAN\u00AE 2-DISCOS EDICI\u00D3N ESPECIAL EN DVD EL 4 DE MAYO");
}
Symbol 106 MovieClip Frame 1
if (_parent.endGame == "yes") {
gotoAndPlay ("endGamePage");
}
Symbol 106 MovieClip Frame 26
stop();
Symbol 106 MovieClip Frame 50
stop();
Symbol 106 MovieClip Frame 58
Symbol 106 MovieClip Frame 84
stop();
Symbol 106 MovieClip Frame 108
stop();
Symbol 107 MovieClip Frame 1
function reset() {
var _local1 = this;
_local1._rotation = 30;
gameWidth = 600;
myStartX = -80;
myEndX = gameWidth + 80;
myX = myStartX;
myState = 0;
_local1._x = myX;
_local1.onEnterFrame = "";
}
function initMe(spd) {
myState = 1;
myX = myStartX;
mySpeed = spd;
myDir = 1;
this.onEnterFrame = animMe;
}
function animMe() {
myX = myX + (myDir * mySpeed);
this._rotation = this._rotation - 1;
this._x = myX;
if ((myDir == 1) && (myX > myEndX)) {
_parent.takePic(1);
_parent.triggerNextLevel();
} else if ((myDir == -1) && (myX < myStartX)) {
reset();
}
}
stop();
Symbol 121 MovieClip Frame 1
function initMe(offsetPC, offsetDir, scr) {
gotoAndStop ("show");
accuracy = offsetPC;
score = scr;
runner._x = (((100 - offsetPC) / 100) * (frameWidth / 2)) * offsetDir;
if (this._name.indexOf("best") == -1) {
gotoAndStop ("showScore");
} else {
if (score == 0) {
runner._visible = 0;
}
gotoAndStop ("showBest");
}
if (score == 0) {
missed._visible = 1;
}
}
stop();
frameWidth = 180;
runner.stop();
Instance of Symbol 113 MovieClip "missed" in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 121 MovieClip Frame 2
this.scaleMe(100);
stop();
Symbol 121 MovieClip Frame 3
play();
Symbol 121 MovieClip Frame 75
gotoAndPlay ("showBest");
Symbol 123 MovieClip Frame 1
function activate(state, txt) {
myText = txt;
if (state) {
gotoAndPlay ("show");
} else {
gotoAndStop ("hide");
}
}
stop();
Symbol 123 MovieClip Frame 70
if (myText == _parent.getReadyTxt) {
_parent.triggerRunner();
} else {
_parent.triggerGameOver();
}
Symbol 142 Button
on (press) {
_parent.takePic();
}
Symbol 145 MovieClip Frame 1
function flash() {
gotoAndPlay ("flash");
}
stop();