private function getConfigData()
{

	_loader = new XMLLoader("assets/xml/36chambers.xml",{name:"config"});
	_loader.addEventListener(LoaderEvent.COMPLETE, onConfigComplete);
	_loader.load();
}

private function onConfigComplete(le:LoaderEvent)
{
	_game = le.target.content.game.text();
	var tabs = new XMLList(le.target.content.tabs);
	var tabCount = tabs.tab.length();
	for (var i:int; i< tabCount; i++)
	{
		var n = i;
		var t = tabs.tab[i]. @ type.toString();
		var l = tabs.tab[i]. @ label.toString();
		var d = tabs.tab[i].toString();
		trace("");
		_tabList.push({id:n, type:t, label:l, descrtiption:d});
		////_tabList.push(
	}
	buildInterface();
	//_keyMapTab = new KeyMapTab(_game);
	//addChild(_keyMapTab);
}