home *** CD-ROM | disk | FTP | other *** search
Wrap
function GetVar(N) { if(_root[N] != undefined) { return _root[N]; } if(_global[N] != undefined) { return _global[N]; } return "0"; } function Loading() { if(GetVar("bypass") == "true") { KB._visible = false; loadbar._visible = false; l1._x += 100; l2._x -= 100; } else { loadline._visible = true; clearInterval(SSS); Load = _root.getBytesLoaded(); Total = _root.getBytesTotal(); KB.text = "Loading... (" + Math.round(100 * Load / Total) + "%)"; } if(Total <= Load) { loadline._xscale = 100 * Load / Total; seconds = Number(seconds) * 1000; ID = setInterval(function() { clearInterval(ID); gotoAndStop(3); } ,seconds); } else { loadline._xscale = 100 * Load / Total; SSS = setInterval(Loading,500); } updateAfterEvent(); } function initoptXML(xml) { var _loc7_ = xml.firstChild; var _loc5_ = _loc7_.firstChild; seconds = _loc5_.firstChild.firstChild.toString(); nagtime = _loc5_.firstChild.nextSibling.firstChild.toString(); if(Boolean(GetVar(alawar_f))) { nagtime = 0; } linklogo1 = _loc5_.firstChild.nextSibling.nextSibling.firstChild.toString(); linklogo2 = _loc5_.lastChild.firstChild.toString(); var _loc6_ = _loc5_.nextSibling; var _loc4_ = _loc6_.childNodes; j = 0; while(j < 7) { er = _loc4_[j].firstChild.toString(); _root["menubutton" + j] = er; j++; } var _loc8_ = _loc6_.nextSibling; var _loc3_ = _loc8_.childNodes; j = 0; while(j < _loc3_.length) { er = _loc3_[j].firstChild.toString(); _root["hint" + j] = er; j++; } var _loc2_ = _loc8_.nextSibling; downloadlink = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; morelink = _loc2_.firstChild.toString(); if(GetVar("link") != "0") { downloadlink = GetVar("link"); morelink = GetVar("link"); } _loc2_ = _loc2_.nextSibling; nolife = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; onelife = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; manylives = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; fast = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; normal = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; slow = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; texttiles = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; textmatches = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; textchain = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; texttime = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; textbonus = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; textscore = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; textseconds = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; nagdownload = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; nagmore = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; nagcontinue = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; nagrestart = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; textcontinue = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; texthelpclick = _loc2_.firstChild.toString(); _loc2_ = _loc2_.nextSibling; textgameover = _loc2_.firstChild.toString(); help = _loc7_.lastChild; ahelp = help.childNodes; j = 0; while(j < ahelp.length) { er = ahelp[j].firstChild.toString(); _root["helping" + j] = er; j++; } } function initcountXML(xml) { var _loc3_ = xml.firstChild; if(_loc3_ != undefined) { loadbar._visible = true; map = new Array(); countries = new Array(); sities = new Array(); artdescription = new Array(); var _loc2_ = _loc3_.childNodes; sities = new Array(_loc2_.length); sitytime = new Array(_loc2_.length); i = 0; while(i < _loc2_.length) { var _loc1_ = _loc2_[i].childNodes; country = new Array(); countryname = _loc2_[i].attributes.name; artdesc = _loc2_[i].attributes.description; countries.push(countryname); artdescription.push(artdesc); asityname = new Array(); atime = new Array(); j = 0; while(j < _loc1_.length) { ast = _loc1_[j].childNodes; sity = new Array(); sityname = _loc1_[j].attributes.name; timesity = _loc1_[j].attributes.time; atime.push(timesity); asityname.push(sityname); k = 0; while(k < ast.length) { aline = ast[k].firstChild.toString().split(" "); sity.push(aline); k++; } country.push(sity); sities[i] = asityname; sitytime[i] = atime; j++; } map.push(country); i++; } Loading(); } else { KB.text = "Unable to init game"; } } function LoadXML() { var _loc2_ = new XML(TEXToptions); _loc2_.ignoreWhite = true; initoptXML(_loc2_); var _loc1_ = new XML(TEXTcountries); _loc1_.ignoreWhite = true; initcountXML(_loc1_); } TEXTcountries = "<?xml version=\"1.0\" encoding=\"utf-8\"?><countries><country name=\"Greece\" description=\"The amphora of Dyonysus,|the Greek god of wine, who|introduced the peoples of|many lands to the cultivation|of the vine. This unique|amphora is said to be able|to turn water into wine\"><sity name=\"Arta\" time=\"600\"><st>1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1</st><st>1 1 1 a1 1 1 1</st><st>1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1</st></sity><sity name=\"Athens\" time=\"500\"><st>1 1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 a2 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>1 1 a3 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st></sity><sity name=\"Sparta\" time=\"520\"><st>1 1 1 a4 1 1 1</st><st>1 1 1 1 1 1 1</st><st>1 a5 1 1 1 1 1</st><st>1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1</st><st>1 1 b1 1 1 1 1</st><st>1 1 1 1 1 a6 1</st><st>1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1</st></sity><sity name=\"Troy\" time=\"500\"><st>0 0 0 1 1 0 0 0</st><st>1 1 0 1 1 0 1 1</st><st>1 1 0 a8 1 0 1 1</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 a9 1</st><st>1 a7 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>0 1 1 1 1 1 1 0</st></sity><sity name=\"Katerini\" time=\"380\"><st>0 0 1 1 1 1 0 0</st><st>0 1 1 1 1 1 a12 0</st><st>0 a10 1 1 1 1 1 0</st><st>0 1 1 1 a11 1 1 0</st><st>0 1 1 1 1 1 1 0</st><st>0 1 1 1 1 1 1 0</st><st>1 1 1 b2 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>0 0 1 1 1 1 0 0</st></sity><sity name=\"Mytilene\" time=\"340\"><st>0 0 1 1 b3 1 1 0 0</st><st>0 1 1 1 1 a16 1 1 0</st><st>a13 1 1 1 1 1 1 1 a15</st><st>1 1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>0 1 1 1 a14 1 1 1 0</st><st>0 0 1 1 1 1 1 0 0</st></sity></country><country name=\"Babylon\" description=\"The Shield of Nebuchadnezzar,|the greatest of all the|Babylonian kings. He conquered|many territories, brought Syria|and Phoenicia under the sway of|Babylon, subdued the whole of|Palestine, and took Jerusalem.\"><sity name=\"Ture\" time=\"600\"><st>0 0 a2 1 1 1 1 0 0</st><st>0 0 1 1 1 1 1 0 0</st><st>1 a1 1 1 1 1 1 1 1</st><st>1 1 1 1 a3 1 1 a4 1</st><st>1 1 1 1 1 1 1 1 1</st><st>1 1 1 1 x1 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>0 0 1 1 1 b1 1 0 0</st><st>0 0 1 1 1 1 1 0 0</st></sity><sity name=\"Edom\" time=\"550\"><st>0 0 1 0 0 0 1 0 0</st><st>0 1 1 1 0 1 1 1 0</st><st>1 a5 1 1 1 1 1 a8 1</st><st>b2 1 1 a6 1 a7 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>0 1 1 1 1 1 1 1 0</st><st>0 0 1 1 1 1 1 0 0</st><st>0 0 0 1 1 1 0 0 0</st><st>0 0 0 0 1 0 0 0 0</st></sity><sity name=\"Emar\" time=\"470\"><st>0 0 a13 1 0 1 1 0 0</st><st>0 1 1 a10 0 1 1 1 0</st><st>1 1 1 1 0 b2 1 1 1</st><st>1 a9 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 a12 1 1</st><st>1 1 1 x5 1 1 1 1 1</st><st>0 1 1 1 1 1 1 1 0</st><st>0 1 a11 1 1 1 x1 1 0</st><st>0 0 1 1 1 1 1 0 0</st></sity><sity name=\"Samaria\" time=\"440\"><st>0 0 0 1 1 1 1 a16 0</st><st>0 0 0 1 x5 1 1 1 1</st><st>1 a18 1 1 a15 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1 a17</st><st>1 1 b3 1 1 1 1 1 1</st><st>1 1 1 1 1 a14 1 1 1</st><st>1 1 1 x5 1 1 0 0 0</st><st>0 1 1 1 1 1 0 0 0</st></sity><sity name=\"Kish\" time=\"420\"><st>0 0 0 0 0 0 0 1 1</st><st>0 0 0 0 0 0 a20 1 1</st><st>0 0 0 0 0 1 1 1 1</st><st>0 0 0 0 a22 1 1 1 1</st><st>0 0 0 1 1 1 1 1 1</st><st>0 0 a19 1 1 1 1 1 a21</st><st>0 1 1 1 1 1 1 1 1</st><st>1 a23 1 1 b4 1 1 1 1</st><st>1 1 1 1 1 1 1 1 1</st></sity><sity name=\"Assyria\" time=\"410\"><st>a26 1 1 x1 0 0 0 0</st><st>1 1 1 1 a25 0 0 0</st><st>1 1 1 1 1 1 0 0</st><st>1 1 1 1 1 1 a27 0</st><st>1 1 a24 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 0</st><st>b1 1 1 1 1 1 0 0</st><st>1 1 1 1 1 0 0 0</st></sity><sity name=\"Babylon\" time=\"430\"><st>1 0 0 a29 a28 0 0 1</st><st>a31 1 0 1 1 0 1 1</st><st>1 1 1 1 x3 1 1 1</st><st>1 1 1 1 1 1 a30 1</st><st>1 1 1 1 1 1 1 1</st><st>1 1 b2 1 1 1 1 a32</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>0 1 0 1 1 0 1 0</st></sity><sity name=\"Susa\" time=\"350\"><st>a33 0 0 0 0 0 0 0 0</st><st>1 1 1 0 0 0 0 0 0</st><st>1 1 1 1 1 0 0 0 0</st><st>1 1 a34 1 1 1 1 0 0</st><st>a37 1 1 1 a35 1 1 1 1</st><st>1 1 1 1 1 1 x5 1 1</st><st>0 1 1 b1 1 1 x1 a36 1</st><st>0 0 0 1 1 1 x2 1 1</st><st>0 0 0 0 0 1 1 1 1</st></sity></country><country name=\"Egypt\" description=\"The Statue of Horus Behudety,|the falcon headed god of midday|sun, venerated as a victorious|warlord who fought a great|battle against Seth and an|army of conspirators.\"><sity name=\"Memphis\" time=\"390\"><st>0 0 0 0 a2 0 0 0 0</st><st>0 0 0 1 1 1 0 0 0</st><st>0 0 1 1 1 1 a3 0 0</st><st>0 1 1 1 1 1 1 1 0</st><st>1 a1 1 1 1 1 1 1 1</st><st>0 1 1 1 1 1 1 1 0</st><st>0 0 1 1 1 1 1 0 0</st><st>0 0 0 1 1 1 0 0 0</st><st>0 0 0 0 x5 0 0 0 0</st></sity><sity name=\"Siwa\" time=\"370\"><st>0 0 0 1 a5 1 0 0 0</st><st>0 0 0 1 1 1 0 0 0</st><st>0 a4 1 1 1 1 1 1 0</st><st>0 1 1 1 1 1 1 a6 0</st><st>0 1 1 1 x5 1 1 1 0</st><st>0 1 1 1 1 b4 1 1 0</st><st>0 1 1 1 1 1 1 1 0</st><st>0 1 x6 1 1 1 1 1 0</st><st>1 1 1 0 0 0 1 1 1</st></sity><sity name=\"Saggara\" time=\"440\"><st>1 a7 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 a9 1</st><st>0 1 1 1 1 1 1 1 0</st><st>0 1 1 1 a8 1 1 1 0</st><st>0 1 x6 1 1 1 x5 1 0</st><st>0 0 1 1 1 1 1 0 0</st><st>0 0 b1 1 1 1 1 0 0</st><st>0 0 1 1 1 1 1 0 0</st><st>0 0 0 1 x6 1 0 0 0</st></sity><sity name=\"Amarna\" time=\"390\"><st>0 0 1 1 a11 1 1 0 0</st><st>0 1 1 1 1 1 1 1 0</st><st>a1 1 1 b3 1 1 1 a12 1</st><st>1 1 1 1 1 1 1 1 b2</st><st>1 1 1 1 1 1 1 1 1</st><st>x6 1 1 1 x5 1 1 1 1</st><st>0 1 1 1 0 1 x1 1 0</st><st>0 0 1 1 0 1 1 0 0</st></sity><sity name=\"Karnak\" time=\"460\"><st>0 1 0 0 0 0 1 0</st><st>0 1 1 0 0 1 1 0</st><st>0 1 1 0 0 1 a15 0</st><st>a13 1 1 a14 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 b2 1 1 1 x6</st><st>1 1 1 1 1 1 1 1</st><st>0 x2 1 1 1 1 1 0</st></sity><sity name=\"Sohag\" time=\"460\"><st>a16 1 1 0 0 a18 1 1</st><st>1 1 1 0 0 1 1 1</st><st>1 1 1 0 0 1 1 1</st><st>1 1 a17 0 0 1 1 1</st><st>1 1 1 0 0 1 1 1</st><st>1 1 1 0 0 1 1 b3</st><st>1 1 1 0 0 1 1 1</st><st>1 1 1 1 1 a19 1 1</st><st>1 1 x5 1 1 1 1 x6</st></sity><sity name=\"Suez\" time=\"370\"><st>0 0 0 1 a22 0 0 0</st><st>0 1 1 1 1 1 1 0</st><st>1 a21 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 a23</st><st>1 1 1 1 1 1 1 1</st><st>a20 x6 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>0 1 1 1 1 1 1 0</st><st>0 0 0 1 x2 0 0 0</st></sity><sity name=\"Dahab\" time=\"350\"><st>0 1 a25 1 0 a26 1 1 0</st><st>a24 1 1 1 0 1 1 1 a27</st><st>1 1 1 1 b2 1 1 1 1</st><st>1 1 1 1 1 b1 1 1 1</st><st>1 1 1 x2 1 1 1 1 1</st><st>1 1 1 1 0 1 1 x1 1</st><st>1 1 1 1 0 1 1 1 1</st><st>1 1 1 0 0 0 1 1 1</st></sity><sity name=\"Hurghada\" time=\"310\"><st>0 0 1 x5 x6 1 0 0</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 a28 1 1 1 1</st><st>1 1 1 1 a29 x2 1 1</st><st>1 x5 1 1 1 1 1 1</st><st>1 1 1 1 1 1 1 1</st><st>1 1 1 1 1 a30 1 1</st><st>1 1 x5 1 1 x6 1 1</st><st>0 0 x6 1 1 x5 0 0</st></sity></country></countries>"; TEXToptions = "<?xml version=\"1.0\" encoding=\"utf-8\"?><option><intro><loadsec>4</loadsec><nag>2</nag><logo1>logo1.swf</logo1><logo2>logo2.swf</logo2></intro><menu><button>How to play</button><button>Sound on</button><button>full version</button><button>New game</button><button>Resume</button><button>Sound off</button><button>Exit</button></menu><hints><hint>Form matches of three in-a-row by|swapping adjacent tiles. For example,|these flashing tiles can be swapped</hint><hint>Drive this piece to the bottom of the|game field by getting rid of tiles|under it and you will see it added to|the artifact outline on the left</hint><hint>Tiles can only be swapped if it|results in matching three in-a-row</hint><hint>Finish the level by dropping all|the pieces of the artifact to the|bottom of the game field</hint><hint>Pay attention!|You have not much time left</hint><hint>A hammer bonus. Drive it to the|bottom to be able to use it.|It can destroy a particular|inconvenient tile</hint><hint>A spade bonus. Use it to destroy|the tiles right underneath the|pieces of the artifact</hint><hint>A clock bonus. Use it when time|is almost up to receive some|extra time</hint><hint>A magic lamp bonus. Use it to|change all the tiles around|the piece of the artifact</hint><hint>Click on the Hammer to pick it|up and point to the tile|you want to smash</hint><hint>Click on the Spade to dig under|all the pieces of the artifact|currently on the game field</hint><hint>Click on the Clock to get some|extra time when it begins to|run out</hint><hint>Click on the Magic Lamp to|change all the tiles around|the pieces of the artifact</hint></hints><downloadlink>http://playrix.com/atlantis-quest.html</downloadlink><link>http://playrix.com/atlantis-quest.html</link><nolife>No extra lifes left</nolife><onelife>One extra life left</onelife><manylives> extra lives left</manylives><fast>excellent</fast><normal>well done</normal><slow>you did it</slow><tiles>tiles</tiles><matches>matches</matches><chain>max chain</chain><time>your time</time><timebonus>time bonus</timebonus><score>score</score><textseconds>s</textseconds><nagdownload>download now</nagdownload><nagmore>tell me more</nagmore><nagcontinue>back to game</nagcontinue><nagrestart>start over</nagrestart><continue>continue</continue><helpclick>click to play</helpclick><gameover>game over</gameover><help><hlp>Use the left mouse|button to swap tiles</hlp><hlp>Move tiles into matches|of 3 or more in a line|horizontally or verticaly</hlp><hlp>Assemble the Artifact|by freeing the pieces|throught the bottom</hlp><hlp>Free the bonuses.|They will help you</hlp></help></option>"; Stage.showMenu = false; Stage.scaleMode = "noScale"; oKey.onKeyDown = function() { if(Key.isDown(38) && Key.getAscii() == String("s").charCodeAt()) { trace("qq"); } }; Key.addListener(oKey); stop(); loadline._visible = false; loadbar._visible = false; if(getVersion().substr(getVersion().indexOf(" ") + 1,1) > 6) { ststst = ""; cntr = ststst + "countries.xml"; opt = ststst + "option.xml"; LoadXML(); } else { KB._visible = true; KB.text = "Please update the player version to 7"; } this._lockroot = true;