Frame 1
Frame 2
stop();
gotoAndPlay ("escena 1");
Frame 3
gotoAndPlay ("fotorama");
Frame 13
_root.gotoAndStop(1);
gotoAndPlay (3);
Symbol 15 Button
on (press) {
getURL ("http://www.deviantart.com", "_blank");
}
on (rollOver) {
gotoAndPlay ("rollover");
}
on (rollOut) {
gotoAndPlay ("rollout");
}
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 13
stop();
Symbol 20 MovieClip Frame 1
function fractalLine(mc, A, B, width, roughness, branching, col, alpha) {
mc.lineStyle(width, col, alpha);
var _local5 = Math.atan2(B.y - A.y, B.x - A.x);
var _local2 = distance(A, B);
var _local10 = {x:A.x + ((_local2 / 2) * Math.cos(_local5)), y:A.y + ((_local2 / 2) * Math.sin(_local5))};
var _local13 = ((((_local2 / 2) * roughness) * 2) * Math.random()) - (((_local2 / 2) * roughness) + 0.1);
var _local1 = {x:_local10.x + (_local13 * Math.cos(_local5 - (Math.PI/2))), y:_local10.y + (_local13 * Math.sin(_local5 - (Math.PI/2)))};
if (branching && (_local2 > 80)) {
var _local15 = (_local5 + ((Math.random() * Math.PI) / 2)) - (Math.PI/4);
var _local8 = _local2 / 2;
dest = {x:_local1.x + (_local8 * Math.cos(_local15)), y:_local1.y + (_local8 * Math.sin(_local15))};
fractalLine(mc, _local1, dest, width / 1.5, roughness, branching, col, alpha);
}
if (_local2 > 40) {
fractalLine(mc, A, _local1, width, roughness, branching, col, alpha);
fractalLine(mc, _local1, B, width, roughness, branching, col, alpha);
} else {
mc.moveTo(A.x, A.y);
mc.lineTo(_local1.x, _local1.y);
mc.lineTo(B.x, B.y);
}
}
function distance(A, B) {
return(Math.sqrt(Math.pow(B.x - A.x, 2) + Math.pow(B.y - A.y, 2)));
}
function render() {
this.clear();
var _local2 = 0;
while (_local2 < 3) {
idx = _local2 * 3;
fractalLine(this, pts[idx], pts[idx + 1], 3, pts[idx + 2], false, 16777215, 100);
_local2++;
}
}
function teslaStart() {
teslaStop();
intervalID = setInterval(this, "render", 50);
}
function teslaStop() {
clearInterval(intervalID);
}
var pts = new Array(new Object({x:-50, y:-20}), new Object({x:330, y:-20}), 0.2, new Object({x:-50, y:0}), new Object({x:330, y:0}), 0.25, new Object({x:-50, y:20}), new Object({x:330, y:20}), 0.2);
var intervalID = 0;
Symbol 23 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
var _maxStripes = 5;
var _yRadius = 20;
var _zRadius = 20;
var _sAlpha = 50;
var _stripes;
var s = _parent._parent.stripeSettings;
initStripes = function () {
_maxStripes = s.maxStripes;
_yRadius = s.yRadius;
_zRadius = s.zRadius;
_sAlpha = s.alpha;
_stripes = new Array();
var _local3 = 0;
while (_local3 < _maxStripes) {
var _local2 = this.attachMovie("Stripe", "Stripe" + _local3, this.getNextHighestDepth());
_local2._xscale = 60;
_local2._yscale = 50;
_local2.angle = ((Math.PI / _maxStripes) * _local3) * 2;
_stripes.push(_local2);
_local3++;
}
};
onEnterFrame = function () {
var _local3 = s.rotSpeed;
_sAlpha = _sAlpha + ((s.alpha - _sAlpha) / 5);
_yRadius = _yRadius + ((s.yRadius - _yRadius) / 5);
_zRadius = _zRadius + ((s.zRadius - _zRadius) / 5);
var _local2 = 0;
while (_local2 < _maxStripes) {
var _local1 = _stripes[_local2];
_local1.angle = _local1.angle + _local3;
_local1._y = Math.sin(_local1.angle) * _yRadius;
_local1._alpha = Math.round((Math.cos(_local1.angle) * _zRadius) + _sAlpha);
_local2++;
}
};
initStripes();
stop();
Symbol 30 MovieClip Frame 1
var stripeSettings = new Object();
stripeSettings.rotSpeed = 0.05;
stripeSettings.alpha = 70;
stripeSettings.zRadius = 30;
stripeSettings.yRadius = 20;
stripeSettings.maxStripes = 5;
_parent.stop();
Symbol 30 MovieClip Frame 43
var percent = 0;
var percentLast = 0;
var percentMaxPart = 10;
var percentString = "0.00%";
loadingPill.Lightning.teslaStart();
onEnterFrame = function () {
var _local3 = Math.round(_root.getBytesLoaded());
var _local2 = Math.round(_root.getBytesTotal());
percent = ((!isNaN(_local3 / _local2)) ? ((_local3 * 100) / _local2) : 0);
var _local4 = percent - percentLast;
if (_local4 > percentMaxPart) {
percent = percentLast + percentMaxPart;
}
p = (percentLast = percent);
if (p >= 100) {
p = 100;
}
loadingPill.Progress.gotoAndStop(Math.ceil(p));
percentString = String((Math.round(p) + ".") + Math.round(p * 100).toString().substr(-2)) + "%";
if (p == 100) {
delete onEnterFrame;
loadingPill.Lightning.teslaStop();
gotoAndPlay ("loaded");
}
};
Symbol 30 MovieClip Frame 54
stop();
Symbol 30 MovieClip Frame 74
stop();
Pill_btn.onRelease = function () {
gotoAndPlay ("outro");
};
Pill_btn.onRollOver = function () {
stripeSettings.yRadius = 10;
stripeSettings.zRadius = 40;
stripeSettings.alpha = 60;
stripeSettings.rotSpeed = 0.06;
};
Pill_btn.onRollOut = function () {
stripeSettings.yRadius = 20;
stripeSettings.zRadius = 30;
stripeSettings.alpha = 70;
stripeSettings.rotSpeed = 0.05;
};
Symbol 30 MovieClip Frame 90
stop();
_parent.play();