All pastes #161566 Raw Edit

Stuff

public text v1 · immutable
·published 2006-09-05 16:04 UTC
rendered paste body
//-------------News Submenu deaktivieren-------
news1._visible =false;
news2._visible =false;
news3._visible =false;
news4._visible =false;
facts1._visible =false;
facts2._visible =false;
facts3._visible =false;
facts4._visible =false;

//---------------------------------------------

//----------Submenu Links----------------------
news1.n1.onRelease = function() {
	getURL("www.google.de", "_self");
}
news2.n2.onRelease = function() {
	getURL("www.google.de", "_self");
}
news3.n3.onRelease = function() {
	getURL("www.google.de", "_self");
}
news4.n4.onRelease = function() {
	getURL("www.google.de", "_self");
}
facts1.f1.onRelease = function() {
	getURL("www.google.de", "_self");
}
facts2.f2.onRelease = function() {
	getURL("www.google.de", "_self");
}
facts3.f3.onRelease = function() {
	getURL("www.google.de", "_self");
}
facts4.f4.onRelease = function() {
	getURL("www.google.de", "_self");
}
//---------------------------------------------

b1.onRollOver = over;
b1.onRollOut = out;
b1.buttText.buttonText.text = "news"
b1.onRelease = newson;

b2.onRollOver = over;
b2.onRollOut = out;
b2.buttText.buttonText.text = "facts"
b2.onRelease = factson;

b3.onRollOver = over;
b3.onRollOut = out;
b3.buttText.buttonText.text = "media"

b4.onRollOver = over;
b4.onRollOut = out;
b4.buttText2.buttText2.text = "reports"

b5.onRollOver = over;
b5.onRollOut = out;
b5.buttText2.buttText2.text = "misc"

b6.onRollOver = over;
b6.onRollOut = out;
b6.buttText2.buttText2.text = "community"

//------------Sibmenu Rollovers---------------------
news1.n1.onRollOver = over;
news1.n1.onRollOut = out;
news2.n2.onRollOver = over;
news2.n2.onRollOut = out;
news3.n3.onRollOver = over;
news3.n3.onRollOut = out;
news4.n4.onRollOver = over;
news4.n4.onRollOut = out;
facts1.f1.onRollOver = over;
facts1.f1.onRollOut = out;
facts2.f2.onRollOver = over;
facts2.f2.onRollOut = out;
facts3.f3.onRollOver = over;
facts3.f3.onRollOut = out;
facts4.f4.onRollOver = over;
facts4.f4.onRollOut = out;

//-----------------------------------------------

//---------Sprachauswahl-------------------------
german.onRollOver = over;
german.onRollOut = out;
german.onRelease = function() {
	getURL("../de/index.php", "_self");
}

english.onRollOver = over;
english.onRollOut = out;
english.onRelease = function() {
	getURL("../en/index.php", "_self");
}
//----------------------------------------------

//-------------Rollover Funktionen (Frame 2 und 7)---------------
function over() {
	this.gotoAndPlay(2);
}

function out() {
	this.gotoAndPlay(7);
}
//---------------------------------------------------------------------

//------------------------------NEWS-----------------------------------
function newson() {
	factsoff();
//	trace("newson");
	_root.news1._visible = true;
	_root.news1.gotoAndPlay(2);
	_root.news2._visible = true;
	_root.news2.gotoAndPlay(2); 
	_root.news3._visible = true;
	_root.news3.gotoAndPlay(2); 
	_root.news4._visible = true;
	_root.news4.gotoAndPlay(2); 
}
function newsoff() {
//	trace("newsoff");
	_root.news1.gotoAndPlay(9);
	_root.news2.gotoAndPlay(9);
	_root.news3.gotoAndPlay(9);
	_root.news4.gotoAndPlay(9);
}
		
function factson() {
	newsoff();
//	trace("factson");
	_root.facts1._visible = true;
	_root.facts1.gotoAndPlay(2);
	_root.facts2._visible = true;
	_root.facts2.gotoAndPlay(2); 
	_root.facts3._visible = true;
	_root.facts3.gotoAndPlay(2); 
	_root.facts4._visible = true;
	_root.facts4.gotoAndPlay(2); 
}

function factsoff() {
//	trace("factsoff");
	_root.facts1.gotoAndPlay(9);
	_root.facts2.gotoAndPlay(9);
	_root.facts3.gotoAndPlay(9);
	_root.facts4.gotoAndPlay(9);
}