home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Canadian Forces: A World of Opportunities
/
CanadianForces-AWorldOfOpportunities-WinMac.bin
/
flashvr.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2005-10-11
|
51KB
|
1,906 lines
function §80§()
{
var _loc1_ = this;
_loc1_ = new XML();
_loc1_.ignoreWhite = true;
if(XMLparser != undefined)
{
_loc1_.parseXML(XMLparser);
xmlData = _loc1_.firstChild;
}
else
{
_loc1_.load(_url.substr(0,_url.toLowerCase().indexOf("flashvr.swf")) + "flashvr.xml");
}
_loc1_.doc = _loc1_;
_loc1_.onLoad = function()
{
xmlData = this.doc.firstChild;
};
}
function §24§()
{
if(xmlData)
{
intervalManager.clearInterval("id_xml");
intervalManager.setInterval("test_id",eval("130"),100);
}
}
function §130§()
{
§131§++;
if(eval("131") == 5)
{
intervalManager.clearInterval("test_id");
"64"();
}
}
function §60§(§74§, data)
{
return "20"("30"(eval("74"),data));
}
function §31§(x, §77§)
{
x[eval("77") >> 5] |= 128 << 24 - eval("77") % 32;
x[(eval("77") + 64 >> 9 << 4) + 15] = eval("77");
var _loc2_ = Array(80);
var a = 1732584193;
var b = -271733879;
var c = -1732584194;
var _loc3_ = 271733878;
var e = -1009589776;
var i = 0;
while(i < x.length)
{
var §89§ = a;
var §90§ = b;
var §91§ = c;
var §92§ = _loc3_;
var §93§ = e;
var _loc1_ = 0;
while(_loc1_ < 80)
{
if(_loc1_ < 16)
{
_loc2_[_loc1_] = x[i + _loc1_];
}
else
{
_loc2_[_loc1_] = "112"(_loc2_[_loc1_ - 3] ^ _loc2_[_loc1_ - 8] ^ _loc2_[_loc1_ - 14] ^ _loc2_[_loc1_ - 16],1);
}
var t = "113"("113"("112"(a,5),"119"(_loc1_,b,c,_loc3_)),"113"("113"(e,_loc2_[_loc1_]),"120"(_loc1_)));
e = _loc3_;
_loc3_ = c;
c = "112"(b,30);
b = a;
a = t;
_loc1_ = _loc1_ + 1;
}
a = "113"(a,eval("89"));
b = "113"(b,eval("90"));
c = "113"(c,eval("91"));
_loc3_ = "113"(_loc3_,eval("92"));
e = "113"(e,eval("93"));
i += 16;
}
return Array(a,b,c,_loc3_,e);
}
function §119§(t, b, c, d)
{
var _loc1_ = b;
var _loc2_ = d;
var _loc3_ = c;
if(t < 20)
{
return _loc1_ & _loc3_ | (~_loc1_) & _loc2_;
}
if(t < 40)
{
return _loc1_ ^ _loc3_ ^ _loc2_;
}
if(t < 60)
{
return _loc1_ & _loc3_ | _loc1_ & _loc2_ | _loc3_ & _loc2_;
}
return _loc1_ ^ _loc3_ ^ _loc2_;
}
function §120§(t)
{
var _loc1_ = t;
if(_loc1_ >= 20)
{
if(_loc1_ < 40)
{
return 1859775393;
}
§§push(_loc1_ >= 60 ? -899497514 : -1894007588);
}
return 1518500249;
}
function §30§(§74§, data)
{
var _loc2_ = "128"(eval("74"));
if(_loc2_.length > 16)
{
_loc2_ = "31"(_loc2_,eval("74").length * eval("25"));
}
var _loc3_ = Array(16);
var §94§ = Array(16);
var _loc1_ = 0;
while(_loc1_ < 16)
{
_loc3_[_loc1_] = _loc2_[_loc1_] ^ 909522486;
eval("94")[_loc1_] = _loc2_[_loc1_] ^ 1549556828;
_loc1_ = _loc1_ + 1;
}
var §59§ = "31"(_loc3_.concat("128"(data)),512 + data.length * eval("25"));
return "31"(eval("94").concat(eval("59")),672);
}
function §113§(x, y)
{
var _loc1_ = (x & 65535) + (y & 65535);
var _loc2_ = (x >> 16) + (y >> 16) + (_loc1_ >> 16);
return _loc2_ << 16 | _loc1_ & 65535;
}
function §112§(§88§, §29§)
{
return eval("88") << eval("29") | eval("88") >>> 32 - eval("29");
}
function §128§(§127§)
{
var _loc2_ = eval("127");
var _loc3_ = Array();
var §83§ = (1 << eval("25")) - 1;
var _loc1_ = 0;
while(_loc1_ < _loc2_.length * eval("25"))
{
_loc3_[_loc1_ >> 5] |= (_loc2_.charCodeAt(_loc1_ / eval("25")) & eval("83")) << 24 - _loc1_ % 32;
_loc1_ += eval("25");
}
return _loc3_;
}
function §20§(§19§)
{
var _loc2_ = eval("19");
var _loc3_ = !eval("61") ? "0123456789abcdef" : "0123456789ABCDEF";
var §127§ = "";
var _loc1_ = 0;
while(_loc1_ < _loc2_.length * 4)
{
set("127",eval("127") + (_loc3_.charAt(_loc2_[_loc1_ >> 2] >> (3 - _loc1_ % 4) * 8 + 4 & 15) + _loc3_.charAt(_loc2_[_loc1_ >> 2] >> (3 - _loc1_ % 4) * 8 & 15)));
_loc1_ = _loc1_ + 1;
}
return eval("127");
}
Button.prototype.onRollOver = function()
{
onMouseDown = function()
{
};
onMouseUp = function()
{
};
};
Button.prototype.onRollOut = function()
{
onMouseDown = function()
{
"4"();
};
onMouseUp = function()
{
"5"();
};
};
Button.prototype.onDragOut = function()
{
onMouseDown = function()
{
"4"();
};
onMouseUp = function()
{
"5"();
};
};
IntervalManagerClass = function()
{
this.list = {};
};
IntervalManagerClass.prototype.setInterval = function(name, §49§, §73§, §96§)
{
this.clearInterval(_target add name);
this.list[_target add name] = setInterval(eval("49"),eval("73"),eval("96"));
};
IntervalManagerClass.prototype.clearInterval = function(name)
{
clearInterval(this.list[_target add name]);
delete this.list[_target add name];
};
IntervalManagerClass.prototype.clearAll = function()
{
var _loc1_ = this;
for(var _loc2_ in _loc1_.list)
{
clearInterval(_loc1_.list[_loc2_]);
}
_loc1_.list = {};
};
if(intervalManager == undefined)
{
_global.intervalManager = new IntervalManagerClass();
}
intervalManager.clearAll();
if(_target == "/")
{
Stage.scaleMode = "noScale";
}
Stage.showMenu = false;
var §125§ = new Date();
var §57§ = NULL;
var §44§ = false;
var §21§;
var §41§;
var §126§;
var §76§ = 0;
var §116§ = false;
var §153§;
var §154§;
var §151§;
var §152§;
var §27§;
var §28§;
var §43§;
var panPixel_id = NULL;
var move_id = NULL;
var §26§ = NULL;
var §71§ = NULL;
var id_tim = NULL;
var §134§ = 100;
var §13§ = 0;
var §117§ = 0;
var §26§ = false;
var §75§ = false;
flat = NULL;
var §45§ = false;
var §9§;
var §10§;
var §72§ = false;
var §134§ = 100;
var §15§ = NULL;
var round = Math.round;
var atan = Math.atan;
var §6§ = 3.141592653589793;
var floor = Math.floor;
var sin = Math.sin;
var cos = Math.cos;
var sqrt = Math.sqrt;
var §115§ = scenefunc = NULL;
var §64§ = function()
{
function §50§()
{
if(receivingLC.connect("s" + connect) == 1)
{
intervalManager.clearInterval("idcon");
}
}
var _loc1_ = this;
SomeListener = new Object();
SomeListener.onKeyUp = function()
{
p_setScene().panStop();
this[eval("125").getTime()]._visible = 1;
i_debug._visible = 0;
};
SomeListener.onKeyDown = function()
{
if(Key.isDown(37) || Key.isDown(38) || Key.isDown(40) || Key.isDown(39))
{
if(Key.isDown(37))
{
var _loc1_ = -5;
}
if(Key.isDown(39))
{
_loc1_ = 5;
}
if(Key.isDown(39) && Key.isDown(37))
{
_loc1_ = 0;
}
if(Key.isDown(38))
{
var _loc2_ = -5;
}
if(Key.isDown(40))
{
_loc2_ = 5;
}
if(Key.isDown(38) && Key.isDown(40))
{
_loc2_ = 0;
}
p_setScene().panPixel(_loc1_,_loc2_,100);
}
if(Key.isDown(16))
{
p_setScene().panPixel(0,0,103);
}
if(Key.isDown(17))
{
p_setScene().panPixel(0,0,97);
}
if(Key.isDown(68) && !Key.isToggled(144))
{
this[eval("125").getTime()]._visible = 0;
i_debug._visible = 1;
i_debug._alpha = 50;
}
};
Key.addListener(SomeListener);
receivingLC = new LocalConnection();
receivingLC.toggleHS = function()
{
p_setScene().toggleHS();
};
receivingLC.panPixel = function(x, y, z, b)
{
p_setScene().panPixel(x,y,z,b);
};
receivingLC.panStop = function()
{
p_setScene().panStop();
};
receivingLC.moveToAngle = function(§8§)
{
p_setScene().moveToAngle(eval("8"));
};
receivingLC.loadScene = function(scene, §11§)
{
p_setScene().loadScene(scene,eval("11"));
};
receivingLC.setViewMode = function(§137§)
{
p_setScene().setViewMode(eval("137"));
};
if(connect != NULL)
{
intervalManager.setInterval("idcon",eval("50"),100);
}
if(connect != NULL)
{
sendingLC = new LocalConnection();
sendingLC.send("r" + connect,"getScene",p_getScene());
}
set("41",1.01);
if(vw == NULL)
{
set("152",Stage.width);
}
else
{
set("152",vw);
}
if(vh == NULL)
{
set("151",Stage.height);
}
else
{
set("151",vh);
}
set("154",round((eval("151") - 224) / 2));
set("153",- round((350 - eval("152")) / 2));
createEmptyMovieClip("maske",9999);
_loc1_.maske.attachMovie("maske",_loc1_,0);
_loc1_.maske._width = eval("152");
_loc1_.maske._height = eval("151");
_loc1_.maske._x = - eval("153");
_loc1_.maske._y = - eval("154");
setMask(_loc1_.maske);
if(_target != "/")
{
_X = _X + eval("153");
_Y = _Y + eval("154");
}
set("26",false);
"69"();
"78"();
loadScene();
};
var §53§ = function()
{
if(getScene().interlace.toUpperCase() == "HIGH")
{
return 2;
}
if(getScene().interlace.toUpperCase() == "MEDIUM")
{
return 4;
}
if(getScene().interlace.toUpperCase() == "LOW")
{
return 8;
}
};
var §118§ = function()
{
if(!flat)
{
if(getScene().interlace.toUpperCase() != "OFF" || getScene().interlace == "")
{
set("72",true);
if(getScene().interlace.toUpperCase() == "HIGH" || getScene().interlace.toUpperCase() == "MEDIUM" || getScene().interlace.toUpperCase() == "LOW")
{
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < eval("126"))
{
if(_loc1_ % "53"() == 0)
{
pano["maske" + _loc1_].i_pano._visible = 0;
}
}
}
else if(getScene().interlace.toUpperCase() == "AUTO")
{
var _loc3_ = 1;
if(System.capabilities.playerType == "PlugIn")
{
_loc3_ *= 0.8;
}
_loc3_ *= Math.sqrt(574 / (eval("151") + eval("152")));
if(_target != "/")
{
_loc3_ *= 0.6;
}
if("51"().panquality == "MEDIUM")
{
_loc3_ *= 1.5;
}
if("51"().panquality == "LOW")
{
_loc3_ *= 2;
}
var _loc2_ = round(_loc3_ * 30 / eval("15"));
if(_loc2_ < 10)
{
_loc2_ = 10;
"81"();
}
if(_loc2_ > eval("126"))
{
_loc2_ = eval("126");
}
var §104§ = eval("126") / _loc2_;
_loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < eval("126"))
{
pano["maske" + _loc1_].i_pano._visible = 0;
}
_loc1_ = -1;
while((_loc1_ = _loc1_ + 1) <= _loc2_)
{
pano["maske" + round(_loc1_ * eval("104"))].i_pano._visible = 1;
}
}
else
{
_loc2_ = getScene().interlace;
if(_loc2_ > eval("126"))
{
_loc2_ = eval("126");
}
var §104§ = eval("126") / _loc2_;
_loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < eval("126"))
{
pano["maske" + _loc1_].i_pano._visible = 0;
}
_loc1_ = -1;
while((_loc1_ = _loc1_ + 1) <= _loc2_)
{
pano["maske" + round(_loc1_ * eval("104"))].i_pano._visible = 1;
}
}
}
}
};
var §16§ = function()
{
var _loc3_ = getTimer();
var _loc1_ = 0;
while(_loc1_ < 1000000)
{
22258447723585;
_loc1_ = _loc1_ + 1;
}
var _loc2_ = getTimer() - _loc3_;
trace(_loc2_);
return _loc2_ / 850;
};
var §32§ = function()
{
if(!flat)
{
if(getScene().interlace.toUpperCase() != "OFF" || getScene().interlace != "")
{
set("72",false);
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < eval("126"))
{
pano["maske" + _loc1_].i_pano._visible = 1;
}
}
}
};
var §81§ = function()
{
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < eval("126") - 1)
{
pano["maske" + _loc1_].i_pano._visible = 0;
}
flat = true;
"84"(getHotspot(),getScene().part / pano.maske1.i_pano.i_bild2._width * pano.maske1.i_pano._x);
};
var §82§ = function()
{
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < eval("126") - 1)
{
pano["maske" + _loc1_].i_pano._visible = 1;
}
flat = false;
"87"(0);
"84"(getHotspot(),getScene().part / pano.maske1.i_pano.i_bild2._width * pano.maske1.i_pano._x);
};
var loadScene = function(scene)
{
var §117§ = 0;
onMouseDown = function()
{
"4"();
};
onMouseUp = function()
{
"5"();
};
_quality = "51"().stopquality;
this[eval("125").getTime()]._visible = 0;
zoom = 100;
autooff = false;
if(scene != null)
{
set("57",scene);
"136"();
}
barx = Number("51"().barwidth);
hsvis = Number(getScene().hsvisibility);
set("62",getHotspot());
part = Number(getScene().part);
var _loc1_ = SharedObject.getLocal("FlashVR_PE3.6.2");
if(getScene().interlace.toUpperCase() == "AUTO")
{
if(_loc1_.data["16"] == undefined)
{
set("15","16"());
_loc1_.data["16"] = eval("15");
}
else
{
set("15",_loc1_.data["16"]);
}
}
"68"();
"79"();
"66"();
intervalManager.setInterval("id_checkLoad",eval("23"),1000);
};
var §136§ = function()
{
var _loc2_ = this;
set("76",0);
rover = false;
if(connect != NULL)
{
sendingLC.send("r" + connect,"getScene",p_getScene());
}
"78"();
_loc2_.i_preloader._alpha = 100;
_loc2_.i_progress._width = 0;
_loc2_.i_progress._alpha = 100;
_loc2_.i_back._alpha = 100;
_loc2_.i_menu.removeMovieClip();
_loc2_[eval("125").getTime()].removeMovieClip();
"150"();
_loc2_.pano.removeMovieClip();
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < eval("62").length)
{
_loc2_["i_hs" + _loc1_].removeMovieClip();
}
_quality = "51"().stopquality;
"32"();
};
var §145§ = function()
{
"144"(1);
};
var §150§ = function()
{
intervalManager.clearInterval("video");
};
var §143§ = function()
{
intervalManager.clearInterval("video");
if(pano.maske1.i_pano.i_bild2._currentframe == pano.maske1.i_pano.i_bild2._totalframes)
{
"144"(1);
}
else
{
"144"(pano.maske1.i_pano.i_bild1._currentframe + 1);
}
};
var §148§ = function()
{
intervalManager.clearInterval("video");
if(pano.maske1.i_pano.i_bild2._currentframe == 1)
{
"144"(pano.maske1.i_pano.i_bild2._totalframes);
}
else
{
"144"(pano.maske1.i_pano.i_bild1._currentframe - 1);
}
};
var §149§ = function(fps)
{
intervalManager.clearInterval("video");
intervalManager.setInterval("video",eval("147"),round(1000 / fps));
};
var §147§ = function()
{
if(pano.maske1.i_pano.i_bild2._currentframe == pano.maske1.i_pano.i_bild2._totalframes)
{
"144"(1);
}
else
{
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) <= eval("126"))
{
pano["maske" + _loc1_].i_pano.i_bild1.nextFrame();
pano["maske" + _loc1_].i_pano.i_bild2.nextFrame();
pano["maske" + _loc1_].i_pano.i_bild3.nextFrame();
}
}
};
var §144§ = function(§48§)
{
var _loc2_ = eval("48");
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) <= eval("126"))
{
pano["maske" + _loc1_].i_pano.i_bild1.gotoAndStop(_loc2_);
pano["maske" + _loc1_].i_pano.i_bild2.gotoAndStop(_loc2_);
pano["maske" + _loc1_].i_pano.i_bild3.gotoAndStop(_loc2_);
}
};
var §146§ = function()
{
"144"(pano.maske1.i_pano.i_bild1._totalframes);
};
var §142§ = function()
{
"144"(1);
};
var §42§ = function()
{
updateAfterEvent();
"84"(getHotspot(),getScene().part / pano.maske1.i_pano.i_bild2._width * pano.maske1.i_pano._x);
set("134",eval("134") - 10);
i_preloader._alpha = eval("134");
i_progress._alpha = eval("134");
i_back._alpha = eval("134");
i_preloader.stop();
i_preloader.unloadMovie();
if(eval("134") <= 0)
{
set("43",true);
intervalManager.clearInterval("id_fadeOut");
"65"();
set("76",2);
if(connect != NULL)
{
sendingLC.send("r" + connect,"getScene",p_getScene());
}
if(getScene().auto != "0")
{
set("117",2);
if(getScene().auto < 0)
{
set("13",-1 * getScene().auto);
trace(eval("13"));
}
if(getScene().auto > 0)
{
set("13",getScene().auto);
trace(eval("13"));
}
p_setScene().panPixel(getScene().auto,0,100);
}
else
{
set("13",0);
_quality = "51"().stopquality;
"32"();
}
eval(eval("125").getTime())._visible = 1;
}
};
var §23§ = function()
{
set("76",1);
if(connect != NULL)
{
sendingLC.send("r" + connect,"getScene",p_getScene());
}
i_progress._width = round(barx * pano.getBytesLoaded() / pano.getBytesTotal());
if(pano.getBytesTotal() == pano.getBytesLoaded() && pano.getBytesTotal() > 0 && pano.maske1.i_pano.i_bild2._width)
{
if(pano.offset != NULL)
{
offset = pano.offset;
}
else
{
offset = 0;
}
if(getScene().fov.toLowerCase() == "auto" || "108"(2 * atan(Number(eval("152")) / Number(eval("151")) * eval("6") * (pano.maske1.i_pano.i_bild1._height - 1) / pano.maske1.i_pano.i_bild2._width / 360 * getScene().part)) < getScene().fov)
{
fov = "108"(2 * atan(Number(eval("152")) / Number(eval("151")) * eval("6") * (pano.maske1.i_pano.i_bild1._height - 1) / pano.maske1.i_pano.i_bild1._width / 360 * getScene().part));
pano._y = (- offset) * eval("41") + (eval("151") / 2 - eval("154"));
set("44",true);
}
else
{
fov = Number(getScene().fov);
pano._y = eval("151") / 2 - eval("154");
set("44",false);
}
intervalManager.clearInterval("id_checkLoad");
pano._x = eval("152") / 2 - eval("153");
"67"();
if(!eval("45"))
{
if(getScene().viewmode.toLowerCase() == "flat")
{
"81"();
}
if(getScene().viewmode.toLowerCase() == "warped")
{
"82"();
}
if(getScene().viewmode == "" || getScene().viewmode == undefined)
{
"82"();
}
}
else if(flat)
{
"81"();
}
else
{
"82"();
}
if(part != 360)
{
if(getScene().initangle < 0 && getScene().initangle <= part / 2 - fov / 2)
{
p_setScene().moveToAngle((- part) / 2 + fov / 2);
}
else if(getScene().initangle > 0 && getScene().initangle >= part / 2 - fov / 2)
{
p_setScene().moveToAngle(part / 2 - fov / 2);
}
else
{
p_setScene().moveToAngle(getScene().initangle);
}
}
else
{
p_setScene().moveToAngle(getScene().initangle);
}
if(eval("71") != NULL)
{
p_setScene().moveToAngle(eval("71"));
}
set("134",100);
_quality = "51"().panquality;
"118"();
if("51"().waitfade > 0)
{
intervalManager.setInterval("id_fadeOut",eval("42"),"51"().waitfade);
}
else if("51"().waitfade == undefined)
{
intervalManager.setInterval("id_fadeOut",eval("42"),20);
}
else if("51"().waitfade == "0")
{
set("134",10);
intervalManager.setInterval("id_fadeOut",eval("42"),20);
}
}
};
var §86§ = function(§123§)
{
var §18§ = round((pano.maske1.i_pano._x + eval("123")) * 10) / 10;
if(pano.maske1.i_pano._x + eval("123") >= pano.maske1.i_pano.i_bild2._width)
{
set("18",0);
}
else if(- pano.maske1.i_pano.i_bild2._width >= pano.maske1.i_pano._x + eval("123"))
{
set("18",0);
}
if(part == 360)
{
var i = -1;
while(++i <= eval("126"))
{
eval(a[i])._x = eval("18");
}
}
var §155§ = (pano.maske1.i_pano.i_bild2._width - pano.maske1.i_pano.i_bild2._width / getScene().part * fov) / 2;
var §156§ = -1 * eval("155");
if(part < 360 && part > 0 && pano.maske1.i_pano._x + eval("123") <= eval("155") && pano.maske1.i_pano._x + eval("123") >= eval("156"))
{
var i = -1;
while(++i <= eval("126"))
{
eval(a[i])._x = eval("18");
}
}
else if(pano.maske1.i_pano._x + eval("123") > eval("155") && part != 360)
{
if(eval("13") != 0)
{
trace(eval("13"));
p_setScene().panPixel(-1 * eval("13"),0,100);
set("13",eval("13") * -1);
}
else
{
p_setScene().panStop();
}
var i = -1;
while(++i <= eval("126"))
{
eval(a[i])._x = eval("155");
}
}
else if(pano.maske1.i_pano._x + eval("123") < eval("156") && part != 360)
{
trace(eval("13"));
if(eval("13") != 0)
{
trace(eval("13"));
p_setScene().panPixel(-1 * eval("13"),0,100);
}
else
{
trace("Stop");
p_setScene().panStop();
}
var i = -1;
while(++i <= eval("126"))
{
eval(a[i])._x = eval("156");
}
}
};
var §87§ = function(§36§)
{
var _loc2_ = eval("36");
if(flat)
{
var _loc1_ = floor((pano.maske1.i_pano.i_bild2._height - offset / 2) * pano["maske" + eval("126")]._height / pano.maske1._height / 2);
var _loc3_ = 1.5;
}
else
{
_loc1_ = pano.maske1.i_pano.i_bild2._height / 2;
_loc3_ = 1;
}
if(pano._y < - _loc2_ - eval("154") + (_loc1_ - offset) * eval("41") * zoom / 100 && pano._y + _loc2_ > eval("151") - eval("154") - (_loc1_ + _loc3_ * offset) * eval("41") * zoom / 100)
{
pano._y += _loc2_;
}
else
{
if(pano._y >= - _loc2_ - eval("154") + (_loc1_ - offset) * eval("41") * zoom / 100)
{
pano._y = - eval("154") + (_loc1_ - offset) * eval("41") * zoom / 100;
}
if(pano._y + _loc2_ <= eval("151") - eval("154") - (_loc1_ + _loc3_ * offset) * eval("41") * zoom / 100)
{
pano._y = eval("151") - eval("154") - (_loc1_ + _loc3_ * offset) * eval("41") * zoom / 100;
}
}
};
onMouseDown = function()
{
"4"();
};
onMouseUp = function()
{
"5"();
};
var §4§ = function()
{
trace("mousedonw");
if(eval("76") == 2)
{
if(_target == "/")
{
if(_xmouse + eval("153") < eval("152") && _xmouse + eval("153") > 0 && _ymouse + eval("154") < eval("151") && _ymouse + eval("154") > 0 && eval("43"))
{
set("27",_xmouse);
set("28",_ymouse);
set("26",true);
trace("click " + eval("27"));
if(!id_tim)
{
intervalManager.setInterval("id_tim",eval("132"),20);
}
}
}
else if(_xmouse + eval("153") < eval("152") && _xmouse + eval("153") > 0 && _ymouse + eval("154") < eval("151") && _ymouse + eval("154") > 0 && eval("43"))
{
set("27",_xmouse);
set("28",_ymouse);
set("26",true);
if(!id_tim)
{
intervalManager.setInterval("id_tim",eval("132"),20);
}
}
}
};
var §5§ = function()
{
if(_target == "/")
{
if(_xmouse + eval("153") < eval("152") && _xmouse + eval("153") > 0 && _ymouse + eval("154") < eval("151") && _ymouse + eval("154") > 0 && eval("43"))
{
p_setScene().panStop();
set("26",false);
}
}
else if(_xmouse + eval("153") < eval("152") && _xmouse + eval("153") > 0 && _ymouse + eval("154") < eval("151") && _ymouse + eval("154") > 0 && eval("43"))
{
p_setScene().panStop();
set("26",false);
}
};
onEnterFrame = function()
{
};
var §132§ = function()
{
if(eval("26") && eval("76") == 2)
{
if(_xmouse + eval("153") > eval("152") - 5 || _xmouse + eval("153") < 5 || _ymouse + eval("154") > eval("151") - 5 || _ymouse + eval("154") < 5)
{
set("26",false);
p_setScene().panStop();
}
autooff = true;
var _loc2_ = (_xmouse - eval("27")) / 10;
var _loc1_ = eval("152") / eval("151") * (_ymouse - eval("28")) / 10;
if(_loc2_ > getScene().maxspeed)
{
_loc2_ = getScene().maxspeed;
}
if(_loc1_ > getScene().maxspeed)
{
_loc1_ = getScene().maxspeed;
}
if(_loc2_ < - getScene().maxspeed)
{
_loc2_ = - getScene().maxspeed;
}
if(_loc1_ < - getScene().maxspeed)
{
_loc1_ = - getScene().maxspeed;
}
if(_loc2_ != 0 || _loc1_ != 0)
{
if(eval("9") != _loc2_ || eval("10") != _loc1_)
{
"12"(_loc2_,_loc1_,100);
set("9",_loc2_);
set("10",_loc1_);
}
}
}
};
var §12§ = function(a, b, c)
{
if(eval("43"))
{
xx = a;
yy = b;
zz = c;
if(a != 0 || b != 0 || c != 100)
{
set("117",1);
if(!move_id)
{
intervalManager.setInterval("move_id",eval("85"),5);
move_id = 1;
}
}
else
{
intervalManager.clearInterval("move_id");
move_id = NULL;
_quality = "51"().stopquality;
}
}
};
var §66§ = function()
{
var _loc2_ = this;
var §62§ = getHotspot();
var _loc1_ = 0;
while(_loc1_ < eval("62").length)
{
var _loc3_ = eval("62")[_loc1_].src;
createEmptyMovieClip("i_hs" + _loc1_,_loc1_ + eval("126") + 1);
_loc2_["i_hs" + _loc1_].loadMovie(_loc3_,_loc2_);
_loc2_["i_hs" + _loc1_]._x = -10000;
_loc2_["i_hs" + _loc1_]._visible = Number(getScene().hsvisibility);
_loc1_ = _loc1_ + 1;
}
};
var §68§ = function()
{
var _loc1_ = this;
if("51"().showmenu == "on")
{
createEmptyMovieClip("i_menu",999);
_loc1_.i_menu.loadMovie("51"().menusrc);
_loc1_.i_menu._y = "51"().menuy - eval("154");
_loc1_.i_menu._x = "51"().menux - eval("153");
}
};
var §65§ = function()
{
var _loc3_ = this;
var §111§ = pano.regkey;
var _loc1_ = "51"().regname;
var _loc2_ = "";
i = _loc1_.length - 1;
while(i >= 0)
{
_loc2_ += _loc1_.charAt(i);
i--;
}
if("60"(eval("110").toLowerCase(),_loc2_.toLowerCase()) != eval("111"))
{
createEmptyMovieClip(eval("125").getTime(),1004);
_loc3_[eval("125").getTime()]._visible = 0;
_loc3_[eval("125").getTime()].attachMovie("demo",eval("125").getTime(),1004);
_loc3_[eval("125").getTime()]._x = - eval("153");
_loc3_[eval("125").getTime()]._y = - eval("154");
_loc3_.i_debug.posy_text = "Unregistered Trial Version";
}
else
{
_loc3_.i_debug.posy_text = "Licensed to: " + _loc1_;
}
};
var §78§ = function()
{
var _loc1_ = this;
_loc1_.i_preloader.loadMovie("51"().wait,_loc1_);
if("51"().waitalign.toUpperCase() == "CENTER")
{
_loc1_.i_preloader._y = eval("151") / 2 - eval("154");
_loc1_.i_preloader._x = eval("152") / 2 - eval("153");
}
else
{
_loc1_.i_preloader._y = - eval("154");
_loc1_.i_preloader._x = - eval("153");
}
};
var §69§ = function()
{
var _loc1_ = this;
createEmptyMovieClip("i_back",1000);
_loc1_.i_back.attachMovie("back",_loc1_,_loc1_);
_loc1_.i_back._y = -5 - eval("154");
_loc1_.i_back._x = -5 - eval("153");
_loc1_.i_back._width = eval("152") + 10;
_loc1_.i_back._height = eval("151") + 10;
var _loc2_ = new Color(_loc1_.i_back);
_loc2_.setRGB(parseInt("51"().waitcolor,16));
createEmptyMovieClip("i_preloader",1001);
createEmptyMovieClip("i_progress",1002);
attachMovie("progressbar","i_progress",1002);
_loc1_.i_progress._x = Number("51"().barx) - eval("153");
_loc1_.i_progress._y = Number("51"().bary) - eval("154");
_loc1_.i_progress._width = 0;
_loc1_.i_progress._height = Number("51"().barheight);
var _loc3_ = new Color(_loc1_.i_progress);
_loc3_.setRGB(parseInt("51"().barcolor,16));
createEmptyMovieClip("i_debug",1003);
attachMovie("debug","i_debug",1003);
_loc1_.i_debug._visible = 0;
_loc1_.i_debug._y = - eval("154");
_loc1_.i_debug._x = - eval("153");
};
var §58§ = function(k)
{
return eval("6") / 180 * k;
};
var §108§ = function(k)
{
return 180 / eval("6") * k;
};
var §70§ = function()
{
var _loc1_ = "58"(fov);
var _loc2_ = zoom / 100 * eval("152") / (2 * sin(_loc1_ / 2));
var _loc3_ = _loc2_ - 2 * _loc2_ * sin(_loc1_ / 4) * sin(_loc1_ / 4);
return _loc3_;
};
var §40§ = function(§98§, §157§)
{
var _loc3_ = "58"(fov);
var _loc1_ = new Object();
_loc1_.x = 0;
_loc1_.y = 0;
_loc1_.z = eval("152") / (2 * sin(_loc3_ / 2));
_loc1_.x = _loc1_.x;
_loc1_.y = _loc1_.z * sin(eval("98"));
_loc1_.z *= cos(eval("98"));
var _loc2_ = new Object();
_loc2_.x = _loc1_.z * sin(eval("157"));
_loc2_.y = _loc1_.y;
_loc2_.z = _loc1_.z * cos(eval("157"));
return _loc2_;
};
var §103§ = function(§7§)
{
var _loc2_ = eval("7");
var _loc3_ = "70"();
var _loc1_ = new Object();
_loc1_.x = round(_loc2_.x * (_loc3_ / _loc2_.z));
_loc1_.y = round(_loc2_.y * (_loc3_ / _loc2_.z));
_loc1_.z = round(_loc2_.z);
return _loc1_;
};
var §97§ = function()
{
var _loc3_ = 0;
var §107§ = getScene().quality;
var §140§ = 100;
var §139§;
var §135§ = pano.maske1.i_pano.i_bild2._width / part;
var §3§ = new Object();
eval("3").x = new Array();
eval("3").y = new Array();
eval("3").stepps = new Array();
var _loc2_ = 1;
var §35§ = 1;
var §138§;
var §141§;
var §63§;
var _loc1_ = 0;
while((_loc1_ = _loc1_ + 1) <= round(eval("152") / 2))
{
_loc3_ = atan(_loc1_ / "70"());
set("63",_loc3_ * sqrt(_loc1_ * _loc1_ + "70"() * "70"()));
set("138",_loc1_ * 100 / (eval("135") * "108"(_loc3_)));
set("141",eval("63") * 100 / (eval("135") * "108"(_loc3_)));
if(_loc1_ == 1)
{
set("41",eval("138") / 100);
}
set("139",round(eval("138") / eval("41") * eval("107")) / eval("107"));
if(eval("139") != eval("140") || _loc1_ == round(eval("152") / 2))
{
eval("3").y[_loc2_] = eval("141");
eval("3").x[_loc2_] = eval("138");
eval("3").stepps[_loc2_] = _loc1_;
_loc2_ = _loc2_ + 1;
}
set("140",eval("139"));
}
return eval("3");
};
var §84§ = function(h, §17§)
{
var _loc2_ = h;
var §114§;
if(pano.scale != NULL)
{
set("114",pano.scale);
}
else
{
set("114",1);
}
var _loc1_ = -1;
while((_loc1_ = _loc1_ + 1) < _loc2_.length)
{
if(flat)
{
var §101§ = eval("114") * Number(_loc2_[_loc1_].pos_x);
var §102§ = eval("114") * Number(_loc2_[_loc1_].pos_y) + offset;
var §109§ = getScene().part / pano.maske1.i_pano.i_bild2._width;
var §22§ = eval("109") * eval("101") - getScene().part / 2;
var §129§ = pano.maske1.i_pano.i_bild1._height / 2 - eval("102");
var r = pano.maske1.i_pano.i_bild1._width * 0.5 / eval("6");
var §99§ = "58"(atan(eval("129") / r / (360 / getScene().part)) / eval("6") * 180);
var §158§ = "58"(eval("17") + eval("22"));
var §2§ = "103"("40"(eval("99"),"58"(fov / 2)));
var _loc3_ = new Object();
_loc3_.x = eval("114") * Number(_loc2_[_loc1_].pos_x);
_loc3_.y = eval("114") * Number(_loc2_[_loc1_].pos_y);
if(pano.maske1.i_pano._x + eval("114") * Number(_loc2_[_loc1_].pos_x) < 0)
{
pano["maske" + eval("126")].i_pano.i_bild3.localToGlobal(_loc3_);
}
else if(pano.maske1.i_pano._x + eval("114") * Number(_loc2_[_loc1_].pos_x) >= pano.maske1.i_pano.i_bild2._width)
{
pano["maske" + eval("126")].i_pano.i_bild1.localToGlobal(_loc3_);
}
else
{
pano["maske" + eval("126")].i_pano.i_bild2.localToGlobal(_loc3_);
}
if(_target != "/")
{
trace("xo" + eval("153"));
this["i_hs" + _loc1_]._x = _loc3_.x - eval("153") - _X;
}
else
{
this["i_hs" + _loc1_]._x = _loc3_.x;
}
this["i_hs" + _loc1_]._y = - eval("2").y + pano._y;
}
else
{
var §101§ = eval("114") * Number(_loc2_[_loc1_].pos_x);
var §102§ = eval("114") * Number(_loc2_[_loc1_].pos_y) + offset;
var §109§ = getScene().part / pano.maske1.i_pano.i_bild2._width;
var §22§ = eval("109") * eval("101") - getScene().part / 2;
var §129§ = pano.maske1.i_pano.i_bild1._height / 2 - eval("102");
var r = pano.maske1.i_pano.i_bild1._width * 0.5 / eval("6");
var §99§ = "58"(atan(eval("129") / r / (360 / getScene().part)) / eval("6") * 180);
var §158§ = "58"(eval("17") + eval("22"));
var §1§ = "103"("40"(eval("99"),eval("158")));
if(round(eval("1").z) > 0)
{
this["i_hs" + _loc1_]._x = eval("152") / 2 + eval("1").x - eval("153");
this["i_hs" + _loc1_]._y = - eval("1").y + pano._y;
}
else
{
this["i_hs" + _loc1_]._x = -10000;
}
}
}
};
var §79§ = function()
{
var _loc2_ = this;
set("116",false);
var _loc1_ = String(getScene().src);
trace("name" + _loc1_);
createEmptyMovieClip("pano",0);
_loc2_.pano.loadMovie(_loc1_);
_loc2_.pano._x = - eval("153");
_loc2_.pano._y = - eval("154");
};
var §67§ = function()
{
var _loc3_ = "97"();
set("126",_loc3_.stepps.length - 1);
a = new Array();
var z = 1;
while(eval("126") >= z)
{
a[z] = "pano/maske" + z + "/i_pano";
z++;
}
pano.maske1.swapDepths(eval("126") + 5);
var _loc2_ = 2;
while(_loc2_ <= eval("126"))
{
pano.maske1.duplicateMovieClip("maske" + _loc2_,eval("126") - _loc2_ + 5);
_loc2_ = _loc2_ + 1;
}
var _loc1_ = 1;
while(_loc1_ <= eval("126"))
{
pano["maske" + _loc1_].createEmptyMovieClip("i_maske",0);
pano["maske" + _loc1_].i_maske.beginFill(0);
pano["maske" + _loc1_].i_maske.moveTo(-5,-5);
pano["maske" + _loc1_].i_maske.lineTo(-5,-5);
pano["maske" + _loc1_].i_maske.lineTo(5,-5);
pano["maske" + _loc1_].i_maske.lineTo(5,5);
pano["maske" + _loc1_].i_maske.lineTo(-5,5);
pano["maske" + _loc1_].i_maske.endFill();
pano["maske" + _loc1_].i_pano.setMask(pano["maske" + _loc1_].i_maske);
pano["maske" + _loc1_].i_maske._y += offset;
pano["maske" + _loc1_].i_maske._width = _loc3_.stepps[_loc1_] * 2 / (_loc3_.x[_loc1_] / 100);
pano["maske" + _loc1_].i_maske._height = pano.maske1.i_pano.i_bild2._height;
pano["maske" + _loc1_]._yscale = _loc3_.y[_loc1_];
pano["maske" + _loc1_]._xscale = _loc3_.x[_loc1_];
_loc1_ = _loc1_ + 1;
}
"145"();
};
var §52§ = function()
{
if(eval("57") == null && initscene == null)
{
return xmlData.attributes.initscene;
}
if(eval("57") == null && initscene != null)
{
return initscene;
}
return eval("57");
};
var §51§ = function()
{
return xmlData.attributes;
};
var §56§ = function()
{
var _loc1_ = new Array();
for(var _loc2_ in xmlData.childNodes)
{
_loc1_[_loc2_] = xmlData.childNodes[_loc2_].attributes.name;
}
return _loc1_;
};
var getScene = function()
{
var _loc1_ = "52"();
if(_loc1_ == scenefunc)
{
return eval("115");
}
for(var _loc2_ in xmlData.childNodes)
{
if(xmlData.childNodes[_loc2_].attributes.name == _loc1_)
{
scenefunc = _loc1_;
set("115",xmlData.childNodes[_loc2_].attributes);
return xmlData.childNodes[_loc2_].attributes;
}
}
};
getHotspot = function()
{
var scene = "52"();
var _loc2_ = 0;
while(_loc2_ < xmlData.childNodes.length)
{
if(xmlData.childnodes[_loc2_].attributes.name == scene)
{
var _loc3_ = new Array(xmlData.childNodes[_loc2_].childNodes.length);
var _loc1_ = 0;
while(_loc1_ < xmlData.childNodes[_loc2_].childNodes.length)
{
_loc3_[_loc1_] = xmlData.childNodes[_loc2_].childNodes[_loc1_].attributes;
_loc1_ = _loc1_ + 1;
}
return _loc3_;
}
_loc2_ = _loc2_ + 1;
}
};
var §124§ = function(§122§)
{
updateAfterEvent();
if(spx != 0)
{
if(spx > 0)
{
spx -= 1 + round(Math.log(spx));
}
if(spx < 0)
{
spx += 1 + round(Math.log(- spx));
}
if(eval("117") == 1)
{
"12"(spx,0,100);
}
if(eval("117") == 2)
{
p_setScene().panPixel(spx,0,100);
}
}
else
{
clearInterval(id_spfade);
id_spfade = NULL;
if(eval("117") == 1)
{
"12"(0,0,100);
}
if(eval("117") == 2)
{
p_setScene().panPixel(0,0,100);
}
set("117",0);
"32"();
}
};
p_setScene = function()
{
var _loc2_ = new Object();
_loc2_.movie = new Object();
_loc2_.movie.play = function(fps)
{
"149"(fps);
};
_loc2_.movie.stop = function()
{
"150"();
};
_loc2_.movie.fwd = function()
{
"143"();
};
_loc2_.movie.rwd = function()
{
"148"();
};
_loc2_.movie.gotoFrame = function(§48§)
{
"144"(eval("48"));
};
_loc2_.movie.gotoLastFrame = function()
{
"146"();
};
_loc2_.movie.gotoFirstFrame = function()
{
"142"();
};
_loc2_.toggleHS = function()
{
"133"();
};
_loc2_.loadScene = function(scene, §11§)
{
intervalManager.clearAll();
panStop();
if(eval("11") == NULL)
{
set("71",NULL);
}
else
{
set("71",eval("11"));
}
loadScene(scene);
};
_loc2_.setViewMode = function(§137§)
{
var _loc1_ = eval("137");
set("45",true);
if(_loc1_ == "flat")
{
"81"();
}
else if(_loc1_ == "warped")
{
"82"();
}
else if(_loc1_ == NULL)
{
if(flat == true)
{
"82"();
}
else
{
"81"();
}
}
};
_loc2_.panStop = function()
{
set("13",0);
intervalManager.clearInterval("panPixel_id");
panPixel_id = NULL;
intervalManager.clearInterval("id_tim");
spx = round(xx);
spy = round(yy);
var _loc2_ = Math.abs(spx);
var _loc1_ = "51"().panfade;
if(_loc1_ == undefined || _loc1_ == "0")
{
_loc1_ = "0";
}
if(!id_spfade)
{
id_spfade = setInterval(eval("124"),_loc1_,_loc2_);
}
};
_loc2_.panPixel = function(a, b, c, d)
{
var _loc1_ = a;
if(d != NULL || d == "true")
{
set("13",_loc1_);
}
if(eval("43"))
{
xx = _loc1_;
yy = b;
zz = c;
if(_loc1_ != 0 || b != 0 || c != 100)
{
set("117",2);
if(!move_id)
{
intervalManager.setInterval("move_id",eval("85"),5);
move_id = 1;
}
}
else
{
intervalManager.clearInterval("move_id");
move_id = NULL;
_quality = "51"().stopquality;
}
}
};
_loc2_.moveToAngle = function(§11§)
{
var _loc2_ = eval("11") * pano.maske1.i_pano.i_bild2._width / part;
var _loc1_ = 1;
while(_loc1_ <= eval("126"))
{
tellTarget(a[_loc1_])
{
_X = - _loc2_;
}
_loc1_ = _loc1_ + 1;
}
if(flat)
{
var _loc3_ = floor((pano.maske1.i_pano.i_bild2._height - offset / 2) * pano["maske" + eval("126")]._height / pano.maske1._height / 2);
var §46§ = 1.5;
}
else
{
_loc3_ = pano.maske1.i_pano.i_bild2._height / 2;
var §46§ = 1;
}
pano._y = eval("151") / 2 - eval("154");
if(pano._y > - eval("154") + (_loc3_ - offset) * eval("41") * zoom / 100)
{
pano._y = (- offset) * eval("41") + (eval("151") / 2 - eval("154"));
}
else if(pano._y < eval("151") - eval("154") - (_loc3_ + offset) * eval("41") * zoom / 100)
{
pano._y = (- offset) * eval("41") + (eval("151") / 2 - eval("154"));
}
pano._xscale = 100;
pano._yscale = 100;
zoom = 100;
if(!flat)
{
"84"(getHotspot(),part / pano.maske1.i_pano.i_bild2._width * pano.maske1.i_pano._x);
}
if(connect != NULL)
{
sendingLC.send("r" + connect,"getScene",p_getScene());
}
};
_loc2_.panToPixel = function(x, y, s)
{
if(!panPixel_id)
{
intervalManager.setInterval("panPixel_id",eval("95"),20,x,eval("37"),y,eval("38"),z,eval("39"));
panPixel_id = 1;
}
};
_loc2_.moveToPixel = function(x, y, z)
{
var _loc3_ = z;
if(pano.scale != NULL)
{
set("114",pano.scale);
}
else
{
set("114",1);
}
if(flat)
{
var §47§ = floor((pano.maske1.i_pano.i_bild2._height - offset / 2) * pano["maske" + eval("126")]._height / pano.maske1._height / 2);
var §46§ = 1.5;
}
else
{
var §47§ = pano.maske1.i_pano.i_bild2._height / 2;
var §46§ = 1;
}
if(_loc3_ > getScene().maxzoom)
{
_loc3_ = getScene().maxzoom;
}
if(_loc3_ < 100)
{
_loc3_ = 100;
}
pano._xscale = _loc3_;
pano._yscale = _loc3_;
zoom = _loc3_;
var §106§ = new Object();
eval("106").x = 100;
eval("106").y = pano.maske1.i_pano.i_bild2._height / 2 - y * eval("114") - offset;
if(flat)
{
pano["maske" + eval("126")].i_pano.i_bild2.localToGlobal(eval("106"));
}
else
{
pano.maske1.i_pano.i_bild2.localToGlobal(eval("106"));
}
var §33§ = pano._y - eval("151") / 2;
pano._y = eval("106").y - _Y - 2 * eval("154") - eval("33");
var _loc2_ = pano.maske1.i_pano.i_bild2._width / 2 - x * eval("114");
var _loc1_ = 1;
while(_loc1_ <= eval("126"))
{
tellTarget(a[_loc1_])
{
_X = _loc2_;
}
_loc1_ = _loc1_ + 1;
}
if(pano._y >= - eval("154") + (eval("47") - offset) * eval("41") * zoom / 100)
{
pano._y = - eval("154") + (eval("47") - offset) * eval("41") * zoom / 100;
}
else if(pano._y <= eval("151") - eval("154") - (eval("47") + eval("46") * offset) * eval("41") * zoom / 100)
{
pano._y = eval("151") - eval("154") - (eval("47") + eval("46") * offset) * eval("41") * zoom / 100;
}
"84"(getHotspot(),part / pano.maske1.i_pano.i_bild2._width * pano.maske1.i_pano._x);
if(connect != NULL)
{
sendingLC.send("r" + connect,"getScene",p_getScene());
}
};
return _loc2_;
};
var §95§ = function(x, §37§, y, §38§, z, §39§)
{
var _loc3_ = eval("37");
x = 2844;
_loc3_ = 10;
y = 204;
set("38",_loc3_);
z = 100;
set("39",_loc3_);
var _loc2_ = undefined;
var _loc1_ = undefined;
var §34§;
if(z >= p_getScene().zoomFactor * (100 + eval("39")) / 100)
{
set("34",100 + eval("39"));
}
else
{
set("34",100);
}
sx = _loc3_;
sy = eval("38");
var §100§ = getScene().part / pano.maske1.i_pano.i_bild2._width * p_getScene().panPixel.x * 0.1;
var §105§ = getScene().part / pano.maske1.i_pano.i_bild2._width * x * 0.1;
var §121§ = sin("58"(eval("100") - eval("105")));
if(eval("121") < 0)
{
_loc2_ = sx;
}
else
{
_loc2_ = - sx;
}
if(p_getScene().panPixel.y < y)
{
_loc1_ = sy;
}
else
{
_loc1_ = - sy;
}
if(Math.abs(round(p_getScene().panPixel.y - y)) <= eval("38") + 1)
{
_loc1_ = 0;
}
if(Math.abs(round(p_getScene().panPixel.x - x)) <= _loc3_ + 1)
{
_loc2_ = 0;
}
p_setScene().panPixel(_loc2_,_loc1_,eval("34"));
if(_loc2_ == 0 && _loc1_ == 0)
{
p_setScene().panStop();
p_setScene().moveToPixel(x,y,z);
}
};
var §85§ = function()
{
updateAfterEvent();
if(xx != 0)
{
"86"((- xx) / eval("41"));
}
if(yy != 0 && getScene().tilt == "on")
{
"87"(- yy);
}
if(zz != 100 && pano._xscale * zz / 100 <= getScene().maxzoom && pano._xscale * zz / 100 > 100)
{
zoom *= zz / 100;
pano._xscale = floor(zoom);
pano._yscale = floor(zoom);
if(flat)
{
var _loc1_ = floor((pano.maske1.i_pano.i_bild2._height - offset / 2) * pano["maske" + eval("126")]._height / pano.maske1._height / 2);
var _loc2_ = 1.5;
}
else
{
_loc1_ = pano.maske1.i_pano.i_bild2._height / 2;
_loc2_ = 1;
}
if(pano._y >= - eval("154") + (_loc1_ - offset) * eval("41") * zoom / 100)
{
pano._y = - eval("154") + (_loc1_ - offset) * eval("41") * zoom / 100;
}
else if(pano._y <= eval("151") - eval("154") - (_loc1_ + _loc2_ * offset) * eval("41") * zoom / 100)
{
pano._y = eval("151") - eval("154") - (_loc1_ + _loc2_ * offset) * eval("41") * zoom / 100;
}
}
if(xx != 0 || yy != 0 || zz != 100)
{
"118"();
_quality = "51"().panquality;
"84"(getHotspot(),part / pano.maske1.i_pano.i_bild1._width * pano.maske1.i_pano._x);
if(connect != NULL)
{
sendingLC.send("r" + connect,"getScene",p_getScene());
}
}
};
var §54§ = function()
{
if(pano.scale != NULL)
{
set("114",pano.scale);
}
else
{
set("114",1);
}
var _loc2_ = pano.maske1.i_pano.i_bild2._width;
var _loc1_ = _loc2_ / 2 - pano.maske1.i_pano._x;
if(_loc1_ >= 0 && _loc1_ < _loc2_)
{
return round(_loc1_ * 10);
}
if(_loc1_ < 0)
{
return round((_loc1_ + _loc2_) * 10);
}
if(_loc1_ >= _loc2_)
{
return round((_loc1_ - _loc2_) * 10);
}
};
var §55§ = function()
{
if(pano.scale != NULL)
{
set("114",pano.scale);
}
else
{
set("114",1);
}
var _loc1_ = new Object();
_loc1_.x = _X;
_loc1_.y = _Y + eval("151") / 2;
if(flat)
{
pano["maske" + eval("126")].i_pano.i_bild1.globalToLocal(_loc1_);
return round((pano["maske" + eval("126")].i_pano._height / 2 + _loc1_.y - offset) / eval("114"));
}
pano.maske1.i_pano.i_bild1.globalToLocal(_loc1_);
return round((pano.maske1.i_pano._height / 2 + _loc1_.y - offset) / eval("114"));
};
p_getScene = function()
{
var _loc1_ = new Object();
var §109§ = getScene().part / pano.maske1.i_pano.i_bild2._width;
_loc1_.panAngle = getScene().part / pano.maske1.i_pano.i_bild2._width * (- pano.maske1.i_pano._x);
_loc1_.panPixel = new Object();
_loc1_.panPixel.x = "54"();
_loc1_.panPixel.y = "55"();
_loc1_.sceneWidth = pano.maske1.i_pano.i_bild2._width;
_loc1_.sceneHeight = pano.maske1.i_pano.i_bild2._height;
_loc1_.totalBytes = pano.getBytesTotal();
_loc1_.loadedBytes = pano.getBytesLoaded();
if(round(100 * pano.getBytesLoaded() / pano.getBytesTotal()) > 0)
{
_loc1_.loadProgress = round(100 * pano.getBytesLoaded() / pano.getBytesTotal());
}
else
{
_loc1_.loadProgress = 0;
}
_loc1_.zoomFactor = pano._xscale;
_loc1_.sceneNames = "56"();
_loc1_.xmlValues = getScene();
_loc1_.checkStatus = eval("76");
_loc1_.movie = new Object();
_loc1_.movie.currentframe = pano.maske1.i_pano.i_bild1._currentframe;
_loc1_.movie.totalframes = pano.maske1.i_pano.i_bild1._totalframes;
_loc1_.scrollMode = eval("117");
return _loc1_;
};
var i_pano = new Object();
i_pano.p_getScene = p_getScene;
i_pano.p_setScene = p_setScene;
i_pano.getHotspot = getHotspot;
var §133§ = function()
{
var _loc2_ = this;
var _loc1_ = 0;
while(_loc1_ < eval("62").length)
{
if(_loc2_["i_hs" + _loc1_]._visible == 1)
{
_loc2_["i_hs" + _loc1_]._visible = 0;
}
else
{
_loc2_["i_hs" + _loc1_]._visible = 1;
}
_loc1_ = _loc1_ + 1;
}
};
"80"();
intervalManager.setInterval("id_xml",eval("24"),10);
var §131§ = 0;
var §61§ = 0;
var §14§ = "";
var §25§ = 8;
var §110§ = "03ebe37c357b4eb3bc36c068b8a097c714e29302";
stop();