[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (554 B)
Mouse.hide();
var escuchador = new Object();
var xini = _xmouse;
var yini = _ymouse;
escuchador.onMouseMove = function () {
diferencia();
};
Mouse.addListener(escuchador);
startDrag ("mc", true);
stop();
mc.onEnterFrame = function () {
_root.caucula = Math.floor((getBytesLoaded() / getBytesTotal()) * 100);
_root.mc.percent.text = _root.caucula + "%";
if (caucula >= 100) {
_root._alpha = _root._alpha - 5;
if (0 >= _root._alpha) {
_root.gotoAndPlay(2);
mc._visible = false;
delete mc.onEnterFrame;
}
}
};
Frame 2 (140 B)
Mouse.show();
onEnterFrame = function () {
_alpha = _alpha + 10;
if (_alpha >= 100) {
delete this.onEnterFrame;
}
};
stop();
Symbol 2 MovieClip Frame 1 (492 B)
if (!hasOwnProperty("_load0423E8C8")) {
_load0423E8C8 = true;
tellTarget ("..") {
function diferencia() {
tellTarget (getProperty("..", _target)) {
difex = Math.abs(xini - _xmouse);
difey = Math.abs(yini - _ymouse);
var _loc2 = (new flash.filters.BlurFilter(difex * 2, difey * 2, 1));
var _loc1 = new Array();
_loc1.push(_loc2);
mc.filters = _loc1;
xini = _xmouse;
yini = _ymouse;
}
}
}
} else {
// unexpected jump
}
};
stop();