Combined Code
// unknown tag 255 length 1
frame 1 {
function gomysite() {
getURL(siteUrl, '');
}
function checkprogress() {
var v5 = _root.getBytesLoaded();
var v4 = _root.getBytesTotal();
var v3 = Math.round((v5 / v4) * 100);
_root.showloader.loadingper.text = v3 + '%';
_root.showloader.percenbar._xscale = v3;
if (v5 >= v4) {
_global.loadok = 1;
clearInterval(loadchk);
gotoAndStop(2);
}
}
function gomysite() {
getURL(siteUrl, '');
}
function sellang(arg0, arg1) {
_root.selectbg._x = arg0;
_root.selectbg._y = arg1;
}
function gomoregames() {
getURL(moreUrl, '');
}
function copythisurl() {
System.setClipboard('http://www.flash512.com/esc-games/escape85/');
}
_global.allowgame = 1;
_root.allowsites = ['192.168.1.98', 'flash512.com', 'gamekb.com', '*'];
_root.checkLoadingUrl = function () {
var v6 = false;
var v8 = this._url.toLowerCase();
if (v8.substr(0, 4) == 'http') {
var v4 = new Array();
v4 = v8.split('/');
var v7 = _root.allowsites.length;
var v5 = 0;
while (v5 < v7) {
if (v4[2].substr(0, 4) == 'www.') {
v4[2] = v4[2].substr(4);
}
if (v4[2] == _root.allowsites[v5]) {
v6 = true;
break;
}
++v5;
}
}
if (!v6) {
_global.allowgame = 1.0;
return true;
}
_root.the_url = 'aoo';
_global.allowgame = 1;
Mouse.show();
return true;
};
if (_root.checkLoadingUrl() == undefined || _root.the_url != 'aoo') {
_global.allowgame = 1.0;
}
var _ul = String(flash.external.ExternalInterface.call('function() { return document.URL }'));
var _u = _ul.toLowerCase();
if (_u.indexOf('flash512.com/esc-games') == -1) {
_global.allowgame = 1.0;
}
Stage.showMenu = false;
Stage.scaleMode = 'noScale';
stop();
tabEnabled = false;
_focusrect = false;
_root.tabChildren = false;
var loadchk = setInterval(checkprogress, 50);
var langs = System.capabilities.language;
if (langs == 'zh-CN') {
_global.current_lang = 1;
sellang(182, 254);
_root.gametitle.gotoAndStop(1);
} else {
if (langs == 'zh-TW') {
_global.current_lang = 3;
_root.gametitle.gotoAndStop(3);
} else {
_global.current_lang = 2;
sellang(335, 254);
_root.gametitle.gotoAndStop(2);
}
}
var siteUrl = 'http://www.flash512.com';
var moreUrl = 'http://www.flash512.com/list/25.html';
if (_global.current_lang == 1) {
var siteTitle = '异军-Flash512.com';
var moregames = '更多密室游æˆ';
var copythis = 'å¤åˆ¶æ¸¸æˆåœ°å€';
} else {
if (_global.current_lang == 3) {
var siteTitle = 'ç•°è»-Flash512.com';
var moregames = '更多密室éŠæˆ²';
var copythis = '複製éŠæˆ²åœ°å€';
} else {
var siteTitle = 'www.Flash512.com';
var moregames = 'More Escape Games';
var copythis = 'Copy Game\'s URL';
}