Frame 1
_global.safeURL = function (tagVar) {
var _local1 = tagVar;
if (((_local1.substr(0, 5) == "http:") || (_local1.substr(0, 6) == "https:")) || (_local1.substr(0, 1) == "/")) {
getURL (_local1);
}
};
newClip_mc = _root.createEmptyMovieClip("tabs", "tabs", 1000);
tabs.loadMovie(_level0:SUPERTAB);
stop();
Symbol 3 Button
on (release) {
getURL (_level0:clickTAG, "_blank");
}
Symbol 17 Button
on (release) {
_root.main.gotoAndStop("video1");
}
Symbol 21 Button
on (release) {
_root.main.gotoAndStop("video");
}
Symbol 24 Button
on (release) {
_root.main.gotoAndStop("photos");
}
Symbol 35 Button
on (release) {
_root.main.pho_main.changePhoto(1);
}
Symbol 36 Button
on (release) {
_root.main.pho_main.changePhoto(-1);
}
Symbol 39 MovieClip Frame 1
function p_num() {
current_pos = p + 1;
pos_txt.text = (current_pos + " / ") + total;
}
this.pArray = [_level0.clickTAG1, _level0.clickTAG2, _level0.clickTAG3, _level0.clickTAG4, _level0.clickTAG5, _level0.clickTAG6, _level0.clickTAG7, _level0.clickTAG8, _level0.clickTAG9];
this.fadeSpeed = 20;
this.pIndex = 0;
loadMovie (this.pArray[0], _root.main.pho_main.photo);
MovieClip.prototype.changePhoto = function (d) {
var _local1 = this;
_local1.pIndex = (_local1.pIndex + d) % _local1.pArray.length;
if (_local1.pIndex < 0) {
_local1.pIndex = _local1.pIndex + _local1.pArray.length;
}
_local1.pos_txt.text = ((_local1.pIndex + 1) + " / ") + _local1.pArray.length;
_local1.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function () {
var _local1 = this;
if (_local1.photo._alpha > _local1.fadeSpeed) {
_local1.photo._alpha = _local1.photo._alpha - _local1.fadeSpeed;
} else {
_local1.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function () {
var _local2 = this;
var _local1 = _root.main.pho_main.photo;
_local1._alpha = 0;
_local1.loadMovie(_local2.pathToPics + _local2.pArray[_local2.pIndex]);
_local2.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function () {
var _local3 = this;
var i;
var _local2;
var _local1;
_local2 = _local3.photo.getBytesLoaded();
_local1 = _local3.photo.getBytesTotal();
if ((_local1 > 0) && (_local1 == _local2)) {
_local3.onEnterFrame = fadeIn;
} else {
trace(_local2 / _local1);
}
};
MovieClip.prototype.fadeIn = function () {
var _local1 = this;
if (_local1.photo._alpha < (100 - _local1.fadeSpeed)) {
_local1.photo._alpha = _local1.photo._alpha + _local1.fadeSpeed;
} else {
_local1.photo._alpha = 100;
_local1.onEnterFrame = null;
}
};
this.onKeyDown = function () {
if (Key.getCode() == 37) {
this.changePhoto(-1);
} else if (Key.getCode() == 39) {
this.changePhoto(1);
}
};
Key.addListener(this);
Symbol 40 MovieClip Frame 1
Symbol 40 MovieClip Frame 53
this.clipContainer.loadMovie(_level0:clickTAG10);
stop();
Symbol 40 MovieClip Frame 66
this.clipContainer.loadMovie(_level0:clickTAG11);
stop();
Symbol 40 MovieClip Frame 75
stop();
Symbol 40 MovieClip Frame 84
stop();
Symbol 40 MovieClip Frame 85
loadMovie ("synopsis.swf", "synopsisholder");
Symbol 40 MovieClip Frame 92
stop();
Symbol 40 MovieClip Frame 99
stop();