Combined Code
frame 1 {
function emptyFunction() {}
function deviantArt() {
getURL('http://GodOfCatfacesLOL.deviantart.com/', 'tab');
}
stop();
total = _root.getBytesTotal();
loaded = 0;
percent = 0;
loadBar.onEnterFrame = function () {
loaded = _root.getBytesLoaded();
loadBar.gotoAndPlay(percent);
percent = int((loaded / total) * 100);
};
onEnterFrame = function () {
checkPercent();
};
checkPercent = function () {
if (percent == 100) {
play();
delete checkPercent;
}
};
var rightClick = new ContextMenu();
rightClick.builtInItems.forward_back = false;
rightClick.builtInItems.play = false;
rightClick.builtInItems.loop = false;
rightClick.builtInItems.print = false;
rightClick.builtInItems.rewind = false;
rightClick.builtInItems.save = false;
rightClick.builtInItems.zoom = false;
rightClick.customItems.push(new ContextMenuItem(':3', emptyFunction));
rightClick.customItems.push(new ContextMenuItem('How ya doin\'?', emptyFunction));
rightClick.customItems.push(new ContextMenuItem('Click this to visit my dA page', deviantArt));
_root.menu = rightClick;
}
movieClip 3 {
frame 1 {
stop();
}
}
movieClip 5 {
}
movieClip 8 {
frame 6 {
stop();
}
}
movieClip 10 {
frame 7 {
stop();
}
}
movieClip 12 {
frame 8 {
stop();
}
}
movieClip 14 {
frame 9 {
stop();
}
}
movieClip 16 {
frame 10 {
stop();
}
}
movieClip 18 {
frame 11 {
stop();
}
}
movieClip 21 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
_visible = false;
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
movieClip 26 {
frame 8 {
stop();
}
}
movieClip 37 {
}
movieClip 44 {
}
movieClip 53 {
}
movieClip 62 {
}
movieClip 73 {
}
movieClip 85 {
}
movieClip 98 {
}
movieClip 110 {
}
movieClip 120 {
}
movieClip 152 {
}
movieClip 155 {
}
movieClip 158 {
}
movieClip 160 {
}
movieClip 161 {
}
movieClip 162 {
}
movieClip 255 {
frame 20 {
stop();
}
}
movieClip 271 {
}
// unknown tag 88 length 68
movieClip 676 {
}
movieClip 677 {
}
movieClip 698 {
}
movieClip 764 {
}
movieClip 815 {
frame 20 {
stop();
}
}
movieClip 839 {
}
movieClip 861 {
}
movieClip 906 {
}
button 908 {
on (release) {
getURL('https://www.youtube.com/channel/UC5i73-Udg4665ybe6BxlzYA', 'tab');
}
}
button 910 {
on (release) {
getURL('https://www.youtube.com/channel/UCiS90ZKkhSuPjYh55KhCLuw', 'tab');
}
}
// unknown tag 88 length 47
frame 3342 {
stop();
}