Section 1
//MD5 (com.adobe.crypto.MD5)
package com.adobe.crypto {
import com.adobe.utils.*;
public class MD5 {
private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function createBlocks(_arg1:String):Array{
var _local2:Array;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = new Array();
_local3 = (_arg1.length * 8);
_local4 = 0xFF;
_local5 = 0;
while (_local5 < _local3) {
_local2[(_local5 >> 5)] = (_local2[(_local5 >> 5)] | ((_arg1.charCodeAt((_local5 / 8)) & _local4) << (_local5 % 32)));
_local5 = (_local5 + 8);
};
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
return (_local2);
}
private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function f(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg2) | (~(_arg1) & _arg3)));
}
private static function g(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg3) | (_arg2 & ~(_arg3))));
}
private static function h(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 ^ _arg2) ^ _arg3));
}
private static function i(_arg1:int, _arg2:int, _arg3:int):int{
return ((_arg2 ^ (_arg1 | ~(_arg3))));
}
private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{
var _local9:int;
_local9 = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8);
return ((IntUtil.rol(_local9, _arg7) + _arg3));
}
private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
public static function hash(_arg1:String):String{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:Array;
var _local11:int;
var _local12:int;
_local2 = 1732584193;
_local3 = -271733879;
_local4 = -1732584194;
_local5 = 271733878;
_local10 = createBlocks(_arg1);
_local11 = _local10.length;
_local12 = 0;
while (_local12 < _local11) {
_local6 = _local2;
_local7 = _local3;
_local8 = _local4;
_local9 = _local5;
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 7, -680876936);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 1)], 12, -389564586);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 17, 606105819);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 3)], 22, -1044525330);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 7, -176418897);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 5)], 12, 1200080426);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 17, -1473231341);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 7)], 22, -45705983);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 7, 1770035416);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 9)], 12, -1958414417);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 17, -42063);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 11)], 22, -1990404162);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 7, 1804603682);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 13)], 12, -40341101);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 17, -1502002290);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 15)], 22, 1236535329);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 5, -165796510);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 6)], 9, -1069501632);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 14, 643717713);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 0)], 20, -373897302);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 5, -701558691);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 10)], 9, 38016083);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 14, -660478335);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 4)], 20, -405537848);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 5, 568446438);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 14)], 9, -1019803690);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 14, -187363961);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 8)], 20, 1163531501);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 5, -1444681467);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 2)], 9, -51403784);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 14, 1735328473);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 12)], 20, -1926607734);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 4, -378558);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 8)], 11, -2022574463);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 16, 1839030562);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 14)], 23, -35309556);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 4, -1530992060);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 4)], 11, 1272893353);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 16, -155497632);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 10)], 23, -1094730640);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 4, 681279174);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 0)], 11, -358537222);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 16, -722521979);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 6)], 23, 76029189);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 4, -640364487);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 12)], 11, -421815835);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 16, 530742520);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 2)], 23, -995338651);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 6, -198630844);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 7)], 10, 1126891415);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 15, -1416354905);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 5)], 21, -57434055);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 6, 1700485571);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 3)], 10, -1894986606);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 15, -1051523);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 1)], 21, -2054922799);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 6, 1873313359);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 15)], 10, -30611744);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 15, -1560198380);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 13)], 21, 1309151649);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 6, -145523070);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 11)], 10, -1120210379);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 15, 718787259);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 9)], 21, -343485551);
_local2 = (_local2 + _local6);
_local3 = (_local3 + _local7);
_local4 = (_local4 + _local8);
_local5 = (_local5 + _local9);
_local12 = (_local12 + 16);
};
return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5)));
}
private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
}
}//package com.adobe.crypto
Section 2
//IntUtil (com.adobe.utils.IntUtil)
package com.adobe.utils {
public class IntUtil {
private static var hexChars:String = "0123456789abcdef";
public static function toHex(_arg1:int, _arg2:Boolean=false):String{
var _local3:String;
var _local4:int;
var _local5:int;
_local3 = "";
if (_arg2){
_local4 = 0;
while (_local4 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15))));
_local4++;
};
} else {
_local5 = 0;
while (_local5 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15))));
_local5++;
};
};
return (_local3);
}
public static function ror(_arg1:int, _arg2:int):uint{
var _local3:int;
_local3 = (32 - _arg2);
return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3))));
}
public static function rol(_arg1:int, _arg2:int):int{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
}
}//package com.adobe.utils
Section 3
//Tracker (com.memecounter.Tracker)
package com.memecounter {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
public class Tracker {
private static var ori_dom:String;
private static var lurl:String;
public static var _isReady:Boolean = false;
public static var a:uint = 0;
public static var root:DisplayObject;
public static var c:uint;
public static var d:String = "";
private static var _isInited:Boolean = false;
public static var fpv:String = "";
private static var l:Loader;
private static var tracker:MovieClip;
public static var da:Array = ["distralytics.com", "distralytics.co.uk"];
private static function loadError(_arg1:Event):void{
a++;
lc();
}
public static function init(_arg1:uint, _arg2:DisplayObject):void{
var _local3:uint;
if (!_isInited){
_isInited = true;
c = _arg1;
root = _arg2;
_local3 = 0;
while (_local3 < da.length) {
Security.allowDomain(da[_local3], ((c + ".c.") + da[_local3]), ("*." + da[_local3]));
_local3++;
};
ori_dom = (root.loaderInfo.parameters.hasOwnProperty("ori_dom")) ? root.loaderInfo.parameters.ori_dom : "";
d = ((ori_dom)!="") ? ori_dom : ((root.loaderInfo.loaderURL.split("/")[0].indexOf("http"))==-1) ? "Local" : root.loaderInfo.loaderURL.split("/")[2].split("?")[0];
fpv = Capabilities.version.split(" ")[1].split(",")[0];
lurl = ((((((((("/control/tracking/trackerAS3.swf" + "?c=") + c) + "&r=") + Math.floor((Math.random() * 10000000000))) + "&d=") + d) + "&p=") + fpv) + "&as=3");
l = new Loader();
l.contentLoaderInfo.addEventListener(Event.INIT, loadComplete);
l.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
lc();
};
}
public static function get isReady():Boolean{
return (isReady);
}
public static function kvClick(_arg1:uint):void{
if (_isReady){
trace("CLICKTHROUGH SENT");
tracker.kvClick(_arg1);
};
}
public static function kvCountry():String{
if (_isReady){
return (tracker.kvCountry());
};
return ("");
}
public static function kvEvent(_arg1:uint):void{
if (_isReady){
trace("EVENT SENT");
tracker.kvEvent(_arg1);
};
}
private static function lc():void{
var _local1:String;
_local1 = (((("http://" + c) + ".c.") + da[(a % da.length)]) + lurl);
Security.allowDomain(_local1);
l.load(new URLRequest(_local1));
}
private static function loadComplete(_arg1:Event):void{
trace("MEMECOUNTER READY");
tracker = _arg1.target.content;
tracker.init(getDefinitionByName("com.memecounter.Tracker"), root);
_isReady = true;
}
}
}//package com.memecounter
Section 4
//ArrayUtils (com.stampy.arrays.ArrayUtils)
package com.stampy.arrays {
public class ArrayUtils {
public static function arrayContains(_arg1:Array, _arg2):Boolean{
var _local3:uint;
var _local4:int;
_local3 = _arg1.length;
_local4 = 0;
while (_local4 < _local3) {
if (_arg1[_local4] == _arg2){
return (true);
};
_local4++;
};
return (false);
}
public static function randomArray(_arg1:Array):Array{
var _local2:Array;
_local2 = new Array();
while (_arg1.length > 0) {
_local2.push(_arg1.splice(Math.floor((Math.random() * _arg1.length)), 1));
};
return (_local2);
}
}
}//package com.stampy.arrays
Section 5
//Cookie (com.stampy.cookies.Cookie)
package com.stampy.cookies {
import flash.net.*;
import flash.utils.*;
public class Cookie {
public static function addCookieUser(_arg1:String, _arg2:String, _arg3:Object):void{
var _local4:SharedObject;
var _local5:Boolean;
_local4 = getCookie(_arg1);
_local5 = _local4.data.hasOwnProperty("users");
if (_local5){
_local4.data.users[_arg2] = _arg3;
flushCookie(_local4);
} else {
addCookieUserStore(_arg1);
addCookieUser(_arg1, _arg2, _arg3);
};
}
public static function addCookieUserStore(_arg1:String):void{
var _local2:SharedObject;
_local2 = getCookie(_arg1);
_local2.data.users = new Dictionary();
flushCookie(_local2);
}
public static function getCookieUser(_arg1:String, _arg2:String=""):Object{
var _local3:SharedObject;
var _local4:Boolean;
var _local5:Object;
_local3 = getCookie(_arg1);
_local4 = _local3.data.hasOwnProperty("users");
if (_local4){
_local5 = _local3.data.users[_arg2];
} else {
addCookieUserStore(_arg1);
};
return (_local5);
}
public static function addCookieLastUser(_arg1:String, _arg2:String=""):void{
var _local3:SharedObject;
_local3 = getCookie((_arg1 + "Last"));
_local3.data.LastUser = _arg2;
flushCookie(_local3);
}
private static function flushCookie(_arg1:SharedObject):void{
var soCookie = _arg1;
try {
soCookie.flush();
} catch(e:Error) {
trace("Cookie only stored online");
};
}
public static function getCookie(_arg1:String):SharedObject{
var _local2:SharedObject;
_local2 = SharedObject.getLocal(_arg1);
return (_local2);
}
public static function getCookieLastUser(_arg1:String):Object{
var _local2:SharedObject;
var _local3:Boolean;
var _local4:String;
var _local5:Object;
_local2 = getCookie((_arg1 + "Last"));
_local3 = _local2.data.hasOwnProperty("LastUser");
if (_local3){
_local4 = _local2.data.LastUser;
_local5 = getCookieUser(_arg1, _local4);
};
return (_local5);
}
}
}//package com.stampy.cookies
Section 6
//FlashCookie (com.stampy.cookies.FlashCookie)
package com.stampy.cookies {
public class FlashCookie {
private var _strCookieName:String;// = "none"
private var _cookie:Object;
public function FlashCookie(_arg1:String, _arg2:Object, _arg3:String="guestUser"):void{
_strCookieName = "none";
super();
_strCookieName = _arg1;
_cookie = Cookie.getCookieUser(_strCookieName, _arg3);
if (_cookie == null){
Cookie.addCookieUser(_strCookieName, _arg3, _arg2);
};
}
public function getFromCookie(_arg1:String, _arg2:String="guestUser"){
var _local3:String;
_cookie = getCookie(_arg2);
for (_local3 in _cookie) {
if (_local3 == _arg1){
return (_cookie[_local3]);
};
};
return (null);
}
public function updateCookieVar(_arg1:String, _arg2, _arg3:String="guestUser"):void{
var _local4:String;
_cookie = getCookie(_arg3);
for (_local4 in _cookie) {
if (_local4 == _arg1){
_cookie[_local4] = _arg2;
};
};
updateCookie(_cookie, _arg3);
}
public function updateCookie(_arg1:Object, _arg2:String="guestUser"):void{
Cookie.addCookieUser(_strCookieName, _arg2, _arg1);
}
public function get cookieName():String{
return (_strCookieName);
}
public function getCookie(_arg1:String="guestUser"):Object{
_cookie = Cookie.getCookieUser(_strCookieName, _arg1);
return (_cookie);
}
}
}//package com.stampy.cookies
Section 7
//EmailUtils (com.stampy.emails.EmailUtils)
package com.stampy.emails {
public class EmailUtils {
public static function isValid(_arg1:String):Boolean{
var _local2:Boolean;
var _local3:int;
var _local4:int;
_local2 = false;
_local3 = _arg1.indexOf("@");
_local4 = _arg1.indexOf(".");
if ((((_local3 > 0)) && ((_local4 > 0)))){
_local2 = true;
};
trace(("valid:" + _local2));
return (_local2);
}
}
}//package com.stampy.emails
Section 8
//SubmitForm (com.stampy.forms.SubmitForm)
package com.stampy.forms {
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import com.stampy.submit.*;
public class SubmitForm extends EventDispatcher {
private var _submitSuccess:Function;
private var _urlScript:String;
private var _submitFail:Function;
private var _urlData:Dictionary;
public static const INVALID:String = "Invalid";
public static const COMPLETE:String = "Complete";
public static const IO_ERROR:String = "IOError";
public function SubmitForm(_arg1:String):void{
_urlData = new Dictionary(true);
super();
trace("------ NEW FORM ---------");
trace(("FORM POST URL:" + _arg1));
_urlScript = _arg1;
}
private function dispatch(_arg1:String):void{
dispatchEvent(new Event(_arg1));
}
public function submit():void{
var _local1:URLVariables;
var _local2:Object;
var _local3:Post;
trace("FORM SUBMIT");
_local1 = new URLVariables();
for (_local2 in _urlData) {
_local1[_local2] = _urlData[_local2];
trace(((("FORM var " + _local2) + " = ") + _local1[_local2]));
};
_local3 = new Post();
_local3.addEventListener(Post.COMPLETE, submit_complete);
_local3.addEventListener(Post.IO_ERROR, submit_fail);
_local3.post_data(_urlScript, _local1);
}
public function addField(_arg1:String, _arg2):void{
_urlData[_arg1] = _arg2;
}
private function submit_fail(_arg1:Event):void{
trace("FORM FAIL");
_arg1.target.removeEventListener(Post.IO_ERROR, submit_fail);
dispatch(IO_ERROR);
delete ??getglobalscope
[this];
}
private function submit_complete(_arg1:Event):void{
trace("FORM COMPLETE");
_arg1.target.removeEventListener(Post.COMPLETE, submit_complete);
dispatch(COMPLETE);
delete ??getglobalscope
[this];
}
public function getVar(_arg1:String){
if (Post.getVar[_arg1] != null){
return (Post.getVar[_arg1]);
};
return (null);
}
}
}//package com.stampy.forms
Section 9
//FrameUtils (com.stampy.frames.FrameUtils)
package com.stampy.frames {
import flash.display.*;
public class FrameUtils {
public static function onEveryFrame(_arg1, _arg2:Function):void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
_local3 = _arg1.framesLoaded;
if ((_arg1 is MovieClip)){
_local4 = 1;
while (_local4 <= _local3) {
onEnterFrame(_local4, _arg1, _arg2);
_local4++;
};
} else {
if ((_arg1 is Array)){
_local5 = _arg1.length;
_local6 = 0;
while (_local6 < _local5) {
onEveryFrame(_arg1[_local6], _arg2);
_local6++;
};
};
};
}
public static function onEnterFrame(_arg1, _arg2, _arg3:Function):void{
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:uint;
if ((_arg2 is MovieClip)){
if ((_arg1 is uint)){
_arg2.addFrameScript((_arg1 - 1), _arg3);
} else {
if ((_arg1 is String)){
_arg2.addFrameScript((frameNumByLabel(_arg1, _arg2) - 1), _arg3);
} else {
if ((_arg1 is Array)){
_local4 = _arg1.length;
_local5 = 0;
while (_local5 < _local4) {
onEnterFrame(_arg1[_local5], _arg2, _arg3);
_local5++;
};
};
};
};
};
if ((_arg2 is Array)){
_local6 = _arg2.length;
_local7 = 0;
while (_local7 < _local6) {
onEnterFrame(_arg1, _arg2[_local7], _arg3);
_local7++;
};
};
}
public static function frameNumByLabel(_arg1:String, _arg2:MovieClip):Number{
var _local3:uint;
var _local4:uint;
_local3 = _arg2.currentLabels.length;
_local4 = 0;
while (_local4 < _local3) {
if (_arg2.currentLabels[_local4].name == _arg1){
return (_arg2.currentLabels[_local4].frame);
};
_local4++;
};
return (1);
}
}
}//package com.stampy.frames
Section 10
//Scoreboard (com.stampy.scores.Scoreboard)
package com.stampy.scores {
import flash.events.*;
import console.parsers.*;
public class Scoreboard {
private var _scriptURL:String;
private var _fetchSuccess:Function;
private var _xmlDoc:XML;
private var _fetchFail:Function;
public function Scoreboard(_arg1:String){
_scriptURL = _arg1;
}
private function fetch_fail(_arg1:Event):void{
_arg1.target.removeEventListener(ParseXML.XML_FAILED, fetch_fail);
if (_fetchFail != null){
_fetchFail();
//unresolved jump
};
}
public function getScoreNodes(_arg1:String):Array{
var _local2:Array;
var _local3:uint;
var _local4:int;
var _local5:*;
var _local6:uint;
var _local7:Array;
var _local8:int;
_local2 = new Array();
_local3 = _xmlDoc[_arg1].entry.length();
_local4 = 1;
while (_local4 <= _local3) {
_local5 = _xmlDoc[_arg1].entry[(_local4 - 1)];
_local6 = _local5.attributes().length();
_local7 = new Array();
_local8 = 0;
while (_local8 < _local6) {
_local7.push(_local5.attributes()[_local8]);
_local8++;
};
_local2.push(_local7);
_local4++;
};
return (_local2);
}
public function getScores(_arg1:String):Array{
var _local2:Array;
var _local3:uint;
var _local4:int;
var _local5:*;
var _local6:Object;
_local2 = new Array();
_local3 = _xmlDoc[_arg1].entry.length();
_local4 = 1;
while (_local4 <= _local3) {
_local5 = _xmlDoc[_arg1].entry[(_local4 - 1)];
_local6 = {player:_local5.attributes()[0], score:_local5.attributes()[1]};
_local2.push(_local6);
_local4++;
};
return (_local2);
}
public function fetch(_arg1:Function=null, _arg2:Function=null):void{
var _local3:ParseXML;
_fetchSuccess = _arg1;
_fetchFail = _arg2;
_local3 = new ParseXML();
_local3.addEventListener(ParseXML.XML_LOADED, fetch_success);
_local3.addEventListener(ParseXML.XML_FAILED, fetch_fail);
_local3.parseURL(_scriptURL, true);
}
private function fetch_success(_arg1:Event):void{
_arg1.target.removeEventListener(ParseXML.XML_LOADED, fetch_success);
_xmlDoc = _arg1.target._xmlDoc;
if (_fetchSuccess != null){
_fetchSuccess();
//unresolved jump
};
}
}
}//package com.stampy.scores
Section 11
//StringUtils (com.stampy.strings.StringUtils)
package com.stampy.strings {
public class StringUtils {
private static function _swapCase(_arg1:String, ... _args):String{
var _local3:String;
var _local4:String;
_local3 = _arg1.toLowerCase();
_local4 = _arg1.toUpperCase();
switch (_arg1){
case _local3:
return (_local4);
case _local4:
return (_local3);
default:
return (_arg1);
};
}
public static function isEmpty(_arg1:String):Boolean{
if (_arg1 == null){
return (true);
};
return (!(_arg1.length));
}
public static function remove(_arg1:String, _arg2:String, _arg3:Boolean=true):String{
var _local4:String;
var _local5:String;
if (_arg1 == null){
return ("");
};
_local4 = escapePattern(_arg2);
_local5 = (_arg3) ? "g" : "ig";
return (_arg1.replace(new RegExp(_local4, _local5), ""));
}
public static function countOf(_arg1:String, _arg2:String, _arg3:Boolean=true):uint{
var _local4:String;
var _local5:String;
if (_arg1 == null){
return (0);
};
_local4 = escapePattern(_arg2);
_local5 = (_arg3) ? "g" : "ig";
return (_arg1.match(new RegExp(_local4, _local5)).length);
}
public static function between(_arg1:String, _arg2:String, _arg3:String):String{
var _local4:String;
var _local5:int;
var _local6:int;
_local4 = "";
if (_arg1 == null){
return (_local4);
};
_local5 = _arg1.indexOf(_arg2);
if (_local5 != -1){
_local5 = (_local5 + _arg2.length);
_local6 = _arg1.indexOf(_arg3, _local5);
if (_local6 != -1){
_local4 = _arg1.substr(_local5, (_local6 - _local5));
};
};
return (_local4);
}
public static function padRight(_arg1:String, _arg2:String, _arg3:uint):String{
var _local4:String;
_local4 = _arg1;
while (_local4.length < _arg3) {
_local4 = (_local4 + _arg2);
};
return (_local4);
}
public static function isNumeric(_arg1:String):Boolean{
var _local2:RegExp;
if (_arg1 == null){
return (false);
};
_local2 = /^[-+]?\d*\.?\d+(?:[eE][-+]?\d+)?$/;
return (_local2.test(_arg1));
}
public static function block(_arg1:String, _arg2:uint, _arg3:String="."):Array{
var _local4:Array;
var _local5:uint;
var _local6:uint;
var _local7:RegExp;
var _local8:String;
_local4 = new Array();
if ((((_arg1 == null)) || (!(contains(_arg1, _arg3))))){
return (_local4);
};
_local5 = 0;
_local6 = _arg1.length;
_local7 = new RegExp((("[^" + escapePattern(_arg3)) + "]+$"));
while (_local5 < _local6) {
_local8 = _arg1.substr(_local5, _arg2);
if (!contains(_local8, _arg3)){
_local4.push(truncate(_local8, _local8.length));
_local5 = (_local5 + _local8.length);
};
_local8 = _local8.replace(_local7, "");
_local4.push(_local8);
_local5 = (_local5 + _local8.length);
};
return (_local4);
}
public static function trim(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/^\s+|\s+$/g, ""));
}
public static function beginsWith(_arg1:String, _arg2:String):Boolean{
if (_arg1 == null){
return (false);
};
return ((_arg1.indexOf(_arg2) == 0));
}
public static function stripTags(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/<\/?[^>]+>/igm, ""));
}
public static function afterLast(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.lastIndexOf(_arg2);
if (_local3 == -1){
return ("");
};
_local3 = (_local3 + _arg2.length);
return (_arg1.substr(_local3));
}
private static function _minimum(_arg1:uint, _arg2:uint, _arg3:uint):uint{
return (Math.min(_arg1, Math.min(_arg2, Math.min(_arg3, _arg1))));
}
private static function escapePattern(_arg1:String):String{
return (_arg1.replace(/(\]|\[|\{|\}|\(|\)|\*|\+|\?|\.|\\)/g, "\\$1"));
}
public static function removeExtraWhitespace(_arg1:String):String{
var _local2:String;
if (_arg1 == null){
return ("");
};
_local2 = trim(_arg1);
return (_local2.replace(/\s+/g, " "));
}
public static function trimRight(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/\s+$/, ""));
}
public static function endsWith(_arg1:String, _arg2:String):Boolean{
return ((_arg1.lastIndexOf(_arg2) == (_arg1.length - _arg2.length)));
}
public static function contains(_arg1:String, _arg2:String):Boolean{
if (_arg1 == null){
return (false);
};
return (!((_arg1.indexOf(_arg2) == -1)));
}
public static function properCase(_arg1:String):String{
var _local2:String;
if (_arg1 == null){
return ("");
};
_local2 = _arg1.toLowerCase().replace(/\b([^.?;!]+)/, capitalize);
return (_local2.replace(/\b[i]\b/, "I"));
}
public static function trimLeft(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/^\s+/, ""));
}
public static function similarity(_arg1:String, _arg2:String):Number{
var _local3:uint;
var _local4:uint;
_local3 = editDistance(_arg1, _arg2);
_local4 = Math.max(_arg1.length, _arg2.length);
if (_local4 == 0){
return (100);
};
return (((1 - (_local3 / _local4)) * 100));
}
public static function wordCount(_arg1:String):uint{
if (_arg1 == null){
return (0);
};
return (_arg1.match(/\b\w+\b/g).length);
}
public static function editDistance(_arg1:String, _arg2:String):uint{
var _local3:uint;
var _local4:Array;
var _local5:uint;
var _local6:uint;
var _local7:uint;
var _local8:uint;
var _local9:String;
var _local10:String;
if (_arg1 == null){
_arg1 = "";
};
if (_arg2 == null){
_arg2 = "";
};
if (_arg1 == _arg2){
return (0);
};
_local4 = new Array();
_local6 = _arg1.length;
_local7 = _arg2.length;
if (_local6 == 0){
return (_local7);
};
if (_local7 == 0){
return (_local6);
};
_local3 = 0;
while (_local3 <= _local6) {
_local4[_local3] = new Array();
_local3++;
};
_local3 = 0;
while (_local3 <= _local6) {
_local4[_local3][0] = _local3;
_local3++;
};
_local8 = 0;
while (_local8 <= _local7) {
_local4[0][_local8] = _local8;
_local8++;
};
_local3 = 1;
while (_local3 <= _local6) {
_local9 = _arg1.charAt((_local3 - 1));
_local8 = 1;
while (_local8 <= _local7) {
_local10 = _arg2.charAt((_local8 - 1));
if (_local9 == _local10){
_local5 = 0;
} else {
_local5 = 1;
};
_local4[_local3][_local8] = _minimum((_local4[(_local3 - 1)][_local8] + 1), (_local4[_local3][(_local8 - 1)] + 1), (_local4[(_local3 - 1)][(_local8 - 1)] + _local5));
_local8++;
};
_local3++;
};
return (_local4[_local6][_local7]);
}
public static function hasText(_arg1:String):Boolean{
var _local2:String;
_local2 = removeExtraWhitespace(_arg1);
return (!(!(_local2.length)));
}
public static function reverse(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.split("").reverse().join(""));
}
public static function swapCase(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/(\w)/, _swapCase));
}
public static function capitalize(_arg1:String, ... _args):String{
var _local3:String;
_local3 = trimLeft(_arg1);
trace("capl", _args[0]);
if (_args[0] === true){
return (_local3.replace(/^.|\b./g, _upperCase));
};
return (_local3.replace(/(^\w)/, _upperCase));
}
public static function truncate(_arg1:String, _arg2:uint, _arg3:String="..."):String{
var _local4:String;
if (_arg1 == null){
return ("");
};
_arg2 = (_arg2 - _arg3.length);
_local4 = _arg1;
if (_local4.length > _arg2){
_local4 = _local4.substr(0, _arg2);
if (/[^\s]/.test(_arg1.charAt(_arg2))){
_local4 = trimRight(_local4.replace(/\w+$|\s+$/, ""));
};
_local4 = (_local4 + _arg3);
};
return (_local4);
}
public static function reverseWords(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.split(/\s+/).reverse().join(""));
}
public static function beforeFirst(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.indexOf(_arg2);
if (_local3 == -1){
return ("");
};
return (_arg1.substr(0, _local3));
}
private static function _upperCase(_arg1:String, ... _args):String{
trace("cap latter ", _arg1);
return (_arg1.toUpperCase());
}
public static function afterFirst(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.indexOf(_arg2);
if (_local3 == -1){
return ("");
};
_local3 = (_local3 + _arg2.length);
return (_arg1.substr(_local3));
}
public static function beforeLast(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.lastIndexOf(_arg2);
if (_local3 == -1){
return ("");
};
return (_arg1.substr(0, _local3));
}
public static function padLeft(_arg1:String, _arg2:String, _arg3:uint):String{
var _local4:String;
_local4 = _arg1;
while (_local4.length < _arg3) {
_local4 = (_arg2 + _local4);
};
return (_local4);
}
public static function quote(_arg1:String):String{
var _local2:RegExp;
_local2 = /[\\"\r\n]/g;
return ((("\"" + _arg1.replace(_local2, _quote)) + "\""));
}
private static function _quote(_arg1:String, ... _args):String{
switch (_arg1){
case "\\":
return ("\\\\");
case "\r":
return ("\\r");
case "\n":
return ("\\n");
case "\"":
return ("\\\"");
default:
return ("");
};
}
}
}//package com.stampy.strings
Section 12
//Post (com.stampy.submit.Post)
package com.stampy.submit {
import flash.events.*;
import flash.net.*;
public class Post extends EventDispatcher {
private var urlLoad:URLLoader;
public static const COMPLETE:String = "compelte";
public static const IO_ERROR:String = "io_error";
private static var _loadedVars:URLVariables;
public function post_data(_arg1:String, _arg2:URLVariables):void{
var _local3:URLRequest;
var _local4:URLLoader;
_local3 = new URLRequest(_arg1);
_local3.data = _arg2;
_local3.method = URLRequestMethod.POST;
_local4 = new URLLoader();
_local4.addEventListener(Event.COMPLETE, post_complete);
_local4.addEventListener(IOErrorEvent.IO_ERROR, post_fail);
_local4.load(_local3);
}
private function post_fail(_arg1:IOErrorEvent):void{
_arg1.target.removeEventListener(IOErrorEvent.IO_ERROR, post_fail);
dispatchEvent(new Event(Post.IO_ERROR));
}
private function post_complete(_arg1:Event):void{
_arg1.target.removeEventListener(Event.COMPLETE, post_complete);
_loadedVars = new URLVariables(_arg1.target.data);
dispatchEvent(new Event(Post.COMPLETE));
}
public static function getVar(_arg1:String){
if (_loadedVars[_arg1]){
return (_loadedVars[_arg1]);
};
return (null);
}
}
}//package com.stampy.submit
Section 13
//Validate (com.stampy.validation.Validate)
package com.stampy.validation {
import com.stampy.strings.*;
import com.stampy.emails.*;
public class Validate {
public static function string(_arg1:String):Boolean{
return (StringUtils.hasText(_arg1));
}
public static function postCodeUK(_arg1:String):Boolean{
var _local2:RegExp;
_local2 = /^([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z])))) {0,1}[0-9][A-Za-z]{2})$/i;
return (_local2.test(_arg1));
}
public static function email(_arg1:String):Boolean{
return (EmailUtils.isValid(_arg1));
}
}
}//package com.stampy.validation
Section 14
//Cache (console.loaders.Cache)
package console.loaders {
public class Cache {
public function returnAntiCacheURL(_arg1:String):String{
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = ("rand=" + Math.ceil((Math.random() * 1000000)));
_local3 = "?";
_local4 = 0;
while (_local4 < _arg1.length) {
if (_arg1.charAt(_local4) == "?"){
_local3 = "&";
break;
};
_local4++;
};
_arg1 = (_arg1 + (_local3 + _local2));
return (_arg1);
}
}
}//package console.loaders
Section 15
//DISPLAYPreload (console.loaders.DISPLAYPreload)
package console.loaders {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public class DISPLAYPreload extends EventDispatcher {
public var _progressBytesTotal:uint;
public var _progress:uint;
private var _URL:String;
public var _progressBytesPerc:uint;
private var _antiCache:Boolean;
private var _retry:uint;// = 0
public var _progressBytesLoaded:uint;
public var _loader:Loader;
public static const LOAD_COMPLETE:String = "Complete";
public static const LOAD_PROGRESS:String = "Load Progress";
public static const LOAD_ERROR:String = "Error";
public function DISPLAYPreload(_arg1:String, _arg2:Boolean){
_retry = 0;
_loader = new Loader();
super();
_URL = _arg1;
_antiCache = _arg2;
setupPreload(_URL, _antiCache);
}
private function onProgress(_arg1:ProgressEvent):void{
_progressBytesLoaded = _arg1.target.bytesLoaded;
_progressBytesTotal = _arg1.target.bytesTotal;
_progressBytesPerc = ((_arg1.target.bytesLoaded / _arg1.target.bytesTotal) * 100);
dispatchEvent(new Event(DISPLAYPreload.LOAD_PROGRESS));
}
public function setupPreload(_arg1:String, _arg2:Boolean){
var _local3:URLRequest;
var _local4:*;
if (_arg2){
_local4 = new Cache();
_arg1 = _local4.returnAntiCacheURL(_arg1);
};
_local3 = new URLRequest(_arg1);
_local3.method = URLRequestMethod.POST;
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
_loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onError);
_loader.load(_local3);
}
private function onError(_arg1:IOErrorEvent):void{
if (_retry > 10){
dispatchEvent(new Event(DISPLAYPreload.LOAD_ERROR));
} else {
_retry++;
setupPreload(_URL, _antiCache);
};
}
private function onComplete(_arg1:Event):void{
dispatchEvent(new Event(DISPLAYPreload.LOAD_COMPLETE));
}
}
}//package console.loaders
Section 16
//SendReceiveData (console.loaders.SendReceiveData)
package console.loaders {
import flash.events.*;
import flash.net.*;
public class SendReceiveData extends EventDispatcher {
public var _loader:URLLoader;
public var _errorMessage:String;
public static const DATA_LOADED:String = "Data Loaded";
public static const DATA_ERROR:String = "Data Error";
public function onError(_arg1:IOErrorEvent){
trace(("ERROR = " + _arg1.text));
trace("POSSIBLE PROBLEMS - crossdomain.xml missing");
_errorMessage = _arg1.text;
dispatchEvent(new Event(SendReceiveData.DATA_ERROR));
}
public function sendData(_arg1:String, _arg2:URLVariables):void{
var _local3:URLRequest;
_local3 = new URLRequest(_arg1);
_local3.data = _arg2;
_local3.method = URLRequestMethod.POST;
_loader = new URLLoader();
_loader.addEventListener(Event.COMPLETE, onComplete);
_loader.addEventListener(IOErrorEvent.IO_ERROR, onError);
_loader.load(_local3);
}
public function onComplete(_arg1:Event){
dispatchEvent(new Event(SendReceiveData.DATA_LOADED));
}
}
}//package console.loaders
Section 17
//URLPreload (console.loaders.URLPreload)
package console.loaders {
import flash.events.*;
import flash.net.*;
public class URLPreload extends EventDispatcher {
public var _progressBytesTotal:uint;
public var _progress:uint;
private var _URL:String;
public var _progressBytesPerc:uint;
public var _urlLoader:URLLoader;// = null
public var _progressBytesLoaded:uint;
private var _retry:uint;// = 0
private var _antiCache:Boolean;
public static const LOAD_COMPLETE:String = "Complete";
public static const LOAD_PROGRESS:String = "Load Progress";
public static const LOAD_ERROR:String = "Error";
public function URLPreload(_arg1:String, _arg2:Boolean){
_retry = 0;
_urlLoader = null;
super();
_URL = _arg1;
_antiCache = _arg2;
setupPreload(_URL, _antiCache);
}
private function onProgress(_arg1:ProgressEvent):void{
_progressBytesLoaded = _arg1.target.bytesLoaded;
_progressBytesTotal = _arg1.target.bytesTotal;
_progressBytesPerc = ((_arg1.target.bytesLoaded / _arg1.target.bytesTotal) * 100);
dispatchEvent(new Event(URLPreload.LOAD_PROGRESS));
}
public function setupPreload(_arg1:String, _arg2:Boolean){
var _local3:URLRequest;
var _local4:*;
if (_arg2){
_local4 = new Cache();
_arg1 = _local4.returnAntiCacheURL(_arg1);
trace(("URL: " + _arg1));
};
_local3 = new URLRequest(_arg1);
_local3.method = URLRequestMethod.POST;
_urlLoader = new URLLoader();
_urlLoader.load(_local3);
_urlLoader.addEventListener(Event.COMPLETE, onComplete);
_urlLoader.addEventListener(ProgressEvent.PROGRESS, onProgress);
_urlLoader.addEventListener(IOErrorEvent.IO_ERROR, onError);
}
private function onError(_arg1:IOErrorEvent):void{
if (_retry > 10){
dispatchEvent(new Event(URLPreload.LOAD_ERROR));
} else {
_retry++;
setupPreload(_URL, _antiCache);
};
}
private function onComplete(_arg1:Event):void{
dispatchEvent(new Event(URLPreload.LOAD_COMPLETE));
}
}
}//package console.loaders
Section 18
//OpenURL (console.loadurl.OpenURL)
package console.loadurl {
import flash.net.*;
import flash.external.*;
public class OpenURL {
public static function loadURL(_arg1:String, _arg2:String="_blank"):void{
var WINDOW_OPEN_FUNCTION:String;
var url = _arg1;
var window = _arg2;
WINDOW_OPEN_FUNCTION = "window.open";
if (ExternalInterface.available){
try {
ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window);
trace("EXTERNAL INTERFACE TO URL");
} catch(e:Error) {
navigateToURL(new URLRequest(url), window);
trace("NAVIGATE TO URL");
};
} else {
trace("EXTERNAL INTERFACE NOT AVAILABLE");
};
}
public static function navigateURL_JS(_arg1:String):void{
var _local2:*;
var _local3:*;
_local2 = (("window.open('" + _arg1) + "', 'PopUpWindow');");
_local3 = new URLRequest((("javascript:" + _local2) + "void(0);"));
navigateToURL(_local3);
}
public static function navigateURL(_arg1:String, _arg2:String="_blank"):void{
navigateToURL(new URLRequest(_arg1), _arg2);
}
}
}//package console.loadurl
Section 19
//Trig (console.math.Trig)
package console.math {
import flash.geom.*;
public class Trig {
public static function findAngle(_arg1, _arg2, _arg3, _arg4):Number{
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local5 = (_arg1 - _arg3);
_local6 = (_arg2 - _arg4);
_local7 = Math.atan2(_local6, _local5);
return (_local7);
}
public static function findOppositeLength(_arg1, _arg2):Number{
var _local3:*;
_local3 = (Math.sin(_arg1) * _arg2);
return (_local3);
}
public static function findNewXY(_arg1, _arg2, _arg3, _arg4):Point{
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
_local5 = findAdjascentLength(_arg3, _arg4);
_local6 = findOppositeLength(_arg3, _arg4);
_local7 = (_arg1 + _local5);
_local8 = (_arg2 + _local6);
_local9 = new Point(_local7, _local8);
return (_local9);
}
public static function findHypotenuseLength(_arg1:Number, _arg2:Number):Number{
var _local3:*;
_local3 = Math.sqrt((Math.pow(_arg1, 2) + Math.pow(_arg2, 2)));
return (_local3);
}
public static function convertToDegree(_arg1:Number){
var _local2:*;
_local2 = ((_arg1 * 180) / Math.PI);
return (_local2);
}
public static function findAdjascentLength(_arg1, _arg2):Number{
var _local3:*;
_local3 = (Math.cos(_arg1) * _arg2);
return (_local3);
}
public static function convertToRadian(_arg1:Number){
var _local2:*;
_local2 = ((_arg1 * Math.PI) / 180);
return (_local2);
}
}
}//package console.math
Section 20
//ParseIMG (console.parsers.ParseIMG)
package console.parsers {
import flash.events.*;
import flash.display.*;
import console.loaders.*;
public class ParseIMG extends EventDispatcher {
public var _progressBytesTotal:uint;// = 0
public var _progressBytesPerc:uint;// = 0
public var _bitmap:Bitmap;// = null
public var _Loader:Loader;
public var _bitmapData:BitmapData;// = null
private var _passedVar;
public var _progressBytesLoaded:uint;// = 0
public var _loaded:Boolean;// = false
public var _preloader:DISPLAYPreload;
public static const IMG_PROGRESS:String = "IMGProgress";
public static const IMG_LOADED:String = "IMGLoaded";
public static const IMG_FAILED:String = "IMGFailed";
public function ParseIMG(){
_progressBytesLoaded = 0;
_progressBytesTotal = 0;
_progressBytesPerc = 0;
_bitmap = null;
_bitmapData = null;
_loaded = false;
super();
}
public function set parseVars(_arg1):void{
_passedVar = _arg1;
}
public function get parseVars(){
return (_passedVar);
}
public function checkProgress(_arg1:Event):void{
_progressBytesLoaded = _arg1.target._progressBytesLoaded;
_progressBytesTotal = _arg1.target._progressBytesTotal;
_progressBytesPerc = _arg1.target._progressBytesPerc;
dispatchEvent(new Event(ParseIMG.IMG_PROGRESS));
}
public function parseURL(_arg1:String, _arg2:Boolean):void{
_preloader = new DISPLAYPreload(_arg1, _arg2);
_preloader.addEventListener(DISPLAYPreload.LOAD_PROGRESS, checkProgress);
_preloader.addEventListener(DISPLAYPreload.LOAD_COMPLETE, completeLoad);
}
public function completeLoad(_arg1:Event):void{
_bitmap = new Bitmap(_arg1.target._loader.content.bitmapData, "auto", true);
_bitmapData = _arg1.target._loader.content.bitmapData;
dispatchEvent(new Event(ParseIMG.IMG_LOADED));
}
}
}//package console.parsers
Section 21
//ParseXML (console.parsers.ParseXML)
package console.parsers {
import flash.events.*;
import flash.net.*;
import console.loaders.*;
public class ParseXML extends EventDispatcher {
public var _progressBytesPerc:uint;// = 0
public var _progressBytesTotal:uint;// = 0
public var _xmlDoc:XML;
public var _tag:String;// = null
private var _urlLoader:URLLoader;
public var _progressBytesLoaded:uint;// = 0
public var _loaded:Boolean;// = false
public var _preloader:URLPreload;
public static const XML_FAILED:String = "XMLFailed";
public static const XML_PROGRESS:String = "XMLProgress";
public static const XML_LOADED:String = "XMLLoaded";
public function ParseXML(){
_tag = null;
_progressBytesLoaded = 0;
_progressBytesTotal = 0;
_progressBytesPerc = 0;
_loaded = false;
super();
}
public function checkProgress(_arg1:Event):void{
_progressBytesLoaded = _arg1.target._progressBytesLoaded;
_progressBytesTotal = _arg1.target._progressBytesTotal;
_progressBytesPerc = _arg1.target._progressBytesPerc;
dispatchEvent(new Event(ParseXML.XML_PROGRESS));
}
public function parseURL(_arg1:String, _arg2:Boolean):void{
_preloader = new URLPreload(_arg1, _arg2);
_preloader.addEventListener(URLPreload.LOAD_PROGRESS, checkProgress);
_preloader.addEventListener(URLPreload.LOAD_COMPLETE, completeLoad);
}
public function completeLoad(_arg1:Event):void{
_xmlDoc = new XML(_arg1.target._urlLoader.data);
dispatchEvent(new Event(ParseXML.XML_LOADED));
}
}
}//package console.parsers
Section 22
//Token (console.security.Token)
package console.security {
import flash.events.*;
import flash.net.*;
import com.adobe.crypto.*;
import console.loaders.*;
public class Token {
public static const TOKEN_GENERATED:String = "Token Generated";
private static var _success:Function;
private static var _strAction:String = "request_token";
private static var _strOriginalToken:String;
private static var _requestToken:SendReceiveData;
private static var _strUrl:String;
private static var _isDebugging:Boolean = true;
private static var _retry:uint = 0;
private static var _loadedVars:URLVariables;
private static var _loadToken:URLLoader;
private static var _strFinalToken:String;
private static function loadError(_arg1:Error):void{
if (_retry == 0){
_retry++;
request(_strUrl, _success, _isDebugging);
trace("Token Fail First Attempt");
} else {
trace("Token Fail Second Attempt: Aborted");
};
}
public static function get encypted():String{
return (_strFinalToken);
}
private static function debug(_arg1):void{
if (_isDebugging){
trace(_arg1);
};
}
public static function request(_arg1:String, _arg2:Function, _arg3:Boolean=true){
var _local4:URLVariables;
_strUrl = _arg1;
_isDebugging = _arg3;
debug(("DEBUG: Token.request | strURL = " + _arg1));
_success = _arg2;
_local4 = new URLVariables();
_local4.action = _strAction;
_requestToken = new SendReceiveData();
_requestToken.sendData(_arg1, _local4);
_requestToken.addEventListener(SendReceiveData.DATA_LOADED, load);
_requestToken.addEventListener(SendReceiveData.DATA_ERROR, loadError);
}
private static function load(_arg1:Event):void{
_loadToken = URLLoader(_arg1.target._loader);
_loadedVars = new URLVariables(_loadToken.data);
_strOriginalToken = _loadedVars.token;
debug(("DEBUG: Token.load | original token = " + _strOriginalToken));
_strFinalToken = encrypt(_strOriginalToken);
_success();
}
public static function getVar(_arg1:String){
if (_loadedVars[_arg1]){
return (_loadedVars[_arg1]);
};
return (null);
}
public static function get original():String{
return (_strOriginalToken);
}
public static function secret(_arg1, _arg2:Boolean=true):String{
var _local3:String;
var _local4:String;
var _local5:String;
_isDebugging = _arg2;
if (((!((_arg1 == null))) && (!((_strOriginalToken == null))))){
_local3 = _arg1.toString();
_local4 = (_strOriginalToken + _local3);
_local5 = MD5.hash(_local4);
debug(("DEBUG: Token.secret | encrypted secret = " + _local5));
return (_local5);
};
trace("Error: Token.secret");
return ("");
}
private static function encrypt(_arg1:String):String{
var _local2:String;
var _local3:String;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:String;
_local2 = _arg1.substr(28, 8);
_local3 = MD5.hash(_local2);
_local4 = Math.ceil((Math.random() * 1000000));
_local5 = Math.ceil((Math.random() * 1000000));
_local6 = Math.ceil((Math.random() * 1000000));
_local7 = (((MD5.hash(_local4) + MD5.hash(_local5)) + _local3) + MD5.hash(_local6));
debug(("DEBUG: Token.encrypt | encrypted token = " + _local7));
return (_local7);
}
}
}//package console.security
Section 23
//Wedge (console.shapes.Wedge)
package console.shapes {
import flash.display.*;
public class Wedge extends MovieClip {
private const _y:int = 0;
private const _x:int = 0;
private var _colour:uint;
private var _yRadius:Number;
private var _startAngle:Number;
private var _xRadius:Number;
private var _arc:Number;
public function Wedge(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:uint=0){
setAllVars(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function set startAngle(_arg1:Number){
_startAngle = _arg1;
drawWedge();
}
public function set xRadius(_arg1:Number){
_xRadius = _arg1;
drawWedge();
}
public function set colour(_arg1:uint){
_colour = _arg1;
drawWedge();
}
public function set arc(_arg1:Number){
_arc = _arg1;
drawWedge();
}
public function setAllVars(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:uint){
_colour = _arg5;
_startAngle = _arg1;
_arc = _arg2;
_xRadius = _arg3;
_yRadius = _arg4;
drawWedge();
}
private function drawWedge(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
this.graphics.clear();
this.graphics.beginFill(_colour);
this.graphics.moveTo(_x, _y);
if (Math.abs(_arc) > 360){
_arc = 360;
};
_local5 = Math.ceil((Math.abs(_arc) / 45));
_local1 = (_arc / _local5);
_local2 = (-((_local1 / 180)) * Math.PI);
_local3 = (-((_startAngle / 180)) * Math.PI);
if (_local5 > 0){
_local6 = (_x + (Math.cos(((_startAngle / 180) * Math.PI)) * _xRadius));
_local7 = (_y + (Math.sin(((-(_startAngle) / 180) * Math.PI)) * _yRadius));
this.graphics.lineTo(_local6, _local7);
_local12 = 0;
while (_local12 < _local5) {
_local3 = (_local3 + _local2);
_local4 = (_local3 - (_local2 / 2));
_local8 = (_x + (Math.cos(_local3) * _xRadius));
_local9 = (_y + (Math.sin(_local3) * _yRadius));
_local10 = (_x + (Math.cos(_local4) * (_xRadius / Math.cos((_local2 / 2)))));
_local11 = (_y + (Math.sin(_local4) * (_yRadius / Math.cos((_local2 / 2)))));
this.graphics.curveTo(_local10, _local11, _local8, _local9);
_local12++;
};
this.graphics.lineTo(_x, _y);
};
this.graphics.endFill();
}
public function set yRadius(_arg1:Number){
_yRadius = _arg1;
drawWedge();
}
}
}//package console.shapes
Section 24
//StringUtils (console.strings.StringUtils)
package console.strings {
public class StringUtils {
private static function _swapCase(_arg1:String, ... _args):String{
var _local3:String;
var _local4:String;
_local3 = _arg1.toLowerCase();
_local4 = _arg1.toUpperCase();
switch (_arg1){
case _local3:
return (_local4);
case _local4:
return (_local3);
default:
return (_arg1);
};
}
public static function isEmpty(_arg1:String):Boolean{
if (_arg1 == null){
return (true);
};
return (!(_arg1.length));
}
public static function remove(_arg1:String, _arg2:String, _arg3:Boolean=true):String{
var _local4:String;
var _local5:String;
if (_arg1 == null){
return ("");
};
_local4 = escapePattern(_arg2);
_local5 = (_arg3) ? "g" : "ig";
return (_arg1.replace(new RegExp(_local4, _local5), ""));
}
public static function countOf(_arg1:String, _arg2:String, _arg3:Boolean=true):uint{
var _local4:String;
var _local5:String;
if (_arg1 == null){
return (0);
};
_local4 = escapePattern(_arg2);
_local5 = (_arg3) ? "g" : "ig";
return (_arg1.match(new RegExp(_local4, _local5)).length);
}
public static function between(_arg1:String, _arg2:String, _arg3:String):String{
var _local4:String;
var _local5:int;
var _local6:int;
_local4 = "";
if (_arg1 == null){
return (_local4);
};
_local5 = _arg1.indexOf(_arg2);
if (_local5 != -1){
_local5 = (_local5 + _arg2.length);
_local6 = _arg1.indexOf(_arg3, _local5);
if (_local6 != -1){
_local4 = _arg1.substr(_local5, (_local6 - _local5));
};
};
return (_local4);
}
public static function padRight(_arg1:String, _arg2:String, _arg3:uint):String{
var _local4:String;
_local4 = _arg1;
while (_local4.length < _arg3) {
_local4 = (_local4 + _arg2);
};
return (_local4);
}
public static function isNumeric(_arg1:String):Boolean{
var _local2:RegExp;
if (_arg1 == null){
return (false);
};
_local2 = /^[-+]?\d*\.?\d+(?:[eE][-+]?\d+)?$/;
return (_local2.test(_arg1));
}
public static function block(_arg1:String, _arg2:uint, _arg3:String="."):Array{
var _local4:Array;
var _local5:uint;
var _local6:uint;
var _local7:RegExp;
var _local8:String;
_local4 = new Array();
if ((((_arg1 == null)) || (!(contains(_arg1, _arg3))))){
return (_local4);
};
_local5 = 0;
_local6 = _arg1.length;
_local7 = new RegExp((("[^" + escapePattern(_arg3)) + "]+$"));
while (_local5 < _local6) {
_local8 = _arg1.substr(_local5, _arg2);
if (!contains(_local8, _arg3)){
_local4.push(truncate(_local8, _local8.length));
_local5 = (_local5 + _local8.length);
};
_local8 = _local8.replace(_local7, "");
_local4.push(_local8);
_local5 = (_local5 + _local8.length);
};
return (_local4);
}
public static function trim(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/^\s+|\s+$/g, ""));
}
public static function beginsWith(_arg1:String, _arg2:String):Boolean{
if (_arg1 == null){
return (false);
};
return ((_arg1.indexOf(_arg2) == 0));
}
public static function stripTags(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/<\/?[^>]+>/igm, ""));
}
public static function afterLast(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.lastIndexOf(_arg2);
if (_local3 == -1){
return ("");
};
_local3 = (_local3 + _arg2.length);
return (_arg1.substr(_local3));
}
private static function _minimum(_arg1:uint, _arg2:uint, _arg3:uint):uint{
return (Math.min(_arg1, Math.min(_arg2, Math.min(_arg3, _arg1))));
}
private static function escapePattern(_arg1:String):String{
return (_arg1.replace(/(\]|\[|\{|\}|\(|\)|\*|\+|\?|\.|\\)/g, "\\$1"));
}
public static function removeExtraWhitespace(_arg1:String):String{
var _local2:String;
if (_arg1 == null){
return ("");
};
_local2 = trim(_arg1);
return (_local2.replace(/\s+/g, " "));
}
public static function trimRight(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/\s+$/, ""));
}
public static function endsWith(_arg1:String, _arg2:String):Boolean{
return ((_arg1.lastIndexOf(_arg2) == (_arg1.length - _arg2.length)));
}
public static function contains(_arg1:String, _arg2:String):Boolean{
if (_arg1 == null){
return (false);
};
return (!((_arg1.indexOf(_arg2) == -1)));
}
public static function properCase(_arg1:String):String{
var _local2:String;
if (_arg1 == null){
return ("");
};
_local2 = _arg1.toLowerCase().replace(/\b([^.?;!]+)/, capitalize);
return (_local2.replace(/\b[i]\b/, "I"));
}
public static function trimLeft(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/^\s+/, ""));
}
public static function similarity(_arg1:String, _arg2:String):Number{
var _local3:uint;
var _local4:uint;
_local3 = editDistance(_arg1, _arg2);
_local4 = Math.max(_arg1.length, _arg2.length);
if (_local4 == 0){
return (100);
};
return (((1 - (_local3 / _local4)) * 100));
}
public static function wordCount(_arg1:String):uint{
if (_arg1 == null){
return (0);
};
return (_arg1.match(/\b\w+\b/g).length);
}
public static function editDistance(_arg1:String, _arg2:String):uint{
var _local3:uint;
var _local4:Array;
var _local5:uint;
var _local6:uint;
var _local7:uint;
var _local8:uint;
var _local9:String;
var _local10:String;
if (_arg1 == null){
_arg1 = "";
};
if (_arg2 == null){
_arg2 = "";
};
if (_arg1 == _arg2){
return (0);
};
_local4 = new Array();
_local6 = _arg1.length;
_local7 = _arg2.length;
if (_local6 == 0){
return (_local7);
};
if (_local7 == 0){
return (_local6);
};
_local3 = 0;
while (_local3 <= _local6) {
_local4[_local3] = new Array();
_local3++;
};
_local3 = 0;
while (_local3 <= _local6) {
_local4[_local3][0] = _local3;
_local3++;
};
_local8 = 0;
while (_local8 <= _local7) {
_local4[0][_local8] = _local8;
_local8++;
};
_local3 = 1;
while (_local3 <= _local6) {
_local9 = _arg1.charAt((_local3 - 1));
_local8 = 1;
while (_local8 <= _local7) {
_local10 = _arg2.charAt((_local8 - 1));
if (_local9 == _local10){
_local5 = 0;
} else {
_local5 = 1;
};
_local4[_local3][_local8] = _minimum((_local4[(_local3 - 1)][_local8] + 1), (_local4[_local3][(_local8 - 1)] + 1), (_local4[(_local3 - 1)][(_local8 - 1)] + _local5));
_local8++;
};
_local3++;
};
return (_local4[_local6][_local7]);
}
public static function hasText(_arg1:String):Boolean{
var _local2:String;
_local2 = removeExtraWhitespace(_arg1);
return (!(!(_local2.length)));
}
public static function reverse(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.split("").reverse().join(""));
}
public static function swapCase(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/(\w)/, _swapCase));
}
public static function capitalize(_arg1:String, ... _args):String{
var _local3:String;
_local3 = trimLeft(_arg1);
trace("capl", _args[0]);
if (_args[0] === true){
return (_local3.replace(/^.|\b./g, _upperCase));
};
return (_local3.replace(/(^\w)/, _upperCase));
}
public static function truncate(_arg1:String, _arg2:uint, _arg3:String="..."):String{
var _local4:String;
if (_arg1 == null){
return ("");
};
_arg2 = (_arg2 - _arg3.length);
_local4 = _arg1;
if (_local4.length > _arg2){
_local4 = _local4.substr(0, _arg2);
if (/[^\s]/.test(_arg1.charAt(_arg2))){
_local4 = trimRight(_local4.replace(/\w+$|\s+$/, ""));
};
_local4 = (_local4 + _arg3);
};
return (_local4);
}
public static function reverseWords(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.split(/\s+/).reverse().join(""));
}
public static function beforeFirst(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.indexOf(_arg2);
if (_local3 == -1){
return ("");
};
return (_arg1.substr(0, _local3));
}
private static function _upperCase(_arg1:String, ... _args):String{
trace("cap latter ", _arg1);
return (_arg1.toUpperCase());
}
public static function afterFirst(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.indexOf(_arg2);
if (_local3 == -1){
return ("");
};
_local3 = (_local3 + _arg2.length);
return (_arg1.substr(_local3));
}
public static function beforeLast(_arg1:String, _arg2:String):String{
var _local3:int;
if (_arg1 == null){
return ("");
};
_local3 = _arg1.lastIndexOf(_arg2);
if (_local3 == -1){
return ("");
};
return (_arg1.substr(0, _local3));
}
public static function padLeft(_arg1:String, _arg2:String, _arg3:uint):String{
var _local4:String;
_local4 = _arg1;
while (_local4.length < _arg3) {
_local4 = (_arg2 + _local4);
};
return (_local4);
}
public static function quote(_arg1:String):String{
var _local2:RegExp;
_local2 = /[\\"\r\n]/g;
return ((("\"" + _arg1.replace(_local2, _quote)) + "\""));
}
private static function _quote(_arg1:String, ... _args):String{
switch (_arg1){
case "\\":
return ("\\\\");
case "\r":
return ("\\r");
case "\n":
return ("\\n");
case "\"":
return ("\\\"");
default:
return ("");
};
}
}
}//package console.strings
Section 25
//MochiBot (console.trackers.MochiBot)
package console.trackers {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
trace("RUN MOCHIBOT TRACKING");
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package console.trackers
Section 26
//LanguageFilter (console.verification.LanguageFilter)
package console.verification {
import console.strings.*;
public class LanguageFilter {
private static const _arrAbuse:Array = new Array("bastard", "bitch", "bollock", "bollox", "cunt", "cock", "dick", "fisting", "fuck", "niger", "penis", "phedo", "piss", "pussy", "prick", "shit", "slag", "slut", "twat", "wog", "wank", "whore");
public static function containsSwearing(_arg1:String):Boolean{
var _local2:uint;
var _local3:int;
_local2 = _arrAbuse.length;
_local3 = 0;
while (_local3 < _local2) {
if (StringUtils.contains(_arg1.toLowerCase(), _arrAbuse[_local3])){
return (true);
};
_local3++;
};
return (false);
}
}
}//package console.verification
Section 27
//Back (gs.easing.Back)
package gs.easing {
public class Back {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2));
};
_arg1 = (_arg1 - 2);
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2));
}
}
}//package gs.easing
Section 28
//Circ (gs.easing.Circ)
package gs.easing {
public class Circ {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2));
}
}
}//package gs.easing
Section 29
//Elastic (gs.easing.Elastic)
package gs.easing {
public class Elastic {
private static const _2PI:Number = 6.28318530717959;
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
--_arg1;
return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * (0.3 * 1.5));
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
};
--_arg1;
return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) * 0.5) + _arg3) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) + _arg3) + _arg2));
}
}
}//package gs.easing
Section 30
//Linear (gs.easing.Linear)
package gs.easing {
public class Linear {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package gs.easing
Section 31
//TweenEvent (gs.events.TweenEvent)
package gs.events {
import flash.events.*;
public class TweenEvent extends Event {
public var info:Object;
public static const UPDATE:String = "update";
public static const START:String = "start";
public static const version:Number = 0.9;
public static const COMPLETE:String = "complete";
public function TweenEvent(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.info = _arg2;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.info, this.bubbles, this.cancelable));
}
}
}//package gs.events
Section 32
//OverwriteManager (gs.OverwriteManager)
package gs {
import flash.utils.*;
import flash.errors.*;
public class OverwriteManager {
public static const ALL:int = 1;
public static const NONE:int = 0;
public static const AUTO:int = 2;
public static const CONCURRENT:int = 3;
public static const version:Number = 0.96;
public static var mode:int;
public static var enabled:Boolean;
public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array, _arg4:Array, _arg5:Array):void{
var _local6:int;
var _local7:String;
_local6 = (_arg4.length - 1);
while (_local6 > -1) {
if (_arg1[_arg4[_local6].name] != undefined){
_arg4.splice(_local6, 1);
};
_local6--;
};
_local6 = (_arg3.length - 1);
while (_local6 > -1) {
if (_arg1[_arg3[_local6].name] != undefined){
_arg3.splice(_local6, 1);
};
_local6--;
};
_local6 = (_arg5.length - 1);
while (_local6 > -1) {
if (_arg1[_arg5[_local6].name] != undefined){
_arg5.splice(_local6, 1);
};
_local6--;
};
for (_local7 in _arg1) {
delete _arg2[_local7];
};
}
public static function manageOverwrites(_arg1:TweenLite, _arg2:Dictionary):void{
var _local3:Object;
var _local4:int;
var _local5:Object;
var _local6:Number;
var _local7:Array;
var _local8:int;
var _local9:Object;
var _local10:String;
_local3 = _arg1.vars;
_local4 = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite);
if (_local4 < 2){
return;
};
_local6 = _arg1.startTime;
_local7 = [];
for each (_local5 in _arg2) {
if (((!((_local5 == _arg1))) && ((_local5.startTime <= _local6)))){
_local7[_local7.length] = _local5;
};
};
if (_local7.length == 0){
return;
};
if (_local4 == AUTO){
if (_local3.isTV == true){
_local3 = _local3.exposedProps;
};
_local9 = {};
for (_local10 in _local3) {
if ((((((((((((((((((((((((((((((((((((((_local10 == "ease")) || ((_local10 == "delay")))) || ((_local10 == "overwrite")))) || ((_local10 == "onComplete")))) || ((_local10 == "onCompleteParams")))) || ((_local10 == "runBackwards")))) || ((_local10 == "persist")))) || ((_local10 == "onUpdate")))) || ((_local10 == "onUpdateParams")))) || ((_local10 == "timeScale")))) || ((_local10 == "onStart")))) || ((_local10 == "onStartParams")))) || ((_local10 == "renderOnStart")))) || ((_local10 == "proxiedEase")))) || ((_local10 == "easeParams")))) || ((_local10 == "onCompleteAll")))) || ((_local10 == "onCompleteAllParams")))) || ((_local10 == "yoyo")))) || ((_local10 == "loop")))){
} else {
_local9[_local10] = 1;
};
};
_local8 = (_local7.length - 1);
while (_local8 > -1) {
_local7[_local8].killVars(_local9);
_local8--;
};
} else {
_local8 = (_local7.length - 1);
while (_local8 > -1) {
_arg2[_local7[_local8]] = null;
delete _arg2[_local7[_local8]];
_local8--;
};
};
}
public static function init(_arg1:int=2):int{
if (TweenLite.version < 8.14){
trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.");
};
TweenLite.overwriteManager = OverwriteManager;
mode = _arg1;
enabled = true;
return (mode);
}
}
}//package gs
Section 33
//TweenFilterLite (gs.TweenFilterLite)
package gs {
import flash.filters.*;
public class TweenFilterLite extends TweenLite {
protected var _endMatrix:Array;
protected var _hf:Boolean;// = false
protected var _clrsa:Array;
protected var _filters:Array;
protected var _originalEase:Function;
protected var _matrix:Array;
protected var _cmf:ColorMatrixFilter;
public static var removeTween:Function = TweenLite.removeTween;
public static var defaultEase:Function = TweenLite.defaultEase;
private static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
private static var _lumB:Number = 0.072169;
public static var version:Number = 8.16;
public static var delayedCall:Function = TweenLite.delayedCall;
public static var killTweensOf:Function = TweenLite.killTweensOf;
private static var _lumG:Number = 0.71516;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _lumR:Number = 0.212671;
public function TweenFilterLite(_arg1:Object, _arg2:Number, _arg3:Object){
_hf = false;
_filters = [];
super(_arg1, _arg2, _arg3);
_originalEase = this.vars.ease;
if (TweenLite.version < 8.15){
trace("TweenFilterLite error! Please update your TweenLite class or try deleting your ASO files. TweenFilterLite requires a more recent version. Download updates at http://www.TweenLite.com.");
};
if (_arg3.type != undefined){
trace((("TweenFilterLite error: " + _arg1) + " is using deprecated syntax. Please update to the new syntax. See http://www.TweenFilterLite.com for details."));
};
}
override public function render(_arg1:uint):void{
var _local2:Number;
var _local3:Number;
var _local4:Object;
var _local5:int;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:int;
var _local10:Array;
_local2 = (((_arg1 - this.startTime) / 1000) * _timeScale);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((_originalEase == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.vars.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c));
_local5--;
};
if (_hf){
_local5 = (_clrsa.length - 1);
while (_local5 > -1) {
_local4 = _clrsa[_local5];
_local6 = (_local4.sr + (_local3 * _local4.cr));
_local7 = (_local4.sg + (_local3 * _local4.cg));
_local8 = (_local4.sb + (_local3 * _local4.cb));
_local4.f[_local4.p] = (((_local6 << 16) | (_local7 << 8)) | _local8);
_local5--;
};
if (_cmf != null){
ColorMatrixFilter(_cmf).matrix = _matrix;
};
_local10 = this.target.filters;
_local5 = 0;
while (_local5 < _filters.length) {
_local9 = (_local10.length - 1);
while (_local9 > -1) {
if ((_local10[_local9] is _filters[_local5].type)){
_local10.splice(_local9, 1, _filters[_local5].filter);
break;
};
_local9--;
};
_local5++;
};
this.target.filters = _local10;
};
if (_hst){
_local5 = (_subTweens.length - 1);
while (_local5 > -1) {
_subTweens[_local5].proxy(_subTweens[_local5]);
_local5--;
};
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function get timeScale():Number{
return (_timeScale);
}
public function set timeScale(_arg1:Number):void{
if (((_initted) && ((_curTime > (this.initTime + (this.delay * 1000)))))){
this.initTime = ((_curTime - (((_curTime - (this.initTime + (this.delay * 1000))) * _timeScale) * (1 / _arg1))) - (this.delay * 1000));
if (this.startTime != 99999999999){
this.startTime = (this.initTime + (this.delay * 1000));
};
};
_timeScale = _arg1;
}
override public function killVars(_arg1:Object):void{
if (TweenLite.overwriteManager.enabled){
TweenLite.overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, _filters);
};
}
override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{
var _local3:int;
var _local4:Object;
var _local5:Object;
var _local6:Object;
if (((((!(_arg1)) && (!((this.delay == 0))))) && (TweenLite.overwriteManager.enabled))){
TweenLite.overwriteManager.manageOverwrites(this, _all[this.target]);
};
_clrsa = [];
_filters = [];
_matrix = _idMatrix.slice();
_arg2 = (_arg2 + " blurFilter glowFilter colorMatrixFilter dropShadowFilter bevelFilter ");
if (_isDisplayObject){
if (this.vars.blurFilter != null){
_local4 = this.vars.blurFilter;
addFilter("blurFilter", _local4, BlurFilter, ["blurX", "blurY", "quality"], new BlurFilter(0, 0, ((_local4.quality) || (2))));
};
if (this.vars.glowFilter != null){
_local4 = this.vars.glowFilter;
addFilter("glowFilter", _local4, GlowFilter, ["alpha", "blurX", "blurY", "color", "quality", "strength", "inner", "knockout"], new GlowFilter(0xFFFFFF, 0, 0, 0, ((_local4.strength) || (1)), ((_local4.quality) || (2)), _local4.inner, _local4.knockout));
};
if (this.vars.colorMatrixFilter != null){
_local4 = this.vars.colorMatrixFilter;
_local5 = addFilter("colorMatrixFilter", _local4, ColorMatrixFilter, [], new ColorMatrixFilter(_matrix));
_cmf = _local5.filter;
_matrix = ColorMatrixFilter(_cmf).matrix;
if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){
_endMatrix = _local4.matrix;
} else {
if (_local4.relative == true){
_endMatrix = _matrix.slice();
} else {
_endMatrix = _idMatrix.slice();
};
_endMatrix = setBrightness(_endMatrix, _local4.brightness);
_endMatrix = setContrast(_endMatrix, _local4.contrast);
_endMatrix = setHue(_endMatrix, _local4.hue);
_endMatrix = setSaturation(_endMatrix, _local4.saturation);
_endMatrix = setThreshold(_endMatrix, _local4.threshold);
if (!isNaN(_local4.colorize)){
_endMatrix = colorize(_endMatrix, _local4.colorize, _local4.amount);
} else {
if (!isNaN(_local4.color)){
_endMatrix = colorize(_endMatrix, _local4.color, _local4.amount);
};
};
};
_local3 = 0;
while (_local3 < _endMatrix.length) {
if (((!((_matrix[_local3] == _endMatrix[_local3]))) && (!((_matrix[_local3] == undefined))))){
this.tweens[this.tweens.length] = {o:_matrix, p:_local3.toString(), s:_matrix[_local3], c:(_endMatrix[_local3] - _matrix[_local3]), name:"colorMatrixFilter"};
};
_local3++;
};
};
if (this.vars.dropShadowFilter != null){
_local4 = this.vars.dropShadowFilter;
addFilter("dropShadowFilter", _local4, DropShadowFilter, ["alpha", "angle", "blurX", "blurY", "color", "distance", "quality", "strength", "inner", "knockout", "hideObject"], new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_local4.quality) || (2)), _local4.inner, _local4.knockout, _local4.hideObject));
};
if (this.vars.bevelFilter != null){
_local4 = this.vars.bevelFilter;
addFilter("bevelFilter", _local4, BevelFilter, ["angle", "blurX", "blurY", "distance", "highlightAlpha", "highlightColor", "quality", "shadowAlpha", "shadowColor", "strength"], new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_local4.quality) || (2))));
};
if (this.vars.runBackwards == true){
_local3 = (_clrsa.length - 1);
while (_local3 > -1) {
_local6 = _clrsa[_local3];
_clrsa[_local3].sr = (_local6.sr + _local6.cr);
_local6.cr = (_local6.cr * -1);
_local6.sg = (_local6.sg + _local6.cg);
_local6.cg = (_local6.cg * -1);
_local6.sb = (_local6.sb + _local6.cb);
_local6.cb = (_local6.cb * -1);
_local6.f[_local6.p] = (((_local6.sr << 16) | (_local6.sg << 8)) | _local6.sb);
_local3--;
};
};
super.initTweenVals(true, _arg2);
} else {
super.initTweenVals(_arg1, _arg2);
};
}
private function addFilter(_arg1:String, _arg2:Object, _arg3:Class, _arg4:Array, _arg5:BitmapFilter):Object{
var _local6:Object;
var _local7:Array;
var _local8:int;
var _local9:String;
var _local10:Number;
var _local11:Object;
var _local12:Object;
_local6 = {type:_arg3, name:_arg1};
_local7 = this.target.filters;
_local8 = 0;
while (_local8 < _local7.length) {
if ((_local7[_local8] is _arg3)){
_local6.filter = _local7[_local8];
break;
};
_local8++;
};
if (_local6.filter == undefined){
_local6.filter = _arg5;
_local7[_local7.length] = _local6.filter;
this.target.filters = _local7;
};
_local8 = 0;
while (_local8 < _arg4.length) {
_local9 = _arg4[_local8];
if (_arg2[_local9] != undefined){
if ((((((_local9 == "color")) || ((_local9 == "highlightColor")))) || ((_local9 == "shadowColor")))){
_local11 = HEXtoRGB(_local6.filter[_local9]);
_local12 = HEXtoRGB(_arg2[_local9]);
_clrsa[_clrsa.length] = {f:_local6.filter, p:_local9, sr:_local11.rb, cr:(_local12.rb - _local11.rb), sg:_local11.gb, cg:(_local12.gb - _local11.gb), sb:_local11.bb, cb:(_local12.bb - _local11.bb)};
} else {
if ((((((((_local9 == "quality")) || ((_local9 == "inner")))) || ((_local9 == "knockout")))) || ((_local9 == "hideObject")))){
_local6.filter[_local9] = _arg2[_local9];
} else {
if (typeof(_arg2[_local9]) == "number"){
_local10 = (_arg2[_local9] - _local6.filter[_local9]);
} else {
_local10 = Number(_arg2[_local9]);
};
this.tweens[this.tweens.length] = {o:_local6.filter, p:_local9, s:_local6.filter[_local9], c:_local10, name:_arg1};
};
};
};
_local8++;
};
_filters[_filters.length] = _local6;
_hf = true;
return (_local6);
}
public static function setContrast(_arg1:Array, _arg2:Number):Array{
var _local3:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 + 0.01);
_local3 = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Array;
if (isNaN(_arg2)){
return (_arg1);
};
if (isNaN(_arg3)){
_arg3 = 1;
};
_local4 = (((_arg2 >> 16) & 0xFF) / 0xFF);
_local5 = (((_arg2 >> 8) & 0xFF) / 0xFF);
_local6 = ((_arg2 & 0xFF) / 0xFF);
_local7 = (1 - _arg3);
_local8 = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local8, _arg1));
}
public static function setBrightness(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = ((_arg2 * 100) - 100);
return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1));
}
public static function setSaturation(_arg1:Array, _arg2:Number):Array{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_local3 = (1 - _arg2);
_local4 = (_local3 * _lumR);
_local5 = (_local3 * _lumG);
_local6 = (_local3 * _lumB);
_local7 = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local7, _arg1));
}
public static function applyMatrix(_arg1:Array, _arg2:Array):Array{
var _local3:Array;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (_arg2);
};
_local3 = [];
_local4 = 0;
_local5 = 0;
_local6 = 0;
while (_local6 < 4) {
_local7 = 0;
while (_local7 < 5) {
if (_local7 == 4){
_local5 = _arg1[(_local4 + 4)];
} else {
_local5 = 0;
};
_local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5);
_local7++;
};
_local4 = (_local4 + 5);
_local6++;
};
return (_local3);
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{
_arg3.runBackwards = true;
return (new TweenFilterLite(_arg1, _arg2, _arg3));
}
public static function HEXtoRGB(_arg1:Number):Object{
return ({rb:(_arg1 >> 16), gb:((_arg1 >> 8) & 0xFF), bb:(_arg1 & 0xFF)});
}
public static function setThreshold(_arg1:Array, _arg2:Number):Array{
var _local3:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_local3 = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{
return (new TweenFilterLite(_arg1, _arg2, _arg3));
}
public static function setHue(_arg1:Array, _arg2:Number):Array{
var _local3:Number;
var _local4:Number;
var _local5:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 * (Math.PI / 180));
_local3 = Math.cos(_arg2);
_local4 = Math.sin(_arg2);
_local5 = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
return (applyMatrix(_local5, _arg1));
}
}
}//package gs
Section 34
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class TweenLite {
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _subTweens:Array;
protected var _initted:Boolean;
public var startTime:int;
public var target:Object;
public var duration:Number;
protected var _hst:Boolean;
protected var _isDisplayObject:Boolean;
protected var _active:Boolean;
public var vars:Object;
public var tweens:Array;
public var initTime:int;
protected var _timeScale:Number;
private static var _timer:Timer = new Timer(2000);
private static var _classInitted:Boolean;
public static var defaultEase:Function = TweenLite.easeOut;
public static var version:Number = 8.15;
protected static var _all:Dictionary = new Dictionary();
private static var _sprite:Sprite = new Sprite();
protected static var _curTime:uint;
public static var overwriteManager:Object;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _listening:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local4:int;
var _local5:*;
super();
if (_arg1 == null){
return;
};
if (!_classInitted){
_curTime = getTimer();
_sprite.addEventListener(Event.ENTER_FRAME, executeAll);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_classInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
_timeScale = ((_arg3.timeScale) || (1));
_active = (((_arg2 == 0)) && ((this.delay == 0)));
this.target = _arg1;
_isDisplayObject = (_arg1 is DisplayObject);
if (!(this.vars.ease is Function)){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
if (!isNaN(Number(this.vars.autoAlpha))){
this.vars.alpha = Number(this.vars.autoAlpha);
this.vars.visible = (this.vars.alpha > 0);
};
this.tweens = [];
_subTweens = [];
_hst = (_initted = false);
this.initTime = _curTime;
this.startTime = (this.initTime + (this.delay * 1000));
_local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if ((((_all[_arg1] == undefined)) || (((!((_arg1 == null))) && ((_local4 == 1)))))){
delete _all[_arg1];
_all[_arg1] = new Dictionary(true);
} else {
if ((((_local4 > 1)) && ((this.delay == 0)))){
overwriteManager.manageOverwrites(this, _all[_arg1]);
};
};
_all[_arg1][this] = this;
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (_active))){
initTweenVals();
if (_active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
_local5 = this.vars.visible;
if (this.vars.isTV == true){
_local5 = this.vars.exposedProps.visible;
};
if (((((!((_local5 == null))) && ((this.vars.runBackwards == true)))) && (_isDisplayObject))){
this.target.visible = Boolean(_local5);
};
};
if (((!(_listening)) && (!(_active)))){
_timer.addEventListener("timer", killGarbage);
_timer.start();
_listening = true;
};
}
protected function addSubTween(_arg1:String, _arg2:Function, _arg3:Object, _arg4:Object, _arg5:Object=null):void{
var _local6:Object;
var _local7:String;
_local6 = {name:_arg1, proxy:_arg2, target:_arg3, info:_arg5};
_subTweens[_subTweens.length] = _local6;
for (_local7 in _arg4) {
if (typeof(_arg4[_local7]) == "number"){
this.tweens[this.tweens.length] = {o:_arg3, p:_local7, s:_arg3[_local7], c:(_arg4[_local7] - _arg3[_local7]), sub:_local6, name:_arg1};
} else {
this.tweens[this.tweens.length] = {o:_arg3, p:_local7, s:_arg3[_local7], c:Number(_arg4[_local7]), sub:_local6, name:_arg1};
};
};
_hst = true;
}
public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{
var _local3:String;
var _local4:int;
var _local5:Object;
var _local6:Array;
var _local7:ColorTransform;
var _local8:ColorTransform;
var _local9:Object;
_local5 = this.vars;
if (_local5.isTV == true){
_local5 = _local5.exposedProps;
};
if (((((!(_arg1)) && (!((this.delay == 0))))) && (overwriteManager.enabled))){
overwriteManager.manageOverwrites(this, _all[this.target]);
};
if ((this.target is Array)){
_local6 = ((this.vars.endArray) || ([]));
_local4 = 0;
while (_local4 < _local6.length) {
if (((!((this.target[_local4] == _local6[_local4]))) && (!((this.target[_local4] == undefined))))){
this.tweens[this.tweens.length] = {o:this.target, p:_local4.toString(), s:this.target[_local4], c:(_local6[_local4] - this.target[_local4]), name:_local4.toString()};
};
_local4++;
};
} else {
if (((((!((typeof(_local5.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (_isDisplayObject))){
_local7 = this.target.transform.colorTransform;
_local8 = new ColorTransform();
if (_local5.alpha != undefined){
_local8.alphaMultiplier = _local5.alpha;
delete _local5.alpha;
} else {
_local8.alphaMultiplier = this.target.alpha;
};
if (((!((this.vars.removeTint == true))) && (((((!((_local5.tint == null))) && (!((_local5.tint == ""))))) || ((_local5.tint == 0)))))){
_local8.color = _local5.tint;
};
addSubTween("tint", tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local7, endColor:_local8});
};
if (((!((_local5.frame == null))) && (_isDisplayObject))){
addSubTween("frame", frameProxy, {frame:this.target.currentFrame}, {frame:_local5.frame}, {target:this.target});
};
if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){
addSubTween("volume", volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target});
};
for (_local3 in _local5) {
if ((((((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "autoOverwrite")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((_local3 == "timeScale")))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){
} else {
if (((!(((_isDisplayObject) && ((((((_local3 == "tint")) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){
if (typeof(_local5[_local3]) == "number"){
this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:(_local5[_local3] - this.target[_local3]), name:_local3};
} else {
this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:Number(_local5[_local3]), name:_local3};
};
};
};
};
};
if (this.vars.runBackwards == true){
_local4 = (this.tweens.length - 1);
while (_local4 > -1) {
_local9 = this.tweens[_local4];
this.tweens[_local4].s = (_local9.s + _local9.c);
_local9.c = (_local9.c * -1);
_local4--;
};
};
if ((((_local5.visible == true)) && (_isDisplayObject))){
this.target.visible = true;
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
_initted = true;
}
public function get active():Boolean{
if (_active){
return (true);
};
if (_curTime >= this.startTime){
_active = true;
if (!_initted){
initTweenVals();
} else {
if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){
this.target.visible = true;
};
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
return (true);
//unresolved jump
};
return (false);
}
public function render(_arg1:uint):void{
var _local2:Number;
var _local3:Number;
var _local4:Object;
var _local5:int;
_local2 = ((_arg1 - this.startTime) / 1000);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = 1;
} else {
_local3 = this.vars.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c));
_local5--;
};
if (_hst){
_local5 = (_subTweens.length - 1);
while (_local5 > -1) {
_subTweens[_local5].proxy(_subTweens[_local5]);
_local5--;
};
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, []);
};
}
public function complete(_arg1:Boolean=false):void{
if (!_arg1){
if (!_initted){
initTweenVals();
};
this.startTime = (_curTime - ((this.duration * 1000) / _timeScale));
render(_curTime);
return;
};
if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){
if (((!(isNaN(this.vars.autoAlpha))) && ((this.target.alpha == 0)))){
this.target.visible = false;
} else {
if (this.vars.runBackwards != true){
this.target.visible = this.vars.visible;
};
};
};
if (this.vars.persist != true){
removeTween(this);
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function frameProxy(_arg1:Object):void{
_arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame));
}
public static function removeTween(_arg1:TweenLite=null):void{
if (((!((_arg1 == null))) && (!((_all[_arg1.target] == undefined))))){
_all[_arg1.target][_arg1] = null;
delete _all[_arg1.target][_arg1];
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Object;
var _local4:*;
if (((!((_arg1 == null))) && (!((_all[_arg1] == undefined))))){
if (_arg2){
_local3 = _all[_arg1];
for (_local4 in _local3) {
_local3[_local4].complete(false);
};
};
delete _all[_arg1];
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function executeAll(_arg1:Event=null):void{
var _local2:uint;
var _local3:Dictionary;
var _local4:Object;
var _local5:Object;
_local2 = (_curTime = getTimer());
if (_listening){
_local3 = _all;
for each (_local4 in _local3) {
for (_local5 in _local4) {
if (((!((_local4[_local5] == undefined))) && (_local4[_local5].active))){
_local4[_local5].render(_local2);
};
};
};
};
}
public static function volumeProxy(_arg1:Object):void{
_arg1.info.target.soundTransform = _arg1.target;
}
public static function killGarbage(_arg1:TimerEvent):void{
var _local2:uint;
var _local3:Boolean;
var _local4:Object;
var _local5:Object;
var _local6:Object;
_local2 = 0;
for (_local4 in _all) {
_local3 = false;
for (_local5 in _all[_local4]) {
_local3 = true;
break;
};
if (!_local3){
delete _all[_local4];
} else {
_local2++;
};
};
if (_local2 == 0){
_timer.removeEventListener("timer", killGarbage);
_timer.stop();
_listening = false;
};
}
public static function tintProxy(_arg1:Object):void{
var _local2:Number;
var _local3:Number;
var _local4:Object;
var _local5:Object;
_local2 = _arg1.target.progress;
_local3 = (1 - _local2);
_local4 = _arg1.info.color;
_local5 = _arg1.info.endColor;
_arg1.info.target.transform.colorTransform = new ColorTransform(((_local4.redMultiplier * _local3) + (_local5.redMultiplier * _local2)), ((_local4.greenMultiplier * _local3) + (_local5.greenMultiplier * _local2)), ((_local4.blueMultiplier * _local3) + (_local5.blueMultiplier * _local2)), ((_local4.alphaMultiplier * _local3) + (_local5.alphaMultiplier * _local2)), ((_local4.redOffset * _local3) + (_local5.redOffset * _local2)), ((_local4.greenOffset * _local3) + (_local5.greenOffset * _local2)), ((_local4.blueOffset * _local3) + (_local5.blueOffset * _local2)), ((_local4.alphaOffset * _local3) + (_local5.alphaOffset * _local2)));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 35
//TweenMax (gs.TweenMax)
package gs {
import flash.events.*;
import flash.utils.*;
import gs.events.*;
public class TweenMax extends TweenFilterLite implements IEventDispatcher {
protected var _isProcessingComplete:Boolean;
protected var _dispatcher:EventDispatcher;
protected var _callbacks:Object;
protected var _pauseTime:int;
protected static const _RAD2DEG:Number = 57.2957795130823;
public static var removeTween:Function = TweenLite.removeTween;
private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init();
;
public static var defaultEase:Function = TweenLite.defaultEase;
public static var killTweensOf:Function = TweenLite.killTweensOf;
public static var version:Number = 2.19;
public static var killDelayedCallsTo:Function = TweenLite.killDelayedCallsTo;
public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){
super(_arg1, _arg2, _arg3);
_pauseTime = -1;
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
initDispatcher();
if ((((_arg2 == 0)) && ((this.delay == 0)))){
onUpdateDispatcher();
onCompleteDispatcher();
};
};
if ((((this.vars.yoyo == true)) || ((this.vars.loop == true)))){
this.vars.persist = true;
};
if (TweenFilterLite.version < 8.16){
trace("TweenMax error! Please update your TweenFilterLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com.");
};
}
override public function get active():Boolean{
if (_active){
return (true);
};
if (_pauseTime != -1){
return (false);
};
if (_curTime >= this.startTime){
_active = true;
if (!_initted){
initTweenVals();
} else {
if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){
this.target.visible = true;
};
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
return (true);
//unresolved jump
};
return (false);
}
public function get paused():Boolean{
if (_pauseTime != -1){
return (true);
};
return (false);
}
public function resume():void{
var _local1:Boolean;
var _local2:Number;
if (_pauseTime != -1){
_local1 = (_pauseTime > (this.initTime + (this.delay * 1000)));
_local2 = (_curTime - _pauseTime);
this.initTime = (this.initTime + _local2);
this.startTime = (this.initTime + (this.delay * 1000));
_pauseTime = -1;
if (((!(_local1)) && ((_curTime >= this.startTime)))){
_local1 = this.active;
} else {
_active = _local1;
};
};
}
protected function adjustStartValues():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Object;
var _local5:int;
_local1 = this.progress;
if (_local1 != 0){
_local2 = (1 / (1 - this.vars.ease((_local1 * this.duration), 0, 1, this.duration)));
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local3 = (_local4.s + _local4.c);
_local4.c = ((_local3 - _local4.o[_local4.p]) * _local2);
_local4.s = (_local3 - _local4.c);
_local5--;
};
};
}
override public function complete(_arg1:Boolean=false):void{
if (!_isProcessingComplete){
_isProcessingComplete = true;
if ((((this.vars.yoyo == true)) || ((this.vars.loop == true)))){
if (this.vars.yoyo == true){
reverse(false);
};
this.startTime = _curTime;
this.initTime = (this.startTime - (this.delay * 1000));
render(_curTime);
} else {
if (this.vars.persist == true){
pause();
};
};
super.complete(_arg1);
_isProcessingComplete = false;
};
}
public function invalidate(_arg1:Boolean=true):void{
var _local2:Number;
if (_initted){
_local2 = this.progress;
if (((!(_arg1)) && (!((_local2 == 0))))){
this.progress = 0;
};
this.tweens = [];
_subTweens = [];
initTweenVals();
if (_local2 != 0){
if (_arg1){
adjustStartValues();
} else {
this.progress = _local2;
};
};
};
}
public function willTrigger(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.willTrigger(_arg1));
}
public function get progress():Number{
var _local1:Number;
_local1 = (((((((_curTime - this.initTime) / 1000) - this.delay) / this.duration) * _timeScale)) || (0));
if (_local1 > 1){
return (1);
};
return (_local1);
}
public function dispatchEvent(_arg1:Event):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.dispatchEvent(_arg1));
}
override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{
var _local3:String;
var _local4:int;
var _local5:Object;
var _local6:Object;
var _local7:Array;
var _local8:Function;
_arg2 = (_arg2 + " hexColors bezier bezierThrough orientToBezier quaternions onCompleteAll onCompleteAllParams yoyo loop onCompleteListener onUpdateListener onStartListener ");
if (((((!(_arg1)) && (!((this.delay == 0))))) && (TweenLite.overwriteManager.enabled))){
TweenLite.overwriteManager.manageOverwrites(this, _all[this.target]);
};
_local8 = bezierProxy;
if (this.vars.orientToBezier == true){
this.vars.orientToBezier = [["x", "y", "rotation", 0]];
_local8 = bezierProxy2;
} else {
if ((this.vars.orientToBezier is Array)){
_local8 = bezierProxy2;
};
};
if (((!((this.vars.bezier == undefined))) && ((this.vars.bezier is Array)))){
_local6 = {};
_local7 = this.vars.bezier;
_local4 = 0;
while (_local4 < _local7.length) {
for (_local3 in _local7[_local4]) {
if (_local6[_local3] == undefined){
_local6[_local3] = [this.target[_local3]];
};
if (typeof(_local7[_local4][_local3]) == "number"){
_local6[_local3].push(_local7[_local4][_local3]);
} else {
_local6[_local3].push((this.target[_local3] + Number(_local7[_local4][_local3])));
};
};
_local4++;
};
for (_local3 in _local6) {
if (typeof(this.vars[_local3]) == "number"){
_local6[_local3].push(this.vars[_local3]);
} else {
_local6[_local3].push((this.target[_local3] + Number(this.vars[_local3])));
};
delete this.vars[_local3];
};
addSubTween("bezier", _local8, {t:0}, {t:1}, {props:parseBeziers(_local6, false), target:this.target, orientToBezier:this.vars.orientToBezier});
};
if (((!((this.vars.bezierThrough == undefined))) && ((this.vars.bezierThrough is Array)))){
_local6 = {};
_local7 = this.vars.bezierThrough;
_local4 = 0;
while (_local4 < _local7.length) {
for (_local3 in _local7[_local4]) {
if (_local6[_local3] == undefined){
_local6[_local3] = [this.target[_local3]];
};
if (typeof(_local7[_local4][_local3]) == "number"){
_local6[_local3].push(_local7[_local4][_local3]);
} else {
_local6[_local3].push((this.target[_local3] + Number(_local7[_local4][_local3])));
};
};
_local4++;
};
for (_local3 in _local6) {
if (typeof(this.vars[_local3]) == "number"){
_local6[_local3].push(this.vars[_local3]);
} else {
_local6[_local3].push((this.target[_local3] + Number(this.vars[_local3])));
};
delete this.vars[_local3];
};
addSubTween("bezierThrough", _local8, {t:0}, {t:1}, {props:parseBeziers(_local6, true), target:this.target, orientToBezier:this.vars.orientToBezier});
};
if (((!((this.vars.hexColors == undefined))) && ((typeof(this.vars.hexColors) == "object")))){
for (_local3 in this.vars.hexColors) {
addSubTween("hexColors", hexColorsProxy, {r:(this.target[_local3] >> 16), g:((this.target[_local3] >> 8) & 0xFF), b:(this.target[_local3] & 0xFF)}, {r:(this.vars.hexColors[_local3] >> 16), g:((this.vars.hexColors[_local3] >> 8) & 0xFF), b:(this.vars.hexColors[_local3] & 0xFF)}, {prop:_local3, target:this.target});
};
};
super.initTweenVals(true, _arg2);
}
protected function onStartDispatcher(... _args):void{
if (_callbacks.onStart != null){
_callbacks.onStart.apply(null, this.vars.onStartParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START));
}
public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{
var _local4:Number;
var _local5:Object;
var _local6:int;
var _local7:Object;
var _local8:Array;
var _local9:Array;
_local4 = this.progress;
if (((!((this.vars[_arg1] == undefined))) && (_initted))){
if (((!(_arg3)) && (!((_local4 == 0))))){
_local6 = (this.tweens.length - 1);
while (_local6 > -1) {
if (this.tweens[_local6].name == _arg1){
this.tweens[_local6].o[this.tweens[_local6].p] = this.tweens[_local6].s;
};
_local6--;
};
};
_local5 = {};
_local5[_arg1] = 1;
killVars(_local5);
};
this.vars[_arg1] = _arg2;
if (_initted){
_local7 = this.vars;
_local8 = this.tweens;
_local9 = _subTweens;
this.vars = {};
this.tweens = [];
_subTweens = [];
this.vars[_arg1] = _arg2;
initTweenVals();
if (((_arg3) && (!((_local4 == 0))))){
this.vars.ease = _local7.ease;
adjustStartValues();
};
this.vars = _local7;
this.tweens = _local8.concat(this.tweens);
_subTweens = _local9.concat(_subTweens);
};
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (_dispatcher == null){
initDispatcher();
};
_dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function restart():void{
this.progress = 0;
resume();
}
protected function initDispatcher():void{
var _local1:Object;
var _local2:String;
if (_dispatcher == null){
_dispatcher = new EventDispatcher(this);
_callbacks = {onStart:this.vars.onStart, onUpdate:this.vars.onUpdate, onComplete:this.vars.onComplete};
_local1 = {};
for (_local2 in this.vars) {
_local1[_local2] = this.vars[_local2];
};
this.vars = _local1;
this.vars.onStart = onStartDispatcher;
this.vars.onUpdate = onUpdateDispatcher;
this.vars.onComplete = onCompleteDispatcher;
if ((this.vars.onStartListener is Function)){
_dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true);
};
if ((this.vars.onUpdateListener is Function)){
_dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true);
};
if ((this.vars.onCompleteListener is Function)){
_dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true);
};
};
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (_dispatcher != null){
_dispatcher.removeEventListener(_arg1, _arg2, _arg3);
};
}
public function killProperties(_arg1:Array):void{
var _local2:Object;
var _local3:int;
_local2 = {};
_local3 = (_arg1.length - 1);
while (_local3 > -1) {
if (this.vars[_arg1[_local3]] != null){
_local2[_arg1[_local3]] = 1;
};
_local3--;
};
killVars(_local2);
}
public function set progress(_arg1:Number):void{
var _local2:Number;
var _local3:Boolean;
var _local4:*;
_local2 = (_curTime - ((this.duration * _arg1) * 1000));
this.initTime = (_local2 - (this.delay * 1000));
this.startTime = _local2;
_local3 = this.active;
render(_curTime);
if (_pauseTime != -1){
this.startTime = 99999999999;
};
_local4 = this.vars.visible;
if (this.vars.isTV == true){
_local4 = this.vars.exposedProps.visible;
};
if (((((!((_local4 == null))) && (_isDisplayObject))) && ((_arg1 < 1)))){
this.target.visible = Boolean(_local4);
};
}
public function reverse(_arg1:Boolean=true):void{
this.vars.ease = ((this.vars.ease)==_originalEase) ? reverseEase : _originalEase;
if (((_arg1) && ((_curTime > (this.initTime + (this.delay * 1000)))))){
this.initTime = ((_curTime - ((((1 - this.progress) * this.duration) * 1000) / _timeScale)) - (this.delay * 1000));
if (_pauseTime == -1){
this.startTime = (this.initTime + (this.delay * 1000));
};
};
resume();
}
public function set paused(_arg1:Boolean):void{
if (_arg1){
this.pause();
} else {
this.resume();
};
}
protected function onUpdateDispatcher(... _args):void{
if (_callbacks.onUpdate != null){
_callbacks.onUpdate.apply(null, this.vars.onUpdateParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE));
}
public function hasEventListener(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.hasEventListener(_arg1));
}
public function pause():void{
if (_pauseTime == -1){
_pauseTime = _curTime;
this.startTime = 99999999999;
_active = false;
};
}
public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (_originalEase((_arg4 - _arg1), _arg2, _arg3, _arg4));
}
protected function onCompleteDispatcher(... _args):void{
if (_callbacks.onComplete != null){
_callbacks.onComplete.apply(null, this.vars.onCompleteParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE));
}
public static function sequence(_arg1:Object, _arg2:Array):Array{
var _local3:uint;
_local3 = 0;
while (_local3 < _arg2.length) {
_arg2[_local3].target = _arg1;
_local3++;
};
return (multiSequence(_arg2));
}
public static function hexColorsProxy(_arg1:Object):void{
_arg1.info.target[_arg1.info.prop] = uint((((_arg1.target.r << 16) | (_arg1.target.g << 8)) | _arg1.target.b));
}
public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{
var _local3:int;
var _local4:Array;
var _local5:Object;
var _local6:String;
var _local7:Object;
_local7 = {};
if (_arg2){
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 2){
_local5[_local5.length] = {s:_local4[0], cp:(_local4[1] - ((_local4[2] - _local4[0]) / 4)), e:_local4[1]};
_local3 = 1;
while (_local3 < (_local4.length - 1)) {
_local5[_local5.length] = {s:_local4[_local3], cp:(_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)].cp)), e:_local4[(_local3 + 1)]};
_local3++;
};
} else {
_local5[_local5.length] = {s:_local4[0], cp:((_local4[0] + _local4[1]) / 2), e:_local4[1]};
};
};
} else {
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 3){
_local5[_local5.length] = {s:_local4[0], cp:_local4[1], e:((_local4[1] + _local4[2]) / 2)};
_local3 = 2;
while (_local3 < (_local4.length - 2)) {
_local5.push({s:_local5[(_local3 - 2)].e, cp:_local4[_local3], e:((_local4[_local3] + _local4[(_local3 + 1)]) / 2)});
_local3++;
};
_local5[_local5.length] = {s:_local5[(_local5.length - 1)].e, cp:_local4[(_local4.length - 2)], e:_local4[(_local4.length - 1)]};
} else {
if (_local4.length == 3){
_local5[_local5.length] = {s:_local4[0], cp:_local4[1], e:_local4[2]};
} else {
if (_local4.length == 2){
_local5[_local5.length] = {s:_local4[0], cp:((_local4[0] + _local4[1]) / 2), e:_local4[1]};
};
};
};
};
};
return (_local7);
}
public static function bezierProxy2(_arg1:Object):void{
var _local2:Object;
var _local3:Object;
var _local4:Array;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Array;
var _local9:Number;
var _local10:uint;
bezierProxy(_arg1);
_local2 = {};
_local3 = _arg1.info.target;
_arg1.info.target = _local2;
_arg1.target.t = (_arg1.target.t + 0.01);
bezierProxy(_arg1);
_local4 = _arg1.info.orientToBezier;
_local10 = 0;
while (_local10 < _local4.length) {
_local8 = _local4[_local10];
_local9 = ((_local8[3]) || (0));
_local6 = (_local2[_local8[0]] - _local3[_local8[0]]);
_local7 = (_local2[_local8[1]] - _local3[_local8[1]]);
_local3[_local8[2]] = ((Math.atan2(_local7, _local6) * _RAD2DEG) + _local9);
_local10++;
};
_arg1.info.target = _local3;
_arg1.target.t = (_arg1.target.t - 0.01);
}
public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(true, _arg1, _arg2);
}
public static function getTweensOf(_arg1:Object):Array{
var _local2:Dictionary;
var _local3:Array;
var _local4:Object;
_local2 = _all[_arg1];
_local3 = [];
if (_local2 != null){
for (_local4 in _local2) {
if (_local2[_local4].tweens != undefined){
_local3[_local3.length] = _local2[_local4];
};
};
};
return (_local3);
}
public static function multiSequence(_arg1:Array):Array{
var _local2:Dictionary;
var _local3:Array;
var _local4:int;
var _local5:Number;
var _local6:Object;
var _local7:Object;
var _local8:Number;
var _local9:Number;
var _local10:uint;
var _local11:Object;
var _local12:String;
_local2 = new Dictionary();
_local3 = [];
_local4 = TweenLite.overwriteManager.mode;
_local5 = 0;
_local10 = 0;
while (_local10 < _arg1.length) {
_local6 = _arg1[_local10];
_local9 = ((_local6.time) || (0));
_local11 = {};
for (_local12 in _local6) {
_local11[_local12] = _local6[_local12];
};
delete _local11.time;
_local8 = ((_local11.delay) || (0));
_local11.delay = (_local5 + _local8);
_local7 = _local11.target;
delete _local11.target;
if (_local4 == 1){
if (_local2[_local7] == undefined){
_local2[_local7] = _local11;
} else {
_local11.overwrite = 2;
};
};
_local3[_local3.length] = new TweenMax(_local7, _local9, _local11);
_local5 = (_local5 + (_local9 + _local8));
_local10++;
};
return (_local3);
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenMax{
return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:Array;
var _local3:int;
_local2 = getTweensOf(_arg1);
_local3 = (_local2.length - 1);
while (_local3 > -1) {
if (_local2[_local3].active){
return (true);
};
_local3--;
};
return (false);
}
public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{
var _local4:Array;
var _local5:int;
_local4 = getAllTweens();
_local5 = (_local4.length - 1);
while (_local5 > -1) {
if (((((_local4[_local5].target is Function) == _arg3)) || (!(((_local4[_local5].target is Function) == _arg2))))){
if (_arg1){
_local4[_local5].complete();
} else {
TweenLite.removeTween(_local4[_local5]);
};
};
_local5--;
};
}
public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{
var _local4:Array;
var _local5:int;
_local4 = getAllTweens();
_local5 = (_local4.length - 1);
while (_local5 > -1) {
if ((((_local4[_local5] is TweenMax)) && (((((_local4[_local5].target is Function) == _arg3)) || (!(((_local4[_local5].target is Function) == _arg2))))))){
_local4[_local5].paused = _arg1;
};
_local5--;
};
}
public static function bezierProxy(_arg1:Object):void{
var _local2:Number;
var _local3:Object;
var _local4:Object;
var _local5:int;
var _local6:String;
var _local7:Object;
var _local8:Number;
var _local9:uint;
_local2 = _arg1.target.t;
_local3 = _arg1.info.props;
_local4 = _arg1.info.target;
if (_local2 == 1){
for (_local6 in _local3) {
_local5 = (_local3[_local6].length - 1);
_local4[_local6] = _local3[_local6][_local5].e;
};
} else {
for (_local6 in _local3) {
_local9 = _local3[_local6].length;
if (_local2 < 0){
_local5 = 0;
} else {
if (_local2 >= 1){
_local5 = (_local9 - 1);
} else {
_local5 = int((_local9 * _local2));
};
};
_local8 = ((_local2 - (_local5 * (1 / _local9))) * _local9);
_local7 = _local3[_local6][_local5];
_local4[_local6] = (_local7.s + (_local8 * (((2 * (1 - _local8)) * (_local7.cp - _local7.s)) + (_local8 * (_local7.e - _local7.s)))));
};
};
}
public static function callbackProxy(_arg1:Array, _arg2:Array=null):void{
var _local3:uint;
_local3 = 0;
while (_local3 < _arg1.length) {
if (_arg1[_local3] != undefined){
_arg1[_local3].apply(null, _arg2[_local3]);
};
_local3++;
};
}
public static function allFrom(_arg1:Array, _arg2:Number, _arg3:Object):Array{
_arg3.runBackwards = true;
return (allTo(_arg1, _arg2, _arg3));
}
public static function killAllDelayedCalls(_arg1:Boolean=false):void{
killAll(_arg1, false, true);
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
_arg3.runBackwards = true;
return (new TweenMax(_arg1, _arg2, _arg3));
}
public static function killAllTweens(_arg1:Boolean=false):void{
killAll(_arg1, true, false);
}
public static function getAllTweens():Array{
var _local1:Dictionary;
var _local2:Array;
var _local3:Object;
var _local4:Object;
_local1 = _all;
_local2 = [];
for (_local3 in _local1) {
for (_local4 in _local1[_local3]) {
if (_local1[_local3][_local4] != undefined){
_local2[_local2.length] = _local1[_local3][_local4];
};
};
};
return (_local2);
}
public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(false, _arg1, _arg2);
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
return (new TweenMax(_arg1, _arg2, _arg3));
}
public static function allTo(_arg1:Array, _arg2:Number, _arg3:Object):Array{
var _local4:int;
var _local5:Object;
var _local6:String;
var _local7:Number;
var _local8:Object;
var _local9:Array;
var _local10:Number;
if (_arg1.length == 0){
return ([]);
};
_local9 = [];
_local10 = ((_arg3.delayIncrement) || (0));
delete _arg3.delayIncrement;
if (_arg3.onCompleteAll == undefined){
_local8 = _arg3;
} else {
_local8 = {};
for (_local6 in _arg3) {
_local8[_local6] = _arg3[_local6];
};
_local8.onCompleteParams = [[_arg3.onComplete, _arg3.onCompleteAll], [_arg3.onCompleteParams, _arg3.onCompleteAllParams]];
_local8.onComplete = TweenMax.callbackProxy;
delete _arg3.onCompleteAll;
};
delete _arg3.onCompleteAllParams;
if (_local10 == 0){
_local4 = 0;
while (_local4 < (_arg1.length - 1)) {
_local5 = {};
for (_local6 in _arg3) {
_local5[_local6] = _arg3[_local6];
};
_local9[_local9.length] = new TweenMax(_arg1[_local4], _arg2, _local5);
_local4++;
};
} else {
_local7 = ((_arg3.delay) || (0));
_local4 = 0;
while (_local4 < (_arg1.length - 1)) {
_local5 = {};
for (_local6 in _arg3) {
_local5[_local6] = _arg3[_local6];
};
_local5.delay = (_local7 + (_local4 * _local10));
_local9[_local9.length] = new TweenMax(_arg1[_local4], _arg2, _local5);
_local4++;
};
_local8.delay = (_local7 + ((_arg1.length - 1) * _local10));
};
_local9[_local9.length] = new TweenMax(_arg1[(_arg1.length - 1)], _arg2, _local8);
if ((_arg3.onCompleteAllListener is Function)){
_local9[(_local9.length - 1)].addEventListener(TweenEvent.COMPLETE, _arg3.onCompleteAllListener);
};
return (_local9);
}
}
}//package gs
Section 36
//DynamicButton (koko.DynamicButton)
package koko {
import flash.events.*;
import flash.display.*;
public class DynamicButton extends MovieClip {
public function DynamicButton(){
this.stop();
this.buttonMode = true;
this.mouseChildren = false;
this.addEventListener(MouseEvent.MOUSE_OVER, rOver);
this.addEventListener(MouseEvent.MOUSE_OUT, rOut);
}
public function rOver(_arg1:MouseEvent){
gotoAndPlay("over");
}
public function rOut(_arg1:MouseEvent){
gotoAndPlay("out");
}
}
}//package koko
Section 37
//GameEngine (src.GameEngine)
package src {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.*;
import flash.utils.*;
import console.trackers.*;
import com.stampy.cookies.*;
import com.stampy.scores.*;
import gs.easing.*;
import com.stampy.arrays.*;
import console.strings.*;
import com.memecounter.*;
import console.math.*;
import com.stampy.validation.*;
import com.stampy.frames.*;
import console.security.*;
import console.loadurl.*;
import console.verification.*;
import console.parsers.*;
import com.stampy.forms.*;
import flash.text.*;
import console.shapes.*;
import flash.system.*;
public class GameEngine extends MovieClip {
private const ACTION:String = "/data.php";
private const ACTION_SCORES:String = "/data.php?action=scores_daily_xml";
private const ACTION_TOKEN:String = "/data.php?action=request_token";
private const _strURL:String = "http://travelpursuit.viral-game.co.uk/data.php";
private const _externalXML:String = "http://travelpursuit.viral-game.co.uk/xml/questions.xml";
private const DOMAIN:String = "http://travelpursuit.viral-game.co.uk";
private const _INT_TIME_ALLOWED:int = 15000;
private const CROSSDOMAIN_A:String = "http://travelpursuit.viral-game.co.uk/crossdomain.xml";
private const CROSSDOMAIN_B:String = "http://www.viral-game.co.uk/crossdomain.xml";
public var winPrizesSubmit_mc:MovieClip;
private var _intCorrectAnswers:int;// = 0
private var _strSelectedContinent:String;// = ""
private var _intTimeBonus:int;
private var _isVisited_SA:Boolean;
private var _timer_mc;
private var _country:String;
private var _intDestinationID:int;// = 2
private var _isDestinationSelected:Boolean;
private var _intTotalTimeTaken:int;// = 0
public var sideNav_mc:MovieClip;
private var _strContinent:String;// = ""
private var _arrQuestionOrder;
public var question_mc:MovieClip;
private var _intQuestionBonus:int;
private var _intBonusPoints:int;// = 0
public var difficulty_mc:MovieClip;
public var submitScore_mc:MovieClip;
private var _strPrefix;// = "Mr"
private var _isVisited_Europe:Boolean;
private var isOkFunction:Boolean;// = false
private var _intTimeTaken:int;// = 0
private var _isBonus3Used;// = false
private var _cookieName:String;// = "TP1"
public var subscribeBTN:MovieClip;
private var _funOk;// = "backToMainMenu"
private var _xmlDoc:XML;
private var _strDifficulty:String;// = "Easy"
private var _youAreHere_mc:MovieClip;
private var _isBonusAnswered:Boolean;// = false
private var _xmlQuestions:XML;
public var win_mc:MovieClip;
public var newsletter_mc:MovieClip;
private var _intCurrentRound:int;// = 1
public var twitterBTN:MovieClip;
public var SoundBTN:MovieClip;
private var _globe:MovieClip;
private var _isOptIn;// = 0
public var highScores_mc:MovieClip;
private var _token:String;
private var _isBonus2Used;// = false
public var round_points_mc:MovieClip;
private var _intStartTime:int;// = 0
var _objTween:Object;
private var _xmlCountryList:XMLList;
private var _intGameTotal:int;// = 0
private var _backgroundMC;
public var howToPlay_mc:MovieClip;
private var _intCurrentQuestion:int;// = 1
private var _preloader;
private var _imgPass:ParseIMG;
private var _intBonusRoundCurrentPoint:int;// = 0
private var _isTerms;// = 0
private var _isGameInPlay:Boolean;// = false
private var _isVisited_USA:Boolean;
private var _scores:Scoreboard;
private var _isVisited_Asia:Boolean;
public var koko_btn:kokoButtonMC;
public var destination_mc:MovieClip;
public var messageBox_mc:MovieClip;
private var _gameSounds:GameSounds;
public var timer_bar_mc:MovieClip;
private var _isVisited_Africa:Boolean;
private var _cookie:FlashCookie;
private var _xmlPass:ParseXML;
private var _isBonus1Used;// = false
private var _menu_mainMenu:MovieClip;
private var _intRoundTotal:int;// = 0
public var facebookBTN:MovieClip;
private var _globePoints:MovieClip;// = null
private var _isVisited_Australia:Boolean;
private var _cookieData:Object;
public var cheapFlights_btn:SimpleButton;
public var imageHolder_mc:MovieClip;
private var _previousPointMC;// = null
private var _intDestinationsVisited:int;// = 0
public var share_mc:MovieClip;
public function GameEngine():void{
_objTween = new Object();
_xmlDoc = XMLQuestions._xmlDoc;
_xmlPass = new ParseXML();
_arrQuestionOrder = new Array(0, 1, 2, 3, 4, 5);
_isOptIn = 0;
_isTerms = 0;
_timer_mc = new Wedge(90, 0, -22.5, 22.5, 8894436);
isOkFunction = false;
_funOk = "backToMainMenu";
_intCurrentRound = 1;
_intCurrentQuestion = 1;
_intDestinationID = 2;
_intDestinationsVisited = 0;
_isBonus1Used = false;
_isBonus2Used = false;
_isBonus3Used = false;
_strSelectedContinent = "";
_strContinent = "";
_strDifficulty = "Easy";
_intStartTime = 0;
_intTimeTaken = 0;
_intTotalTimeTaken = 0;
_intRoundTotal = 0;
_intGameTotal = 0;
_intCorrectAnswers = 0;
_imgPass = new ParseIMG();
_strPrefix = "Mr";
_backgroundMC = new MovieClip();
_preloader = new preloaderMC();
_isGameInPlay = false;
_cookieName = "TP1";
_cookieData = {PLAYER_SCORE:0};
_intBonusRoundCurrentPoint = 0;
_intBonusPoints = 0;
_isBonusAnswered = false;
_previousPointMC = null;
_globePoints = null;
super();
addFrameScript(2, frame3);
crossDomain();
security();
MochiBot.track(this, "c2339bd6");
Tracker.init(686, root);
if (stage){
buildPreloader();
} else {
addEventListener(Event.ADDED_TO_STAGE, buildPreloader);
};
}
private function showQuestion(_arg1:Boolean=false){
playMenuSlideInSound(0.5);
if (_arg1){
} else {
TweenMax.to(_objTween, 0.5, {onComplete:beginCountdown});
};
TweenMax.to(question_mc, 0.8, {delay:0.5, x:0, ease:Back.easeOut});
if (_arg1){
} else {
TweenMax.to(timer_bar_mc, 0.8, {delay:0.5, y:0, ease:Back.easeOut});
};
}
private function hideMainMenu(){
_gameSounds.playSound("panel_slide_out", "_sfxChannel");
if (_menu_mainMenu.currentFrame < 41){
_menu_mainMenu.gotoAndPlay(42);
};
TweenMax.to(_menu_mainMenu.logo_mc, 0.8, {x:-230, ease:Back.easeInOut});
TweenMax.to(_menu_mainMenu.menu_mc, 0.5, {x:-330});
}
private function showSubmitScore(){
updateScoreCookie();
_isGameInPlay = false;
TweenMax.to(submitScore_mc.content_mc, 0.5, {x:0});
TweenMax.to(winPrizesSubmit_mc, 0.5, {delay:0.5, x:820, ease:Circ.easeOut});
submitScore_mc.content_mc.txtScore.text = _intGameTotal;
}
private function clearQuestionMC(_arg1:Boolean=false){
resetCountdown();
if (_arg1){
} else {
_intCurrentQuestion++;
};
removeQuestionMCs();
question_mc.correctWrong_mc.y = 411;
if (_isGameInPlay){
if (_intCurrentQuestion <= 5){
buildQuestion(_arg1);
} else {
if ((((_intCorrectAnswers >= 3)) && (!(_isBonusAnswered)))){
buildBonusRound();
} else {
_intCurrentQuestion = 1;
showRoundOver();
};
};
};
}
private function checkSubmitForm(_arg1, _arg2, _arg3, _arg4, _arg5:Boolean=false):void{
var _local6:Boolean;
var _local7:String;
var _local8:String;
var _local9:String;
var _local10:String;
var _local11:String;
isOkFunction = false;
_local6 = true;
if (_arg5){
_local7 = StringUtils.removeExtraWhitespace(_arg1.txt_yourFirstName.text);
} else {
_local7 = StringUtils.removeExtraWhitespace(_arg1.txt_firstName.text);
};
if (_arg5){
_local8 = StringUtils.removeExtraWhitespace(_arg1.txt_yourSurname.text);
} else {
_local8 = StringUtils.removeExtraWhitespace(_arg1.txt_surname.text);
};
if (_arg5){
_local9 = StringUtils.removeExtraWhitespace(_arg1.txt_yourEmail.text);
} else {
_local9 = StringUtils.removeExtraWhitespace(_arg1.txt_email.text);
};
_local10 = "";
if (_arg5){
_local10 = StringUtils.removeExtraWhitespace(_arg1.txt_friendEmail.text);
//unresolved jump
};
_local11 = "";
if (_arg5){
} else {
_local11 = StringUtils.removeExtraWhitespace(_arg1.txt_postcode.text);
};
if (_local7 == "Your First Name"){
messageBox_mc.txtMessage.text = "Please enter your first name.";
_local6 = false;
} else {
if (_local8 == "Your Surname"){
messageBox_mc.txtMessage.text = "Please enter your surname.";
_local6 = false;
} else {
if (_local11 == "Postcode"){
messageBox_mc.txtMessage.text = "Please enter your postcode.";
_local6 = false;
} else {
if (_arg2 == 0){
messageBox_mc.txtMessage.text = "You must agree to our Terms & Conditions.";
_local6 = false;
};
};
};
};
messageBox_mc.gotoAndStop(2);
if (_local6){
submitData(_local7, _local8, _local9, _local10, _local11, _arg4, _arg3, _arg5);
} else {
messageBox_mc.visible = true;
};
}
private function setupTickBoxes(){
share_mc.content_mc.tickBox_optin_mc.buttonMode = true;
submitScore_mc.content_mc.tickBox_optin_mc.buttonMode = true;
submitScore_mc.content_mc.tickBox_terms_mc.buttonMode = true;
}
private function textFocusIn(_arg1:FocusEvent){
var _local2:String;
if ((_arg1.target is TextField)){
_local2 = StringUtils.removeExtraWhitespace(_arg1.target.text);
switch (_local2){
case "Your Name":
case "Your Email":
case "Friend Email":
case "Your First Name":
case "Your Surname":
case "First Name":
case "Surname":
case "Email":
case "Postcode":
_arg1.target.text = "";
break;
};
};
}
private function plotWorldQuestion(_arg1, _arg2){
var globe:*;
var ci:*;
var i:*;
var objCountry:*;
var prevPoint:MovieClip;
var pi:*;
var isUniqueCountry:*;
var intRandCountry:*;
var randomCountry:*;
var newPoint:MovieClip;
var intAnswers = _arg1;
var xmlQuestion = _arg2;
globe = new GlobePlotMC();
setQuestionTitle(xmlQuestion);
question_mc.question_background_mc.gotoAndStop(2);
_xmlCountryList = new XMLList();
_xmlCountryList = _xmlDoc.countries.country.(@name != xmlQuestion.country.@name);
question_mc.fifty_btn.visible = false;
question_mc.auto_btn.visible = false;
question_mc.swap_btn.visible = false;
ci = 0;
while (ci < _xmlCountryList.length()) {
_xmlCountryList[ci].@used = false;
ci = (ci + 1);
};
i = 0;
while (i <= intAnswers) {
objCountry = new Object();
if (i == 0){
objCountry.strName = xmlQuestion.country.@name;
objCountry.x = int(xmlQuestion.country.@x);
objCountry.y = int(xmlQuestion.country.@y);
objCountry.correctAnswer = true;
} else {
isUniqueCountry = false;
while (!(isUniqueCountry)) {
intRandCountry = (Math.ceil((Math.random() * _xmlCountryList.length())) - 1);
randomCountry = _xmlCountryList[intRandCountry];
if (_xmlCountryList[intRandCountry].@used == "false"){
isUniqueCountry = true;
};
};
objCountry.strName = randomCountry.@name;
objCountry.x = int(randomCountry.@x);
objCountry.y = int(randomCountry.@y);
objCountry.correctAnswer = false;
_xmlCountryList[intRandCountry].@used = true;
};
pi = 0;
for (;pi < 2;if (pi == 1){
newPoint.sisterPoint = prevPoint;
prevPoint.sisterPoint = newPoint;
}, (pi = (pi + 1))) {
newPoint = new LocationDot1();
newPoint.buttonMode = true;
newPoint.strCountry = objCountry.strName;
newPoint.x = (objCountry.x + (pi * 0x0200));
newPoint.y = objCountry.y;
newPoint.correctAnswer = objCountry.correctAnswer;
globe.points1_mc.addChild(newPoint);
newPoint.addEventListener(MouseEvent.MOUSE_DOWN, answerQuestion);
newPoint.addEventListener(MouseEvent.MOUSE_OVER, dotOver);
newPoint.addEventListener(MouseEvent.MOUSE_OUT, dotOut);
newPoint.isOver = false;
if ((pi == 0)){
prevPoint = newPoint;
continue;
};
};
i = (i + 1);
};
globe.scaleX = (globe.scaleY = 1.7);
globe.x = -30;
globe.y = 220;
question_mc.addChild(globe);
}
private function beginGame(_arg1:Boolean){
Tracker.kvEvent(6457);
resetVariables();
_isGameInPlay = true;
question_mc.fifty_btn.buttonMode = true;
question_mc.swap_btn.buttonMode = true;
question_mc.auto_btn.buttonMode = true;
question_mc.fifty_btn.alpha = 1;
question_mc.swap_btn.alpha = 1;
question_mc.auto_btn.alpha = 1;
_intDestinationsVisited = 0;
if (_arg1){
if (_menu_mainMenu.currentFrame < 41){
_menu_mainMenu.gotoAndPlay(42);
};
} else {
hideAllMenus();
};
_gameSounds.playSound("panel_slide_out", "_sfxChannel");
TweenMax.to(_menu_mainMenu.logo_mc, 0.8, {x:-230, ease:Back.easeInOut, onComplete:showDestinations});
TweenMax.to(_menu_mainMenu.menu_mc, 0.5, {x:-330});
}
function img_failed(_arg1:Event):void{
trace("failed");
}
private function disableButton(_arg1){
_arg1.buttonMode = false;
_arg1.gotoAndStop(3);
trace(("DISABLE TARGET = " + _arg1.buttonMode));
}
private function playMenuSlideInSound(_arg1){
TweenMax.to(_objTween, _arg1, {onComplete:_gameSounds.playSound, onCompleteParams:["panel_slide_in", "_sfxChannel"]});
}
private function buildQuestion(_arg1:Boolean=false){
var _local2:int;
var _local3:XML;
_local2 = 3;
switch (_strDifficulty){
case "Medium":
_local2 = 4;
break;
case "Hard":
_local2 = 5;
break;
};
if (_arg1){
_local3 = _xmlQuestions.question[_arrQuestionOrder[5]];
} else {
_local3 = _xmlQuestions.question[_arrQuestionOrder[(_intCurrentQuestion - 1)]];
};
switch (int(_local3.@type)){
case 1:
multipleChoiceStandard(_local2, _local3);
break;
case 2:
plotWorldQuestion(_local2, _local3);
break;
};
showQuestion();
}
function frame3(){
stop();
init();
}
public function preloader(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:Number;
var _local5:*;
_local2 = stage.loaderInfo.bytesTotal;
_local3 = stage.loaderInfo.bytesLoaded;
_local4 = (_local3 / _local2);
_local5 = (360 * _local4);
_preloader.txtPct.text = Math.ceil((_local4 * 100));
_preloader.timer_arrow_mc.rotation = _local5;
_timer_mc.arc = _local5;
if (_local4 == 1){
removeEventListener(Event.ENTER_FRAME, preloader);
TweenMax.to(_preloader, 2, {alpha:0, onComplete:removeChild, onCompleteParams:[_preloader]});
FrameUtils.onEnterFrame(3, stage, init);
};
}
function img_display(_arg1:Event):void{
var _local2:*;
var _local3:*;
trace("loaded");
if (_imgPass._bitmap.height < 331){
_local2 = (331 / _imgPass._bitmap.height);
_imgPass._bitmap.scaleX = (_imgPass._bitmap.scaleX * _local2);
_imgPass._bitmap.scaleY = (_imgPass._bitmap.scaleY * _local2);
};
if (_imgPass._bitmap.width < 350){
_local3 = (350 / _imgPass._bitmap.width);
_imgPass._bitmap.scaleX = (_imgPass._bitmap.scaleX * _local3);
_imgPass._bitmap.scaleY = (_imgPass._bitmap.scaleY * _local3);
};
_imgPass._bitmap.alpha = 0;
TweenMax.to(_imgPass._bitmap, 0.5, {alpha:1});
imageHolder_mc.image_mc.addChild(_imgPass._bitmap);
}
private function globalMouseDown(_arg1:MouseEvent){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
if ((_arg1.target is SimpleButton)){
_gameSounds.playSound("button_click", "_sfxChannel");
//unresolved jump
};
switch (_arg1.target.name){
case "usa_btn":
case "usa_btn1":
case "sa_btn":
case "sa_btn1":
case "europe_btn":
case "europe_btn1":
case "asia_btn":
case "asia_btn1":
case "australia_btn":
case "australia_btn1":
case "africa_btn":
case "africa_btn1":
case "usa2_btn":
case "europe2_btn":
case "asia2_btn":
case "australia2_btn":
case "sa2_btn":
case "africa2_btn":
selectDestination(_arg1.target.name);
break;
case "easy_btn":
_strDifficulty = "Easy";
hideDifficulty();
break;
case "medium_btn":
_strDifficulty = "Medium";
hideDifficulty();
break;
case "hard_btn":
_strDifficulty = "Hard";
hideDifficulty();
break;
case "continue_btn":
_gameSounds.playSound("panel_slide_out", "_sfxChannel");
TweenMax.to(round_points_mc, 0.5, {x:-400, onComplete:showDestinations});
break;
case "fifty_btn":
if (!_isBonus1Used){
applyBonus(1);
_gameSounds.playSound("bonus_50", "_sfxChannel");
_arg1.target.alpha = 0.2;
_arg1.target.buttonMode = false;
_isBonus1Used = true;
};
break;
case "auto_btn":
if (!_isBonus2Used){
_isBonus2Used = true;
_gameSounds.playSound("bonus_auto", "_sfxChannel");
_arg1.target.alpha = 0.2;
_arg1.target.buttonMode = false;
applyBonus(2);
};
break;
case "swap_btn":
if (!_isBonus3Used){
_gameSounds.playSound("bonus_swap", "_sfxChannel");
_arg1.target.alpha = 0.2;
_arg1.target.buttonMode = false;
_isBonus3Used = true;
applyBonus(3);
};
break;
case "mr_btn":
controlMrMrs("Mr");
break;
case "mrs_btn":
controlMrMrs("Mrs");
break;
case "miss_btn":
controlMrMrs("Miss");
break;
case "home_btn":
backToMainMenu();
newBackground(background1);
break;
case "share_btn":
sideNavControl(2);
hideAllMenus();
playMenuSlideInSound(0.8);
TweenMax.to(share_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
break;
case "winPrizes_btn":
TweenMax.to(win_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
sideNavControl(2);
playMenuSlideInSound(0.8);
hideAllMenus();
break;
case "getNewsletter_btn":
TweenMax.to(newsletter_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
sideNavControl(3);
playMenuSlideInSound(0.8);
hideAllMenus();
break;
case "submit_newsletter_btn":
_funOk = "backToMainMenu";
checkSubmitForm(newsletter_mc.content_mc, 1, 1, 0);
break;
case "submit_score_btn":
_funOk = "showHighscore";
checkSubmitForm(submitScore_mc.content_mc, _isTerms, _isOptIn, _intGameTotal);
break;
case "submit_share_btn":
checkSubmitForm(share_mc.content_mc, 1, _isOptIn, 0, true);
break;
case "ok_btn":
messageBox_mc.visible = false;
if (isOkFunction){
var _local7 = this;
_local7[_funOk]();
//unresolved jump
};
break;
case "SoundBTN":
_local2 = _gameSounds.muteSound();
if (_local2){
SoundBTN.gotoAndStop(2);
} else {
SoundBTN.gotoAndStop(1);
};
break;
case "playGame_btn":
beginGame(true);
break;
case "playGame1_btn":
sideNavControl(1);
beginGame(false);
break;
case "subscribe_btn":
hideMainMenu();
sideNavControl(3);
playMenuSlideInSound(0.8);
TweenMax.to(newsletter_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
break;
case "howToPlay_btn":
hideMainMenu();
sideNavControl(2);
playMenuSlideInSound(0.8);
TweenMax.to(howToPlay_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
break;
case "winPrizes1_btn":
hideMainMenu();
sideNavControl(2);
playMenuSlideInSound(0.8);
TweenMax.to(win_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
break;
case "highScores_btn":
getScores();
hideMainMenu();
sideNavControl(2);
playMenuSlideInSound(0.8);
TweenMax.to(highScores_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
break;
case "shareGame_btn":
hideMainMenu();
sideNavControl(2);
playMenuSlideInSound(0.8);
TweenMax.to(share_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
break;
case "tickBox_optin_mc":
_local3 = 1;
if (_arg1.target.currentFrame == 2){
_isOptIn = 0;
} else {
_isOptIn = 1;
_local3 = 2;
};
share_mc.content_mc.tickBox_optin_mc.gotoAndStop(_local3);
submitScore_mc.content_mc.tickBox_optin_mc.gotoAndStop(_local3);
break;
case "tickBox_terms_mc":
if (_arg1.target.currentFrame == 2){
submitScore_mc.content_mc.tickBox_terms_mc.gotoAndStop(1);
_isTerms = 0;
} else {
_isTerms = 1;
submitScore_mc.content_mc.tickBox_terms_mc.gotoAndStop(2);
};
break;
case "quitNow_btn":
messageBox_mc.visible = true;
messageBox_mc.gotoAndStop(3);
messageBox_mc.txtMessage.text = "Are you sure you wish to submit your score? \n You will not be able to continue with your current game!";
break;
case "home1_btn":
messageBox_mc.visible = true;
messageBox_mc.gotoAndStop(1);
messageBox_mc.txtMessage.text = "Are you sure you want to quit? \n Your current game progress will be lost.";
break;
case "yes_btn":
Tracker.kvEvent(6474);
backToMainMenu();
messageBox_mc.visible = false;
newBackground(background1);
_isGameInPlay = false;
break;
case "yes1_btn":
hideAllMenus();
TweenMax.to(_objTween, 0.8, {onComplete:showSubmitScore});
messageBox_mc.visible = false;
newBackground(background2);
_isGameInPlay = false;
break;
case "no_btn":
messageBox_mc.visible = false;
break;
case "terms_btn":
Tracker.kvClick(1109);
_local4 = (_strURL + "?action=goto_client_terms");
OpenURL.navigateURL(_local4);
break;
case "privacy_btn":
Tracker.kvClick(1110);
_local5 = (_strURL + "?action=goto_client_privacy");
OpenURL.navigateURL(_local5);
break;
case "koko_btn":
Tracker.kvClick(1145);
_local6 = (_strURL + "?action=goto_koko_link_1");
OpenURL.navigateURL(_local6);
break;
case "subscribeBTN":
if (_isGameInPlay){
messageBox_mc.visible = true;
messageBox_mc.gotoAndStop(4);
messageBox_mc.txtMessage.text = "Are you sure you want to do this? \n Your current game progress will be lost.";
} else {
hideAllMenus();
hideMainMenu();
sideNavControl(3);
playMenuSlideInSound(0.8);
TweenMax.to(newsletter_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
};
break;
case "yes2_btn":
_isGameInPlay = false;
endCountdown(true, false);
messageBox_mc.visible = false;
hideAllMenus();
sideNavControl(3);
playMenuSlideInSound(0.8);
TweenMax.to(newsletter_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
break;
};
}
private function shareDataComplete(_arg1:Event){
messageBox_mc.gotoAndStop(2);
messageBox_mc.txtMessage.text = "Thank You! \n Your email has been sent to your friend. \n Why not tell more firends to play Travel Pursuit.";
share_mc.content_mc.txt_friendEmail.text = "Friend Email";
isOkFunction = false;
}
private function controlMrMrs(_arg1){
_strPrefix = _arg1;
submitScore_mc.content_mc.mr_btn.gotoAndStop(1);
submitScore_mc.content_mc.mrs_btn.gotoAndStop(1);
submitScore_mc.content_mc.miss_btn.gotoAndStop(1);
newsletter_mc.content_mc.mr_btn.gotoAndStop(1);
newsletter_mc.content_mc.mrs_btn.gotoAndStop(1);
newsletter_mc.content_mc.miss_btn.gotoAndStop(1);
switch (_arg1){
case "Mr":
submitScore_mc.content_mc.mr_btn.gotoAndStop(2);
newsletter_mc.content_mc.mr_btn.gotoAndStop(2);
break;
case "Mrs":
submitScore_mc.content_mc.mrs_btn.gotoAndStop(2);
newsletter_mc.content_mc.mrs_btn.gotoAndStop(2);
break;
case "Miss":
submitScore_mc.content_mc.miss_btn.gotoAndStop(2);
newsletter_mc.content_mc.miss_btn.gotoAndStop(2);
break;
};
}
private function backToMainMenu(){
hideAllMenus();
showMainMenu();
sideNavControl(1);
}
private function disableAnswers(){
var _local1:*;
var _local2:*;
_local1 = (question_mc.numChildren - 1);
for (;_local1 >= 0;_local1--) {
_local2 = question_mc.getChildAt(_local1);
if ((_local2 is MultipleChoiceAnswer)){
_local2.disable();
continue;
};
};
}
public function xml_display(_arg1:Event):void{
trace("XML LOADED");
_xmlDoc = _xmlPass._xmlDoc;
_xmlCountryList = _xmlDoc.countries;
}
private function hideDifficulty(){
TweenMax.to(difficulty_mc, 0.5, {x:-400});
_gameSounds.playSound("answer_slide_out", "_sfxChannel1");
randomiseQuestions();
buildQuestion();
}
private function answerQuestionOVER(_arg1:MouseEvent){
var _local2:TextFormat;
_local2 = new TextFormat();
_local2.color = 0xFFD500;
_arg1.target.txtAnswer.setTextFormat(_local2);
}
private function addScore(_arg1){
_intRoundTotal = (_intRoundTotal + _arg1);
_intGameTotal = (_intGameTotal + _arg1);
round_points_mc.correctAnswers_mc.txtPoints.text = _intQuestionBonus;
round_points_mc.timeBonus_mc.txtPoints.text = _intTimeBonus;
round_points_mc.bonusRound_mc.txtPoints.text = _intBonusPoints;
round_points_mc.roundTotal_mc.txtPoints.text = _intRoundTotal;
round_points_mc.gameTotal_mc.txtPoints.text = _intGameTotal;
}
private function globalMouseOver(_arg1:MouseEvent){
if ((_arg1.target is SimpleButton)){
_gameSounds.playSound("button_over", "_sfxChannel");
} else {
if ((_arg1.target is MovieClip)){
if (_arg1.target.buttonMode){
_gameSounds.playSound("button_over", "_sfxChannel");
//unresolved jump
};
};
};
switch (_arg1.target.name){
case "fifty_btn":
if (!_isBonus1Used){
_arg1.target.gotoAndStop(2);
//unresolved jump
};
break;
case "auto_btn":
if (!_isBonus2Used){
_arg1.target.gotoAndStop(2);
//unresolved jump
};
break;
case "swap_btn":
if (!_isBonus3Used){
_arg1.target.gotoAndStop(2);
//unresolved jump
};
break;
case "usa2_btn":
case "europe2_btn":
case "asia2_btn":
case "australia2_btn":
case "sa2_btn":
case "africa2_btn":
if (_arg1.target.buttonMode){
_arg1.target.gotoAndStop(2);
};
break;
};
}
private function roundOverCountdown(_arg1:Event){
if (_intQuestionBonus > 0){
if (_intQuestionBonus > 21){
_intQuestionBonus = (_intQuestionBonus - 21);
addScore(21);
_gameSounds.playSound("score_counter_v1", "_sfxChannel1");
} else {
addScore(_intQuestionBonus);
_intQuestionBonus = 0;
addScore(0);
};
} else {
if (_intTimeBonus > 0){
if (_intTimeBonus > 21){
_intTimeBonus = (_intTimeBonus - 21);
addScore(21);
_gameSounds.playSound("score_counter_v1", "_sfxChannel1");
} else {
addScore(_intTimeBonus);
_intTimeBonus = 0;
addScore(0);
};
} else {
if (_intBonusPoints > 0){
if (_intBonusPoints > 21){
_intBonusPoints = (_intBonusPoints - 21);
addScore(21);
_gameSounds.playSound("score_counter_v1", "_sfxChannel1");
} else {
addScore(_intBonusPoints);
_intBonusPoints = 0;
addScore(0);
};
} else {
TweenMax.to(round_points_mc.continue_btn, 0.5, {y:372});
_intCorrectAnswers = 0;
_intTotalTimeTaken = 0;
removeEventListener(Event.ENTER_FRAME, roundOverCountdown);
};
};
};
}
private function setQuestionTitle(_arg1){
var _local2:RegExp;
var _local3:String;
var _local4:Array;
_local2 = /_/g;
_local3 = _strContinent.replace(_local2, " ");
question_mc.txtQuestionNumber.text = (("Question " + _intCurrentQuestion) + " of 5");
_local4 = new Array("", "Airport & Airline Codes", "Passenger Airlines", "Famous Monuments", "Famous People", "Famous Cities", "General Knowledge");
question_mc.txtQuestionType.text = ((_local3 + " - ") + _local4[new int(_arg1.@cat)]);
question_mc.txtQuestion.text = _arg1.q;
}
private function removeQuestionMCs(){
var _local1:*;
var _local2:*;
_local1 = (question_mc.numChildren - 1);
for (;_local1 >= 0;_local1--) {
_local2 = question_mc.getChildAt(_local1);
if ((_local2 is MultipleChoiceAnswer)){
_local2.destroy();
//unresolved jump
};
if ((_local2 is GlobePlotMC)){
question_mc.removeChild(_local2);
//unresolved jump
};
if ((_local2 is bonusLocation)){
question_mc.removeChild(_local2);
continue;
};
};
}
private function clearScores():void{
var _local1:int;
_local1 = 1;
while (_local1 <= 10) {
highScores_mc.content_mc[("userName" + _local1)].text = "";
highScores_mc.content_mc[("score" + _local1)].text = "";
_local1++;
};
}
private function removeBackground(_arg1){
_arg1.parent.removeChild(_arg1);
}
private function resetVariables(){
_isVisited_USA = false;
_isVisited_SA = false;
_isVisited_Europe = false;
_isVisited_Asia = false;
_isVisited_Australia = false;
_isVisited_Africa = false;
_intGameTotal = 0;
_intDestinationID = 2;
_intDestinationsVisited = 0;
_isBonus1Used = false;
_isBonus2Used = false;
_isBonus3Used = false;
round_points_mc.gameTotal_mc.txtPoints.text = _intGameTotal;
destination_mc.europe2_btn.buttonMode = true;
destination_mc.asia2_btn.buttonMode = true;
destination_mc.usa2_btn.buttonMode = true;
destination_mc.sa2_btn.buttonMode = true;
destination_mc.africa2_btn.buttonMode = true;
destination_mc.australia2_btn.buttonMode = true;
destination_mc.europe2_btn.gotoAndStop(1);
destination_mc.asia2_btn.gotoAndStop(1);
destination_mc.usa2_btn.gotoAndStop(1);
destination_mc.sa2_btn.gotoAndStop(1);
destination_mc.africa2_btn.gotoAndStop(1);
destination_mc.australia2_btn.gotoAndStop(1);
}
private function newBackground(_arg1){
var _local2:*;
var _local3:Bitmap;
_local2 = _backgroundMC.getChildAt(0);
_local3 = new Bitmap(new _arg1(0, 0));
TweenMax.to(_local2, 1, {alpha:0, onComplete:removeBackground, onCompleteParams:[_local2]});
_backgroundMC.addChildAt(_local3, 0);
}
private function showRoundOver(){
_isBonusAnswered = false;
_intBonusRoundCurrentPoint = 0;
_intRoundTotal = 0;
round_points_mc.roundTotal_mc.txtPoints.text = 0;
round_points_mc.continue_btn.y = 430;
_intTimeBonus = Math.ceil((_intTotalTimeTaken / 100));
_intQuestionBonus = (250 * _intCorrectAnswers);
switch (_strDifficulty){
case "Medium":
_intQuestionBonus = (500 * _intCorrectAnswers);
_intTimeBonus = (_intTotalTimeTaken / 75);
break;
case "Hard":
_intQuestionBonus = (1000 * _intCorrectAnswers);
_intTimeBonus = (_intTotalTimeTaken / 50);
break;
};
round_points_mc.correctAnswers_mc.txtCorrectAnswers.text = (_intCorrectAnswers + " correct answers");
round_points_mc.correctAnswers_mc.txtPoints.text = _intQuestionBonus;
round_points_mc.timeBonus_mc.txtPoints.text = _intTimeBonus;
round_points_mc.roundTotal_mc.txtPoints.text = _intBonusPoints;
TweenMax.to(round_points_mc, 0.5, {x:0});
round_points_mc.correctAnswers_mc.x = -270;
round_points_mc.timeBonus_mc.x = -270;
round_points_mc.bonusRound_mc.x = -270;
round_points_mc.roundTotal_mc.x = -270;
round_points_mc.gameTotal_mc.x = -270;
_gameSounds.playSound("panel_slide_in", "_sfxChannel");
TweenMax.to(round_points_mc.correctAnswers_mc, 0.5, {delay:0.5, x:17});
TweenMax.to(round_points_mc.timeBonus_mc, 0.5, {delay:0.8, x:17});
TweenMax.to(round_points_mc.bonusRound_mc, 0.5, {delay:1.1, x:17});
TweenMax.to(round_points_mc.roundTotal_mc, 0.5, {delay:1.4, x:17});
TweenMax.to(round_points_mc.gameTotal_mc, 0.5, {delay:1.7, x:17, onComplete:beginRoundCountdown});
}
private function showMainMenu(){
_menu_mainMenu.gotoAndPlay(1);
playMenuSlideInSound(0.8);
TweenMax.to(_menu_mainMenu.logo_mc, 0.8, {delay:0.5, x:240, ease:Back.easeInOut});
TweenMax.to(_menu_mainMenu.menu_mc, 0.5, {delay:0.8, x:0});
}
private function init(_arg1:Event=null):void{
var _local2:Bitmap;
_local2 = new Bitmap(new background1(0, 0));
_backgroundMC.addChild(_local2);
_local2.alpha = 0;
TweenMax.to(_local2, 2, {alpha:1});
addChildAt(_backgroundMC, 0);
setupTickBoxes();
messageBox_mc.visible = false;
TweenMax.to(twitterBTN, 0.8, {delay:1.2, y:480, ease:Back.easeInOut});
TweenMax.to(facebookBTN, 0.8, {delay:0.8, y:480, ease:Back.easeInOut});
TweenMax.to(subscribeBTN, 0.8, {delay:0.4, y:480, ease:Back.easeInOut});
TweenMax.to(SoundBTN, 0.8, {y:480, ease:Back.easeInOut});
twitterBTN.buttonMode = true;
facebookBTN.buttonMode = true;
SoundBTN.buttonMode = true;
subscribeBTN.buttonMode = true;
twitterBTN.addEventListener(MouseEvent.ROLL_OVER, shareMouseOver1);
twitterBTN.addEventListener(MouseEvent.ROLL_OUT, shareMouseOut1);
twitterBTN.addEventListener(MouseEvent.CLICK, shareMouseClick);
facebookBTN.addEventListener(MouseEvent.ROLL_OVER, shareMouseOver1);
facebookBTN.addEventListener(MouseEvent.ROLL_OUT, shareMouseOut1);
facebookBTN.addEventListener(MouseEvent.CLICK, shareMouseClick);
subscribeBTN.addEventListener(MouseEvent.ROLL_OVER, shareMouseOver2);
subscribeBTN.addEventListener(MouseEvent.ROLL_OUT, shareMouseOut2);
SoundBTN.addEventListener(MouseEvent.ROLL_OVER, shareMouseOver1);
SoundBTN.addEventListener(MouseEvent.ROLL_OUT, shareMouseOut1);
_gameSounds = new GameSounds();
_gameSounds.playSound("music_loop3", "_musicChannel", true);
_menu_mainMenu = new menu_MainMenu();
showMainMenu();
addChildAt(_menu_mainMenu, 2);
setupShareButtons();
setupMrMrs();
_youAreHere_mc = new HereSignMC();
_youAreHere_mc.scaleX = (_youAreHere_mc.scaleY = 0);
_youAreHere_mc.mouseEnabled = false;
_youAreHere_mc.addEventListener(Event.ENTER_FRAME, followMouse);
addChild(_youAreHere_mc);
_imgPass.addEventListener(ParseIMG.IMG_LOADED, img_display);
_imgPass.addEventListener(ParseIMG.IMG_FAILED, img_failed);
_imgPass.addEventListener(ParseIMG.IMG_PROGRESS, img_progress);
_globe = new GlobeMC();
TweenMax.to(cheapFlights_btn, 0.5, {y:500});
removeEventListener(Event.ADDED_TO_STAGE, init);
addEventListener(MouseEvent.MOUSE_DOWN, globalMouseDown);
addEventListener(MouseEvent.MOUSE_OVER, globalMouseOver);
addEventListener(MouseEvent.MOUSE_OUT, globalMouseOut);
addEventListener(MouseEvent.CLICK, globalMouseClick);
addEventListener(FocusEvent.FOCUS_IN, textFocusIn);
addEventListener(FocusEvent.FOCUS_OUT, textFocusOut);
loadQuestions();
_globe.setFlightPath();
_globe.y = 220;
_globe.x = -40;
_globe.scaleX = (_globe.scaleY = 1.75);
destination_mc.addChild(_globe);
_timer_mc.x = 43.5;
_timer_mc.y = 40;
timer_bar_mc.timer_holder_mc.addChild(_timer_mc);
_cookie = new FlashCookie(_cookieName, _cookieData);
}
private function updateScoreCookie(){
if (_intGameTotal > _cookie.getFromCookie("PLAYER_SCORE")){
};
_cookie.updateCookieVar("PLAYER_SCORE", _intGameTotal);
}
private function getScores():void{
clearScores();
_scores = new Scoreboard((DOMAIN + ACTION_SCORES));
_scores.fetch(showScores);
}
private function shareMouseClick(_arg1:MouseEvent){
var _local2:*;
_local2 = (_strURL + "?action=goto_share_");
switch (_arg1.target.name){
case "share1_mc":
case "facebookBTN":
Tracker.kvEvent(6468);
_local2 = (_local2 + "facebook");
break;
case "share2_mc":
case "twitterBTN":
Tracker.kvEvent(6469);
_local2 = (_local2 + "twitter");
break;
case "share3_mc":
Tracker.kvEvent(6471);
_local2 = (_local2 + "digg");
break;
case "share4_mc":
Tracker.kvEvent(6473);
_local2 = (_local2 + "google");
break;
case "share5_mc":
Tracker.kvEvent(6470);
_local2 = (_local2 + "stumbleupon");
break;
case "share6_mc":
Tracker.kvEvent(6472);
_local2 = (_local2 + "delicious");
break;
};
_local2 = (_local2 + ("&player_score=" + _cookie.getFromCookie("PLAYER_SCORE")));
OpenURL.loadURL(_local2, "_blank");
}
private function crossDomain():void{
Security.allowDomain("*");
try {
Security.loadPolicyFile(CROSSDOMAIN_A);
} catch(e:Error) {
trace(("Error Loading CrossDomain:" + CROSSDOMAIN_A));
};
try {
Security.loadPolicyFile(CROSSDOMAIN_B);
} catch(e:Error) {
trace(("Error Loading CrossDomain:" + CROSSDOMAIN_B));
};
}
private function globalMouseOut(_arg1:MouseEvent){
switch (_arg1.target.name){
case "fifty_btn":
case "auto_btn":
case "swap_btn":
_arg1.target.gotoAndStop(1);
break;
case "usa2_btn":
case "europe2_btn":
case "asia2_btn":
case "australia2_btn":
case "sa2_btn":
case "africa2_btn":
if (_arg1.target.buttonMode){
_arg1.target.gotoAndStop(1);
};
break;
};
}
private function setupMrMrs(){
submitScore_mc.content_mc.mr_btn.buttonMode = true;
submitScore_mc.content_mc.mrs_btn.buttonMode = true;
submitScore_mc.content_mc.miss_btn.buttonMode = true;
newsletter_mc.content_mc.mr_btn.buttonMode = true;
newsletter_mc.content_mc.mrs_btn.buttonMode = true;
newsletter_mc.content_mc.miss_btn.buttonMode = true;
controlMrMrs("Mr");
}
private function questionCountdown(_arg1:Event){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:String;
var _local7:String;
_local2 = (getTimer() - _intStartTime);
_local3 = (_INT_TIME_ALLOWED - _local2);
_local4 = (_local2 / _INT_TIME_ALLOWED);
_local5 = (360 * _local4);
timer_bar_mc.timer_arrow_mc.rotation = _local5;
_timer_mc.arc = _local5;
_local6 = timer_bar_mc.txtTime.text;
_local7 = Math.round((_local3 / 1000)).toString();
timer_bar_mc.txtTime.text = _local7;
if (_local7 != _local6){
_gameSounds.playSound("clock_tick", "_sfxChannel2");
//unresolved jump
};
_gameSounds.setChannelVolume(2, "_sfxChannel2");
if (_local2 > _INT_TIME_ALLOWED){
endCountdown(false, false);
};
}
function img_progress(_arg1:Event):void{
trace(_arg1.target._progressBytesPerc);
}
private function submitDataComplete(_arg1:Event){
messageBox_mc.gotoAndStop(2);
messageBox_mc.txtMessage.text = "Thank You! \n Your details have been successfully submitted.";
isOkFunction = true;
}
private function hideAllMenus(){
_gameSounds.playSound("panel_slide_out", "_sfxChannel");
TweenMax.to(submitScore_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(highScores_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(newsletter_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(share_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(win_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(win_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(submitScore_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(round_points_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(howToPlay_mc.content_mc, 0.8, {x:-400, ease:Back.easeOut});
TweenMax.to(winPrizesSubmit_mc, 0.4, {x:0});
TweenMax.to(destination_mc, 0.8, {x:-700, ease:Back.easeOut});
TweenMax.to(difficulty_mc, 0.8, {x:-400, ease:Back.easeOut});
}
private function playSlideInSound(){
_gameSounds.playSound("panel_slide_in", "_sfxChannel");
}
private function randomiseQuestions(){
var strContinent:*;
var i:*;
var randQuestion:*;
var newXMLList:XMLList;
var intRandomQuestion:*;
_xmlQuestions = <round></round>
;
strContinent = "";
switch (_strSelectedContinent){
case "USA":
strContinent = "North_America_Canada";
_strContinent = "North America";
break;
case "Europe":
var _local2 = "Europe";
strContinent = _local2;
_strContinent = _local2;
break;
case "Australia":
_local2 = "Australasia";
strContinent = _local2;
_strContinent = _local2;
break;
case "Asia":
_local2 = "Asia";
strContinent = _local2;
_strContinent = _local2;
break;
case "Africa":
strContinent = "Africa";
_strContinent = "Africa_&_Middle_East";
break;
case "South America":
strContinent = "South_America";
_strContinent = "South America";
break;
};
i = 1;
while (i <= 7) {
randQuestion = Math.ceil((Math.random() * 6));
if (i != 7){
newXMLList = _xmlDoc[strContinent].question.(@cat == i);
} else {
_xmlDoc[strContinent].question.(@cat == randQuestion); //not popped
};
intRandomQuestion = (Math.ceil((Math.random() * newXMLList.length())) - 1);
_xmlQuestions.appendChild(newXMLList[intRandomQuestion]);
i = (i + 1);
};
_arrQuestionOrder = ArrayUtils.randomArray(_arrQuestionOrder);
}
private function security():void{
try {
Token.request((DOMAIN + ACTION_TOKEN), secure, true);
} catch(e:Error) {
trace("Token Request Error");
};
}
private function autoAnswerQuestion(_arg1){
if (_arg1.correctWrong_mc != null){
TweenMax.to(_arg1.correctWrong_mc, 0.2, {y:3.4});
//unresolved jump
};
if (_arg1.correctWrong_mc != null){
_arg1.correctWrong_mc.gotoAndStop(1);
//unresolved jump
};
_gameSounds.playSound("answer_right", "_sfxChannel1");
_intTotalTimeTaken = (_intTotalTimeTaken + (30000 - (getTimer() - _intStartTime)));
_intCorrectAnswers++;
disableAnswers();
_arg1.alpha = 1;
endCountdown(true, true);
}
private function beginRoundCountdown(){
addEventListener(Event.ENTER_FRAME, roundOverCountdown);
}
private function dotOut(_arg1:MouseEvent){
if (!_arg1.target.sisterPoint.isOver){
TweenMax.to(_youAreHere_mc, 0.2, {scaleX:0, scaleY:0, ease:Back.easeIn});
};
_arg1.target.isOver = false;
}
private function drawLine(_arg1){
_globePoints.graphics.moveTo(_arg1.drawX, _arg1.drawY);
_globePoints.graphics.lineTo(_arg1.x, _arg1.y);
_arg1.drawX = _arg1.x;
_arg1.drawY = _arg1.y;
}
private function applyBonus(_arg1:int){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
switch (_arg1){
case 1:
_local2 = 0;
_local3 = 2;
_local4 = false;
switch (_strDifficulty){
case "Easy":
_local3 = 2;
break;
case "Medium":
_local3 = 3;
break;
case "Hard":
_local3 = 4;
break;
};
_local5 = (question_mc.numChildren - 1);
while (_local5 >= 0) {
_local6 = question_mc.getChildAt(_local5);
if ((((_local6 is MultipleChoiceAnswer)) && (!(_local6.correctAnswer)))){
_local2++;
if ((((((Math.random() > 0.5)) || ((_local2 == _local3)))) && (!(_local4)))){
_local4 = true;
} else {
_local6.disable();
};
};
_local5--;
};
break;
case 2:
_local7 = (question_mc.numChildren - 1);
for (;_local7 >= 0;_local7--) {
_local8 = question_mc.getChildAt(_local7);
if (_local8.correctAnswer){
autoAnswerQuestion(_local8);
continue;
};
};
break;
case 3:
endCountdown(false, false, true);
hideQuestion(true);
break;
};
}
private function hideQuestion(_arg1:Boolean=false){
TweenMax.to(_objTween, 0.4, {onComplete:_gameSounds.playSound, onCompleteParams:["answer_slide_out", "_sfxChannel1"]});
TweenMax.to(imageHolder_mc, 0.8, {x:710, ease:Circ.easeIn});
TweenMax.to(question_mc, 0.8, {x:-800, onComplete:clearQuestionMC, onCompleteParams:[_arg1], ease:Back.easeIn});
TweenMax.to(timer_bar_mc, 0.8, {y:-85, ease:Back.easeIn});
}
public function xml_progress(_arg1:Event):void{
}
private function shareMouseOut(_arg1:MouseEvent){
TweenMax.to(_arg1.target, 0.2, {scaleX:1, scaleY:1, ease:Back.easeOut});
}
private function selectDestination(_arg1:String){
if (!_isDestinationSelected){
switch (_arg1){
case "usa_btn":
case "usa_btn1":
case "usa2_btn":
Tracker.kvEvent(6462);
newBackground(background_northAmerica);
disableButton(destination_mc.usa2_btn);
_isVisited_USA = true;
_strSelectedContinent = "USA";
_intDestinationID = 5;
break;
case "sa_btn":
case "sa_btn1":
case "sa2_btn":
Tracker.kvEvent(6463);
newBackground(background_southAmerica);
disableButton(destination_mc.sa2_btn);
_isVisited_SA = true;
_strSelectedContinent = "South America";
_intDestinationID = 6;
break;
case "europe_btn":
case "europe_btn1":
case "europe2_btn":
Tracker.kvEvent(6458);
newBackground(background_europe);
disableButton(destination_mc.europe2_btn);
_isVisited_Europe = true;
_strSelectedContinent = "Europe";
_intDestinationID = 2;
break;
case "asia_btn":
case "asia_btn1":
case "asia2_btn":
Tracker.kvEvent(6459);
newBackground(background_asia);
disableButton(destination_mc.asia2_btn);
_isVisited_Asia = true;
_strSelectedContinent = "Asia";
_intDestinationID = 3;
break;
case "australia_btn":
case "australia_btn1":
case "australia2_btn":
Tracker.kvEvent(6460);
newBackground(background_australia);
disableButton(destination_mc.australia2_btn);
_isVisited_Australia = true;
_strSelectedContinent = "Australia";
_intDestinationID = 4;
break;
case "africa_btn":
case "africa_btn1":
case "africa2_btn":
Tracker.kvEvent(6461);
newBackground(background_africa);
disableButton(destination_mc.africa2_btn);
_isVisited_Africa = true;
_strSelectedContinent = "Africa";
_intDestinationID = 7;
break;
};
_gameSounds.playSound("panel_slide_out", "_sfxChannel");
TweenMax.to(destination_mc, 0.5, {x:-700, onComplete:_gameSounds.playSound, onCompleteParams:["panel_slide_in", "_sfxChannel"]});
TweenMax.to(difficulty_mc, 0.5, {delay:0.5, x:0});
};
}
private function secure():void{
_token = Token.encypted;
_country = Token.getVar("country_code");
}
public function loadQuestions():void{
_xmlCountryList = _xmlDoc.countries;
_xmlPass.addEventListener(ParseXML.XML_LOADED, xml_display);
_xmlPass.addEventListener(ParseXML.XML_FAILED, xml_failed);
_xmlPass.addEventListener(ParseXML.XML_PROGRESS, xml_progress);
_xmlPass.parseURL(_externalXML, true);
}
private function followMouse(_arg1:Event){
}
public function xml_failed(_arg1:Event):void{
trace("XML FAILED");
}
private function showScores():void{
var _local1:Array;
var _local2:uint;
var _local3:int;
var _local4:String;
var _local5:String;
_local1 = _scores.getScoreNodes("daily_scores_level1");
_local2 = _local1.length;
_local3 = 1;
while (_local3 <= _local2) {
_local4 = _local1[(_local3 - 1)][1];
_local5 = _local1[(_local3 - 1)][0].toLowerCase();
_local5 = StringUtils.capitalize(_local5, true);
highScores_mc.content_mc[("userName" + _local3)].text = StringUtils.trimLeft(_local5);
highScores_mc.content_mc[("score" + _local3)].text = _local4;
_local3++;
};
}
private function beginCountdown():void{
_intStartTime = getTimer();
addEventListener(Event.ENTER_FRAME, questionCountdown);
}
private function endCountdown(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean=false):void{
var _local4:int;
var _local5:Object;
removeEventListener(Event.ENTER_FRAME, questionCountdown);
_local5 = new Object();
if (_arg1){
_local4 = (_INT_TIME_ALLOWED - (getTimer() - _intStartTime));
} else {
_local4 = 0;
};
_intTimeTaken = (_intTimeTaken + _local4);
if (!_arg3){
if (_arg2){
TweenMax.to(_local5, 1, {onComplete:hideQuestion});
} else {
hideQuestion();
};
};
}
private function sideNavControl(_arg1){
switch (_arg1){
case 1:
TweenMax.to(sideNav_mc.winPrizes_btn, 0.5, {x:700});
TweenMax.to(sideNav_mc.visitCheapflights_btn, 0.5, {delay:0.4, x:700});
TweenMax.to(sideNav_mc.getNewsletter_btn, 0.5, {delay:0.2, x:700});
break;
case 2:
newBackground(background2);
TweenMax.to(sideNav_mc.winPrizes_btn, 0.5, {delay:0.5, x:382});
TweenMax.to(sideNav_mc.visitCheapflights_btn, 0.5, {delay:0.7, x:392});
TweenMax.to(sideNav_mc.getNewsletter_btn, 0.5, {delay:0.9, x:392});
break;
case 3:
newBackground(background3);
TweenMax.to(sideNav_mc.winPrizes_btn, 0.5, {delay:0.5, x:382});
TweenMax.to(sideNav_mc.visitCheapflights_btn, 0.5, {delay:0.7, x:392});
TweenMax.to(sideNav_mc.getNewsletter_btn, 0.5, {x:700});
break;
};
}
private function plotJourney(_arg1:MouseEvent){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:Point;
var _local16:*;
var _local17:*;
var _local18:*;
var _local19:*;
if (_intBonusRoundCurrentPoint < 5){
_arg1.target.buttonMode = false;
_arg1.target.removeEventListener(MouseEvent.MOUSE_DOWN, plotJourney);
if (_arg1.target.correctAnswer == _intBonusRoundCurrentPoint){
_gameSounds.playSound("answer_right", "_sfxChannel1");
_arg1.target.gotoAndStop(2);
_arg1.target.sisterPoint.gotoAndStop(2);
_intBonusPoints = (_intBonusPoints + 300);
} else {
_gameSounds.playSound("answer_wrong", "_sfxChannel1");
_arg1.target.gotoAndStop(3);
_arg1.target.sisterPoint.gotoAndStop(3);
};
_local2 = (question_mc.numChildren - 1);
while (_local2 >= 0) {
_local3 = question_mc.getChildAt(_local2);
if ((((_local3 is bonusLocation)) && ((_local3.id == _intBonusRoundCurrentPoint)))){
_local3.txtDestination.alpha = 0.3;
_local3.pin_mc.alpha = 0.3;
};
_local2--;
};
if (_intBonusRoundCurrentPoint > 0){
_local4 = _previousPointMC;
_local5 = _arg1.target;
if (Math.abs((_local4.x - _local5.x)) > Math.abs((_local4.x - _local5.sisterPoint.x))){
_local5 = _arg1.target.sisterPoint;
};
_globePoints = _arg1.target.parent;
_local6 = _arg1.target.parent;
_local7 = Trig.findAngle(_local4.x, _local4.y, _local5.x, _local5.y);
_local8 = (Trig.convertToDegree(_local7) - 90);
_local9 = Trig.convertToRadian(_local8);
_local10 = ((_local5.x - _local4.x) / 2);
_local11 = ((_local5.y - _local4.y) / 2);
_local12 = Trig.findHypotenuseLength(_local10, _local11);
_local13 = Trig.findHypotenuseLength((_local10 / 2), (_local11 / 2));
_local14 = new Point((_local4.x + _local10), (_local4.y + _local11));
_local15 = Trig.findNewXY(_local14.x, _local14.y, _local9, _local13);
_local16 = _local15.x;
_local17 = (_local15.x + 0x0200);
_local18 = (_local15.x - 0x0200);
_local19 = _local15.y;
_local6.graphics.lineStyle(1, 0xFFFFFF);
drawPlane(new Point(_local4.x, _local4.y), new Point(_local5.x, _local5.y), _local16, _local19, _local12);
drawPlane(new Point((_local4.x + 0x0200), _local4.y), new Point((_local5.x + 0x0200), _local5.y), _local17, _local19, _local12);
drawPlane(new Point((_local4.x - 0x0200), _local4.y), new Point((_local5.x - 0x0200), _local5.y), _local18, _local19, _local12);
};
_previousPointMC = _arg1.target;
_intBonusRoundCurrentPoint++;
_arg1.target.pin_mc.numTXT.text = _intBonusRoundCurrentPoint;
_arg1.target.sisterPoint.pin_mc.numTXT.text = _intBonusRoundCurrentPoint;
if (_intBonusRoundCurrentPoint == 5){
TweenMax.to(_objTween, 3, {onComplete:hideQuestion});
_isBonusAnswered = true;
};
};
}
private function shareMouseOver1(_arg1:MouseEvent){
TweenMax.to(_arg1.target, 0.2, {width:35, height:35, ease:Back.easeOut});
}
public function buildPreloader(){
_preloader.x = 305;
_preloader.y = 210;
addChild(_preloader);
_timer_mc.x = 43.5;
_timer_mc.y = 40;
_preloader.preloader_holder_mc.addChild(_timer_mc);
addEventListener(Event.ENTER_FRAME, preloader);
}
private function shareMouseOver2(_arg1:MouseEvent){
TweenMax.to(_arg1.target, 0.2, {width:137.5, height:27.5, ease:Back.easeOut});
}
private function showHighscore(){
Tracker.kvEvent(6476);
hideAllMenus();
getScores();
sideNavControl(2);
playMenuSlideInSound(0.8);
TweenMax.to(highScores_mc.content_mc, 0.8, {delay:0.8, x:0, ease:Back.easeOut});
}
private function resetCountdown():void{
_timer_mc.arc = 0;
timer_bar_mc.txtTime.text = "15";
}
private function textFocusOut(_arg1:FocusEvent){
if ((_arg1.target is TextField)){
if (StringUtils.removeExtraWhitespace(_arg1.target.text) == ""){
switch (_arg1.target.name){
case "txt_yourName":
_arg1.target.text = "Your name";
break;
case "txt_yourEmail":
_arg1.target.text = "Your Email";
break;
case "txt_friendEmail":
_arg1.target.text = "Friend Email";
break;
case "txt_firstName":
_arg1.target.text = "First Name";
break;
case "txt_surname":
_arg1.target.text = "Surname";
break;
case "txt_yourFirstName":
_arg1.target.text = "Your First Name";
break;
case "txt_yourSurname":
_arg1.target.text = "Your Surname";
break;
case "txt_email":
_arg1.target.text = "Email";
break;
case "txt_postcode":
_arg1.target.text = "Postcode";
break;
};
};
};
}
private function answerQuestionOUT(_arg1:MouseEvent){
var _local2:TextFormat;
_local2 = new TextFormat();
_local2.color = 0xFFFFFF;
_arg1.target.txtAnswer.setTextFormat(_local2);
}
private function buildBonusRound(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:MovieClip;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:MovieClip;
Tracker.kvEvent(6477);
question_mc.fifty_btn.visible = false;
question_mc.auto_btn.visible = false;
question_mc.swap_btn.visible = false;
_local1 = new GlobePlotMC();
question_mc.txtQuestionNumber.text = "Bonus Round";
question_mc.txtQuestionType.text = "";
question_mc.txtQuestion.text = "Using the globe, plot the following points in the correct order as shown below!";
question_mc.question_background_mc.gotoAndStop(2);
_xmlCountryList = new XMLList();
_xmlCountryList = _xmlDoc.countries.country;
_local2 = 0;
while (_local2 < _xmlCountryList.length()) {
_xmlCountryList[_local2].@used = false;
_local2++;
};
_local3 = 0;
while (_local3 <= 10) {
_local4 = new Object();
_local5 = false;
while (!(_local5)) {
_local8 = (Math.ceil((Math.random() * _xmlCountryList.length())) - 1);
_local9 = _xmlCountryList[_local8];
if (_xmlCountryList[_local8].@used == "false"){
_local5 = true;
};
};
_local4.strName = _local9.@name;
_local4.x = int(_local9.@x);
_local4.y = int(_local9.@y);
_xmlCountryList[_local8].@used = true;
if (_local3 <= 4){
_local4.correctAnswer = _local3;
_local10 = new bonusLocation();
_local10.id = _local3;
_local10.x = 15;
_local10.y = ((30 * _local3) + 190);
_local10.pin_mc.numTXT.text = (_local3 + 1);
_local10.txtDestination.text = _local4.strName;
question_mc.addChild(_local10);
} else {
_local4.correctAnswer = false;
};
_local7 = 0;
for (;_local7 < 2;(_local11.pi = _local7), (_local11.original = true), if (_local7 == 1){
_local11.original = false;
_local11.sisterPoint = _local6;
_local6.sisterPoint = _local11;
}, _local7++) {
_local11 = new LocationDot();
_local11.mouseChildren = false;
_local11.buttonMode = true;
_local11.strCountry = _local4.strName;
_local11.x = (_local4.x + (_local7 * 0x0200));
_local11.y = _local4.y;
_local11.correctAnswer = _local4.correctAnswer;
_local1.points1_mc.addChild(_local11);
_local11.addEventListener(MouseEvent.MOUSE_DOWN, plotJourney);
_local11.isOver = false;
if ((_local7 == 0)){
_local6 = _local11;
continue;
};
};
_local3++;
};
_local1.points1_mc.graphics.clear();
_local1.scaleX = (_local1.scaleY = 1.7);
_local1.x = -30;
_local1.y = 220;
_local1.name = "globe";
question_mc.addChild(_local1);
showQuestion(true);
}
private function drawPlane(_arg1, _arg2, _arg3, _arg4, _arg5){
var _local6:*;
var _local7:*;
_local6 = new plane_icon();
_globePoints.addChild(_local6);
_local6.x = _arg1.x;
_local6.y = _arg1.y;
_local6.scaleX = 0;
_local6.scaleY = 0;
_local6.drawX = _arg1.x;
_local6.drawY = _arg1.y;
_local7 = (Math.abs(_arg5) / 100);
TweenMax.to(_local6, (0.1 * _local7), {scaleX:1, scaleY:1, ease:Circ.easeIn});
TweenMax.to(_local6, (0.1 * _local7), {delay:(1.9 * _local7), scaleX:0, scaleY:0, ease:Circ.easeOut});
TweenMax.to(_local6, (2 * _local7), {x:_arg2.x, y:_arg2.y, bezierThrough:[{x:_arg3, y:_arg4}], orientToBezier:true, onUpdate:drawLine, onUpdateParams:[_local6], onComplete:_globePoints.removeChild, onCompleteParams:[_local6], ease:Linear.easeNone});
}
private function shareMouseOut1(_arg1:MouseEvent){
TweenMax.to(_arg1.target, 0.2, {width:25, height:25, ease:Back.easeOut});
}
private function dotOver(_arg1:MouseEvent){
var _local2:Point;
var _local3:Point;
_youAreHere_mc.txtCountry.text = _arg1.target.strCountry;
_arg1.target.isOver = true;
_local2 = new Point(_arg1.target.x, _arg1.target.y);
_local3 = _arg1.target.parent.localToGlobal(_local2);
_youAreHere_mc.x = _local3.x;
_youAreHere_mc.y = _local3.y;
TweenMax.to(_youAreHere_mc, 0.5, {scaleX:1.75, scaleY:1.75, ease:Elastic.easeOut});
if ((_youAreHere_mc.scaleX < 0.4)){
_gameSounds.playSound("destination_title_reveal", "_sfxChannel1");
//unresolved jump
};
}
private function setupShareButtons(){
var _local1:*;
var _local2:*;
_local1 = 1;
while (_local1 <= 6) {
_local2 = share_mc.content_mc[(("share" + _local1) + "_mc")];
_local2.buttonMode = true;
_local2.addEventListener(MouseEvent.MOUSE_OVER, shareMouseOver);
_local2.addEventListener(MouseEvent.MOUSE_OUT, shareMouseOut);
_local2.addEventListener(MouseEvent.CLICK, shareMouseClick);
_local1++;
};
}
private function answerQuestion(_arg1:MouseEvent){
if (_arg1.target.correctWrong_mc != null){
TweenMax.to(_arg1.target.correctWrong_mc, 0.2, {y:3.4});
} else {
TweenMax.to(question_mc.correctWrong_mc, 0.2, {y:371});
};
if (_arg1.target.correctWrong_mc != null){
_arg1.target.correctWrong_mc.gotoAndStop(2);
} else {
question_mc.correctWrong_mc.gotoAndStop(2);
};
if (_arg1.target.correctAnswer){
_gameSounds.playSound("answer_right", "_sfxChannel1");
if (_arg1.target.correctWrong_mc != null){
_arg1.target.correctWrong_mc.gotoAndStop(1);
} else {
question_mc.correctWrong_mc.gotoAndStop(1);
};
_intTotalTimeTaken = (_intTotalTimeTaken + (30000 - (getTimer() - _intStartTime)));
_intCorrectAnswers++;
} else {
_gameSounds.playSound("answer_wrong", "_sfxChannel1");
};
disableAnswers();
_arg1.target.alpha = 1;
endCountdown(_arg1.target.correctAnswer, true);
}
private function multipleChoiceStandard(_arg1, _arg2){
var arrAnswers:Array;
var ia:int;
var i:int;
var answer:MovieClip;
var intAnswers = _arg1;
var xmlQuestion = _arg2;
setQuestionTitle(xmlQuestion);
question_mc.question_background_mc.gotoAndStop(1);
question_mc.fifty_btn.visible = true;
question_mc.auto_btn.visible = true;
question_mc.swap_btn.visible = true;
question_mc.txtQuestion.multiline = true;
if (xmlQuestion.img != ""){
if (_imgPass._bitmap != null){
_imgPass._bitmap.alpha = 0;
//unresolved jump
};
_imgPass.parseURL(("http://travelpursuit.viral-game.co.uk/assets/quiz_images/" + xmlQuestion.img), true);
TweenMax.to(imageHolder_mc, 0.5, {x:400});
trace(("IMAGE = " + xmlQuestion.img));
};
arrAnswers = new Array();
ia = 0;
while (ia < intAnswers) {
arrAnswers.push(xmlQuestion[("a" + (ia + 1))]);
ia = (ia + 1);
};
arrAnswers = ArrayUtils.randomArray(arrAnswers);
i = 0;
while (i < intAnswers) {
answer = new MultipleChoiceAnswer();
answer.val = (i + 1);
answer.x = 15;
answer.y = (190 + (i * 35));
answer.txtAnswer.text = arrAnswers[i];
answer.txtAnswer.mouseEnabled = false;
if ((arrAnswers[i].toString() == xmlQuestion.a1.toString())){
answer.correctAnswer = true;
} else {
answer.correctAnswer = false;
};
answer.buttonMode = true;
answer.mouseEnabled = true;
answer.destroy = function (){
question_mc.removeChild(this);
};
answer.disable = function (){
var _local1:TextFormat;
this.removeEventListener(MouseEvent.ROLL_OVER, answerQuestionOVER);
this.removeEventListener(MouseEvent.ROLL_OUT, answerQuestionOUT);
this.removeEventListener(MouseEvent.CLICK, answerQuestion);
this.buttonMode = false;
if (this.correctAnswer){
trace("YO SET COLOUR");
_local1 = new TextFormat();
_local1.color = 0xFFCC00;
this.txtAnswer.setTextFormat(_local1);
} else {
this.alpha = 0.3;
};
};
answer.addEventListener(MouseEvent.ROLL_OVER, answerQuestionOVER);
answer.addEventListener(MouseEvent.ROLL_OUT, answerQuestionOUT);
answer.addEventListener(MouseEvent.CLICK, answerQuestion);
question_mc.addChild(answer);
i = (i + 1);
};
}
private function shareMouseOut2(_arg1:MouseEvent){
TweenMax.to(_arg1.target, 0.2, {width:125, height:25, ease:Back.easeOut});
}
private function globalMouseClick(_arg1:MouseEvent){
var _local2:*;
switch (_arg1.target.name){
case "visitCheapflights_btn":
case "cheapFlights_btn":
Tracker.kvClick(1108);
_local2 = (_strURL + "?action=goto_client_link_1");
OpenURL.navigateURL(_local2);
break;
};
}
private function submitData(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8){
var _local9:Boolean;
var _local10:Boolean;
var _local11:Boolean;
var _local12:Boolean;
var _local13:Boolean;
var _local14:String;
var _local15:SubmitForm;
var _local16:SubmitForm;
var _local17:*;
var _local18:SubmitForm;
_local9 = Validate.string(_arg1);
_local10 = Validate.string(_arg2);
_local11 = Validate.email(_arg3);
_local12 = true;
if (_arg8){
_local12 = Validate.email(_arg4);
//unresolved jump
};
_local13 = false;
_local14 = Token.secret(_arg6);
if (_local9){
_local13 = LanguageFilter.containsSwearing(_arg1);
};
if (_local10){
if (!_local13){
_local13 = LanguageFilter.containsSwearing(_arg2);
};
};
if (((((((_local11) && (_local9))) && (_local10))) && (_local12))){
if (_arg8){
trace("RUN SHARE");
_local15 = new SubmitForm((DOMAIN + ACTION));
_local15.addField("action", "send_invite");
_local15.addField("player_first_name", _arg1);
_local15.addField("player_last_name", _arg2);
_local15.addField("player_email", _arg3);
_local15.addField("friend_email_array", _arg4);
_local15.addField("player_score", _cookie.getFromCookie("PLAYER_SCORE"));
_local15.submit();
_local15.addEventListener(SubmitForm.COMPLETE, shareDataComplete);
messageBox_mc.gotoAndStop(3);
messageBox_mc.visible = true;
messageBox_mc.txtMessage.text = "Sending Email - Please Wait";
} else {
if ((_arg6 > 0)){
Tracker.kvEvent(6465);
} else {
Tracker.kvEvent(6466);
};
_local16 = new SubmitForm((DOMAIN + ACTION));
if (((Validate.postCodeUK(_arg5)) && ((_arg6 > 0)))){
_local16.addField("action", "competition_submit");
} else {
_local16.addField("action", "scores_submit");
};
_local16.addField("token", _token);
_local16.addField("player_title", _strPrefix);
_local16.addField("player_first_name", _arg1);
_local16.addField("player_last_name", _arg2);
_local16.addField("player_email", _arg3);
_local16.addField("player_optin", new uint(_arg7));
_local16.addField("swear_flag", new uint(_local13));
_local16.addField("player_score", _arg6);
_local16.addField("player_postcode", _arg5);
_local16.addField("secure_player_score", _local14);
_local16.submit();
_local16.addEventListener(SubmitForm.COMPLETE, submitDataComplete);
submitScore_mc.content_mc.txt_firstName.text = _arg1;
newsletter_mc.content_mc.txt_firstName.text = _arg1;
share_mc.content_mc.txt_yourFirstName.text = _arg1;
submitScore_mc.content_mc.txt_surname.text = _arg2;
newsletter_mc.content_mc.txt_surname.text = _arg2;
share_mc.content_mc.txt_yourSurname.text = _arg2;
submitScore_mc.content_mc.txt_email.text = _arg3;
newsletter_mc.content_mc.txt_email.text = _arg3;
share_mc.content_mc.txt_yourEmail.text = _arg3;
submitScore_mc.content_mc.txt_postcode.text = _arg5;
newsletter_mc.content_mc.txt_postcode.text = _arg5;
messageBox_mc.gotoAndStop(3);
messageBox_mc.visible = true;
messageBox_mc.txtMessage.text = "Submitting Data - Please Wait";
};
if ((((_arg7 == 1)) && (((((Validate.postCodeUK(_arg5)) || ((StringUtils.removeExtraWhitespace(_arg5) == "ROI")))) || (_arg8))))){
_local17 = "http://services.cheapflights.com/subscribe/uk/?cfsource=cfuk-co-viral001";
if (_arg8){
_local17 = "http://services.cheapflights.com/subscribe/uk/?cfsource=cfuk-co-viral002";
//unresolved jump
};
_local17 = (_local17 + "&cfformat=M");
_local17 = (_local17 + ("&cfemail=" + _arg3));
if (_arg8){
} else {
_local17 = (_local17 + ("&cftitle=" + _strPrefix));
};
_local17 = (_local17 + ("&cffirstname=" + _arg1));
_local17 = (_local17 + ("&cflastname=" + _arg2));
if (_arg8){
_local17 = (_local17 + "&cfpostalcode=Z99RAF");
} else {
_local17 = (_local17 + ("&cfpostalcode=" + _arg5));
};
_local18 = new SubmitForm(_local17);
_local18.submit();
Tracker.kvEvent(6475);
trace("VALID UK POSTOCDE - DATA SENT TO CHEAPFLIGHTS");
trace(("EMAIL: " + _arg3));
trace(("Prefix: " + _strPrefix));
trace(("First Name: " + _arg1));
trace(("Last Name: " + _arg2));
trace(("Postcode: " + _arg5));
};
if (_arg8){
Tracker.kvEvent(6467);
//unresolved jump
};
} else {
messageBox_mc.gotoAndStop(2);
messageBox_mc.visible = true;
if (!_local9){
messageBox_mc.txtMessage.text = "Please enter your first name.";
} else {
if (!_local10){
messageBox_mc.txtMessage.text = "Please enter your surname.";
} else {
if (!_local11){
messageBox_mc.txtMessage.text = "Please enter a valid email address.";
} else {
if (!_local12){
messageBox_mc.txtMessage.text = "Please enter a valid friends email address.";
};
};
};
};
};
}
private function showDestinations():void{
_gameSounds.playSound("panel_slide_in", "_sfxChannel");
updateScoreCookie();
if (_intDestinationsVisited == 6){
Tracker.kvEvent(6464);
showSubmitScore();
} else {
_intDestinationsVisited++;
TweenMax.to(destination_mc, 0.5, {x:0});
_globe.setDefaultFlightPaths(_intDestinationID);
if (_isVisited_USA){
_globe.hideFlightPath("usa");
//unresolved jump
};
if (_isVisited_SA){
_globe.hideFlightPath("sa");
//unresolved jump
};
if (_isVisited_Asia){
_globe.hideFlightPath("asia");
//unresolved jump
};
if (_isVisited_Europe){
_globe.hideFlightPath("europe");
//unresolved jump
};
if (_isVisited_Australia){
_globe.hideFlightPath("australia");
//unresolved jump
};
if (_isVisited_Africa){
_globe.hideFlightPath("africa");
//unresolved jump
};
};
}
private function shareMouseOver(_arg1:MouseEvent){
TweenMax.to(_arg1.target, 0.2, {scaleX:1.2, scaleY:1.2, ease:Back.easeOut});
}
}
}//package src
Section 38
//GameSounds (src.GameSounds)
package src {
import gs.*;
import flash.media.*;
public class GameSounds {
public var _musicChannel1:SoundChannel;
public var _sfxChannel:SoundChannel;
public var _isMuted;// = false
public var _intVolume;// = 1
public var _sfxChannel1:SoundChannel;
public var _sfxChannel2:SoundChannel;
public var _soundTransform:SoundTransform;
public var _musicChannel:SoundChannel;
public static var _objSounds = new Object();
public function GameSounds(){
_sfxChannel = new SoundChannel();
_sfxChannel1 = new SoundChannel();
_sfxChannel2 = new SoundChannel();
_musicChannel = new SoundChannel();
_musicChannel1 = new SoundChannel();
_soundTransform = new SoundTransform();
_isMuted = false;
_intVolume = 1;
super();
_objSounds.answer_right = new travel_pursuit_answer_right();
_objSounds.answer_slide_in = new travel_pursuit_answer_slide_in();
_objSounds.answer_slide_out = new travel_pursuit_answer_slide_out();
_objSounds.answer_wrong = new travel_pursuit_answer_wrong();
_objSounds.bonus_50 = new travel_pursuit_bonus_50();
_objSounds.bonus_auto = new travel_pursuit_bonus_auto();
_objSounds.bonus_swap = new travel_pursuit_bonus_swap();
_objSounds.button_click = new travel_pursuit_button_click();
_objSounds.button_over = new travel_pursuit_button_over();
_objSounds.clock_tick = new travel_pursuit_clock_tick();
_objSounds.destination_title_reveal = new travel_pursuit_destination_title_reveal();
_objSounds.flyby = new travel_pursuit_flyby();
_objSounds.globe_spinning = new travel_pursuit_globe_spinning();
_objSounds.location_marker_rollover_v1 = new travel_pursuit_location_marker_rollover_v1();
_objSounds.location_marker_rollover_v2 = new travel_pursuit_location_marker_rollover_v2();
_objSounds.location_marker_rollover_v3 = new travel_pursuit_location_marker_rollover_v3();
_objSounds.panel_slide_in = new travel_pursuit_panel_slide_in();
_objSounds.panel_slide_out = new travel_pursuit_panel_slide_out();
_objSounds.score_counter_v1 = new travel_pursuit_score_counter_v1();
_objSounds.score_counter_v2 = new travel_pursuit_score_counter_v2();
_objSounds.score_counter_v3 = new travel_pursuit_score_counter_v3();
_objSounds.use_lifeline = new travel_pursuit_use_lifeline();
_objSounds.music_loop1 = new travel_pursuit_music_frontend_loop();
_objSounds.music_loop2 = new travel_pursuit_music_gameover();
_objSounds.music_loop3 = new travel_pursuit_music_ingame_loop();
setVolume();
}
public function setChannelVolume(_arg1:Number, _arg2:String){
var _local3:SoundTransform;
_local3 = new SoundTransform();
_local3.volume = _arg1;
this[_arg2].soundTransform = _local3;
}
public function stopAllEffects(_arg1){
SoundMixer.stopAll();
}
public function setVolume(){
SoundMixer.soundTransform = new SoundTransform(_intVolume);
}
public function fadeChannelVolume(_arg1:Number, _arg2:Number, _arg3:String, _arg4:Number, _arg5:Boolean=false):void{
var fromVol = _arg1;
var tooVol = _arg2;
var channel = _arg3;
var time = _arg4;
var stopAfter = _arg5;
try {
TweenMax.from(this[channel], time, {volume:fromVol});
if (!stopAfter){
TweenMax.to(this[channel], time, {volume:tooVol});
} else {
TweenMax.to(this[channel], time, {volume:tooVol, onComplete:stopSound, onCompleteParams:[channel]});
};
} catch(e:Error) {
trace("Sound Error: no speakers");
};
}
public function stopSound(_arg1){
this[_arg1].stop();
}
public function muteSound():Boolean{
trace("MUTE SOUND");
switch (_isMuted){
case true:
_intVolume = 1;
_isMuted = false;
setVolume();
break;
case false:
_intVolume = 0;
_isMuted = true;
setVolume();
break;
};
return (_isMuted);
}
public function playSound(_arg1:String, _arg2:String="_sfxChannel", _arg3:Boolean=false, _arg4:int=999999, _arg5:int=0){
var intRepeatCount:*;
var strWhatSound = _arg1;
var strWhatChannel = _arg2;
var isLooping = _arg3;
var intLoopCount = _arg4;
var intStartTime = _arg5;
try {
intRepeatCount = 0;
if (isLooping){
intRepeatCount = intLoopCount;
};
this[strWhatChannel] = _objSounds[strWhatSound].play(intStartTime, intRepeatCount);
} catch(e:Error) {
trace((((("error playing " + strWhatSound) + " sound in ") + strWhatChannel) + " channel"));
};
}
}
}//package src
Section 39
//Globe (src.Globe)
package src {
import flash.events.*;
import flash.display.*;
public class Globe extends MovieClip {
public var front_map_mc:MovieClip;
public var globe_hit_mc:MovieClip;
public var reverse_map_mc:MovieClip;
public var map_color_mc:MovieClip;
public var points_mc:MovieClip;
private var _intAccel:Number;// = 0.8
private var _intMaxSpeed:int;// = 10
private var _intCurrentMaxSpeed:Number;// = 0
public var points1_mc:MovieClip;
private var _intXSpeed:Number;// = 0
public function Globe(){
_intXSpeed = 0;
_intCurrentMaxSpeed = 0;
_intMaxSpeed = 10;
_intAccel = 0.8;
super();
trace("YO");
addEventListener(Event.ENTER_FRAME, spinGlobe);
}
public function setDefaultFlightPaths(_arg1:int){
setFlightPaths("usa_mc", _arg1);
setFlightPaths("sa_mc", _arg1);
setFlightPaths("europe_mc", _arg1);
setFlightPaths("asia_mc", _arg1);
setFlightPaths("australia_mc", _arg1);
setFlightPaths("africa_mc", _arg1);
points_mc.star_mc.gotoAndStop(_arg1);
}
public function hideFlightPath(_arg1){
points_mc[(_arg1 + "_btn")].visible = false;
points_mc[(_arg1 + "_btn1")].visible = false;
setFlightPaths((_arg1 + "_mc"), 1);
}
public function setFlightPath(){
setDefaultFlightPaths(5);
}
public function setFlightPaths(_arg1:String, _arg2:int){
points_mc.dest1_mc[_arg1].gotoAndStop(_arg2);
points_mc.dest2_mc[_arg1].gotoAndStop(_arg2);
trace("SET DEST");
}
private function spinGlobe(_arg1:Event=null){
if ((((((_intXSpeed < 0.5)) && ((_intXSpeed > -0.5)))) && ((_intCurrentMaxSpeed == 0)))){
_intXSpeed = 0;
};
if (_intXSpeed > _intCurrentMaxSpeed){
_intXSpeed = (_intXSpeed - _intAccel);
} else {
if (_intXSpeed < _intCurrentMaxSpeed){
_intXSpeed = (_intXSpeed + _intAccel);
};
};
if ((((this.mouseX > 100)) && ((this.mouseX < 480)))){
if (this.mouseX < 250){
_intCurrentMaxSpeed = (_intMaxSpeed * ((250 - this.mouseX) / 70));
} else {
if (this.mouseX > 330){
_intCurrentMaxSpeed = (0 - (_intMaxSpeed * ((this.mouseX - 330) / 70)));
} else {
_intCurrentMaxSpeed = 0;
};
};
} else {
_intCurrentMaxSpeed = 0;
};
front_map_mc.x = (front_map_mc.x + _intXSpeed);
reverse_map_mc.x = (reverse_map_mc.x - _intXSpeed);
if (front_map_mc.x > 0){
front_map_mc.x = (front_map_mc.x - (front_map_mc.width / 2));
reverse_map_mc.x = (reverse_map_mc.x + (reverse_map_mc.width / 2));
} else {
if (front_map_mc.x < -500){
front_map_mc.x = (front_map_mc.x + (front_map_mc.width / 2));
reverse_map_mc.x = (reverse_map_mc.x - (reverse_map_mc.width / 2));
};
};
if (points_mc != null){
points_mc.x = (front_map_mc.x + 132);
//unresolved jump
};
if (points1_mc != null){
points1_mc.x = (front_map_mc.x - 7);
//unresolved jump
};
}
}
}//package src
Section 40
//XMLQuestions (src.XMLQuestions)
package src {
public class XMLQuestions {
public static var _xmlDoc:XML = <questions>
<North_America_Canada>
<question cat="3" type="1">
<q>In which US city would you find the Space Needle?</q>
<a1>Seattle</a1>
<a2>Huntsville </a2>
<a3>On the Moon</a3>
<a4>New York</a4>
<a5>Las Vegas</a5>
<img>497E481BDF76F0CCBB15BE0623F1282B.jpg</img>
</question>
<question cat="6" type="1">
<q>Which of the following is correctly spelt</q>
<a1>Mississippi </a1>
<a2>Misisipi </a2>
<a3>Mississipppi </a3>
<a4>Mississsippii</a4>
<a5>Misissippi </a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Where in the U.S.A. are you, if your plane lands at Logan Airport?</q>
<a1>Boston</a1>
<a2>Denver</a2>
<a3>Washington D.C.</a3>
<a4>Chicago</a4>
<a5>Logan City</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which of the following North American airlines bears the initials AA?</q>
<a1>American Airlines</a1>
<a2>Australia Airplanes</a2>
<a3>Virgin Atlantic</a3>
<a4>Alcoholics Anonymous</a4>
<a5>Cathay Pacific</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the airport code for Sacramento International Airport, CA?</q>
<a1>SMF</a1>
<a2>SAC</a2>
<a3>SCA</a3>
<a4>SMC</a4>
<a5>SAT</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the airport code for Los Angeles, CA?</q>
<a1>LAX</a1>
<a2>LAS</a2>
<a3>LOS</a3>
<a4>LAN</a4>
<a5>LNC</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Where are you flying to if your baggage tags read 'LAX'?</q>
<a1>Los Angeles</a1>
<a2>Lanzadonii</a2>
<a3>Lexington</a3>
<a4>Belgrade</a4>
<a5>Lome</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>In what state is Mount Rushmore located?</q>
<a1>South Dakota</a1>
<a2>North Dakota</a2>
<a3>East Dakota</a3>
<a4>Idaho </a4>
<a5>Wyoming</a5>
<img>4F95A8342A1950F0122F444C32AE5793.jpg</img>
</question>
<question cat="3" type="1">
<q>The cable cars of this US city are the only mobile national monument. </q>
<a1>San Francisco </a1>
<a2>Nevada</a2>
<a3>Los Angeles </a3>
<a4>Oklahoma</a4>
<a5>Lisbon</a5>
<img>496B95AC531234791985F22A27018CE3.jpg</img>
</question>
<question cat="5" type="1">
<q>What was the first American capital?</q>
<a1>Washington D.C.</a1>
<a2>Detroit</a2>
<a3>Boston</a3>
<a4>San Francisco </a4>
<a5>New York </a5>
<img>B743FE8A3AAC2AC20653A129C7AD5D9B.jpg</img>
</question>
<question cat="3" type="1">
<q>In which US city would you find the Empire State Building?</q>
<a1>New York</a1>
<a2>San Francisco</a2>
<a3>Chicago</a3>
<a4>Atlanta</a4>
<a5>Boston</a5>
<img>A56445E2CF4BAB03C1BDE87CF6430486.jpg</img>
</question>
<question cat="3" type="1">
<q>In which country is the largest world's pyramid located?</q>
<a1>Mexico</a1>
<a2>Canada</a2>
<a3>United States</a3>
<a4>Jamaica</a4>
<a5>Saint Lucia</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>In which city is the world's largest cathedral located?</q>
<a1>New York City</a1>
<a2>Toronto</a2>
<a3>Chicago</a3>
<a4>Mexico City</a4>
<a5>Chivas City</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The Golden Gate Bridge is located in which Californian city?</q>
<a1>San Francisco </a1>
<a2>Beverly Hills </a2>
<a3>Los Angeles </a3>
<a4>San Jose </a4>
<a5>Silicon Valley </a5>
<img>B2DD44887228CDEE85253549311E7ABF.jpg</img>
</question>
<question cat="6" type="1">
<q>Which of these Presidents is among the four carved into Mount Rushmore?</q>
<a1>Thomas Jefferson</a1>
<a2>John F. Kennedy</a2>
<a3>Barack Obama</a3>
<a4>Herbert Hoover</a4>
<a5>Grover Cleveland</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which city is the biggest centre for the manufacture of automobiles in the world?</q>
<a1>Detroit</a1>
<a2>New York</a2>
<a3>Mexico City</a3>
<a4>Tokyo</a4>
<a5>Boston</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What famous American landmark is constantly moving backwards?</q>
<a1>Niagara Falls</a1>
<a2>Dunn's River Falls</a2>
<a3>Lincoln Memorial</a3>
<a4>The White House</a4>
<a5>The Statue of Liberty</a5>
<img>9B502ECCF1314E051C71096284D43918.jpg</img>
</question>
<question cat="6" type="1">
<q>Who preceded Barack Obama as US President?</q>
<a1>George Bush</a1>
<a2>Bill Clinton</a2>
<a3>Tony Blair</a3>
<a4>George Weah</a4>
<a5>Lily Allen</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which airline carried the most passengers in 2005?</q>
<a1>American Airlines</a1>
<a2>Delta Airlines</a2>
<a3>British Airways</a3>
<a4>Wizz Air</a4>
<a5>Continental Airlines</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which of these airlines is the only one based in Mexico?</q>
<a1>Aero California</a1>
<a2>Continental Airlines</a2>
<a3>AeroMexico</a3>
<a4>Mexicana</a4>
<a5>US Airways</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which one of these airlines flies only within the United States?</q>
<a1>Southwest Airlines</a1>
<a2>US Airways</a2>
<a3>United Airlines</a3>
<a4>Continental Airlines</a4>
<a5>American Airlines</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which airline is reportedly North America's largest airline?</q>
<a1>Southwest Airlines</a1>
<a2>Delta Airlines</a2>
<a3>US Airways</a3>
<a4>United Airlines</a4>
<a5>AeroMexico</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which airline from this continent bears the initials AA?</q>
<a1>American Airlines</a1>
<a2>Atlantic Airlines</a2>
<a3>Airline Airways</a3>
<a4>Alabama Airlines</a4>
<a5>Alaska Airways</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>ATL stands for which American airport?</q>
<a1>Atlanta International</a1>
<a2>Atlantic City International</a2>
<a3>Anchorage International</a3>
<a4>Austin-Bergstrom International</a4>
<a5>Atlantic Travel International</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>The code ISP stands for which New York airport?</q>
<a1>Long Island MacArthur Airport</a1>
<a2>Westchester County Airport</a2>
<a3>La Guardia</a3>
<a4>International Seattle Port</a4>
<a5>Buffalo Nigara International</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the full name of a Houston airport with the code IAH?</q>
<a1>George Bush Intercontinental</a1>
<a2>Illinois Airport Hanning</a2>
<a3>Illinois Airway Hands</a3>
<a4>International Airport Hangar</a4>
<a5>Interesting Animal Holdings</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>In which city was the current US President Barack Obama born?</q>
<a1>Honolulu</a1>
<a2>Chicago</a2>
<a3>Boston</a3>
<a4>New York</a4>
<a5>Las Vegas</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which US city is an internationally renowned resort for gambling?</q>
<a1>Las Vegas</a1>
<a2>Chicago</a2>
<a3>New York</a3>
<a4>Michigan</a4>
<a5>Connecticut</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the most populated city within North America & Canada?</q>
<a1>Mexico City</a1>
<a2>Ottawa</a2>
<a3>Chicago</a3>
<a4>Toronto</a4>
<a5>New York City</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which North American city created skyscrapers, hence having the nickname 'City of Big Shoulders'?</q>
<a1>Chicago</a1>
<a2>New York City</a2>
<a3>Las Vegas</a3>
<a4>Boston</a4>
<a5>Toronto</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous American was the inspiration for the creation of the teddy bear?</q>
<a1>Theodore Roosevelt</a1>
<a2>Buffalo Bill</a2>
<a3>George Bush</a3>
<a4>Harry Houdini</a4>
<a5>Serena Williams</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous American founded Ford Motor Company?</q>
<a1>Henry Ford</a1>
<a2>Bill Gates</a2>
<a3>John Ford</a3>
<a4>Henry Heinz</a4>
<a5>Samuel Slater</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which American inventor created the light bulb?</q>
<a1>Thomas Edison</a1>
<a2>Philo Farnsworth</a2>
<a3>John Deere</a3>
<a4>Alexander Graham Bell</a4>
<a5>Michael DeBakey</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which American played against Roger Federer in the Wimbledon 2009 final?</q>
<a1>Andy Roddick</a1>
<a2>Pete Sampras</a2>
<a3>John McEnroe</a3>
<a4>James Blake</a4>
<a5>Venus Williams</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The Statue of Liberty was built to represent the friendship of the US and which other nation?</q>
<a1>France</a1>
<a2>England</a2>
<a3>Qatar</a3>
<a4>Canada</a4>
<a5>New Zealand</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which of these is not an airport in Pennsylvania?</q>
<a1>PHI</a1>
<a2>AVP</a2>
<a3>PIT</a3>
<a4>JST</a4>
<a5>ABE</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Logan International Airport in Boston? </q>
<a1>BOS</a1>
<a2>LIA</a2>
<a3>LOG</a3>
<a4>LAB</a4>
<a5>BLO</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Canc�n International Airport in Mexico? </q>
<a1>CUN</a1>
<a2>MEX</a2>
<a3>CIA</a3>
<a4>CAN</a4>
<a5>CIM</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Toronto Pearson International Airport in Canada? </q>
<a1>YYZ</a1>
<a2>CAN</a2>
<a3>TOR</a3>
<a4>TPI</a4>
<a5>TIA</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the state capital of Texas?</q>
<a1>Austin</a1>
<a2>Houston</a2>
<a3>San Antonio</a3>
<a4>El Paso</a4>
<a5>Dallas</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the oldest city in North America by year of foundation in 700 BC?</q>
<a1>Ticul</a1>
<a2>Cholula</a2>
<a3>New York</a3>
<a4>Old</a4>
<a5>Cahokia</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Canada?</q>
<a1>Ottawa</a1>
<a2>Toronto</a2>
<a3>Curry</a3>
<a4>Montreal</a4>
<a5>Vancouver</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the most populous North American city?</q>
<a1>Mexico City</a1>
<a2>Los Angeles</a2>
<a3>New York</a3>
<a4>Toronto</a4>
<a5>Chicago</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Jamaica?</q>
<a1>Kingston</a1>
<a2>Montego Bay</a2>
<a3>Reggae</a3>
<a4>Portmore</a4>
<a5>Bob Marley</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which of these is not a Las Vegas casino?</q>
<a1>Vegas Vegas</a1>
<a2>Mandalay Bay</a2>
<a3>Wynn</a3>
<a4>Bellagio</a4>
<a5>Hooters</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which ice hockey team plays at Mellon Arena?</q>
<a1>Pittsburgh Penguins</a1>
<a2>Philadelphia Flyers</a2>
<a3>New Jersey Devils</a3>
<a4>New York Rangers</a4>
<a5>New York Islanders</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Where is the one-time tallest building in the world, now called the Willis Tower, situated?</q>
<a1>Chicago</a1>
<a2>New York</a2>
<a3>Sunderland</a3>
<a4>Las Vegas</a4>
<a5>Ohio</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>What is the name of the USA's largest sporting stadium?</q>
<a1>Beaver Stadium</a1>
<a2>Michigan Stadium</a2>
<a3>US Stadium</a3>
<a4>Ohio Stadium</a4>
<a5>Wembley Stadium</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>What is the name of the world's largest landmark, located in Mexico?</q>
<a1>Great Pyramid of Cholula</a1>
<a2>St. Gereon's Basilica</a2>
<a3>Temple of Mercury</a3>
<a4>Bronze Building</a4>
<a5>Great Cacaxtla</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>What is the name of the world's largest cathedral, located in New York City?</q>
<a1>Cathedral Church of St. John the Divine</a1>
<a2>St. Stephen's</a2>
<a3>Cathedral of St. Paul the Holy</a3>
<a4>Cathedral of St. Homer</a4>
<a5>Cathedral Church</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the rough translation of 'Canada'?</q>
<a1>Village</a1>
<a2>Lake</a2>
<a3>North</a3>
<a4>Land of snow</a4>
<a5>Mountains</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>A Rastaman follows which religious movement?</q>
<a1>Rastafari movement</a1>
<a2>Rasta</a2>
<a3>Reggae</a3>
<a4>Dance</a4>
<a5>Funk movement</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the name of the USA's national anthem?</q>
<a1>The Star-Spangled Banner</a1>
<a2>In God We Trust</a2>
<a3>The Red & White Stripes</a3>
<a4>Land Of The Free</a4>
<a5>Anacreon In Heaven</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What are the two official languages of Canada?</q>
<a1>English & French</a1>
<a2>French & Jamaican</a2>
<a3>German & Antiguan</a3>
<a4>Arabic & Afrikaan</a4>
<a5>English & Brazilian</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Reggae is a genre of music first created by which country?</q>
<a1>Jamaica</a1>
<a2>Barbados</a2>
<a3>Antartica</a3>
<a4>Grenada</a4>
<a5>Munich</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which is the only US state not to have a straight line in its borders?</q>
<a1>Hawaii</a1>
<a2>Atlanta</a2>
<a3>California</a3>
<a4>Florida</a4>
<a5>Alaska</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>How many American state names begin with the letter `M`?</q>
<a1>8</a1>
<a2>7</a2>
<a3>6</a3>
<a4>5</a4>
<a5>4</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>When was American Airlines founded?</q>
<a1>1930</a1>
<a2>1935</a2>
<a3>1925</a3>
<a4>1940</a4>
<a5>1945</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is the national flag carrier of the Cayman Islands?</q>
<a1>Cayman Airways</a1>
<a2>Cayman International Airlines</a2>
<a3>Cayman Islands Airlines</a3>
<a4>Cayman Islands Airways</a4>
<a5>Grand Cayman Airways</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Hawaiian Airlines operates its main hub from which airport?</q>
<a1>Honolulu International Airport</a1>
<a2>Lihue Airport</a2>
<a3>Pago Pago International Airport</a3>
<a4>Kona International Airport</a4>
<a5>Hilo International Airport</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Where is Virgin America's airport hub located?</q>
<a1>San Francisco International Airport</a1>
<a2>Houston Intercontinental</a2>
<a3>Memphis International Airport</a3>
<a4>New York JFK</a4>
<a5>Charlotte International Airport</a5>
<img></img>
</question>
<question cat="3" type="2">
<q>In which country would you find the Mojave Desert?</q>
<img></img>
<country name="U.S.A" x="114" y="69">U.S.A</country>
</question>
<question cat="6" type="2">
<q>What is the second largest country in the world?</q>
<img></img>
<country name="Canada" x="113" y="42">Canada</country>
</question>
<question cat="6" type="2">
<q>What country has the largest coastline?</q>
<img></img>
<country name="Canada" x="113" y="42">Canada</country>
</question>
<question cat="6" type="2">
<q>Which flag depicts the image of an eagle devouring a snake?</q>
<img></img>
<country name="Mexico" x="119" y="92">Mexico</country>
</question>
</North_America_Canada>
<Asia>
<question cat="5" type="1">
<q>What is the capital of Afghanistan?</q>
<a1>Kabul</a1>
<a2>Teheran</a2>
<a3>Kandahar</a3>
<a4>Baghdad</a4>
<a5>Afghan</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What was Mumbai formerly known as?</q>
<a1>Bombay</a1>
<a2>Mumbay</a2>
<a3>Bali</a3>
<a4>Goa</a4>
<a5>Delhi</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>____ is the longest man-made monument. </q>
<a1>The Great Wall of China</a1>
<a2>The Pyramids of Giza</a2>
<a3>The Amazon River</a3>
<a4>The Panama Canal</a4>
<a5>The Eiffel Tower</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which airline is represented by the airline code BI?</q>
<a1>Royal Brunei</a1>
<a2>British Midland</a2>
<a3>Bulgarian Airlines</a3>
<a4>Sabena</a4>
<a5>Royal Jordanian Airlines</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is India's national airline?</q>
<a1>Air India </a1>
<a2>India National Airlines</a2>
<a3>Jet Airways</a3>
<a4>Kingfisher Airlines</a4>
<a5>SpiceJet </a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which of these countries is the biggest?</q>
<a1>India</a1>
<a2>Thailand</a2>
<a3>Sri Lanka</a3>
<a4>Bangladesh</a4>
<a5>Pakistan</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which of these counties shares a border with Cambodia?</q>
<a1>Laos</a1>
<a2>Malaysia</a2>
<a3>China</a3>
<a4>Australia</a4>
<a5>Korea</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>In which country will you find the largest Buddhist temple in the world?</q>
<a1>Indonesia</a1>
<a2>Japan</a2>
<a3>Kuwait</a3>
<a4>United Arab Emirates</a4>
<a5>Turkey</a5>
<img>47F211FB8CE9A1A9E212E4CC21764B6B.jpg</img>
</question>
<question cat="3" type="1">
<q>The Todaiji Temple, the world's largest wooden building, is located in which country?</q>
<a1>Japan</a1>
<a2>India</a2>
<a3>Hong Kong</a3>
<a4>Burma</a4>
<a5>China</a5>
<img>E043C24D81264FB13D81DE9960D1527E.jpg</img>
</question>
<question cat="3" type="1">
<q>In which country would you find the world's largest Roman temple, the Temple of Jupiter?</q>
<a1>Lebanon</a1>
<a2>Italy</a2>
<a3>Cyprus</a3>
<a4>Mongolia</a4>
<a5>Turkey</a5>
<img>1F1D484794F1D9461A8F5FA53BDEEB5B.jpg</img>
</question>
<question cat="3" type="1">
<q>In which country would you find the world's largest solid-gold Buddha?</q>
<a1>Bangkok, Thailand</a1>
<a2>Taipei, Taiwan</a2>
<a3>Singapore City, Singapore</a3>
<a4>Kuala Lumpur, Malaysia</a4>
<a5>Jakarta, Indonesia</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>The largest mountain in the world is in Asia. What is it's name?</q>
<a1>Mount Everest</a1>
<a2>Mount Lhotse</a2>
<a3>Broad Peak</a3>
<a4>Mount Makalu</a4>
<a5>Masherbrum</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which religion would you find most Thai people follow?</q>
<a1>Buddhism</a1>
<a2>Christianity</a2>
<a3>Hindu</a3>
<a4>Islam</a4>
<a5>Sikh</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which of these is Japan's largest city?</q>
<a1>Tokyo</a1>
<a2>Kobe</a2>
<a3>Late Toya</a3>
<a4>Mr. Fuji</a4>
<a5>Kyoto</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>In which country is the world's largest multi-purpose stadium, the Rungrado May Day Stadium?</q>
<a1>North Korea</a1>
<a2>China</a2>
<a3>Japan</a3>
<a4>South Korea</a4>
<a5>Indonesia</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>In which country is Asiana Airlines based?</q>
<a1>South Korea</a1>
<a2>Japan</a2>
<a3>Georgia</a3>
<a4>Iran</a4>
<a5>Laos</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Spice Jet is an airline in which country?</q>
<a1>India</a1>
<a2>Yemen</a2>
<a3>Cyprus</a3>
<a4>Brunei</a4>
<a5>Hong Kong</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>In which country is Air Blue based?</q>
<a1>Pakistan</a1>
<a2>India</a2>
<a3>Israel</a3>
<a4>Malaysia</a4>
<a5>Maldives</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>In which country is El Al airlines based?</q>
<a1>Israel</a1>
<a2>Nepal</a2>
<a3>Russia</a3>
<a4>Singapore</a4>
<a5>Taiwan</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>DG is the airline code for which airline in the Philippines?</q>
<a1>South East Asian Airlines</a1>
<a2>South East Air</a2>
<a3>South Eastern Air</a3>
<a4>South East Asia Airlines</a4>
<a5>Southern East Air</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>5J is the airline code for which airline?</q>
<a1>Cebu Pacific Air</a1>
<a2>Cambodia Pacific Air</a2>
<a3>China Pawn Airlines</a3>
<a4>Cyprus Pacific Airline</a4>
<a5>Cocos Pacific Airways</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>BG is the airline code for which Asian airline?</q>
<a1>Bangladesh Biman Airlines</a1>
<a2>Bhutan Bump Air</a2>
<a3>Britain's British Airways</a3>
<a4>Bhutan Bulai Airlines</a4>
<a5>Brunei Baram Air</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the airline code for Bangkok Airways?</q>
<a1>PG</a1>
<a2>BA</a2>
<a3>GP</a3>
<a4>PB</a4>
<a5>BK</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which city is the capital of Japan?</q>
<a1>Tokyo</a1>
<a2>Osaka</a2>
<a3>Yokohama</a3>
<a4>Kyoto</a4>
<a5>Birmingham</a5>
<img>364DC9066B87C7C00B9C78A965F9772E.jpg</img>
</question>
<question cat="5" type="1">
<q>What is the capital of Azerbaijan?</q>
<a1>Baku</a1>
<a2>Thimphu</a2>
<a3>Kabul</a3>
<a4>Los Angeles</a4>
<a5>Yerevan</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Where in China would you find the 'Forbidden City'?</q>
<a1>Beijing</a1>
<a2>Kuala Lumpur</a2>
<a3>Shanghai</a3>
<a4>Tianjin</a4>
<a5>Changsha</a5>
<img>17C11A8740F5DA39C35A6BFDFE6F85A3.jpg</img>
</question>
<question cat="5" type="1">
<q>New Delhi is the capital of which country?</q>
<a1>India</a1>
<a2>Mongolia</a2>
<a3>Sri Lanka</a3>
<a4>China</a4>
<a5>Uzbekistan</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous Filipeno boxer defeated Briton Ricky Hatton on 2 May 2009? </q>
<a1>Manny Pacquiao</a1>
<a2>Floyd Mayweather</a2>
<a3>Gordon Brown</a3>
<a4>Paulie Malignaggi</a4>
<a5>Juan Urango</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Who captained Pakistan to cricket World Cup victory in 1992?</q>
<a1>Imran Khan</a1>
<a2>Shilpa Shetty</a2>
<a3>Intikhab Alam</a3>
<a4>Younus Khan</a4>
<a5>Salman Butt</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which inspirational character led India to independence from the British Raj?</q>
<a1>Mohandas Gandhi</a1>
<a2>Shah Jahan</a2>
<a3>Sachin Tendulkar</a3>
<a4>Indira Gandhi</a4>
<a5>Sienna Miller</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous Chinese actor starred in the movies Rush Hour 1, 2 & 3?</q>
<a1>Jackie Chan</a1>
<a2>Chris Tucker</a2>
<a3>Lee Bruce</a3>
<a4>Bruce Lee</a4>
<a5>Gigi Leung</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the currency of Hong Kong?</q>
<a1>Hong Kong Dollar</a1>
<a2>US Dollar</a2>
<a3>Yen</a3>
<a4>Euro</a4>
<a5>It has no currency of its own</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which Asian city is one of the world's leading financial centres?</q>
<a1>Hong Kong</a1>
<a2>Baghdad</a2>
<a3>New Delhi</a3>
<a4>Colombo</a4>
<a5>Amman</a5>
<img>08254C6EAD1B3E220E8C8B559A79EFEA.jpg</img>
</question>
<question cat="1" type="1">
<q>What is the code for Tokyo Narita Airport?</q>
<a1>NRT</a1>
<a2>TNA</a2>
<a3>TAN</a3>
<a4>TAA</a4>
<a5>TNN</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Beijing Capital International Airport?</q>
<a1>PEK</a1>
<a2>KPE</a2>
<a3>BCI</a3>
<a4>BIA</a4>
<a5>BCA</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Hong Kong International Airport?</q>
<a1>HKG</a1>
<a2>HKI</a2>
<a3>HIA</a3>
<a4>HKA</a4>
<a5>HON</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Dubai International Airport? </q>
<a1>DXB</a1>
<a2>DIA</a2>
<a3>DAI</a3>
<a4>DBA</a4>
<a5>DUB</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Pakistan?</q>
<a1>Islamabad</a1>
<a2>Karachi</a2>
<a3>Dublin</a3>
<a4>Faisalabad</a4>
<a5>Lahore</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>The 'Forbidden City' is located in which country?</q>
<a1>China</a1>
<a2>Brunei</a2>
<a3>Japan</a3>
<a4>Leeds</a4>
<a5>Israel</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>The 2008 Olympic Games opening ceremony was hosted in which city?</q>
<a1>Beijing</a1>
<a2>Doha</a2>
<a3>London</a3>
<a4>Guangdong</a4>
<a5>Shanghai</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Mongolia?</q>
<a1>Ulan Bator</a1>
<a2>Altai</a2>
<a3>Anne Robinson</a3>
<a4>Khovd</a4>
<a5>Cardiff</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>In which city is the `Wailing Wall`?</q>
<a1>Jerusalem</a1>
<a2>Tel Aviv</a2>
<a3>Nazareth</a3>
<a4>Eilat</a4>
<a5>Haifa</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the most populated city in the world?</q>
<a1>Shanghai</a1>
<a2>Mexico City</a2>
<a3>Beijing</a3>
<a4>London</a4>
<a5>Calcutta</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is Chang Cheng better known as in English?</q>
<a1>The Great Wall Of China</a1>
<a2>Hong Kong</a2>
<a3>Coca Cola</a3>
<a4>Sweat and Sour Pork</a4>
<a5>Chinese Chopsticks</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which building is to become the world's tallest man-made structure when opened in December 2009?</q>
<a1>Burj Dubai</a1>
<a2>Taipei 101</a2>
<a3>Sears Tower</a3>
<a4>One Canada Square</a4>
<a5>Peter Crouch</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which towers are the tallest twin buildings in the world and have been since their construction in 1998?</q>
<a1>Petronas Twin Towers</a1>
<a2>The Imperial</a2>
<a3>Twin Towers</a3>
<a4>Bahrain Financial Harbour</a4>
<a5>The Tokyo Towers</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which of these buildings hosts the highest hotel in the world?</q>
<a1>Shanghai World Financial Centre</a1>
<a2>Big Ben</a2>
<a3>Jin Mao Building</a3>
<a4>Burj Dubai</a4>
<a5>Central Plaza</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is the name of the world's largest wooden building, located in Japan?</q>
<a1>Todaiji Temple</a1>
<a2>Kegon Temple</a2>
<a3>Tegaimon</a3>
<a4>The London Eye</a4>
<a5>Shoro Temple</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Mikado is a title given to emperors of which country?</q>
<a1>Japan</a1>
<a2>China</a2>
<a3>Tibet</a3>
<a4>Thailand</a4>
<a5>North Korea</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the Middle East's most abundant natural resource?</q>
<a1>Oil</a1>
<a2>Coal</a2>
<a3>Steel</a3>
<a4>Wood</a4>
<a5>Pizza</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What does U.A.E. stand for?</q>
<a1>United Arab Emirates</a1>
<a2>United Arabian Extensive</a2>
<a3>Untoward Appetising Eating</a3>
<a4>United Asian Emirs</a4>
<a5>United Arabic E-mail</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the only country in Asia that is also in Europe?</q>
<a1>Turkey</a1>
<a2>Greece</a2>
<a3>Cyprus</a3>
<a4>Iraq</a4>
<a5>Tunisa</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is the name of the low cost Hong Kong airline that ceased operating in 2008?</q>
<a1>Oasis</a1>
<a2>Kong Air</a2>
<a3>XL</a3>
<a4>SkyEurope</a4>
<a5>Zoom</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is the name of India's national carrier?</q>
<a1>Air India</a1>
<a2>India Air</a2>
<a3>IndiGo</a3>
<a4>SpiceJet</a4>
<a5>Kingfisher Red</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which of the following is an airline based in China?</q>
<a1>Cathay Pacific</a1>
<a2>Air India</a2>
<a3>China Air</a3>
<a4>Easyjet</a4>
<a5>Mango Airlines</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What colour is the Cathay Pacific Logo?</q>
<a1>Green</a1>
<a2>Red</a2>
<a3>Pink</a3>
<a4>Blue</a4>
<a5>Brown</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Where is Dragonair based?</q>
<a1>Hong Kong</a1>
<a2>India</a2>
<a3>Japan</a3>
<a4>South Korea</a4>
<a5>Thailand</a5>
<img></img>
</question>
<question cat="5" type="2">
<q>Nairobi is the capital city of which African country?</q>
<img></img>
<country name="Kenya" x="315" y="123">Kenya</country>
</question>
<question cat="5" type="2">
<q>In which country is the city of Mecca?</q>
<img></img>
<country name="Saudi Arabia" x="324" y="90">Saudi Arabia</country>
</question>
<question cat="3" type="2">
<q>Which country is sometimes referred to as the Dead Heart of Africa?</q>
<img></img>
<country name="Chad" x="290" y="103">Chad</country>
</question>
<question cat="3" type="2">
<q>K2, the world`s second highest mountain, is in which country?</q>
<img></img>
<country name="Pakistan" x="365" y="86">Pakistan</country>
</question>
<question cat="3" type="2">
<q>In which country is the river Yangtze?</q>
<img></img>
<country name="China" x="413" y="84">China</country>
</question>
<question cat="3" type="2">
<q>Which country contains the largest number of active volcanoes?</q>
<img></img>
<country name="Indonesia" x="420" y="126">Indonesia</country>
</question>
<question cat="6" type="2">
<q>What country was formerly known as Persia?</q>
<img></img>
<country name="Iran" x="338" y="77">Iran</country>
</question>
<question cat="6" type="2">
<q>What is the modern-day name for the country formerly known as Kampuchea?</q>
<img></img>
<country name="Cambodia" x="409" y="103">Cambodia</country>
</question>
<question cat="6" type="2">
<q>What is the largest country in the world to have only one time zone?</q>
<img></img>
<country name="China" x="413" y="84">China</country>
</question>
<question cat="6" type="2">
<q>Which country has the most Universities in the world?</q>
<img></img>
<country name="India" x="372" y="100">India</country>
</question>
<question cat="6" type="2">
<q>What is the largest country in the world?</q>
<img></img>
<country name="Russia" x="400" y="39">Russia</country>
</question>
</Asia>
<Europe>
<question cat="6" type="1">
<q>Which country is also called the Hellenic Republic?</q>
<a1>Greece</a1>
<a2>Italy</a2>
<a3>Holland</a3>
<a4>Croatia</a4>
<a5>Spain</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>How tall is the Eiffel Tower?</q>
<a1>984 feet</a1>
<a2>1,200 feet</a2>
<a3>84 feet</a3>
<a4>900 feet</a4>
<a5>3210 feet</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>LOT Airlines are based in which European country?</q>
<a1>Poland</a1>
<a2>Lithuania </a2>
<a3>Austria</a3>
<a4>Portugal</a4>
<a5>Italy</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>____ is a big bell in London.</q>
<a1>Big Ben</a1>
<a2>Gisborne Millennium Countdown Clock</a2>
<a3>Glockenspiel</a3>
<a4>Big Bell</a4>
<a5>Nine O'Clock Gun</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is London's Heathrow international airport code?</q>
<a1>LHR</a1>
<a2>LHW</a2>
<a3>LTN</a3>
<a4>LHE</a4>
<a5>LYT</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>If you live in Holland, what is the name of your national airline?</q>
<a1>KLM</a1>
<a2>Dutch Airlines</a2>
<a3>Schiphol Air Company</a3>
<a4>Holland Express</a4>
<a5>Holland Airlines</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Cork International Airport is located in which European country?</q>
<a1>Ireland</a1>
<a2>Norway</a2>
<a3>England</a3>
<a4>Scotland</a4>
<a5>Denmark</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Ryanair is associated with which country?</q>
<a1>Ireland</a1>
<a2>Belgium</a2>
<a3>Iceland</a3>
<a4>Wales</a4>
<a5>USA</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which German city is the primary traffic hub for Lufthansa?</q>
<a1>Frankfurt</a1>
<a2>Munich</a2>
<a3>Stuttgart </a3>
<a4>Berlin</a4>
<a5>Dusseldorf</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>I'm flying from AMS to EIN and end up in GRQ. Where am I?</q>
<a1>The Netherlands</a1>
<a2>Luxembourg</a2>
<a3>Belgium</a3>
<a4>Greece</a4>
<a5>France</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>When I'm flying to TIA, to what country do I go to?</q>
<a1>Albania</a1>
<a2>Malta</a2>
<a3>Bulgaria</a3>
<a4>Greece</a4>
<a5>Italy</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which temple was dedicated to the Greek Goddess Athena?</q>
<a1>The Parthenon </a1>
<a2>The Temple of Heaven</a2>
<a3>The Taj Mahal</a3>
<a4>Borobudur</a4>
<a5>The Golden Temple</a5>
<img>6716298D031C5AD1D503BAD1C044DA76.jpg</img>
</question>
<question cat="6" type="1">
<q>Which country is the largest producer of cork?</q>
<a1>Portugal</a1>
<a2>Ireland</a2>
<a3>Norway</a3>
<a4>Spain</a4>
<a5>Greece</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the worlds' oldest airline?</q>
<a1>KLM</a1>
<a2>BA</a2>
<a3>EZY</a3>
<a4>AA</a4>
<a5>TAP</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which city is famous for two of its many squares, including the Square of The Revolution and the Roman Square?</q>
<a1>Minsk</a1>
<a2>Budapest</a2>
<a3>Beijing</a3>
<a4>Belgrade</a4>
<a5>Bucharest</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which world famous city is built around St. Peter's Square?</q>
<a1>Vatican City</a1>
<a2>Rome</a2>
<a3>St. Peterburg</a3>
<a4>Moscow</a4>
<a5>Milan</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which city is famous for its water-channel traffic?</q>
<a1>Venice</a1>
<a2>Rome</a2>
<a3>Naples</a3>
<a4>Milan</a4>
<a5>Bari</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Where is the famous city of Bath located?</q>
<a1>England</a1>
<a2>Iceland</a2>
<a3>Ireland</a3>
<a4>Scotland</a4>
<a5>Wales</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Where is the Cathedral of St. Cecilia, the largest brick building in the world?</q>
<a1>Albi, France</a1>
<a2>Cochem, Germany</a2>
<a3>Molyvdoskepasti, Greece</a3>
<a4>Giethoorn, Holland</a4>
<a5>Papingo, Greece</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Where is St. Peterskirche, the largest clock face in Europe?</q>
<a1>Zurich, Switzerland</a1>
<a2>Vienna, Austria</a2>
<a3>Zagreb, Croatia</a3>
<a4>Tallinn, Estonia</a4>
<a5>Athens, Greece</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The tallest church in the world is in Germany. What is it called?</q>
<a1>Ulm Munster</a1>
<a2>St. John's Cathedral</a2>
<a3>Berlin French Cathedral</a3>
<a4>Fulda Dom</a4>
<a5>Dresden</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Where is the largest Jewish museum in Europe?</q>
<a1>Berlin, Germany</a1>
<a2>Warsaw, Poland</a2>
<a3>Tel Aviv, Israel</a3>
<a4>Skopje, Macedonia</a4>
<a5>Amsterdam, Netherlands</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the name of the largest island in the Mediterranean sea?</q>
<a1>Sicily</a1>
<a2>Isle of Wight</a2>
<a3>Gotland</a3>
<a4>Balearic Islands</a4>
<a5>Isle of Man</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Where are the headquarters of the European Union based?</q>
<a1>Brussels, Belgium</a1>
<a2>Frankfurt, Germany</a2>
<a3>Paris, France</a3>
<a4>Krakow, Poland</a4>
<a5>Salzburg, Austria</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What was the city Istanbul, in Turkey, once known as?</q>
<a1>The capital of capital cities</a1>
<a2>The Square</a2>
<a3>The Golden Horn</a3>
<a4>The streets of old</a4>
<a5>The town of many streets</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>In which European city will you find the headquarters of NATO?</q>
<a1>Brussels, Belgium</a1>
<a2>Belgrade, Serbia</a2>
<a3>Munich, Germany</a3>
<a4>Milan, Italy</a4>
<a5>Aberdeen, Scotland</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Ryanair is associated with which country?</q>
<a1>Ireland</a1>
<a2>Wales</a2>
<a3>Barbados</a3>
<a4>Greece</a4>
<a5>Luxembourg</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which oldest European airline still operates under it's original name?</q>
<a1>KLM</a1>
<a2>Air France</a2>
<a3>British Airways</a3>
<a4>Lufthansa</a4>
<a5>Slovakia Air</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What colour is associated with the airline EasyJet?</q>
<a1>Orange</a1>
<a2>Yellow</a2>
<a3>Green</a3>
<a4>White</a4>
<a5>Turquoise</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What nationality of airline is Brit Air?</q>
<a1>French</a1>
<a2>English</a2>
<a3>British</a3>
<a4>Scottish</a4>
<a5>Polish</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>BA stands for which airline?</q>
<a1>British Airways</a1>
<a2>Belgian Air</a2>
<a3>British Airlines</a3>
<a4>Bangladesh Airways</a4>
<a5>Belarus Air</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>CTA stands for which Turkish airline?</q>
<a1>Cyprus Turkish Airlines</a1>
<a2>Continental Turkish Airways</a2>
<a3>Cutcost Turk Air</a3>
<a4>Continental Tram Air</a4>
<a5>Cyprus Travel Airways</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which airline has the IATA code of 3N?</q>
<a1>Air Urga</a1>
<a2>British Airways</a2>
<a3>Wizz Air</a3>
<a4>Tim Henman</a4>
<a5>Jetclub</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which airline has the code SAS?</q>
<a1>Scandinavian Airlines System</a1>
<a2>Sweden Airways Stockholm</a2>
<a3>Bob Geldof</a3>
<a4>Swedish Airlines Scandinavia</a4>
<a5>Stockholm Air Sweden</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>In which city would you find the Eiffel Tower?</q>
<a1>Paris</a1>
<a2>Frankfurt</a2>
<a3>Bratislava</a3>
<a4>Copenhagen</a4>
<a5>Marseille</a5>
<img>8DFE998808902A27B79CA8F56CD9C4CB.jpg</img>
</question>
<question cat="5" type="1">
<q>Which European city stretches across 118 small islands?</q>
<a1>Venice</a1>
<a2>London</a2>
<a3>Stockholm</a3>
<a4>Tallinn</a4>
<a5>Helsinki</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Where in Europe is the International Criminal Court located?</q>
<a1>The Hague, Netherlands</a1>
<a2>Brussels, Belgium</a2>
<a3>Athens, Greece</a3>
<a4>Naples, Italy</a4>
<a5>Las Vegas, United States</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Croatia?</q>
<a1>Zagreb</a1>
<a2>Split</a2>
<a3>Mexico City</a3>
<a4>Rijeka</a4>
<a5>Osijek</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Who lifted the Euro 2008 trophy aloft as Spain's football captain?</q>
<a1>Iker Casillas</a1>
<a2>Raul</a2>
<a3>Sergio Ramos</a3>
<a4>Wayne Rooney</a4>
<a5>Puyol</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous American actor was born in Germany?</q>
<a1>Bruce Willis</a1>
<a2>George Clooney</a2>
<a3>Johnny Depp</a3>
<a4>Christian Kane</a4>
<a5>Brad Pitt</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which Irish actor starred in the films Phone Booth & Dare Devil?</q>
<a1>Colin Farrell</a1>
<a2>Lord Voldemort</a2>
<a3>Kenneth Branagh</a3>
<a4>Richard Harris</a4>
<a5>Brendan Gleeson</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>What is the first name of France's President Sarkozy?</q>
<a1>Nicolas</a1>
<a2>Jerome</a2>
<a3>Michel</a3>
<a4>Jeremie</a4>
<a5>Thierry</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Where in Italy would you find The Leaning Tower of Pisa?</q>
<a1>Pisa</a1>
<a2>Rome</a2>
<a3>Milan</a3>
<a4>Florence</a4>
<a5>Pizza</a5>
<img>759731F96188AC18669D28C128A053D2.jpg</img>
</question>
<question cat="1" type="1">
<q>What is the code for Cork Airport?</q>
<a1>ORK</a1>
<a2>COR</a2>
<a3>COK</a3>
<a4>OOA</a4>
<a5>COA</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Dublin Airport?</q>
<a1>DUB</a1>
<a2>DUA</a2>
<a3>DBA</a3>
<a4>DLA</a4>
<a5>BUD</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Ekaterinburg Airport located in Russia? </q>
<a1>SVX</a1>
<a2>SEX</a2>
<a3>EAR</a3>
<a4>RUS</a4>
<a5>RUA</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which airport was a regular starting point for Concorde?</q>
<a1>LHR</a1>
<a2>LGW</a2>
<a3>LTN</a3>
<a4>LCY</a4>
<a5>STN</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the name of Amsterdam`s main airport?</q>
<a1>Schiphol</a1>
<a2>Amsterdam</a2>
<a3>Rotterdam</a3>
<a4>Eindhoven</a4>
<a5>Madrid</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Amsterdam Schiphol Airport?</q>
<a1>AMS</a1>
<a2>ANS</a2>
<a3>SPH</a3>
<a4>ASH</a4>
<a5>ASA</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Scotland?</q>
<a1>Edinburgh</a1>
<a2>Glasgow</a2>
<a3>Aberdeen</a3>
<a4>London</a4>
<a5>Mexico City</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the largest city in Portugal?</q>
<a1>Lisbon</a1>
<a2>Braga</a2>
<a3>Glasgow</a3>
<a4>Aveiro</a4>
<a5>Porto</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Baku is the capital of which European country?</q>
<a1>Azerbaijan</a1>
<a2>Armenia</a2>
<a3>Bosnia & Herzegovina</a3>
<a4>Estonia</a4>
<a5>Wales</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Finland?</q>
<a1>Helsinki</a1>
<a2>Copenhagen</a2>
<a3>Stockholm</a3>
<a4>Etseri</a4>
<a5>Denmark</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which city is home to Germany's busiest airport?</q>
<a1>Frankfurt</a1>
<a2>Dusseldorf</a2>
<a3>Hamburg</a3>
<a4>Berlin</a4>
<a5>Munich</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which two European capital cities are closest together?</q>
<a1>Vienna and Bratislava</a1>
<a2>Athens and Rome</a2>
<a3>Lisbon and Madrid</a3>
<a4>London and Cardiff</a4>
<a5>Oslo and London</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is the name of this famous iron tower, a global icon for France, constructed from 1887-1889?</q>
<a1>Eiffel Tower</a1>
<a2>Sears Tower</a2>
<a3>Tour Montparnasse</a3>
<a4>Tour AXA</a4>
<a5>London Eye</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which famous monument in Athens means 'Highest City' in Greek?</q>
<a1>Acropolis</a1>
<a2>Citadel</a2>
<a3>Archaica</a3>
<a4>Hell</a4>
<a5>Plumberry Cake</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The Colosseum is an elliptical amphitheatre in which Italian City?</q>
<a1>Rome</a1>
<a2>Milan</a2>
<a3>Cheese</a3>
<a4>Parma</a4>
<a5>Naples</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which church is found in Rome and named after the first Pope?</q>
<a1>St. Peter's Basilica</a1>
<a2>Chiesa Ortodossa</a2>
<a3>Church of the Eremitani</a3>
<a4>St. Paul's</a4>
<a5>La Maddalena</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which Belgian attraction houses miniature models of the most attractive EU monuments?</q>
<a1>Mini-Europe</a1>
<a2>Little Europe</a2>
<a3>Les Petits Monuments</a3>
<a4>EU-Mini</a4>
<a5>Small EU</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Where is the Mona Lisa housed?</q>
<a1>Mus�e du Louvre, Paris</a1>
<a2>National Gallery, London</a2>
<a3>Uffizi Gallery, Florence</a3>
<a4>Museo del Prado, Madrid</a4>
<a5>Deutsche Guggenheim, Berlin</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the name of the building hosting the European Union?</q>
<a1>The Berlaymont</a1>
<a2>The Vestel</a2>
<a3>Cirque du Soleil</a3>
<a4>Lucien Administrative</a4>
<a5>Cafeteria</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>The largest island in the Meditteranean sea is?</q>
<a1>Sicily</a1>
<a2>Isle of Man</a2>
<a3>Balaeric Islands</a3>
<a4>Gotland</a4>
<a5>Isle of Dogs</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Where is the European Central Bank, established by the European Union, located?</q>
<a1>Frankfurt</a1>
<a2>Brussels</a2>
<a3>Antwerp</a3>
<a4>Paris</a4>
<a5>Bruges</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which European landmark is known as The Leaning Tower?</q>
<a1>The Tower of Pisa</a1>
<a2>The Tower of Milan</a2>
<a3>Disneyland</a3>
<a4>The Tower of London</a4>
<a5>The Tower of Parma</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Where in London is the 0-degree line of longitude?</q>
<a1>Greenwich</a1>
<a2>Charing Cross</a2>
<a3>Waterloo</a3>
<a4>Westminster</a4>
<a5>King's Cross</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which airline is Ireland's national carrier?</q>
<a1>Aer Lingus</a1>
<a2>Ryanair</a2>
<a3>Aer Arann</a3>
<a4>CityJet</a4>
<a5>Aer Ireland</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which airline is Iceland's flagship carrier?</q>
<a1>Icelandair</a1>
<a2>Iceland Airways</a2>
<a3>Iceland Airlines</a3>
<a4>Ice Ice Baby</a4>
<a5>Iceland International Airways</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>In which city is Icelandair's airport hub located? </q>
<a1>Reykjav�k</a1>
<a2>Akureyri</a2>
<a3>Djupivogur</a3>
<a4>Geysir</a4>
<a5>Heimaey</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is the national airline of Portugal?</q>
<a1>TAP Portugal</a1>
<a2>Portugal Airlines</a2>
<a3>Portug�lia Airways</a3>
<a4>PortoJet</a4>
<a5>PAT</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Atlantic Airways is the national carrier of of which set of islands?</q>
<a1>Faroe Islands</a1>
<a2>The Bahamas </a2>
<a3>Falkland Islands </a3>
<a4>Madeira Islands</a4>
<a5>Canary Islands </a5>
<img></img>
</question>
<question cat="1" type="2">
<q>Which country would you be in if you landed at Faro Airport?</q>
<img></img>
<country name="Portugal" x="250" y="66">Portugal</country>
</question>
<question cat="1" type="2">
<q>Which country would you be in if you landed at D�sseldorf International Airport?</q>
<img></img>
<country name="Germany" x="278" y="52">Germany</country>
</question>
<question cat="1" type="2">
<q>Keflavik International Airport is located in which country?</q>
<img></img>
<country name="Ireland" x="249" y="50">Ireland</country>
</question>
<question cat="5" type="2">
<q>The Colosseum is located in the capital city of which country?</q>
<img></img>
<country name="Italy" x="280" y="63">Italy</country>
</question>
<question cat="5" type="2">
<q>Of which European country is Tallin the capital?</q>
<img></img>
<country name="Estonia" x="295" y="42">Estonia</country>
</question>
<question cat="5" type="2">
<q>In which European country is the city of Bratislava?</q>
<img></img>
<country name="Slovakia" x="285" y="52">Slovakia</country>
</question>
<question cat="3" type="2">
<q>In which modern day country would you find the ruins of Troy?</q>
<img></img>
<country name="Turkey" x="308" y="67">Turkey</country>
</question>
<question cat="3" type="2">
<q>In which European country is the world`s longest road tunnel?</q>
<img></img>
<country name="Switzerland" x="272" y="57">Switzerland</country>
</question>
<question cat="3" type="2">
<q>In which European country is the Alhambra palace?</q>
<img></img>
<country name="Spain" x="255" y="66">Spain</country>
</question>
<question cat="3" type="2">
<q>In which European country is the world`s highest road bridge?</q>
<img></img>
<country name="France" x="265" y="57">France</country>
</question>
<question cat="6" type="2">
<q>Still in use today, which country`s flag is the oldest in the world?</q>
<img></img>
<country name="Denmark" x="275" y="43">Denmark</country>
</question>
<question cat="6" type="2">
<q>What country had the Roman name Hibernia?</q>
<img></img>
<country name="Ireland" x="249" y="50">Ireland</country>
</question>
<question cat="6" type="2">
<q>What country does Portugal border?</q>
<img></img>
<country name="Spain" x="255" y="66">Spain</country>
</question>
<question cat="6" type="2">
<q>What country is the world`s largest producer of wine?</q>
<img></img>
<country name="Italy" x="280" y="63">Italy</country>
</question>
<question cat="6" type="2">
<q>Which country borders Sweden and Russia?</q>
<img></img>
<country name="Finland" x="300" y="35">Finland</country>
</question>
<question cat="2" type="2">
<q>Orly airport is situated in the capital city of which European country?</q>
<img></img>
<country name="France" x="265" y="57">France</country>
</question>
</Europe>
<Africa>
<question cat="5" type="1">
<q>Where is Timbuktu, also known as Tombouctou?</q>
<a1>Mali</a1>
<a2>Malawi</a2>
<a3>Kenya</a3>
<a4>Nigeria</a4>
<a5>Niger</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Where would you find permanent ice in Africa?</q>
<a1>Mount Kilimanjaro </a1>
<a2>Table Mountain</a2>
<a3>Cape Town</a3>
<a4>Kalahari Desert</a4>
<a5>Swaziland</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What's the acronym for the South Western Townships near Johannesburg?</q>
<a1>Soweto</a1>
<a2>Igoli</a2>
<a3>Durban</a3>
<a4>Manzini</a4>
<a5>Pretoria</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>CPT is the airport code for which African city?</q>
<a1>Cape Town</a1>
<a2>Cairo</a2>
<a3>Camden </a3>
<a4>Carre de Togounda </a4>
<a5>Cameroon</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>The religious leader Desmond Tutu was born in which African country?</q>
<a1>South Africa</a1>
<a2>Swaziland</a2>
<a3>Egypt</a3>
<a4>Botswana</a4>
<a5>Angola</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>When I'm flying to RBA, to what country do I go to?</q>
<a1>Morocco</a1>
<a2>Tanzania</a2>
<a3>Togo</a3>
<a4>Algeria</a4>
<a5>Tunisia</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which country borders the Red Sea?</q>
<a1>Egypt</a1>
<a2>China</a2>
<a3>Pakistan</a3>
<a4>Kenya</a4>
<a5>Libya</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What was generally the role of sphinxes?</q>
<a1>Temple guardians</a1>
<a2>Secrete royal tombs</a2>
<a3>Decoration</a3>
<a4>A gift to the Gods</a4>
<a5>To look pretty</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is the largest and most famous Sphinx in Africa called? </q>
<a1>The Great Sphinx of Giza</a1>
<a2>Ivan the Great</a2>
<a3>The Great Sphinx of Giza</a3>
<a4>Alexander the Great</a4>
<a5>Great Gable</a5>
<img>889D18CA0EAE7EC6DC1349C0D7520E6D.jpg</img>
</question>
<question cat="2" type="1">
<q>What international airline is based in Mah�?</q>
<a1>Air Seychelles</a1>
<a2>Air Rwanda</a2>
<a3>Air Mah�</a3>
<a4>Air Senegal</a4>
<a5>Sierra Leone Airlines</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which African nation has an Airport with the code CPT?</q>
<a1>South Africa</a1>
<a2>Egypt</a2>
<a3>Tunisia</a3>
<a4>Morocco</a4>
<a5>Brazil</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The Great Mosque of Djenne, the world's largest mud building, is located in which country?</q>
<a1>Mali</a1>
<a2>Madagascar</a2>
<a3>Guinea</a3>
<a4>Gambia</a4>
<a5>Cape Verde</a5>
<img>898AE6D21710DDBE4143ADE1B9E37808.jpg</img>
</question>
<question cat="3" type="1">
<q>Where in Africa is the 'Hanging Church'?</q>
<a1>Cairo, Egypt</a1>
<a2>New Delhi, India</a2>
<a3>Muscat, Oman</a3>
<a4>Beirut, Lebanon</a4>
<a5>Amman, Jordan</a5>
<img>88381B453EE47E5307296D0F49A26247.jpg</img>
</question>
<question cat="6" type="1">
<q>Africa is home to the world's longest river. What is it's name?</q>
<a1>Nile</a1>
<a2>Yangtze River</a2>
<a3>Amazon River</a3>
<a4>Huang He (Yellow River)</a4>
<a5>Mississippi-Missouri River System</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the biggest country in Africa?</q>
<a1>Sudan</a1>
<a2>Egypt</a2>
<a3>South Africa</a3>
<a4>Democratic Republic of Congo</a4>
<a5>Algeria</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>How many countries are there in the continent of Africa?</q>
<a1>53</a1>
<a2>44</a2>
<a3>61</a3>
<a4>11</a4>
<a5>58</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>The Democratic Republic of Congo used to be which country until changes in 1997?</q>
<a1>The Republic of Zaire</a1>
<a2>Congo Kinshasa</a2>
<a3>Central African Republic</a3>
<a4>London</a4>
<a5>Maldives</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Daallo Airlines operates from which African nation?</q>
<a1>Djibouti</a1>
<a2>Damascus </a2>
<a3>Denmark</a3>
<a4>Algeria</a4>
<a5>Gabon</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is the name of Malawi's national airline?</q>
<a1>Air Malawi</a1>
<a2>Blair Air</a2>
<a3>Malawi Airlines</a3>
<a4>Sea Airways</a4>
<a5>Air Madagascar</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is the name of Guinea's national airline?</q>
<a1>Air Guinee</a1>
<a2>Guinea Air</a2>
<a3>Guinea Airlines</a3>
<a4>Air Pop</a4>
<a5>Airkenya Aviation</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Air Seychelles is the national carrier for which African nation?</q>
<a1>Seychelles</a1>
<a2>Rwanda</a2>
<a3>Wales</a3>
<a4>Senegal</a4>
<a5>Sierra Leone</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>SA is the code for which African airline?</q>
<a1>South African Airways</a1>
<a2>Somalia African Airlines</a2>
<a3>Swaziland Air Airlines</a3>
<a4>Saudi Arabia Airways</a4>
<a5>Seychelles Atlantic Airways</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>Which airlines bears the initials RAM in it's name?</q>
<a1>Royal Air Maroc</a1>
<a2>Rite Air Macau</a2>
<a3>Royal Air Mali</a3>
<a4>Real Air Mozambique</a4>
<a5>Real Air Mauritius</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>LAM stands for an airline which operates from which country?</q>
<a1>Mozambique</a1>
<a2>Mayotte</a2>
<a3>Mauritania</a3>
<a4>Morocco</a4>
<a5>Malawi</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>AB is the code for which African airline?</q>
<a1>Atlas Blue</a1>
<a2>Air Botswana</a2>
<a3>Air Blue</a3>
<a4>Air Burundi</a4>
<a5>Air Benin</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>How many capital cities does South Africa have?</q>
<a1>3</a1>
<a2>1</a2>
<a3>2</a3>
<a4>4</a4>
<a5>5</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of the Seychelles?</q>
<a1>Victoria</a1>
<a2>Dakar</a2>
<a3>Jamestown</a3>
<a4>Abuja</a4>
<a5>Port Louis</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Uganda?</q>
<a1>Kampala</a1>
<a2>Tunis</a2>
<a3>Lome</a3>
<a4>Harare</a4>
<a5>Cardiff</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is South Africa's largest city?</q>
<a1>Johannesburg</a1>
<a2>Pretoria</a2>
<a3>Cape Town</a3>
<a4>Queensland</a4>
<a5>Bloemfontein</a5>
<img>7E4445283ADFA11F499CB3184C5B5FB8.jpg</img>
</question>
<question cat="4" type="1">
<q>Which famous footballer comes from Accra, Ghana and plays for Chelsea FC?</q>
<a1>Michael Essien</a1>
<a2>Didier Drogba</a2>
<a3>Salomon Kalou</a3>
<a4>Yves Mulumbu</a4>
<a5>Diego Tristan</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous English author, writing the trilogy Lord of the Rings, was born in South Africa?</q>
<a1>John Ronald Reuel Tolkien</a1>
<a2>John Smit</a2>
<a3>John Reginald Ray Tolkien </a3>
<a4>Cecil Rhodes</a4>
<a5>Alistair Darling</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Who captained South Africa to rugby World Cup glory in 1995?</q>
<a1>Francois Pienaar</a1>
<a2>Bryan Habana</a2>
<a3>Cliff Richard</a3>
<a4>Naas Botha</a4>
<a5>Clive Woodward</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous South African helped end Apartheid?</q>
<a1>Nelson Mandela</a1>
<a2>Thabo Mbeki</a2>
<a3>Barack Obama</a3>
<a4>Andres Pastrana Arango</a4>
<a5>Tony Blair</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Egypt is most famous for which structural wonders? </q>
<a1>Pyramids</a1>
<a2>Mosques</a2>
<a3>Temples</a3>
<a4>Waterfalls</a4>
<a5>Museums</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>In which country is the world's largest church 'Our Lady of Peace Basilica' located?</q>
<a1>Cote d'Ivoire</a1>
<a2>Namibia</a2>
<a3>Kenya</a3>
<a4>Libya</a4>
<a5>Ghana</a5>
<img>8BBECB66B21E85A292A1354F72F9D5D0.jpg</img>
</question>
<question cat="1" type="1">
<q>What is the Airport code for Luderitz in Namibia?</q>
<a1>LUD</a1>
<a2>LDA</a2>
<a3>LIA</a3>
<a4>LNA</a4>
<a5>LUZ</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>MDG stands for which airline?</q>
<a1>Air Madagascar</a1>
<a2>Madagascar Air</a2>
<a3>Mauritius Airways</a3>
<a4>Malabo Doga Air</a4>
<a5>Fly Mali</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the airline code for Arik Air?</q>
<a1>W3</a1>
<a2>AR</a2>
<a3>3H</a3>
<a4>A5</a4>
<a5>5H</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Sharm el Sheikh Airport?</q>
<a1>SSH</a1>
<a2>SES</a2>
<a3>SSA</a3>
<a4>SAS</a4>
<a5>ESA</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Kano is a city in which African country?</q>
<a1>Nigeria</a1>
<a2>Central African Republic</a2>
<a3>Congo</a3>
<a4>Somalia</a4>
<a5>Um Bongo</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Ghana?</q>
<a1>Accra</a1>
<a2>Golden Glove</a2>
<a3>Kumasi</a3>
<a4>Ghana Garage</a4>
<a5>Tamale</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Asmara is the capital of which African country?</q>
<a1>Eritrea</a1>
<a2>Burkina Faso</a2>
<a3>Algeria</a3>
<a4>Benin</a4>
<a5>Paris Hilton</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Senegal?</q>
<a1>Dakar</a1>
<a2>Munich</a2>
<a3>Touba</a3>
<a4>M'Bour</a4>
<a5>Saint-Louis</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is the name of this famous national park located in Malawi?</q>
<a1>Nyika National Park</a1>
<a2>George Bush</a2>
<a3>Intien National Park</a3>
<a4>National Park Malawi</a4>
<a5>Buffalo Bull House</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is the name of this church in the Cote d'Ivoire, which is officially known as the world's largest church?</q>
<a1>Our Lady of Peace Basilica</a1>
<a2>Cote Church</a2>
<a3>His Holiness Church</a3>
<a4>Our Lord of the Globe Church</a4>
<a5>The Altar of God Church</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is the name of the world's largest mud building, located in Mali?</q>
<a1>The Great Mosque of Djenne</a1>
<a2>The Great Mosque of Azawad</a2>
<a3>Mud Madness</a3>
<a4>The Great Mosque of Bla</a4>
<a5>The Great Mosque of Mopti</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The Afrikaans Language Monument was completed in which year?</q>
<a1>1975</a1>
<a2>1990</a2>
<a3>2017</a3>
<a4>80 BC</a4>
<a5>1982</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which mountain`s name means `shining mountain` in Swahili?</q>
<a1>Kilimanjaro</a1>
<a2>Aconcagua</a2>
<a3>Everest</a3>
<a4>Kosciuszsko</a4>
<a5>Kalahari</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which is the highest mountain in Africa, as displayed here?</q>
<a1>Kilimanjaro</a1>
<a2>Aconcagua</a2>
<a3>Everest</a3>
<a4>Kosciuszsko</a4>
<a5>Kalahari</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>The world famous Victoria Falls are located between which two countries?</q>
<a1>Zambia & Zimbabwe</a1>
<a2>Burundi & Cape Verde</a2>
<a3>Comoros & Mali</a3>
<a4>Tunisia & Namibia</a4>
<a5>Brown & Blair</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which country are pyramids most commonly associated with?</q>
<a1>Egypt</a1>
<a2>Algeria</a2>
<a3>Libya</a3>
<a4>Ghana</a4>
<a5>Scotland</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>The Republic of Zaire was changed to which country in 1997?</q>
<a1>The Democratic Republic of Congo</a1>
<a2>Republic of Botswana</a2>
<a3>Um Bongo</a3>
<a4>Republique Africaine</a4>
<a5>Republic of the Gambia</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Daallo Airlines operates from which African nation?</q>
<a1>Djibouti</a1>
<a2>Damascus </a2>
<a3>Denmark</a3>
<a4>Algeria</a4>
<a5>Gabon</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Who is the national carrier of South Africa?</q>
<a1>South African Airways</a1>
<a2>Air SA</a2>
<a3>South Africa Airlines</a3>
<a4>Air Suid-Afrika</a4>
<a5>South African Express</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What colour is associated with Egypt Air?</q>
<a1>Blue</a1>
<a2>Red</a2>
<a3>Green</a3>
<a4>White</a4>
<a5>Yellow</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which of these is NOT a Tunisian airline?</q>
<a1>Mango Airlines</a1>
<a2>Karthago Airlines</a2>
<a3>Nouvelair</a3>
<a4>Sevenair</a4>
<a5>Tunisair</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What nation is Yassili Airlines based in?</q>
<a1>Algeria</a1>
<a2>Ghana</a2>
<a3>Nigeria</a3>
<a4>Senegal</a4>
<a5>Morocco</a5>
<img></img>
</question>
<question cat="1" type="2">
<q>Dar es Salaam Airport is located in which country?</q>
<img></img>
<country name="Tanzania" x="312" y="134">Tanzania</country>
</question>
<question cat="1" type="2">
<q>Which country would you be in if you landed at Sharm el Sheikh Airport ?</q>
<img></img>
<country name="Egypt" x="303" y="85">Egypt</country>
</question>
<question cat="5" type="2">
<q>Addis Ababa is the capital of which country?</q>
<img></img>
<country name="Ethiopia" x="316" y="109">Ethiopia</country>
</question>
<question cat="5" type="2">
<q>The town of Timbuktu is in which African country?</q>
<img></img>
<country name="Mali" x="254" y="98">Mali</country>
</question>
<question cat="5" type="2">
<q>Gaborone is the capital of which country?</q>
<img></img>
<country name="Botswana" x="296" y="156">Botswana</country>
</question>
<question cat="3" type="2">
<q>In which African country is Mount Kilimanjaro?</q>
<img></img>
<country name="Tanzania" x="312" y="134">Tanzania</country>
</question>
<question cat="6" type="2">
<q>What is the most populous country in Africa?</q>
<img></img>
<country name="Nigeria" x="274" y="114">Nigeria</country>
</question>
<question cat="6" type="2">
<q>Which country`s national flag has the most colours?</q>
<img></img>
<country name="South Africa" x="295" y="167">South Africa</country>
</question>
<question cat="6" type="2">
<q>What is the modern name for the country historically known as Abyssinia?</q>
<img></img>
<country name="Ethiopia" x="316" y="109">Ethiopia</country>
</question>
<question cat="6" type="2">
<q>In which country does the Blue Nile meet the White Nile?</q>
<img></img>
<country name="Sudan" x="304" y="98">Sudan</country>
</question>
<question cat="6" type="2">
<q>Which African country achieved its independence from Ethiopia in 1993?</q>
<img></img>
<country name="Eritrea" x="320" y="103">Eritrea</country>
</question>
<question cat="6" type="2">
<q>Which country in Africa is completely surrounded by South Africa?</q>
<img></img>
<country name="Lesotho" x="298" y="167">Lesotho</country>
</question>
<question cat="6" type="2">
<q>What is the largest land-locked country in Africa?</q>
<img></img>
<country name="Chad" x="290" y="103">Chad</country>
</question>
<question cat="6" type="2">
<q>Which of the following countries produces the most gold - Indonesia, South Africa or Peru?</q>
<img></img>
<country name="South Africa" x="295" y="167">South Africa</country>
</question>
</Africa>
<South_America>
<question cat="6" type="1">
<q>What is the largest country in South America?</q>
<a1>Brazil</a1>
<a2>Columbia</a2>
<a3>Argentina</a3>
<a4>Ecuador</a4>
<a5>Peru</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What are the ancient statues on an island belonging to Chile called?</q>
<a1>Easter Island Moai</a1>
<a2>Statue of Liberty</a2>
<a3>Great Sphinx of Giza</a3>
<a4>Easter Island Moai</a4>
<a5>Stonehenge</a5>
<img>445C5D09E5E7DB45A864004F7662A096.jpg</img>
</question>
<question cat="5" type="1">
<q>What is often referred to as "The Lost City of the Incas"? </q>
<a1>Machu Picchu</a1>
<a2>Vilcapampa</a2>
<a3>San Lorenzo</a3>
<a4>Troy</a4>
<a5>Sun City</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which river in South America is known as one of the '7 Wonders of the World'?</q>
<a1>Amazon River</a1>
<a2>Colorado River</a2>
<a3>Maroni River</a3>
<a4>Puelo River</a4>
<a5>Futa River</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Where in South American would you find the statue 'Christ the Redeemer'? </q>
<a1>Brazil</a1>
<a2>Peru</a2>
<a3>Argentina</a3>
<a4>Venezuela</a4>
<a5>Paraguay</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The Huayna Picchu is a mountain to be found in which country?</q>
<a1>Peru</a1>
<a2>Bolivia</a2>
<a3>Ecuador</a3>
<a4>Guyana</a4>
<a5>Suriname</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which country is known as the Sugar Bowl of the world?</q>
<a1>Cuba</a1>
<a2>Brazil</a2>
<a3>Argentina</a3>
<a4>London</a4>
<a5>Chile</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which South American country has the largest land area?</q>
<a1>Brazil</a1>
<a2>Chile</a2>
<a3>Argentina</a3>
<a4>Colombia</a4>
<a5>Paraguay</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>In which South American country is the world's highest waterfall?</q>
<a1>Venezuela</a1>
<a2>Ecuador</a2>
<a3>Guyana</a3>
<a4>Bolivia</a4>
<a5>Uruguay</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which two countries in South America do not have a border with Brazil?</q>
<a1>Ecuador & Chile</a1>
<a2>Colombia & Venezuela</a2>
<a3>Guyana & Ecuador</a3>
<a4>Suriname & Colombia</a4>
<a5>Argentina & Peru</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which of these airlines is the national carrier of Trinidad & Tobago?</q>
<a1>Caribbean Airlines</a1>
<a2>Trinidad Airways</a2>
<a3>South American Air</a3>
<a4>Tobago Express</a4>
<a5>T&T Airlines</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>ABA stands for which Brazilian airline?</q>
<a1>Azul Brazilian Airlines</a1>
<a2>Air Brazil Airways</a2>
<a3>Aran Brazil Air</a3>
<a4>Air Brazil Ambato</a4>
<a5>A Bombastic Accent</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Aerolineas Sudamericanas is an airline based in which country?</q>
<a1>Bolivia</a1>
<a2>Guyana</a2>
<a3>Paraguay</a3>
<a4>Russia</a4>
<a5>Peru</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Which of the following airlines is Uruguay's national airline?</q>
<a1>PLUNA</a1>
<a2>Lapsa</a2>
<a3>Aeromas</a3>
<a4>Air Class Lineas Aereas</a4>
<a5>Compania Automatica Aeroplaena</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>BC are the initials of which Brazilian airline?</q>
<a1>BETA Cargo</a1>
<a2>Brazilian Carrier</a2>
<a3>BLT Cheese</a3>
<a4>Boom Cerca</a4>
<a5>Brazil Ciencias</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the name of the Peruvian airport with the code LIM?</q>
<a1>Jorge Chavez International Airport</a1>
<a2>Presidente Aeropuerto</a2>
<a3>Lima Internacional</a3>
<a4>Aeropuerto Paraguayas</a4>
<a5>London International Municipality</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>CCS stands for which Venezuelan airport?</q>
<a1>Caracas Maiquet�a International </a1>
<a2>Calcutta Market Interchange</a2>
<a3>Cumana Chicos Internacional</a3>
<a4>Cua International Airport</a4>
<a5>Cabimas Coro International</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code of Argentina's sole international airport?</q>
<a1>EZE</a1>
<a2>BAI</a2>
<a3>ARG</a3>
<a4>AAR</a4>
<a5>TNT</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Chile?</q>
<a1>Santiago</a1>
<a2>Antofagasta</a2>
<a3>Arica</a3>
<a4>Paris</a4>
<a5>Greater Valparaiso</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>In which South American country is the city of Salvador?</q>
<a1>Brazil</a1>
<a2>Chile</a2>
<a3>Suriname</a3>
<a4>Ecuador</a4>
<a5>Peru</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Brazil?</q>
<a1>Brasilia</a1>
<a2>Sao Paolo</a2>
<a3>Rio de Janeiro</a3>
<a4>Cariocas</a4>
<a5>Amazonas</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is Ecuador's largest city?</q>
<a1>Guayaquil</a1>
<a2>Quito</a2>
<a3>Cuenca</a3>
<a4>Dubai</a4>
<a5>Guaranda</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Musical artist Shakira comes from which South American country?</q>
<a1>Colombia</a1>
<a2>Brazil</a2>
<a3>Ecuador</a3>
<a4>Bolivia</a4>
<a5>Venezuela</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous Brazilian Formula 1 driver lived from 1960-1994?</q>
<a1>Ayrton Senna</a1>
<a2>Nelson Piquet</a2>
<a3>Oscar Schmidt</a3>
<a4>Emerson Fittipaldi</a4>
<a5>Boris Johnson</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Who is the national hero of Uruguay that led their fight for independence against Brazil?</q>
<a1>Jose Gervasio Artigas</a1>
<a2>Juan Manuel Blanes</a2>
<a3>Diego Forlan</a3>
<a4>Joaquin Torres Garcia</a4>
<a5>Eduardo Fabini</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which Argentinian footballer is ranked as one of the world's greatest sports figures?</q>
<a1>Diego Maradona</a1>
<a2>Lionel Messi</a2>
<a3>Javier Mascherano</a3>
<a4>Pele</a4>
<a5>Bobby Charlton</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the airport code for El Nuevo Dorado International Airport in Colombia?</q>
<a1>BOG</a1>
<a2>BTA</a2>
<a3>BOT</a3>
<a4>CBT</a4>
<a5>BGT</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>In which country would you find S�o Paulo-Guarulhos International Airport?</q>
<a1>Brazil </a1>
<a2>Peru</a2>
<a3>Argentina </a3>
<a4>Chile </a4>
<a5>Ecuador</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>In which country would you find Jorge Ch�vez Lima-Callao International Airport?</q>
<a1>Peru</a1>
<a2>Brazil </a2>
<a3>Argentina </a3>
<a4>Chile </a4>
<a5>Ecuador</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for S�o Paulo-Guarulhos International Airport in Brazil?</q>
<a1>GRU</a1>
<a2>SAO</a2>
<a3>SPA</a3>
<a4>BRA</a4>
<a5>SPG</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Paraguay?</q>
<a1>Asuncion</a1>
<a2>Edelira</a2>
<a3>Venezuela</a3>
<a4>Limpio</a4>
<a5>Dental</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the biggest South American city?</q>
<a1>Sao Paolo</a1>
<a2>Buenos Aires</a2>
<a3>Ronaldinho</a3>
<a4>Bogota</a4>
<a5>Rio de Janeiro</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the largest city of Guyana, the one English-speaking nation in South America?</q>
<a1>Georgetown</a1>
<a2>Anna Regina</a2>
<a3>Adventure</a3>
<a4>Hyde Park</a4>
<a5>New Amsterdam</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Uruguay?</q>
<a1>Montevideo</a1>
<a2>Bradford</a2>
<a3>Penarol</a3>
<a4>Livramento</a4>
<a5>Belfast</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>How many countries does the Amazon River pass through?</q>
<a1>Seven</a1>
<a2>Six</a2>
<a3>Eight</a3>
<a4>Twenty one</a4>
<a5>Eighty</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>Which famous South American site is known as The Lost City of the Incas?</q>
<a1>Machu Picchu</a1>
<a2>Ilqata</a2>
<a3>Westminster</a3>
<a4>Inca Ilqata</a4>
<a5>Quechuan</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>In Brazil you will find a 120ft statue of Jesus Christ - what is its name?</q>
<a1>Christ the Redeemer</a1>
<a2>Christ the Loving</a2>
<a3>Christ the Holy</a3>
<a4>Christ the Beloved</a4>
<a5>Christ the Saintly</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>The world's largest urban forest known as the Tijuca Forest, can be located in which city?</q>
<a1>Rio de Janeiro</a1>
<a2>Madrid</a2>
<a3>Quito</a3>
<a4>Santiago</a4>
<a5>Amsterdam</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which famous short-cut in South America is named after a famous explorer?</q>
<a1>The Panama Canal</a1>
<a2>The Alistair Darling Canal</a2>
<a3>The Boone Canal</a3>
<a4>The Lady GaGa Canal</a4>
<a5>The Cousteau Canal</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the name of an Argentine province that is the southernmost city in the world?</q>
<a1>Ushuaia</a1>
<a2>Buenos Aires</a2>
<a3>Pampas</a3>
<a4>Bahia Blanca</a4>
<a5>Potato</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Asia is the most populated continent in the globe. Where does South America rank?</q>
<a1>Fifth</a1>
<a2>Fourth</a2>
<a3>Second</a3>
<a4>Eleventh</a4>
<a5>First</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which country is famous for the Rio Carnival?</q>
<a1>Brazil</a1>
<a2>Argentina</a2>
<a3>Venezuela</a3>
<a4>Cambridge</a4>
<a5>Ecuador</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the official language of Chile?</q>
<a1>Spanish</a1>
<a2>Portuguese</a2>
<a3>Chilean</a3>
<a4>English</a4>
<a5>French</a5>
<img></img>
</question>
<question cat="5" type="2">
<q>Which South American country was named after the Italian city of Venice?</q>
<img></img>
<country name="Venezuela" x="166" y="110">Venezuela</country>
</question>
<question cat="5" type="2">
<q>Lima is the capital city of which South American country?</q>
<img></img>
<country name="Peru" x="156" y="140">Peru</country>
</question>
<question cat="3" type="2">
<q>In which country is the highest mountain in South America?</q>
<img></img>
<country name="Argentina" x="175" y="168">Argentina</country>
</question>
<question cat="3" type="2">
<q>In which country does the river Amazon rise?</q>
<img></img>
<country name="Peru" x="156" y="140">Peru</country>
</question>
<question cat="3" type="2">
<q>In which country is Cotopaxi, the highest active volcano in the world?</q>
<img></img>
<country name="Equador" x="149" y="122">Equador</country>
</question>
<question cat="6" type="2">
<q>Which South American country has borders with Columbia and Peru?</q>
<img></img>
<country name="Equador" x="149" y="122">Equador</country>
</question>
<question cat="6" type="2">
<q>Trinidad lies off the coast of which South American country?</q>
<img></img>
<country name="Venezuela" x="166" y="110">Venezuela</country>
</question>
<question cat="6" type="2">
<q>Easter island is a dependency of which country?</q>
<img></img>
<country name="Chile" x="162" y="165">Chile</country>
</question>
</South_America>
<Australasia>
<question cat="5" type="1">
<q>What city is the capital of Australia?</q>
<a1>Canberra</a1>
<a2>Perth</a2>
<a3>Melbourne</a3>
<a4>Sydney</a4>
<a5>Canberra</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What Australian city boasts the largest Greek population in the world outside of Greece?</q>
<a1>Melbourne</a1>
<a2>Darwin</a2>
<a3>Perth</a3>
<a4>Sydney</a4>
<a5>Brisbane</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is the name of Australias national airline?</q>
<a1>Qantas</a1>
<a2>Australia National Airways</a2>
<a3>Jet Blue</a3>
<a4>BAA</a4>
<a5>Air Australia</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What famous opera house can be found in Sydney, Australia?</q>
<a1>Sydney Opera House</a1>
<a2>St. James Theatre</a2>
<a3>Oamaru Opera House</a3>
<a4>Canberra Theatre</a4>
<a5>Theatre Royal</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>The New Zealand Parliament Buildings, a 45,000 square metre site, exist in which city?</q>
<a1>Wellington</a1>
<a2>Auckland</a2>
<a3>Christchurch</a3>
<a4>Munich</a4>
<a5>Hamilton</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>In which country will you find the Great Barrier Reef?</q>
<a1>Australia</a1>
<a2>New Zealand</a2>
<a3>Fiji</a3>
<a4>Singapore</a4>
<a5>Tonga</a5>
<img>A9A908A45187EE21FC94692A3942F700.jpg</img>
</question>
<question cat="3" type="1">
<q>The Australian Senate can be found in which city?</q>
<a1>Canberra</a1>
<a2>Newcastle (Australia)</a2>
<a3>Brisbane</a3>
<a4>Adelaide</a4>
<a5>Perth</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Which country do kangaroos originate from?</q>
<a1>Australia</a1>
<a2>Austria</a2>
<a3>Papua New Guinea</a3>
<a4>Samoa</a4>
<a5>China</a5>
<img>67764223FE42733519A43C40553D37FD.jpg</img>
</question>
<question cat="6" type="1">
<q>The AFL is a sporting league in Australia for which sport?</q>
<a1>Australian Rules Football</a1>
<a2>Australian Soccer Liga</a2>
<a3>Rugby League</a3>
<a4>Australian Football League</a4>
<a5>Rugby Union</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>New Zealand has three official languages, English & New Zealand sign language are two. What is the other one?</q>
<a1>Maori</a1>
<a2>Indian</a2>
<a3>Samoan</a3>
<a4>Fijian</a4>
<a5>Taioa</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>The word 'Singapore' means;</q>
<a1>Lion City</a1>
<a2>Bird City</a2>
<a3>King City</a3>
<a4>Elephant City</a4>
<a5>Mud City</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>The passenger airline TAA is based in which country?</q>
<a1>Australia</a1>
<a2>Papua New Guinea</a2>
<a3>Samoa</a3>
<a4>Tonga</a4>
<a5>Rome</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Australasia Airlines flies to many destinations within the continent- yet is based in which country?</q>
<a1>Hong Kong</a1>
<a2>Australia</a2>
<a3>Papua New Guinea</a3>
<a4>New Zealand</a4>
<a5>Samoa</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>What is Australia's national airline?</q>
<a1>Qantas</a1>
<a2>Airnorth</a2>
<a3>Asia Pacific Airlines</a3>
<a4>Southern Australia Airlines</a4>
<a5>Jetstar</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Sunflower Airlines is based in which country?</q>
<a1>Fiji</a1>
<a2>Tonga</a2>
<a3>China</a3>
<a4>Papua New Guinea</a4>
<a5>New Zealand</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>WA would stand for which Australian airline?</q>
<a1>Western Airlines</a1>
<a2>Wizz Air</a2>
<a3>Air West</a3>
<a4>Wizz Airways</a4>
<a5>What Airlines</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>PIA are the initials of which airline?</q>
<a1>Pacific Island Aviation</a1>
<a2>Personal Invite Air</a2>
<a3>Pacific Islanders Airline</a3>
<a4>Pacific Islands Air</a4>
<a5>Pacifist Illustrations Artists</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>The two BA's in Australasia, Batavia Air & Bouraq Airlines, hail from which country?</q>
<a1>Indonesia</a1>
<a2>Australia</a2>
<a3>Fiji</a3>
<a4>Malaysia</a4>
<a5>Italy</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>FAI stands for which New Zealand airline?</q>
<a1>Freedom Air International</a1>
<a2>Free Airlines International</a2>
<a3>Flippant Allies Integrated</a3>
<a4>Flying Aeroplanes International</a4>
<a5>Fly Airlines International</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>In which Australian city was the opening ceremony to the 2000 Olympic Games held?</q>
<a1>Sydney</a1>
<a2>Melbourne</a2>
<a3>Brisbane</a3>
<a4>Perth</a4>
<a5>Canberra</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of New Zealand?</q>
<a1>Wellington</a1>
<a2>Dunedin</a2>
<a3>Auckland</a3>
<a4>Hamilton</a4>
<a5>Christchurch</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Papua New Guinea?</q>
<a1>Port Moresby</a1>
<a2>Goroka</a2>
<a3>Lae</a3>
<a4>Mount Hagen</a4>
<a5>Kiela</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is New Zealand's largest city?</q>
<a1>Auckland</a1>
<a2>Dunedin</a2>
<a3>Wellington</a3>
<a4>Christchurch</a4>
<a5>Brisbane</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Who was the first Australian Prime Minister?</q>
<a1>Sir Edmund Barton</a1>
<a2>John Howard</a2>
<a3>Paul Keating</a3>
<a4>Bob Hawke</a4>
<a5>Malcolm Fraser</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Who is the current Prime Minister of New Zealand?</q>
<a1>John Key</a1>
<a2>Helen Clark</a2>
<a3>Jenny Shipley</a3>
<a4>Jim Bolger</a4>
<a5>Mike Moore</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Which famous Australian actor plays General Maximus Decimus Meridius in the film Gladiator?</q>
<a1>Russell Crowe</a1>
<a2>Mel Gibson</a2>
<a3>Hugh Jackman</a3>
<a4>Michael Owen</a4>
<a5>Eric Bana</a5>
<img></img>
</question>
<question cat="4" type="1">
<q>Who was Australia's Cricket captain in the 2009 Ashes series? </q>
<a1>Ricky Ponting</a1>
<a2>Shane Warne</a2>
<a3>Nathan Hauritz</a3>
<a4>Michael Clarke</a4>
<a5>Brett Lee</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What name is sometimes given to residents of Hong Kong?</q>
<a1>Hong Kongers</a1>
<a2>Chinese</a2>
<a3>Indians</a3>
<a4>Hongers</a4>
<a5>Kiwis</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Brisbane Airport? </q>
<a1>BNE</a1>
<a2>BRA</a2>
<a3>BRI</a3>
<a4>BRS</a4>
<a5>BIA</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Christchurch International Airport?</q>
<a1>CHC</a1>
<a2>CHI</a2>
<a3>CHA</a3>
<a4>CIA</a4>
<a5>CHU</a5>
<img></img>
</question>
<question cat="1" type="1">
<q>What is the code for Adelaide Airport? </q>
<a1>ADL</a1>
<a2>AAA</a2>
<a3>ADE</a3>
<a4>ADA</a4>
<a5>AEL</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the largest city in Australia?</q>
<a1>Sydney</a1>
<a2>Adelaide</a2>
<a3>Portugal</a3>
<a4>Newcastle</a4>
<a5>Melbourne</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the capital of Samoa?</q>
<a1>Apia</a1>
<a2>Tufuga</a2>
<a3>Rugby</a3>
<a4>Efi</a4>
<a5>Malcolm</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the largest city in Papua New Guinea?</q>
<a1>Port Moresby</a1>
<a2>Papua</a2>
<a3>Chop</a3>
<a4>Guinea</a4>
<a5>Nieuw</a5>
<img></img>
</question>
<question cat="5" type="1">
<q>What is the smallest capital city in Australia?</q>
<a1>Darwin</a1>
<a2>Perth</a2>
<a3>Sydney</a3>
<a4>Canberra</a4>
<a5>Brisbane</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Lake Disappointment is located in which country?</q>
<a1>Australia</a1>
<a2>New Zealand</a2>
<a3>Papua New Guinea</a3>
<a4>Western Samoa</a4>
<a5>Tonga</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>What is the correct name of this famous building located in Australia?</q>
<a1>The Sydney Opera House</a1>
<a2>The Opera House Manchester</a2>
<a3>Grand Opera House</a3>
<a4>The Koala Playground</a4>
<a5>Jersey Opera House</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Off the coast of which city will you find the world's largest coral reef system known as The Great Barrier Reef?</q>
<a1>Queensland</a1>
<a2>Adelaide</a2>
<a3>Canberra</a3>
<a4>Sydney</a4>
<a5>Perth</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which country do these parliamentary buildings belong to?</q>
<a1>New Zealand Parliament Buildings</a1>
<a2>The Australian Senate</a2>
<a3>The Parliamentary Phone-in</a3>
<a4>Papua Parliament</a4>
<a5>New Guinea Buildings</a5>
<img></img>
</question>
<question cat="3" type="1">
<q>Which tennis arena hosts the final of the Australian Open?</q>
<a1>Rod Laver Arena</a1>
<a2>Margaret Court Arena</a2>
<a3>Bruce Willis Arena</a3>
<a4>Lindsay Lohan Arena</a4>
<a5>Flinders Park</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the currency of New Zealand?</q>
<a1>New Zealand Dollar</a1>
<a2>New Zealand Pound</a2>
<a3>New Zealand Euro</a3>
<a4>Maori Pound</a4>
<a5>New Zealand Franc</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the name of this animal used as an emblem on the Australian coat of arms?</q>
<a1>Kangaroo</a1>
<a2>Dog</a2>
<a3>Penguin</a3>
<a4>Pelican</a4>
<a5>Cockatoo</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>Australasia competed in the Olympic Games in which year?</q>
<a1>1908</a1>
<a2>1916</a2>
<a3>2000</a3>
<a4>1904</a4>
<a5>3240</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>What is the world's biggest single structure composed purely of living organisms?</q>
<a1>The Great Barrier Reef</a1>
<a2>Burj Dubai</a2>
<a3>Banzai Pipeline</a3>
<a4>Delaware Basin</a4>
<a5>The Sydney Opera House</a5>
<img></img>
</question>
<question cat="6" type="1">
<q>How many stars appear on the Australian flag? </q>
<a1>6</a1>
<a2>5</a2>
<a3>4</a3>
<a4>3</a4>
<a5>2</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Where is Air New Zealand's airport hub based? </q>
<a1>Auckland Airport</a1>
<a2>Wanaka Airport</a2>
<a3>Paraparaumu Airport</a3>
<a4>Brisbane Airport</a4>
<a5>Wellington International Airport</a5>
<img></img>
</question>
<question cat="2" type="1">
<q>Qantas has airport hubs in Sydney and which other Australian city?</q>
<a1>Melbourne</a1>
<a2>Brisbane</a2>
<a3>Perth</a3>
<a4>Darwin </a4>
<a5>Canberra </a5>
<img></img>
</question>
<question cat="1" type="2">
<q>Auckland International Airport is located in which country?</q>
<img></img>
<country name="New Zealand" x="509" y="183">New Zealand</country>
</question>
<question cat="1" type="2">
<q>Which country would you be in if you landed at Adelaide Airport?</q>
<img></img>
<country name="Australia" x="453" y="158">Australia</country>
</question>
<question cat="3" type="2">
<q>Which country is home to Ayres Rock?</q>
<img></img>
<country name="Australia" x="453" y="158">Australia</country>
</question>
<question cat="3" type="2">
<q>In which country would you find Lake Disappointment?</q>
<img></img>
<country name="Australia" x="453" y="158">Australia</country>
</question>
<question cat="4" type="2">
<q>Maoris are associated with which country?</q>
<img></img>
<country name="New Zealand" x="509" y="183">New Zealand</country>
</question>
<question cat="6" type="2">
<q>Kosciusko is the highest mountain in which country?</q>
<img></img>
<country name="Australia" x="453" y="158">Australia</country>
</question>
<question cat="6" type="2">
<q>Tokelau is a dependency of which country?</q>
<img></img>
<country name="New Zealand" x="509" y="183">New Zealand</country>
</question>
<question cat="6" type="2">
<q>In which country would you find the Barossa Valley?</q>
<img></img>
<country name="Australia" x="453" y="158">Australia</country>
</question>
</Australasia>
<countries>
<country name="Alaska" x="55" y="32">Alaska</country>
<country name="Angola" x="285" y="137">Angola</country>
<country name="Argentina" x="175" y="168">Argentina</country>
<country name="Australia" x="453" y="158">Australia</country>
<country name="Borneo" x="426" y="127">Borneo</country>
<country name="Botswana" x="296" y="156">Botswana</country>
<country name="Brazil" x="190" y="135">Brazil</country>
<country name="Bulgaria" x="297" y="62">Bulgaria</country>
<country name="Burma" x="398" y="93">Burma</country>
<country name="Cambodia" x="409" y="103">Cambodia</country>
<country name="Canada" x="113" y="42">Canada</country>
<country name="Chad" x="290" y="103">Chad</country>
<country name="Chile" x="162" y="165">Chile</country>
<country name="China" x="413" y="84">China</country>
<country name="Colombia" x="156" y="118">Colombia</country>
<country name="Costa Rica" x="142" y="108">Costa Rica</country>
<country name="Cuba" x="148" y="92">Cuba</country>
<country name="Cyprus" x="308" y="75">Cyprus</country>
<country name="Czech Republic" x="284" y="55">Czech Republic</country>
<country name="Denmark" x="275" y="43">Denmark</country>
<country name="Dominican Republic" x="160" y="96">Dominican Republic</country>
<country name="Egypt" x="303" y="85">Egypt</country>
<country name="Equador" x="149" y="122">Equador</country>
<country name="Eritrea" x="320" y="103">Eritrea</country>
<country name="Estonia" x="295" y="42">Estonia</country>
<country name="Ethiopia" x="316" y="109">Ethiopia</country>
<country name="Fiji" x="532" y="150">Fiji</country>
<country name="Finland" x="300" y="35">Finland</country>
<country name="France" x="265" y="57">France</country>
<country name="Germany" x="278" y="52">Germany</country>
<country name="Greece" x="293" y="68">Greece</country>
<country name="Greenland" x="207" y="18">Greenland</country>
<country name="Hawaii" x="27" y="98">Hawaii</country>
<country name="Iceland" x="237" y="31">Iceland</country>
<country name="India" x="372" y="100">India</country>
<country name="Indonesia" x="420" y="126">Indonesia</country>
<country name="Iran" x="338" y="77">Iran</country>
<country name="Iraq" x="328" y="78">Iraq</country>
<country name="Ireland" x="249" y="50">Ireland</country>
<country name="Italy" x="280" y="63">Italy</country>
<country name="Japan" x="460" y="70">Japan</country>
<country name="Kazakhstan" x="345" y="60">Kazakhstan</country>
<country name="Kenya" x="315" y="123">Kenya</country>
<country name="Lesotho" x="298" y="167">Lesotho</country>
<country name="Madagascar" x="328" y="151">Madagascar</country>
<country name="Malaysia" x="406" y="117">Malaysia</country>
<country name="Maldives" x="365" y="120">Maldives</country>
<country name="Mali" x="254" y="98">Mali</country>
<country name="Mexico" x="119" y="92">Mexico</country>
<country name="Mongolia" x="400" y="61">Mongolia</country>
<country name="Morocco" x="250" y="83">Morocco</country>
<country name="New Zealand" x="509" y="183">New Zealand</country>
<country name="Nigeria" x="274" y="114">Nigeria</country>
<country name="Norway" x="274" y="36">Norway</country>
<country name="Oman" x="342" y="96">Oman</country>
<country name="Pakistan" x="365" y="86">Pakistan</country>
<country name="Paraguay" x="179" y="152">Paraguay</country>
<country name="Papua New Guinea" x="470" y="135">Paua New Guinea</country>
<country name="Peru" x="156" y="140">Peru</country>
<country name="Philippines" x="437" y="106">Philippines</country>
<country name="Poland" x="290" y="50">Poland</country>
<country name="Portugal" x="250" y="66">Portugal</country>
<country name="Russia" x="400" y="39">Russia</country>
<country name="Saudi Arabia" x="324" y="90">Saudi Arabia</country>
<country name="Seychelles" x="341" y="133">Seychelles</country>
<country name="Slovakia" x="285" y="52">Slovakia</country>
<country name="Somalia" x="328" y="111">Somalia</country>
<country name="South Africa" x="295" y="167">South Africa</country>
<country name="South Korea" x="444" y="74">South Korea</country>
<country name="Spain" x="255" y="66">Spain</country>
<country name="Sri Lanka" x="376" y="113">Sri Lanka</country>
<country name="Sudan" x="304" y="98">Sudan</country>
<country name="Sweden" x="283" y="40">Sweden</country>
<country name="Switzerland" x="272" y="57">Switzerland</country>
<country name="Tanzania" x="312" y="134">Tanzania</country>
<country name="Thailand" x="405" y="98">Thailand</country>
<country name="Tunisia" x="275" y="73">Tunisia</country>
<country name="Turkey" x="308" y="67">Turkey</country>
<country name="U.A.E" x="338" y="90">U.A.E</country>
<country name="U.S.A" x="114" y="69">U.S.A</country>
<country name="UK" x="260" y="50">UK</country>
<country name="Ukraine" x="298" y="60">Ukraine</country>
<country name="Uruguay" x="188" y="160">Uruguay</country>
<country name="Venezuela" x="166" y="110">Venezuela</country>
<country name="Vietnam" x="414" y="105">Vietnam</country>
<country name="Yemen" x="330" y="100">Yemen</country>
</countries>
</questions>
;
}
}//package src
Section 41
//5050_46 (TravelPursuit_fla.5050_46)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class 5050_46 extends MovieClip {
public function 5050_46(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 42
//answer_correct_wrong_mc_36 (TravelPursuit_fla.answer_correct_wrong_mc_36)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class answer_correct_wrong_mc_36 extends MovieClip {
public function answer_correct_wrong_mc_36(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 43
//auto_47 (TravelPursuit_fla.auto_47)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class auto_47 extends MovieClip {
public function auto_47(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 44
//curved_background_45 (TravelPursuit_fla.curved_background_45)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class curved_background_45 extends MovieClip {
public function curved_background_45(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 45
//Destination_37 (TravelPursuit_fla.Destination_37)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class Destination_37 extends MovieClip {
public var usa2_btn:MovieClip;
public var asia2_btn:MovieClip;
public var sa2_btn:MovieClip;
public var europe2_btn:MovieClip;
public var australia2_btn:MovieClip;
public var africa2_btn:MovieClip;
}
}//package TravelPursuit_fla
Section 46
//difficultyMenu_49 (TravelPursuit_fla.difficultyMenu_49)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class difficultyMenu_49 extends MovieClip {
public var hard_btn:SimpleButton;
public var txtQuestionNumber:TextField;
public var medium_btn:SimpleButton;
public var easy_btn:SimpleButton;
public var question_background_mc:MovieClip;
public var txtQuestionType:TextField;
}
}//package TravelPursuit_fla
Section 47
//flightPath_Africa_13 (TravelPursuit_fla.flightPath_Africa_13)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class flightPath_Africa_13 extends MovieClip {
public var mask_mc:MovieClip;
public function flightPath_Africa_13(){
addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
mask_mc.gotoAndPlay(1);
}
function frame6(){
mask_mc.gotoAndPlay(1);
}
function frame4(){
mask_mc.gotoAndPlay(1);
}
function frame5(){
mask_mc.gotoAndPlay(1);
}
function frame2(){
mask_mc.gotoAndPlay(1);
}
}
}//package TravelPursuit_fla
Section 48
//flightPath_Australia_12 (TravelPursuit_fla.flightPath_Australia_12)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class flightPath_Australia_12 extends MovieClip {
public var mask_mc:MovieClip;
public function flightPath_Australia_12(){
addFrameScript(1, frame2, 2, frame3, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
mask_mc.gotoAndPlay(1);
}
function frame6(){
mask_mc.gotoAndPlay(1);
}
function frame7(){
mask_mc.gotoAndPlay(1);
}
function frame5(){
mask_mc.gotoAndPlay(1);
}
function frame2(){
mask_mc.gotoAndPlay(1);
}
}
}//package TravelPursuit_fla
Section 49
//flightPath_SouthAmerica_14 (TravelPursuit_fla.flightPath_SouthAmerica_14)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class flightPath_SouthAmerica_14 extends MovieClip {
public var mask_mc:MovieClip;
public function flightPath_SouthAmerica_14(){
addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5, 6, frame7);
}
function frame3(){
mask_mc.gotoAndPlay(1);
}
function frame7(){
mask_mc.gotoAndPlay(1);
}
function frame4(){
mask_mc.gotoAndPlay(1);
}
function frame5(){
mask_mc.gotoAndPlay(1);
}
function frame2(){
mask_mc.gotoAndPlay(1);
}
}
}//package TravelPursuit_fla
Section 50
//flightPath_USA_15 (TravelPursuit_fla.flightPath_USA_15)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class flightPath_USA_15 extends MovieClip {
public var mask_mc:MovieClip;
public function flightPath_USA_15(){
addFrameScript(1, frame2, 2, frame3, 3, frame4, 5, frame6, 6, frame7);
}
function frame3(){
mask_mc.gotoAndPlay(1);
}
function frame6(){
mask_mc.gotoAndPlay(1);
}
function frame7(){
mask_mc.gotoAndPlay(1);
}
function frame4(){
mask_mc.gotoAndPlay(1);
}
function frame2(){
mask_mc.gotoAndPlay(1);
}
}
}//package TravelPursuit_fla
Section 51
//flightPathAsia_11 (TravelPursuit_fla.flightPathAsia_11)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class flightPathAsia_11 extends MovieClip {
public var mask_mc:MovieClip;
public function flightPathAsia_11(){
addFrameScript(1, frame2, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame6(){
mask_mc.gotoAndPlay(1);
}
function frame7(){
mask_mc.gotoAndPlay(1);
}
function frame4(){
mask_mc.gotoAndPlay(1);
}
function frame5(){
mask_mc.gotoAndPlay(1);
}
function frame2(){
mask_mc.gotoAndPlay(1);
}
}
}//package TravelPursuit_fla
Section 52
//flightPathEurope_9 (TravelPursuit_fla.flightPathEurope_9)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class flightPathEurope_9 extends MovieClip {
public var mask_mc:MovieClip;
public function flightPathEurope_9(){
addFrameScript(2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
mask_mc.gotoAndPlay(1);
}
function frame6(){
mask_mc.gotoAndPlay(1);
}
function frame7(){
mask_mc.gotoAndPlay(1);
}
function frame4(){
mask_mc.gotoAndPlay(1);
}
function frame5(){
mask_mc.gotoAndPlay(1);
}
}
}//package TravelPursuit_fla
Section 53
//getOurNesletter_71 (TravelPursuit_fla.getOurNesletter_71)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class getOurNesletter_71 extends MovieClip {
public var content_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 54
//getOurNewsletetr_72 (TravelPursuit_fla.getOurNewsletetr_72)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class getOurNewsletetr_72 extends MovieClip {
public var home_btn:SimpleButton;
public var txt_email:TextField;
public var mrs_btn:MovieClip;
public var txt_surname:TextField;
public var share_btn:SimpleButton;
public var privacy_btn:SimpleButton;
public var txt_firstName:TextField;
public var txt_postcode:TextField;
public var miss_btn:MovieClip;
public var question_background_mc:MovieClip;
public var mr_btn:MovieClip;
public var submit_newsletter_btn:SimpleButton;
public function getOurNewsletetr_72(){
addFrameScript(0, frame1);
}
function frame1(){
submit_newsletter_btn.tabIndex = 205;
txt_firstName.tabIndex = 201;
txt_surname.tabIndex = 202;
txt_email.tabIndex = 203;
txt_postcode.tabIndex = 204;
}
}
}//package TravelPursuit_fla
Section 55
//highScores_mc_79 (TravelPursuit_fla.highScores_mc_79)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class highScores_mc_79 extends MovieClip {
public var content_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 56
//highScoresContent_80 (TravelPursuit_fla.highScoresContent_80)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class highScoresContent_80 extends MovieClip {
public var userName6:TextField;
public var score5:TextField;
public var score6:TextField;
public var userName7:TextField;
public var userName2:TextField;
public var userName4:TextField;
public var userName9:TextField;
public var userName5:TextField;
public var home_btn:SimpleButton;
public var score1:TextField;
public var share_btn:SimpleButton;
public var score10:TextField;
public var userName8:TextField;
public var userName1:TextField;
public var userName10:TextField;
public var question_background_mc:MovieClip;
public var score2:TextField;
public var score3:TextField;
public var score7:TextField;
public var score8:TextField;
public var score4:TextField;
public var score9:TextField;
public var userName3:TextField;
}
}//package TravelPursuit_fla
Section 57
//howToPlay_77 (TravelPursuit_fla.howToPlay_77)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class howToPlay_77 extends MovieClip {
public var content_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 58
//howToPlayContent_78 (TravelPursuit_fla.howToPlayContent_78)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class howToPlayContent_78 extends MovieClip {
public var home_btn:SimpleButton;
public var share_btn:SimpleButton;
public var question_background_mc:MovieClip;
public var playGame1_btn:SimpleButton;
}
}//package TravelPursuit_fla
Section 59
//imageAnswer_mc_93 (TravelPursuit_fla.imageAnswer_mc_93)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class imageAnswer_mc_93 extends MovieClip {
public var image_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 60
//location_8 (TravelPursuit_fla.location_8)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class location_8 extends MovieClip {
public var asia_mc:MovieClip;
public var sa_mc:MovieClip;
public var europe_mc:MovieClip;
public var africa_mc:MovieClip;
public var australia_mc:MovieClip;
public var usa_mc:MovieClip;
public function location_8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 61
//map_color_mc_6 (TravelPursuit_fla.map_color_mc_6)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class map_color_mc_6 extends MovieClip {
public function map_color_mc_6(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 62
//mask_flightPath_10 (TravelPursuit_fla.mask_flightPath_10)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class mask_flightPath_10 extends MovieClip {
public function mask_flightPath_10(){
addFrameScript(54, frame55);
}
function frame55(){
stop();
}
}
}//package TravelPursuit_fla
Section 63
//menu_MainMenuButtons_27 (TravelPursuit_fla.menu_MainMenuButtons_27)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class menu_MainMenuButtons_27 extends MovieClip {
public var playGame_btn:SimpleButton;
public var howToPlay_btn:SimpleButton;
public var highScores_btn:SimpleButton;
public var shareGame_btn:SimpleButton;
public var winPrizes1_btn:SimpleButton;
public var subscribe_btn:SimpleButton;
}
}//package TravelPursuit_fla
Section 64
//message_box_100 (TravelPursuit_fla.message_box_100)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class message_box_100 extends MovieClip {
public var yes_btn:SimpleButton;
public var yes2_btn:SimpleButton;
public var txtMessage:TextField;
public var ok_btn:SimpleButton;
public var yes1_btn:SimpleButton;
public var no_btn:SimpleButton;
}
}//package TravelPursuit_fla
Section 65
//numberHolder_24 (TravelPursuit_fla.numberHolder_24)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class numberHolder_24 extends MovieClip {
public var numTXT:TextField;
}
}//package TravelPursuit_fla
Section 66
//playToWin_54 (TravelPursuit_fla.playToWin_54)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class playToWin_54 extends MovieClip {
public var content_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 67
//playToWinContent_55 (TravelPursuit_fla.playToWinContent_55)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class playToWinContent_55 extends MovieClip {
public var home_btn:SimpleButton;
public var share_btn:SimpleButton;
public var terms_btn:SimpleButton;
public var question_background_mc:MovieClip;
public var playGame1_btn:SimpleButton;
}
}//package TravelPursuit_fla
Section 68
//questionMenu_44 (TravelPursuit_fla.questionMenu_44)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class questionMenu_44 extends MovieClip {
public var txtQuestionNumber:TextField;
public var txtQuestion:TextField;
public var fifty_btn:MovieClip;
public var swap_btn:MovieClip;
public var question_background_mc:MovieClip;
public var auto_btn:MovieClip;
public var txtQuestionType:TextField;
public var correctWrong_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 69
//radioButton_73 (TravelPursuit_fla.radioButton_73)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class radioButton_73 extends MovieClip {
public function radioButton_73(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 70
//roundBonusPoints_89 (TravelPursuit_fla.roundBonusPoints_89)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class roundBonusPoints_89 extends MovieClip {
public var txtPoints:TextField;
}
}//package TravelPursuit_fla
Section 71
//roundComplete_85 (TravelPursuit_fla.roundComplete_85)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class roundComplete_85 extends MovieClip {
public var quitNow_btn:SimpleButton;
public var bonusRound_mc:MovieClip;
public var roundTotal_mc:MovieClip;
public var gameTotal_mc:MovieClip;
public var correctAnswers_mc:MovieClip;
public var question_background_mc:MovieClip;
public var timeBonus_mc:MovieClip;
public var home1_btn:SimpleButton;
public var continue_btn:SimpleButton;
}
}//package TravelPursuit_fla
Section 72
//roundGameTotal_91 (TravelPursuit_fla.roundGameTotal_91)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class roundGameTotal_91 extends MovieClip {
public var txtPoints:TextField;
}
}//package TravelPursuit_fla
Section 73
//roundQuestions_87 (TravelPursuit_fla.roundQuestions_87)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class roundQuestions_87 extends MovieClip {
public var txtCorrectAnswers:TextField;
public var txtPoints:TextField;
}
}//package TravelPursuit_fla
Section 74
//roundTimeBonus_88 (TravelPursuit_fla.roundTimeBonus_88)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class roundTimeBonus_88 extends MovieClip {
public var txtPoints:TextField;
}
}//package TravelPursuit_fla
Section 75
//roundTotal_90 (TravelPursuit_fla.roundTotal_90)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class roundTotal_90 extends MovieClip {
public var txtPoints:TextField;
}
}//package TravelPursuit_fla
Section 76
//shareGame_60 (TravelPursuit_fla.shareGame_60)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class shareGame_60 extends MovieClip {
public var content_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 77
//shareGameContent_61 (TravelPursuit_fla.shareGameContent_61)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
import flash.accessibility.*;
public dynamic class shareGameContent_61 extends MovieClip {
public var home_btn:SimpleButton;
public var txt_yourEmail:TextField;
public var share2_mc:MovieClip;
public var privacy_btn:SimpleButton;
public var share5_mc:MovieClip;
public var tickBox_optin_mc:MovieClip;
public var txt_friendEmail:TextField;
public var share3_mc:MovieClip;
public var submit_share_btn:SimpleButton;
public var question_background_mc:MovieClip;
public var share1_mc:MovieClip;
public var share6_mc:MovieClip;
public var txt_yourSurname:TextField;
public var share4_mc:MovieClip;
public var txt_yourFirstName:TextField;
public function shareGameContent_61(){
addFrameScript(0, frame1);
}
function frame1(){
tickBox_optin_mc.tabIndex = 105;
submit_share_btn.tabIndex = 106;
txt_yourEmail.tabIndex = 103;
txt_friendEmail.tabIndex = 104;
txt_yourFirstName.tabIndex = 101;
txt_yourSurname.tabIndex = 102;
tickBox_optin_mc.accessibilityProperties = new AccessibilityProperties();
tickBox_optin_mc.accessibilityProperties.forceSimple = true;
}
}
}//package TravelPursuit_fla
Section 78
//SideButtons_81 (TravelPursuit_fla.SideButtons_81)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class SideButtons_81 extends MovieClip {
public var visitCheapflights_btn:SimpleButton;
public var winPrizes_btn:SimpleButton;
public var getNewsletter_btn:SimpleButton;
}
}//package TravelPursuit_fla
Section 79
//SOUNDBTN_mc_104 (TravelPursuit_fla.SOUNDBTN_mc_104)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class SOUNDBTN_mc_104 extends MovieClip {
public function SOUNDBTN_mc_104(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 80
//SpriteDump_1 (TravelPursuit_fla.SpriteDump_1)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class SpriteDump_1 extends MovieClip {
public function SpriteDump_1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 81
//submitScore_74 (TravelPursuit_fla.submitScore_74)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class submitScore_74 extends MovieClip {
public var content_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 82
//submitScoreContent_75 (TravelPursuit_fla.submitScoreContent_75)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
import flash.accessibility.*;
public dynamic class submitScoreContent_75 extends MovieClip {
public var txtScore:TextField;
public var home_btn:SimpleButton;
public var txt_email:TextField;
public var mrs_btn:MovieClip;
public var txt_surname:TextField;
public var share_btn:SimpleButton;
public var privacy_btn:SimpleButton;
public var txt_firstName:TextField;
public var tickBox_optin_mc:MovieClip;
public var txt_postcode:TextField;
public var tickBox_terms_mc:MovieClip;
public var miss_btn:MovieClip;
public var terms_btn:SimpleButton;
public var question_background_mc:MovieClip;
public var mr_btn:MovieClip;
public var submit_score_btn:SimpleButton;
public function submitScoreContent_75(){
addFrameScript(0, frame1);
}
function frame1(){
tickBox_terms_mc.tabIndex = 305;
tickBox_optin_mc.tabIndex = 306;
submit_score_btn.tabIndex = 307;
txt_firstName.tabIndex = 301;
txt_surname.tabIndex = 302;
txt_email.tabIndex = 303;
txt_postcode.tabIndex = 304;
tickBox_terms_mc.accessibilityProperties = new AccessibilityProperties();
tickBox_terms_mc.accessibilityProperties.forceSimple = true;
tickBox_optin_mc.accessibilityProperties = new AccessibilityProperties();
tickBox_optin_mc.accessibilityProperties.forceSimple = true;
}
}
}//package TravelPursuit_fla
Section 83
//subscribe_btn_105 (TravelPursuit_fla.subscribe_btn_105)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class subscribe_btn_105 extends MovieClip {
public function subscribe_btn_105(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 84
//swap_btn_48 (TravelPursuit_fla.swap_btn_48)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class swap_btn_48 extends MovieClip {
public function swap_btn_48(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 85
//throbOver_17 (TravelPursuit_fla.throbOver_17)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class throbOver_17 extends MovieClip {
public function throbOver_17(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package TravelPursuit_fla
Section 86
//tickBox_70 (TravelPursuit_fla.tickBox_70)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class tickBox_70 extends MovieClip {
public function tickBox_70(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TravelPursuit_fla
Section 87
//timer_95 (TravelPursuit_fla.timer_95)
package TravelPursuit_fla {
import flash.display.*;
import flash.text.*;
public dynamic class timer_95 extends MovieClip {
public var txtTime:TextField;
public var timer_arrow_mc:MovieClip;
public var timer_holder_mc:MovieClip;
}
}//package TravelPursuit_fla
Section 88
//World_Locations_7 (TravelPursuit_fla.World_Locations_7)
package TravelPursuit_fla {
import flash.display.*;
public dynamic class World_Locations_7 extends MovieClip {
public var africa_btn1:SimpleButton;
public var dest1_mc:MovieClip;
public var sa_btn:SimpleButton;
public var africa_btn:SimpleButton;
public var australia_btn:SimpleButton;
public var europe_btn:SimpleButton;
public var asia_btn:SimpleButton;
public var dest2_mc:MovieClip;
public var usa_btn1:SimpleButton;
public var sa_btn1:SimpleButton;
public var usa_btn:SimpleButton;
public var asia_btn1:SimpleButton;
public var australia_btn1:SimpleButton;
public var star_mc:MovieClip;
public var europe_btn1:SimpleButton;
}
}//package TravelPursuit_fla
Section 89
//background_africa (background_africa)
package {
import flash.display.*;
public dynamic class background_africa extends BitmapData {
public function background_africa(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 90
//background_asia (background_asia)
package {
import flash.display.*;
public dynamic class background_asia extends BitmapData {
public function background_asia(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 91
//background_australia (background_australia)
package {
import flash.display.*;
public dynamic class background_australia extends BitmapData {
public function background_australia(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 92
//background_europe (background_europe)
package {
import flash.display.*;
public dynamic class background_europe extends BitmapData {
public function background_europe(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 93
//background_northAmerica (background_northAmerica)
package {
import flash.display.*;
public dynamic class background_northAmerica extends BitmapData {
public function background_northAmerica(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 94
//background_southAmerica (background_southAmerica)
package {
import flash.display.*;
public dynamic class background_southAmerica extends BitmapData {
public function background_southAmerica(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 95
//background1 (background1)
package {
import flash.display.*;
public dynamic class background1 extends BitmapData {
public function background1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 96
//background2 (background2)
package {
import flash.display.*;
public dynamic class background2 extends BitmapData {
public function background2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 97
//background3 (background3)
package {
import flash.display.*;
public dynamic class background3 extends BitmapData {
public function background3(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 98
//bonusLocation (bonusLocation)
package {
import flash.display.*;
import flash.text.*;
public dynamic class bonusLocation extends MovieClip {
public var pin_mc:MovieClip;
public var txtDestination:TextField;
}
}//package
Section 99
//cs_frame_button_koko_ (cs_frame_button_koko_)
package {
import koko.*;
public dynamic class cs_frame_button_koko_ extends DynamicButton {
public function cs_frame_button_koko_(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
stop();
}
function frame1(){
stop();
}
}
}//package
Section 100
//GlobeMC (GlobeMC)
package {
import src.*;
public dynamic class GlobeMC extends Globe {
}
}//package
Section 101
//GlobePlotMC (GlobePlotMC)
package {
import src.*;
public dynamic class GlobePlotMC extends Globe {
}
}//package
Section 102
//HereSignMC (HereSignMC)
package {
import flash.display.*;
import flash.text.*;
public dynamic class HereSignMC extends MovieClip {
public var txtCountry:TextField;
}
}//package
Section 103
//kokoButtonMC (kokoButtonMC)
package {
import flash.display.*;
public dynamic class kokoButtonMC extends MovieClip {
public var koko_btn:cs_frame_button_koko_;
}
}//package
Section 104
//LocationDot (LocationDot)
package {
import flash.display.*;
public dynamic class LocationDot extends MovieClip {
public var pin_mc:MovieClip;
public function LocationDot(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 105
//LocationDot1 (LocationDot1)
package {
import flash.display.*;
public dynamic class LocationDot1 extends MovieClip {
public function LocationDot1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 106
//menu_MainMenu (menu_MainMenu)
package {
import flash.display.*;
public dynamic class menu_MainMenu extends MovieClip {
public var menu_mc:MovieClip;
public var logo_mc:MovieClip;
public function menu_MainMenu(){
addFrameScript(39, frame40, 55, frame56);
}
function frame40(){
stop();
}
function frame56(){
stop();
}
}
}//package
Section 107
//MultipleChoiceAnswer (MultipleChoiceAnswer)
package {
import flash.display.*;
import flash.text.*;
public dynamic class MultipleChoiceAnswer extends MovieClip {
public var txtAnswer:TextField;
public var correctWrong_mc:MovieClip;
}
}//package
Section 108
//plane_icon (plane_icon)
package {
import flash.display.*;
public dynamic class plane_icon extends MovieClip {
}
}//package
Section 109
//preloaderMC (preloaderMC)
package {
import flash.display.*;
import flash.text.*;
public dynamic class preloaderMC extends MovieClip {
public var txtPct:TextField;
public var timer_arrow_mc:MovieClip;
public var preloader_holder_mc:MovieClip;
}
}//package
Section 110
//travel_pursuit_answer_right (travel_pursuit_answer_right)
package {
import flash.media.*;
public dynamic class travel_pursuit_answer_right extends Sound {
}
}//package
Section 111
//travel_pursuit_answer_slide_in (travel_pursuit_answer_slide_in)
package {
import flash.media.*;
public dynamic class travel_pursuit_answer_slide_in extends Sound {
}
}//package
Section 112
//travel_pursuit_answer_slide_out (travel_pursuit_answer_slide_out)
package {
import flash.media.*;
public dynamic class travel_pursuit_answer_slide_out extends Sound {
}
}//package
Section 113
//travel_pursuit_answer_wrong (travel_pursuit_answer_wrong)
package {
import flash.media.*;
public dynamic class travel_pursuit_answer_wrong extends Sound {
}
}//package
Section 114
//travel_pursuit_bonus_50 (travel_pursuit_bonus_50)
package {
import flash.media.*;
public dynamic class travel_pursuit_bonus_50 extends Sound {
}
}//package
Section 115
//travel_pursuit_bonus_auto (travel_pursuit_bonus_auto)
package {
import flash.media.*;
public dynamic class travel_pursuit_bonus_auto extends Sound {
}
}//package
Section 116
//travel_pursuit_bonus_swap (travel_pursuit_bonus_swap)
package {
import flash.media.*;
public dynamic class travel_pursuit_bonus_swap extends Sound {
}
}//package
Section 117
//travel_pursuit_button_click (travel_pursuit_button_click)
package {
import flash.media.*;
public dynamic class travel_pursuit_button_click extends Sound {
}
}//package
Section 118
//travel_pursuit_button_over (travel_pursuit_button_over)
package {
import flash.media.*;
public dynamic class travel_pursuit_button_over extends Sound {
}
}//package
Section 119
//travel_pursuit_clock_tick (travel_pursuit_clock_tick)
package {
import flash.media.*;
public dynamic class travel_pursuit_clock_tick extends Sound {
}
}//package
Section 120
//travel_pursuit_destination_title_reveal (travel_pursuit_destination_title_reveal)
package {
import flash.media.*;
public dynamic class travel_pursuit_destination_title_reveal extends Sound {
}
}//package
Section 121
//travel_pursuit_flyby (travel_pursuit_flyby)
package {
import flash.media.*;
public dynamic class travel_pursuit_flyby extends Sound {
}
}//package
Section 122
//travel_pursuit_globe_spinning (travel_pursuit_globe_spinning)
package {
import flash.media.*;
public dynamic class travel_pursuit_globe_spinning extends Sound {
}
}//package
Section 123
//travel_pursuit_location_marker_rollover_v1 (travel_pursuit_location_marker_rollover_v1)
package {
import flash.media.*;
public dynamic class travel_pursuit_location_marker_rollover_v1 extends Sound {
}
}//package
Section 124
//travel_pursuit_location_marker_rollover_v2 (travel_pursuit_location_marker_rollover_v2)
package {
import flash.media.*;
public dynamic class travel_pursuit_location_marker_rollover_v2 extends Sound {
}
}//package
Section 125
//travel_pursuit_location_marker_rollover_v3 (travel_pursuit_location_marker_rollover_v3)
package {
import flash.media.*;
public dynamic class travel_pursuit_location_marker_rollover_v3 extends Sound {
}
}//package
Section 126
//travel_pursuit_music_frontend_loop (travel_pursuit_music_frontend_loop)
package {
import flash.media.*;
public dynamic class travel_pursuit_music_frontend_loop extends Sound {
}
}//package
Section 127
//travel_pursuit_music_gameover (travel_pursuit_music_gameover)
package {
import flash.media.*;
public dynamic class travel_pursuit_music_gameover extends Sound {
}
}//package
Section 128
//travel_pursuit_music_ingame_loop (travel_pursuit_music_ingame_loop)
package {
import flash.media.*;
public dynamic class travel_pursuit_music_ingame_loop extends Sound {
}
}//package
Section 129
//travel_pursuit_panel_slide_in (travel_pursuit_panel_slide_in)
package {
import flash.media.*;
public dynamic class travel_pursuit_panel_slide_in extends Sound {
}
}//package
Section 130
//travel_pursuit_panel_slide_out (travel_pursuit_panel_slide_out)
package {
import flash.media.*;
public dynamic class travel_pursuit_panel_slide_out extends Sound {
}
}//package
Section 131
//travel_pursuit_score_counter_v1 (travel_pursuit_score_counter_v1)
package {
import flash.media.*;
public dynamic class travel_pursuit_score_counter_v1 extends Sound {
}
}//package
Section 132
//travel_pursuit_score_counter_v2 (travel_pursuit_score_counter_v2)
package {
import flash.media.*;
public dynamic class travel_pursuit_score_counter_v2 extends Sound {
}
}//package
Section 133
//travel_pursuit_score_counter_v3 (travel_pursuit_score_counter_v3)
package {
import flash.media.*;
public dynamic class travel_pursuit_score_counter_v3 extends Sound {
}
}//package
Section 134
//travel_pursuit_use_lifeline (travel_pursuit_use_lifeline)
package {
import flash.media.*;
public dynamic class travel_pursuit_use_lifeline extends Sound {
}
}//package