STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228131
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/31312865?noj=FRM31312865-15DC" width="1" height="1"></div>

Beat the Burgler.swf

This is the info page for
Flash #47702

(Click the ID number above for more basic data on this flash file.)


Text
LOADING

SOUND ON

SOUND OFF

Viral game by TAMBA

BEAT THE

BURGLAR

brought to you by

...and be in with a chance to

WIN

a

£500

home insurance voucher!

view terms

view terms

PLAY NOW

INSTRUCTIONS

INSTRUCTIONS

BACK

Under cover of night, two burglars prowl, their shifty eyes
darting from window to door. You may think your home is
safe, but these foul felons know better; every door left ajar,
every window left open - all easy entry points as far as these
crooks are concerned.

You are charged with protecting the neighbourhood from these
odious opportunists. Watch each house carefully. As soon as
you see a window or door open, use your mouse to close the
offending entry point as quickly as you can.
Doors need a single mouse click to slam them shut, whilst
windows need to be dragged downwards to close them.
Can you Beat the Burglars?

<p align="center"><font face="Arial" size="50" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>YOU LOSE</b></font></p>

GAME

OVER

01:59

9999

GAME OVER

<p align="center"><font face="Poplar Std" size="34" color="#083476" letterSpacing="0.000000" kerning="0">YOU SCORED &nbsp;375 &nbsp;POINTS </font></p>

Whatever you call home, whether it’s a three-bedroom semi,
a country cottage, or a penthouse apartment, our panel
of leading insurers find you the best price
for home and contents insurance.

Home insurance that’s as safe as houses from Kwik Fit Insurance

GET A QUOTE!

PLAY AGAIN

SUBMIT SCORE

VIEW LEADERBOARD

SEND TO A FRIEND

SUBMIT YOUR SCORE

Your Name

Your Email Address

Submit your name to the "BEAT THE BURGLAR" Leaderboard!

<p align="center"><font face="Poplar Std" size="34" color="#083476" letterSpacing="0.000000" kerning="0">YOU SCORED &nbsp;375 &nbsp;POINTS </font></p>

SUBMIT

LEADERBOARD

Andrew Simpson

12301

999

28 Feb 08 09:54

SEND TO A FRIEND

Challenge your friends to "BEAT THE BURGLAR!"

Friend's Name

Friend's Email Address

SEND

Prize: £500 home insurance voucher.
1. The winner will be the first name drawn from the list of all the entrants on
the closing date of (DATE) and the winner will be contacted by (DATE).
2. The promoter’s decision is final and no correspondence will be entered
into.
3. All entrants must be aged 16 or over and must accept these terms and
conditions.
4. Voucher cannot be used in conjunction with any other offer and is non
transferable.
5. Voucher is not redeemable in part or whole for cash and does not have to
be used in a single transaction.
6. Where the value of the home insurance policy is less than £500, the
winner can use the remaining value of the voucher on any other KFI
product.
7. No cash refund will be given.
8. Voucher is valid for 12 months from when winner is contacted.

TERMS AND CONDITIONS

Prize: £500 home insurance voucher.
1. The winner will be the first name drawn from the list of all the entrants
on the closing date of 2nd February 2009 and the winner will be contacted
by 8th February 2009.
2. The promoter’s decision is final and no correspondence will be entered
into.
3. All entrants must be aged 16 or over and must accept these terms and
conditions.
4. Voucher cannot be used in conjunction with any other offer and is non
transferable.
5. Voucher is not redeemable in part or whole for cash and does not have
to be used in a single transaction.
6. Where the value of the home insurance policy is less than £500, the
winner can use the remaining value of the voucher on any other KFI
product.
7. No cash refund will be given.
8. Voucher is valid for 12 months from when winner is contacted.
9. The voucher can only be used against Kwik Fit Insurance products
bought by the voucher recipient for their use.
10. The voucher is not for resale.
11. Employees of Kwik Fit group are excluded.
12. To redeem this voucher, please contact Grahame McNicol on 01698 804
089 who will arrange a quote for you taking into account your voucher.

13. If the policy is cancelled throughout the year, and the policy value is up
to £500, there will be no refund due.
14. The promoter is Kwik Fit Insurance Services, 1 Masterton Way,
Tannochside Business Park, Uddingston G71 5PU.

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false; var intScore = 0; var intScoreSub = 0; var strLastScreen = "title"; var strRootURL = "http://www.tamba-games.co.uk/kwikfit/burglar/"; var strServiceURL = (strRootURL + "/amfphp/gateway.php"); var objRemote = (new remoting.RemotingFunctions(strServiceURL, "GameFunctions")); preLoad = function () { preloader.loading_mc.gotoAndStop(Math.round((getBytesLoaded() / getBytesTotal()) * 100)); if (getBytesLoaded() == getBytesTotal()) { clearInterval(intPreloader); gotoAndStop ("title_music"); } }; var intPreloader = setInterval(preLoad, 40); var globalSound = new Sound(_root); btn_sound.onRelease = function () { if (!soundOff) { btn_sound.gotoAndStop(2); globalSound.setVolume(0); soundOff = true; skipnext = true; } if (soundOff && (!skipnext)) { btn_sound.gotoAndStop(1); globalSound.setVolume(100); soundOff = false; } skipnext = false; }; btn_tamba.onRelease = function () { getURL ("http://www.tamba.co.uk", "_blank"); }; function tvc_tracker(url, media_id, format) { tvc_lv = new LoadVars(); tvc_lv.media = media_id; tvc_lv.f = format; return(tvc_lv.sendAndLoad(url, tvc_lv, "get")); } kv_v = {c:473, a:0, da:["distralytics.com", "distralytics.co.uk"]}; kv_v.i = 0; while (kv_v.i < kv_v.da.length) { System.security.allowDomain(kv_v.da[kv_v.i], (kv_v.c + ".c.") + kv_v.da[kv_v.i], "*." + kv_v.da[kv_v.i]); kv_v.i++; } kv_v.lc = function () { var _local1 = ((("http://" + kv_v.c) + ".c.") + kv_v.da[kv_v.a % kv_v.da.length]) + kv_v.lurl; System.security.allowDomain(_local1); kv_v.l_mcl.loadClip(_local1, kv_v.t_mc); }; kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0])))); kv_v.fpv = getVersion().split(" ")[1].split(",")[0]; kv_v.lurl = "/control/tracking/tracker.swf?r=" + Math.floor(Math.random() * 10000); kv_v.t_mc = createEmptyMovieClip("kv_tracker", -16734); kv_v.l_mcl = new MovieClipLoader(); kv_v.mcl_l = {onLoadError:function () { kv_v.a++; kv_v.lc(); }, onLoadStart:function (m) { System.security.allowDomain(m._url); }}; kv_v.l_mcl.addListener(kv_v.mcl_l); kv_v.lc(); _root.tvc_media = "855"; System.security.allowDomain(_parent.url); strUrl = ((url != null) ? (url) : "http://www.viralchart.com"); if ((_root.tvc_media != null) && (_root.tvc_media != "")) { _root.tvc_media = (tvc_tracker(strUrl + "/tracker.php", _root.tvc_media, "F") ? null : (_root.tvc_media)); }
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
gotoAndStop ("title");
Frame 12
gotoAndStop ("gameover");
Symbol 6 MovieClip [RemotingDebugClasses] Frame 1
#initclip 69 Object.registerClass("RemotingDebugClasses", mx.remoting.DebugClasses); #endinitclip preview._visible = false; stop();
Symbol 51 MovieClip [RemotingClasses] Frame 1
#initclip 70 Object.registerClass("RemotingClasses", mx.remoting.ApiClasses); #endinitclip preview._visible = false; stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 101
stop();
Symbol 87 MovieClip Frame 430
this._parent._parent.gotoAndPlay(2);
Symbol 92 MovieClip Frame 1
stop();
Symbol 411 MovieClip [__Packages.remoting.RemotingFunctions] Frame 0
class remoting.RemotingFunctions { var gatewayUrl, serviceName, service, serial; function RemotingFunctions (gatewayUrl, serviceName) { this.gatewayUrl = gatewayUrl; this.serviceName = serviceName; service = new remoting.RemotingService(gatewayUrl, serviceName, remoting.RemotingService.NO_RETRY); serial = new it.sephiroth.Serializer(); } function getHighScores(intMax) { service.getHighScores([intMax], this, gotHighScores); } function gotHighScores(objResult) { _root.leaderboard.showHighScores(_root.objRemote.serial.unserialize(objResult.__get__result())); } function setHighScores(strUserName, strUserEmail, intScore) { var _local2 = new as.md5(); var _local3 = _local2.hash((((("client=kfburglar&name=" + strUserName) + "&score=") + intScore) + "&email=") + strUserEmail); service.setHighScores([strUserName, strUserEmail, intScore, _local3], this, setHighScoresResult); } function setHighScoresResult() { _root.gotoAndStop("leaderboard"); } function sendToFriend(strUserName, strUserEmail, strFriendName, strFriendEmail, intUserScore) { service.sendToFriend([strUserName, strUserEmail, strFriendName, strFriendEmail, intUserScore], this, sentToFriend); } function getRank(intScore) { service.getRank([intScore], this, gotRank); } function gotRank(objResult) { _root.intRank = objResult.result; } function sentToFriend() { _root.sendfriend.friend_name.text = ""; _root.sendfriend.friend_email.text = ""; _root.sendfriend.error_text.text = "Email sent! Would you like to send another?"; } }
Symbol 412 MovieClip [__Packages.remoting.RemotingService] Frame 0
class remoting.RemotingService { var gatewayUrl, serviceName, defaultSettings, service, dispatchEvent; function RemotingService (gatewayUrl, serviceName, defaultSettings) { mx.events.EventDispatcher.initialize(this); this.gatewayUrl = gatewayUrl; this.serviceName = serviceName; this.defaultSettings = defaultSettings; init(); } function init() { mx.remoting.debug.NetDebug.initialize(); service = new mx.remoting.Service(gatewayUrl, null, serviceName); } function setCredentials(user, pass) { service.__get__connection().setCredentials(user, pass); } function __resolve(p_methodName) { if ((p_methodName.indexOf("Handler") != -1) || (p_methodName.indexOf("__q_") != -1)) { return(null); } var _local2 = new remoting.RemotingMethod(service, p_methodName, defaultSettings); _local2.addEventListener("busy", mx.utils.Delegate.create(this, handleBusy)); _local2.addEventListener("result", mx.utils.Delegate.create(this, handleResult)); _local2.addEventListener("fault", mx.utils.Delegate.create(this, handleFault)); _local2.addEventListener("timeout", mx.utils.Delegate.create(this, handleTimeout)); _local2.addEventListener("call", mx.utils.Delegate.create(this, handleCall)); this[p_methodName] = mx.utils.Delegate.create(_local2, _local2.exec); return(this[p_methodName]); } function handleBusy(eventObj) { hasBeenBusy = true; dispatchEvent({type:"busy", target:this}); } function handleResult(eventObj) { removePendingCall(); dispatchEvent({type:"result", target:this, result:eventObj.result, args:eventObj.args, methodName:eventObj.methodName}); } function handleTimeout(eventObj) { removePendingCall(); dispatchEvent({type:"timeout", target:this, args:eventObj.args, methodName:eventObj.methodName}); } function handleFault(eventObj) { removePendingCall(); if (eventObj.fault.faultcode == "AMFPHP_AUTH_MISMATCH") { dispatchEvent({type:"authFault", target:this, fault:eventObj.fault, methodName:eventObj.methodName, args:eventObj.args}); } else { dispatchEvent({type:"fault", target:this, fault:eventObj.fault, methodName:eventObj.methodName, args:eventObj.args}); } } function handleCall(eventObj) { pendingCalls = pendingCalls + 1; } function removePendingCall() { pendingCalls = pendingCalls - 1; if ((pendingCalls == 0) && (hasBeenBusy)) { hasBeenBusy = false; dispatchEvent({type:"clear", target:this}); } } static var NO_RETRY = {maxAttempts:1, timeout:20000}; static var BUSY_TIME = 750; var pendingCalls = 0; var hasBeenBusy = false; }
Symbol 58 MovieClip [__Packages.mx.remoting.Service] Frame 0
class mx.remoting.Service extends Object { var __conn, __serviceName, __responder; function Service (gatewayURI, logger, serviceName, conn, resp) { var _local1 = this; var _local2 = conn; var _local3 = gatewayURI; super(); _local1.log = logger; _local1.log.logInfo("Creating Service for " + serviceName, mx.services.Log.VERBOSE); if ((_local3 == "") && (_local2 == null)) { _local3 = mx.remoting.NetServices.gatewayUrl; } _local3 = mx.remoting.NetServices.getHttpUrl(_local3); if (_local2 == null) { _local2 = mx.remoting.NetServices.getConnection(_local3); if (_local2 == null) { _local1.log.logInfo("Creating gateway connection for " + _local3, mx.services.Log.VERBOSE); _local2 = mx.remoting.NetServices.createGatewayConnection(_local3, logger); } } _local1.__conn = _local2; _local2.updateConfig(); _local1._allowRes = true; _local1.__serviceName = serviceName; _local1.__responder = resp; _local1.log.logInfo("Successfully created Service", mx.services.Log.VERBOSE); } function get connection() { return(__conn); } function __resolve(methodName) { var _local2 = this; if (_local2._allowRes) { var _local1 = _local2.__makeOpFunc(methodName); _local2[methodName] = _local1; return(_local1); } return(null); } function __makeOpFunc(name) { var op = (new mx.remoting.Operation(name, this)); var _local1 = function () { op.invoke(arguments); return(op.send()); }; _local1.send = function () { return(op.createThenSend()); }; _local1.setResponder = function (resp) { op.responder = resp; }; _local1.getRequest = function () { return(op.request); }; _local1.setRequest = function (val) { op.request = val; }; _local1.addProperty("request", _local1.getRequest, _local1.setRequest); _local1.operation = op; return(_local1); } function get name() { return(__serviceName); } function get responder() { return(__responder); } static var version = "1.2.0.124"; var _allowRes = false; }
Symbol 7 MovieClip [__Packages.mx.services.Log] Frame 0
class mx.services.Log { var level, name; function Log (logLevel, name) { level = ((logLevel == undefined) ? (BRIEF) : (logLevel)); this.name = ((name == undefined) ? "" : (name)); } function logInfo(msg, level) { if (level == undefined) { level = BRIEF; } if (level <= this.level) { if (level == DEBUG) { onLog((((getDateString() + " [DEBUG] ") + name) + ": ") + msg); } else { onLog((((getDateString() + " [INFO] ") + name) + ": ") + msg); } } } function logDebug(msg) { logInfo(msg, DEBUG); } function getDateString() { var _local1 = new Date(); return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds()); } function onLog(message) { trace(message); } static var NONE = -1; static var BRIEF = 0; static var VERBOSE = 1; static var DEBUG = 2; }
Symbol 8 MovieClip [__Packages.mx.remoting.Connection] Frame 0
class mx.remoting.Connection extends NetConnection { var uri; function Connection () { super(); } function getService(serviceName, client) { var _local1 = new mx.remoting.NetServiceProxy(this, serviceName, client); return(_local1); } function setCredentials(userId, password) { addHeader("Credentials", false, {userid:userId, password:password}); } function clone() { var _local1 = new mx.remoting.Connection(); _local1.connect(uri); return(_local1); } function getDebugId() { return(null); } function getDebugConfig() { return(null); } function setDebugId(id) { } function call() { super.call.apply(super, arguments); } function close() { super.close(); } function connect(url) { return(super.connect(url)); } function addHeader(name, mustUnderstand, obj) { super.addHeader(name, mustUnderstand, obj); } function trace(traceObj) { } function AppendToGatewayUrl(urlSuffix) { var _local1 = this; _local1.__urlSuffix = urlSuffix; if (_local1.__originalUrl == null) { _local1.__originalUrl = _local1.uri; } var _local2 = _local1.__originalUrl + urlSuffix; _local1.connect(_local2); } function ReplaceGatewayUrl(newUrl) { connect(newUrl); } function RequestPersistentHeader(info) { var _local1 = info; addHeader(_local1.name, _local1.mustUnderstand, _local1.data); } static var version = "1.2.0.124"; }
Symbol 14 MovieClip [__Packages.mx.remoting.NetServiceProxy] Frame 0
class mx.remoting.NetServiceProxy extends Object { var nc, client; function NetServiceProxy (netC, servName, cli) { var _local1 = this; super(); if (netC != null) { _local1.nc = netC; _local1.serviceName = servName; _local1.client = cli; } _local1._allowRes = true; } function _setParentService(service) { nc = service.nc; client = service.client; } function __resolve(methodName) { var _local1 = this; var _local2 = arguments; if (_local1._allowRes) { var _local3 = function () { var _local1 = this; var _local2 = arguments; if (_local1.client != null) { _local2.unshift(new mx.remoting.NetServiceProxyResponder(_local1, methodName)); } else if (typeof(_local2[0].onResult) != "function") { mx.remoting.NetServices.trace("NetServices", "warning", 3, "There is no defaultResponder, and no responder was given in call to " + methodName); _local2.unshift(new mx.remoting.NetServiceProxyResponder(_local1, methodName)); } if (typeof(_local1.serviceName) == "function") { _local1.serviceName = _local1.servicename; } _local2.unshift((_local1.serviceName + ".") + methodName); return(_local1.nc.call.apply(_local1.nc, _local2)); }; return(_local3); } return(null); } static function registerNetServiceProxy() { Object.registerClass("NetServiceProxy", mx.remoting.NetServiceProxy); return(true); } static var init = registerNetServiceProxy(); var _allowRes = false; }
Symbol 57 MovieClip [__Packages.mx.rpc.Responder] Frame 0
interface mx.rpc.Responder{}
Symbol 56 MovieClip [__Packages.mx.rpc.FaultEvent] Frame 0
class mx.rpc.FaultEvent extends Object { var __fault; function FaultEvent (f) { super(); __fault = f; } function get fault() { return(__fault); } }
Symbol 55 MovieClip [__Packages.mx.rpc.Fault] Frame 0
class mx.rpc.Fault extends Object { var __faultcode, __faultstring, __detail, __type; function Fault (code, msg, detail, type) { var _local1 = this; super(); _local1.__faultcode = code; _local1.__faultstring = msg; _local1.__detail = detail; _local1.__type = type; } function get faultcode() { return(__faultcode); } function get faultstring() { return(__faultstring); } function get detail() { return(__detail); } function get description() { var _local2 = this; if (_local2.__description == null) { if (_local2.__faultstring.indexOf(":") > -1) { _local2.__description = _local2.__faultstring.substring(_local2.__faultstring.indexOf(":") + 1); var _local1 = 0; while (_local2.__description.indexOf(" ", _local1) == _local1) { _local1++; } if (_local1 > 0) { _local2.__description = _local2.__description.substring(_local1); } } else { _local2.__description = _local2.__faultstring; } } return(_local2.__description); } function get type() { return(__type); } }
Symbol 54 MovieClip [__Packages.mx.rpc.ResultEvent] Frame 0
class mx.rpc.ResultEvent extends Object { var __result; function ResultEvent (res) { super(); __result = res; } function get result() { return(__result); } }
Symbol 13 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 37 MovieClip [__Packages.mx.remoting.debug.NetDebug] Frame 0
class mx.remoting.debug.NetDebug extends Object { static var ndSingleton; var _ncs, _nextNewId, _glc, _config; function NetDebug () { var _local1 = this; super(); _local1._ncs = new Array(); _local1._config = mx.remoting.debug.NetDebugConfig.getDefaultNetDebugConfig(false); _local1._glc = new mx.remoting.debug.GlobalLocalConnection(false, _local1); _local1._glc.sendCommand(new mx.remoting.debug.commands.GetConfig()); _local1._nextNewId = 0; if (_global.System.onStatus == undefined) { _global.System.onStatus = globalOnStatus; } mx.remoting.NetServices.traceNetServices = traceNetServices; } function addNetConnection(nc) { _ncs.push(nc); return(_nextNewId++); } function requestNewConfig() { return(sendCommand(new mx.remoting.debug.commands.GetConfig())); } function removeNetConnection(nc) { var _local2 = this; var _local3 = _local2._ncs.length; var _local1 = 0; while (_local1 < _local3) { if (nc == _local2._ncs[_local1]) { _local2._ncs.splice(_local1, 1); return; } _local1++; } } function sendDebugEvent(eventobj) { if (!_glc.send(eventobj)) { _glc.send(new mx.remoting.debug.events.NetDebugFailedSendError(stripNCDEventToMinmal(eventobj))); return(false); } return(true); } function sendCommand(commandobj) { return(_glc.sendCommand(commandobj)); } function updateConfig(config) { var _local2 = this; mx.utils.ObjectCopy.copyProperties(_local2._config, config); var _local3 = _local2._ncs.length; var _local1 = 0; while (_local1 < _local3) { if (_local2._ncs[_local1] != null) { _local2._ncs[_local1].updateConfig(config); } _local1++; } } function sendStatus(statusobj) { var _local1 = this; if (_local1._config.m_debug && (_local1._config.client.m_debug)) { return(_local1._glc.send(new mx.remoting.debug.events.NetDebugStatus(statusobj))); } return(undefined); } function onEvent(eventObj) { return(sendDebugEvent(eventObj)); } function onEventError(errorObj) { return(sendDebugEvent(new mx.remoting.debug.events.NetDebugError(errorObj))); } function onReceiveCommand(commandobj) { this[commandobj.command](commandobj.data); } function onReceiveError(errorobj) { sendDebugEvent(new mx.remoting.debug.events.NetDebugError(errorobj)); } function getConfig() { return(_config); } static function getNetDebug() { return(ndSingleton); } static function trace(obj) { getNetDebug()._trace(obj); } static function traceNetServices(who, severity, number, message) { getNetDebug()._traceNetServices(who, severity, number, message); } static function globalOnStatus(statusobj) { getNetDebug().sendStatus(statusobj); } static function initialize() { if (ndSingleton == null) { ndSingleton = new mx.remoting.debug.NetDebug(); mx.remoting.debug.ConnectionMixin.initialize(); } return(true); } static function stripNCDEventToMinmal(ev) { var _local1 = ev; var _local2 = new Object(); if (_local1.eventType != null) { _local2.eventType = _local1.eventType; } if (_local1.source != null) { _local2.source = _local1.source; } if (_local1.movieUrl != null) { _local2.movieUrl = _local1.movieUrl; } if (_local1.date != null) { _local2.date = _local1.date; } if (_local1.time != null) { _local2.time = _local1.time; } if (_local1.protocol != null) { _local2.protocol = _local1.protocol; } if (_local1.debugId != null) { _local2.debugId = _local1.debugId; } return(_local2); } function _traceNetServices(who, severity, number, message) { var _local1 = this; if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { if (!_local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTraceNetServices(who, severity, number, message))) { } } } function _trace(traceobj) { var _local1 = this; if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { if (!_local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTrace(traceobj))) { } } } static var version = "1.2.0.124"; }
Symbol 21 MovieClip [__Packages.mx.remoting.debug.NetDebugConfig] Frame 0
class mx.remoting.debug.NetDebugConfig extends Object { function NetDebugConfig () { super(); Object.registerClass("NetDebugConfig", mx.remoting.debug.NetDebugConfig); } static function getNetDebugVersion() { return(1); } static function attachNetDebugConfigFunctions(ndc) { var _local1 = ndc; _local1.setDebug = function (setval) { this.m_debug = setval; }; _local1.getDebug = function () { return(this.m_debug); }; for (var _local2 in _local1) { if (typeof(_local1[_local2]) == "object") { attachNetDebugConfigFunctions(_local1[_local2]); } } return(null); } static function getDefaultNetDebugConfig(isController) { var _local1 = _global; if (_local1.netDebugConfigSO == undefined) { var _local2 = "TestMovie_Config_Info"; if (isController) { _local2 = "Controller_Config_Info"; } _local1.netDebugConfigSO = SharedObject.getLocal(_local2); } if (_local1.netDebugConfigSO.data.config == undefined) { _local1.netDebugConfigSO.data.config = getRealDefaultNetDebugConfig(); } _local1.netDebugConfigSO.flush(); return(_local1.netDebugConfigSO.data.config); } static function getRealDefaultNetDebugConfig() { var _local1 = new mx.remoting.debug.NetDebugConfig(); _local1.m_debug = true; _local1.client = new mx.remoting.debug.NetDebugConfig(); _local1.client.m_debug = true; _local1.client.trace = true; _local1.client.recordset = true; _local1.client.http = true; _local1.client.rtmp = true; _local1.realtime_server = new mx.remoting.debug.NetDebugConfig(); _local1.realtime_server.m_debug = true; _local1.realtime_server.trace = true; _local1.app_server = new mx.remoting.debug.NetDebugConfig(); _local1.app_server.m_debug = true; _local1.app_server.trace = true; _local1.app_server.error = true; _local1.app_server.recordset = true; _local1.app_server.httpheaders = false; _local1.app_server.amf = false; _local1.app_server.amfheaders = false; _local1.app_server.coldfusion = true; return(_local1); } }
Symbol 30 MovieClip [__Packages.mx.remoting.debug.GlobalLocalConnection] Frame 0
class mx.remoting.debug.GlobalLocalConnection extends Object { var sendPrefix; function GlobalLocalConnection (isController, receiver, domainName) { var _local2 = this; var _local3 = _global; super(); _local2.maxConnections = 10; var sToMovie = "_NetDebugLocalToDebugMovie"; var sToController = "_NetDebugLocalToController"; var connectname = null; if (isController) { connectname = sToController; _local2.sendNames = new Array(); _local2.sendNames.push(sToMovie); var _local1 = 0; while (_local1 < _local2.maxConnections) { _local2.sendNames.push(sToMovie + _local1); _local1++; } _local2.maxConnections = 0; } else { connectname = sToMovie; _local2.sendNames = new Array(); _local2.sendNames.push(sToController); } _local2.setDomainName(domainName); if (_local3.g_NetDebugLocalConnection == undefined) { _local3.g_NetDebugLocalConnection = new LocalConnection(); _local3.g_NetDebugLocalConnection.allowDomain = function () { return(true); }; } if (receiver != null) { _local3.g_NetDebugLocalConnection.m_Receiver = receiver; _local3.g_NetDebugLocalConnection.onData = function (dataobj) { _global.g_NetDebugLocalConnection.m_Receiver.onReceive(dataobj); }; _local3.g_NetDebugLocalConnection.onCommand = function (commandobj) { _global.g_NetDebugLocalConnection.m_Receiver.onReceiveCommand(commandobj); }; if (!_local3.g_NetDebugLocalConnection.connect(connectname)) { var connected = false; var _local1 = 0; while (_local1 < _local2.maxConnections) { if (_local3.g_NetDebugLocalConnection.connect(connectname + _local1)) { connected = true; break; } _local1++; } if (!connected) { if (isController) { receiver.onReceiveError(new mx.remoting.debug.events.NetDebugDuplicateNCDError()); } } } } } function setDomainName(domainName) { var _local1 = domainName; if ((_local1 != null) && (_local1 != "")) { sendPrefix = _local1 + ":"; } else { sendPrefix = ""; } } function send(dataobj) { return(sendRaw("onData", dataobj)); } function sendCommand(commandObj) { return(sendRaw("onCommand", commandObj)); } function sendRaw(functionName, obj) { var _local3 = this; var _local2 = true; var snlen = _local3.sendNames.length; var _local1 = 0; while (_local1 < snlen) { _local2 = Boolean(_local2 & _global.g_NetDebugLocalConnection.send(_local3.sendPrefix + _local3.sendNames[_local1], functionName, obj)); _local1++; } return(_local2); } }
Symbol 413 MovieClip [__Packages.remoting.RemotingMethod] Frame 0
class remoting.RemotingMethod { var service, methodName, defaultSettings, dispatchEvent; function RemotingMethod (service, methodName, defaultSettings) { mx.events.EventDispatcher.initialize(this); this.service = service; this.methodName = methodName; this.defaultSettings = defaultSettings; } function exec() { var _local4 = null; if (arguments.length == 5) { _local4 = arguments.pop(); } if (_local4 == null) { _local4 = defaultSettings; } var _local6 = arguments.slice(0, 4); var _local3 = new remoting.RemotingCall(service, methodName, _local6[0], _local6[1], _local6[2], _local6[3], _local4); _local3.exec(); dispatchEvent({target:this, type:"call", args:_local3.args, methodName:methodName}); _local3.faultHandler = mx.utils.Delegate.create(this, onFault); _local3.resultHandler = mx.utils.Delegate.create(this, onResult); _local3.busyHandler = mx.utils.Delegate.create(this, onBusy); _local3.timeoutHandler = mx.utils.Delegate.create(this, onTimeout); } function onFault(rc, fault) { dispatchEvent({target:this, type:"fault", args:rc.args, methodName:methodName, fault:fault.__get__fault()}); } function onResult(rc, result) { dispatchEvent({target:this, type:"result", args:rc.args, methodName:methodName, result:result.__get__result()}); } function onBusy() { dispatchEvent({target:this, type:"busy"}); } function onTimeout(rc) { dispatchEvent({target:this, type:"timeout", methodName:methodName, args:rc.args}); } }
Symbol 414 MovieClip [__Packages.remoting.RemotingCall] Frame 0
class remoting.RemotingCall { var service, methodName, args, resultCb, faultCb, meta, pc, busyInt, timeoutInt, busyHandler, resultHandler, faultHandler, timeoutHandler; function RemotingCall (service, methodName, args, scope, resultCb, faultCb, meta) { this.service = service; this.methodName = methodName; this.args = args; this.resultCb = mx.utils.Delegate.create(scope, resultCb); this.faultCb = mx.utils.Delegate.create(scope, faultCb); this.meta = meta; if (meta.timeout != null) { timeout = meta.timeout; } if (meta.maxAttempts != null) { maxAttempts = meta.maxAttempts; } } function exec() { pc = service[methodName].apply(this, args); pc.__set__responder(new mx.rpc.RelayResponder(this, "onResult", "onFault")); if (attempt == 0) { busyInt = setInterval(mx.utils.Delegate.create(this, onBusy), remoting.RemotingService.BUSY_TIME); timeoutInt = setInterval(mx.utils.Delegate.create(this, onTimeout), timeout); } attempt++; } function onBusy(re) { clearInterval(busyInt); busyHandler(); } function onResult(re) { if (!completed) { clearInterval(timeoutInt); clearInterval(busyInt); resultHandler(this, re); resultCb.apply(this, [re, args]); completed = true; } } function onFault(fe) { if (!completed) { clearInterval(timeoutInt); clearInterval(busyInt); faultCb.apply(this, [fe, args]); faultHandler(this, fe); completed = true; } } function onTimeout() { clearInterval(busyInt); if (attempt >= maxAttempts) { clearInterval(timeoutInt); var _local2 = new mx.rpc.FaultEvent(new mx.rpc.Fault("TIMEOUT", methodName + " timed out", "", "")); faultCb.apply(this, [_local2, args]); timeoutHandler(this); } else { exec(); } } var attempt = 0; var timeout = 5000; var maxAttempts = 3; var completed = false; }
Symbol 53 MovieClip [__Packages.mx.remoting.PendingCall] Frame 0
class mx.remoting.PendingCall extends Object { var __service, __methodName, __responder; function PendingCall (srv, methodName) { super(); __service = srv; __methodName = methodName; } function get responder() { return(__responder); } function set responder(res) { __responder = res; //return(responder); } function onResult(result) { var _local1 = result; var _local2 = this; _local1.serviceName = ((typeof(_local1.serviceName) == "function") ? (_local1.servicename) : (_local1.serviceName)); if (_local1 != null) { if (_local1 instanceof mx.remoting.NetServiceProxy) { var serv = (new mx.remoting.Service(null, null, _local1.serviceName, _local2.__service.__get__connection(), _local2.__service.__get__responder())); _local1 = serv; } else if (_local1 instanceof mx.remoting.RecordSet) { var _local3 = new mx.remoting.NetServiceProxy(_local2.__service.__get__connection()); _local1._setParentService(_local3); _local1.logger = _local2.__service.log; } } if (_local2.__responder != null) { _local2.__responder.onResult(new mx.rpc.ResultEvent(_local1)); } if (_local2.__service.log != null) { _local2.__service.log.logInfo((((_local2.__service.__get__name() + ".") + _local2.__methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(_local1)); } } function onStatus(status) { var _local1 = this; var _local2 = status; if (_local1.__responder != null) { _local1.__responder.onFault(new mx.rpc.FaultEvent(new mx.rpc.Fault(_local2.code, _local2.description, _local2.details, _local2.type))); } if (_local1.__service.log != null) { _local1.__service.log.logDebug("Service invocation failed."); _local1.__service.log.logDebug((((_local1.__service.__get__name() + ".") + _local1.__methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(_local2)); } } function get methodName() { return(__methodName); } static var inited = mx.remoting.NetServiceProxy.registerNetServiceProxy(); }
Symbol 415 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 61 MovieClip [__Packages.mx.rpc.RelayResponder] Frame 0
class mx.rpc.RelayResponder extends Object { var __onFault, __obj, __onResult; function RelayResponder (resp, resultFunc, faultFunc) { var _local1 = this; super(); _local1.__obj = resp; _local1.__onFault = faultFunc; _local1.__onResult = resultFunc; } function onFault(fault) { __obj[__onFault](fault); } function onResult(result) { __obj[__onResult](result); } }
Symbol 416 MovieClip [__Packages.it.sephiroth.Serializer] Frame 0
class it.sephiroth.Serializer { var buffer; function Serializer () { } function serialize(what) { var _local2 = new String(""); _local2 = serialize_internal("", what); return(_local2); } function serialize_internal(buf, struct_c) { if (((!isNaN(struct_c)) && (struct_c.__proto__ != Boolean.prototype)) && (struct_c.__proto__ != Date.prototype)) { var _local2 = new Number(struct_c); } else { var _local2 = struct_c; } switch (_local2.__proto__) { case Boolean.prototype : buf = ((buf + "b:") + int(_local2)) + ";"; break; case null : case undefined : buf = buf + "N;"; break; case Number.prototype : if (_local2 >= 1E15) { buf = ((buf + "d:") + _local2) + ";"; } else if ((_local2 % 1) == 0) { buf = ((buf + "i:") + _local2) + ";"; } else { buf = ((buf + "d:") + _local2) + ";"; } break; case String.prototype : buf = ((((buf + "s:") + calcLength(_local2)) + ":\"") + _local2) + "\";"; break; case Date.prototype : buf = ((((buf + "s:") + length(_local2)) + ":\"") + _local2) + "\";"; break; case Object.prototype : var _local4 = 0; var _local5 = new String(""); buf = buf + "O:8:\"stdClass\":"; for (var _local6 in _local2) { _local5 = _local5 + (serialize_internal("", _local6) + serialize_internal("", _local2[_local6])); _local4 = _local4 + 1; } buf = (((buf + _local4) + ":{") + _local5) + "}"; break; case Array.prototype : _local4 = 0; _local5 = new String(""); buf = buf + "a:"; for (var _local6 in _local2) { _local5 = _local5 + (serialize_internal("", _local6) + serialize_internal("", _local2[_local6])); _local4 = _local4 + 1; } buf = (((buf + _local4) + ":{") + _local5) + "}"; break; default : buf = buf + "i:0;"; } return(buf); } function calcLength(struct) { var _local1; var _local3 = 0; var _local4 = struct.length; var _local2 = 0; while (_local2 < _local4) { _local1 = ord(struct.charAt(_local2)); if (_local1 < 128) { _local3 = _local3 + 1; } else if (_local1 < 1024) { _local3 = _local3 + 2; } else if (_local1 < 32768) { _local3 = _local3 + 3; } else if (_local1 < 2097152) { _local3 = _local3 + 4; } _local2++; } return(_local3); } function unserialize(what) { buffer = what; return(unserialize_internal(what)); } function unserialize_internal(obj) { var _local3 = obj.charAt(0); var _local2; switch (_local3) { case "d" : _local2 = parse_double(); break; case "i" : _local2 = parse_int(); break; case "b" : _local2 = parse_boolean(); break; case "s" : _local2 = parse_string(); break; case "a" : _local2 = parse_array(); break; case "O" : _local2 = parse_object(); break; case "N" : } if (_local2[0] != -1) { buffer = buffer.substr(buffer.indexOf(";", (_local2[0] + length(_local3)) + length(_local2[0].toString())) + 1); } return(_local2[1]); } function parse_array() { var _local3 = 0; var _local5 = getArrayLength(); var _local4 = new Array(); while (_local3 < _local5) { var _local2 = getNext(); _local4[_local2[0]] = _local2[1]; _local3++; } buffer = buffer.substr(1); return(new Array(-1, _local4)); } function parse_object() { var _local6 = parse_string(); buffer = buffer.substr(buffer.indexOf(":", _local6[0])); var _local7 = _local6[1]; var _local3 = 0; var _local5 = getObjectLength(); var _local4 = new Object(); while (_local3 < _local5) { var _local2 = getNext(); _local4[_local2[0]] = _local2[1]; _local3++; } buffer = buffer.substr(1); return(new Array(-1, _local4)); } function parse_string() { var _local2 = getStringLenght(); var _local3 = getCStringLenght(); if (_local2 eq _local3) { var _local4 = buffer.substr(length(_local2) + 4, _local2).toString(); } else { var _local4 = buffer.substr(length(_local2) + 4, _local3).toString(); } return(new Array(_local3, _local4)); } function parse_boolean() { var _local2 = getLength(); var _local3 = ((_local2 < 1) ? false : true); return(new Array(length(_local2.toString()), _local3)); } function parse_double() { var _local2 = getFloatLength(); var _local3 = _local2; return(new Array(length(_local2.toString()), _local3)); } function parse_int() { var _local2 = getLength(); var _local3 = _local2; return(new Array(length(_local2.toString()), _local3)); } function getStringLenght(str) { var _local2 = parseInt(buffer.substr(2, buffer.indexOf(":", 3) - 2)); return(_local2); } function getCStringLenght(str) { var _local6 = parseInt(buffer.substr(2, buffer.indexOf(":", 3) - 2)); var _local2; var _local3 = _local6; var _local4; var _local5 = buffer; _local4 = 4 + _local6.toString().length; _local2 = 0; while (_local2 < _local3) { if (_local5.charCodeAt(_local2 + _local4) > 128) { _local3 = _local3 - 1; } _local2++; } return(_local3); } function getLength() { var _local2 = parseInt(buffer.substr(2, buffer.indexOf(";", 3) - 2)); return(_local2); } function getFloatLength() { var _local2 = parseFloat(buffer.substr(2, buffer.indexOf(";", 3) - 2)); return(_local2); } function getArrayLength() { var _local2 = parseInt(buffer.substr(2, (buffer.indexOf(":", 2) - buffer.indexOf(":", 1)) + 1)); buffer = buffer.substr(buffer.indexOf(":", 2) + 2); return(_local2); } function getObjectLength() { var _local2 = parseInt(buffer.substr(1, buffer.indexOf(":", 1))); buffer = buffer.substr(buffer.indexOf(":", 1) + 2); return(_local2); } function getNext(str) { var _local2 = unserialize_internal(buffer); var _local3 = unserialize_internal(buffer); return(new Array(_local2, _local3)); } static var className = "it.sephiroth.Serializer"; static var classVersion = "2.1.6"; var instanceName = "Serializer"; }
Symbol 417 MovieClip [__Packages.as.md5] Frame 0
class as.md5 { function md5 (b64pad, chrsz) { if (b64pad != undefined) { this.b64pad = b64pad; } if (((chrsz != undefined) && (chrsz == 8)) || (chrsz == 16)) { this.chrsz = chrsz; } } function hash(s) { return(hex_md5(s)); } function hex_md5(s) { return(binl2hex(core_md5(str2binl(s), s.length * chrsz))); } function b64_md5(s) { return(binl2b64(core_md5(str2binl(s), s.length * chrsz))); } function str_md5(s) { return(binl2str(core_md5(str2binl(s), s.length * chrsz))); } function hex_hmac_md5(key, data) { return(binl2hex(core_hmac_md5(key, data))); } function b64_hmac_md5(key, data) { return(binl2b64(core_hmac_md5(key, data))); } function str_hmac_md5(key, data) { return(binl2str(core_hmac_md5(key, data))); } function md5_cmn(q, a, b, x, s, t) { return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b)); } function md5_ff(a, b, c, d, x, s, t) { return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t)); } function md5_gg(a, b, c, d, x, s, t) { return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t)); } function md5_hh(a, b, c, d, x, s, t) { return(md5_cmn((b ^ c) ^ d, a, b, x, s, t)); } function md5_ii(a, b, c, d, x, s, t) { return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t)); } function core_md5(x, len) { x[len >> 5] = x[len >> 5] | (128 << (len % 32)); x[(((len + 64) >>> 9) << 4) + 14] = len; var _local5 = 1732584193 /* 0x67452301 */; var _local4 = -271733879; var _local3 = -1732584194; var _local2 = 271733878 /* 0x10325476 */; var _local6 = 0; while (_local6 < x.length) { var _local11 = _local5; var _local10 = _local4; var _local9 = _local3; var _local8 = _local2; _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 0], 7, -680876936); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 1], 12, -389564586); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 2], 17, 606105819); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 3], 22, -1044525330); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 4], 7, -176418897); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 5], 12, 1200080426); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 6], 17, -1473231341); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 7], 22, -45705983); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 8], 7, 1770035416); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 9], 12, -1958414417); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 10], 17, -42063); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 11], 22, -1990404162); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 12], 7, 1804603682); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 13], 12, -40341101); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 14], 17, -1502002290); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 15], 22, 1236535329); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 1], 5, -165796510); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 6], 9, -1069501632); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 11], 14, 643717713); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 0], 20, -373897302); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 5], 5, -701558691); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 10], 9, 38016083); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 15], 14, -660478335); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 4], 20, -405537848); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 9], 5, 568446438); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 14], 9, -1019803690); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 3], 14, -187363961); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 8], 20, 1163531501); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 13], 5, -1444681467); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 2], 9, -51403784); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 7], 14, 1735328473); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 12], 20, -1926607734); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 5], 4, -378558); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 8], 11, -2022574463); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 11], 16, 1839030562); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 14], 23, -35309556); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 1], 4, -1530992060); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 4], 11, 1272893353); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 7], 16, -155497632); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 10], 23, -1094730640); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 13], 4, 681279174); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 0], 11, -358537222); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 3], 16, -722521979); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 6], 23, 76029189); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 9], 4, -640364487); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 12], 11, -421815835); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 15], 16, 530742520); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 2], 23, -995338651); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 0], 6, -198630844); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 7], 10, 1126891415); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 14], 15, -1416354905); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 5], 21, -57434055); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 12], 6, 1700485571); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 3], 10, -1894986606); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 10], 15, -1051523); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 1], 21, -2054922799); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 8], 6, 1873313359); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 15], 10, -30611744); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 6], 15, -1560198380); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 13], 21, 1309151649); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 4], 6, -145523070); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 11], 10, -1120210379); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 2], 15, 718787259); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 9], 21, -343485551); _local5 = safe_add(_local5, _local11); _local4 = safe_add(_local4, _local10); _local3 = safe_add(_local3, _local9); _local2 = safe_add(_local2, _local8); _local6 = _local6 + 16; } return(Array(_local5, _local4, _local3, _local2)); } function core_hmac_md5(key, data) { var _local3 = new Array(str2binl(key)); if (_local3.length > 16) { _local3 = core_md5(_local3, key.length * chrsz); } var _local4 = new Array(16); var _local5 = new Array(16); var _local2 = 0; while (_local2 < 16) { _local4[_local2] = _local3[_local2] ^ 909522486; _local5[_local2] = _local3[_local2] ^ 1549556828; _local2++; } var _local6 = new Array(core_md5(_local4.concat(str2binl(data)), 512 + (data.length * chrsz))); return(core_md5(_local5.concat(_local6), 640)); } function safe_add(x, y) { var _local1 = new Number((x & 65535) + (y & 65535)); var _local2 = new Number(((x >> 16) + (y >> 16)) + (_local1 >> 16)); return((_local2 << 16) | (_local1 & 65535)); } function bit_rol(num, cnt) { return((num << cnt) | (num >>> (32 - cnt))); } function str2binl(str) { var _local4 = new Array(); var _local5 = (1 << chrsz) - 1; var _local2 = 0; while (_local2 < (str.length * chrsz)) { _local4[_local2 >> 5] = _local4[_local2 >> 5] | ((str.charCodeAt(_local2 / chrsz) & _local5) << (_local2 % 32)); _local2 = _local2 + chrsz; } return(_local4); } function binl2str(bin) { var _local4 = new String(""); var _local5 = (1 << chrsz) - 1; var _local2 = 0; while (_local2 < (bin.length * 32)) { _local4 = _local4 + String.fromCharCode((bin[_local2 >> 5] >>> (_local2 % 32)) & _local5); _local2 = _local2 + chrsz; } return(_local4); } function binl2hex(binarray) { var _local3 = "0123456789abcdef"; var _local4 = new String(""); var _local1 = 0; while (_local1 < (binarray.length * 4)) { _local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15)); _local1++; } return(_local4); } function binl2b64(binarray) { var _local7 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; var _local5 = new String(""); var _local3 = 0; while (_local3 < (binarray.length * 4)) { var _local6 = ((((binarray[_local3 >> 2] >> (8 * (_local3 % 4))) & 255) << 16) | (((binarray[(_local3 + 1) >> 2] >> (8 * ((_local3 + 1) % 4))) & 255) << 8)) | ((binarray[(_local3 + 2) >> 2] >> (8 * ((_local3 + 2) % 4))) & 255); var _local2 = 0; while (_local2 < 4) { if (((_local3 * 8) + (_local2 * 6)) > (binarray.length * 32)) { _local5 = _local5 + b64pad; } else { _local5 = _local5 + _local7.charAt((_local6 >> (6 * (3 - _local2))) & 63); } _local2++; } _local3 = _local3 + 3; } return(_local5); } var b64pad = new String(""); var chrsz = new Number(8); }
Symbol 418 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 419 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 420 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 421 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back { function Back () { } static function easeIn(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / d; return((((c * t) * t) * (((s + 1) * t) - s)) + b); } static function easeOut(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = (t / d) - 1; return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } static function easeInOut(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { s = s * 1.525; return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b); } t = t - 2; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b); } static var version = "1.1.0.52"; }
Symbol 422 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOut(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static var version = "1.1.0.52"; }
Symbol 2 MovieClip [__Packages.mx.remoting.DebugClasses] Frame 0
class mx.remoting.DebugClasses extends MovieClip { function DebugClasses () { super(); } }
Symbol 9 MovieClip [__Packages.mx.remoting.NetServices] Frame 0
class mx.remoting.NetServices extends Object { static var defaultGatewayUrl, logger, traceNetServices; function NetServices () { super(); } static function setDefaultGatewayUrl(url) { defaultGatewayUrl = url; } static function setGatewayUrl(url) { gatewayUrl = url; } static function createGatewayConnection(url, infoLogger) { var _local1 = url; logger = infoLogger; if (_local1 == undefined) { _local1 = gatewayUrl; if (_local1 == undefined) { _local1 = defaultGatewayUrl; } } if (_local1 == undefined) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is undefined"); logger.logInfo(("NetServices: createGatewayConnection - gateway url <" + _local1) + "> is undefined", mx.services.Log.DEBUG); return(null); } var _local2 = new mx.remoting.Connection(); _local2.connect(_local1); __sharedConnections[_local1] = _local2; return(_local2); } static function getConnection(uri) { return(__sharedConnections[uri]); } static function getHostUrl() { var _local2 = _root; if (!isHttpUrl(_local2._url)) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid"); return(null); } var _local1 = _local2._url.indexOf("/", 8); if (_local1 < 0) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid"); return(null); } return(_local2._url.substring(0, _local1)); } static function isHttpUrl(url) { return((url.indexOf("http://") == 0) || (url.indexOf("https://") == 0)); } static function getHttpUrl(url) { var _local1 = url; if (!isHttpUrl(_local1)) { _local1 = getHostUrl() + _local1; } return(_local1); } static function trace(who, severity, number, message) { traceNetServices(who, severity, number, message); } static var version = "1.2.0.124"; static var gatewayUrl = _root.gatewayUrl; static var __sharedConnections = new Array(); }
Symbol 10 MovieClip [__Packages.mx.data.DataRange] Frame 0
interface mx.data.DataRange{}
Symbol 11 MovieClip [__Packages.mx.data.PageableData] Frame 0
interface mx.data.PageableData{}
Symbol 12 MovieClip [__Packages.mx.data.PageableList] Frame 0
interface mx.data.PageableList{}
Symbol 15 MovieClip [__Packages.mx.utils.Iterator] Frame 0
interface mx.utils.Iterator{}
Symbol 16 MovieClip [__Packages.mx.remoting.RecordSet] Frame 0
class mx.remoting.RecordSet extends Object { var mTitles, _items, mRecordSetID, dispatchEvent, gateway_conn, mDataFetcher; function RecordSet (columnNames) { var _local1 = this; super(); mx.events.EventDispatcher.initialize(_local1); _local1._items = new Array(); _local1.uniqueID = 0; if (_local1.mTitles != null) { } else { if (_local1.serverInfo == null) { if (_local1.serverinfo != null) { _local1.serverInfo = _local1.serverinfo; } } if (_local1.serverInfo == null) { _local1.mTitles = columnNames; } else if (_local1.serverInfo.version != 1) { mx.remoting.NetServices.trace("RecordSet", "warning", 100, "Received incompatible RecordSet version from server"); } else { _local1.mTitles = _local1.serverInfo.columnNames; _local1.mRecordsAvailable = 0; _local1.setData(((_local1.serverInfo.cursor == null) ? 0 : (_local1.serverInfo.cursor - 1)), _local1.serverInfo.initialData); if (_local1.serverInfo.initialData.length != _local1.serverInfo.totalCount) { _local1.mRecordSetID = _local1.serverInfo.id; if (_local1.mRecordSetID != null) { _local1.serviceName = ((_local1.serverInfo.serviceName == null) ? "RecordSet" : (_local1.serverInfo.serviceName)); _local1.mTotalCount = _local1.serverInfo.totalCount; _local1.mDeliveryMode = "ondemand"; _local1.mAllNotified = false; _local1.mOutstandingRecordCount = 0; } else { mx.remoting.NetServices.trace("RecordSet", "warning", 102, "Missing some records, but there's no RecordSet id"); } } _local1.serverInfo = null; } } } function addItem(item) { addItemAt(length, item); } function addItemAt(index, item) { var _local1 = index; var _local2 = this; var _local3 = true; if ((_local1 < _local2.__get__length()) && (_local1 >= 0)) { _local2.items.splice(_local1, 0, item); } else if (_local1 == _local2.__get__length()) { _local2.items[_local1] = item; } else { _local3 = false; mx.remoting.NetServices.trace("Cannot add an item outside the bounds of the RecordSet"); return; } if (_local3) { item.__ID__ = _local2.uniqueID++; } _local2.updateViews("addItems", _local1, _local1); } function addEventListener(event, listener) { } function clear() { var _local1 = this; if (_local1.checkLocal()) { } else { var _local2 = _local1.items.length; _local1.items.splice(0); _local1.uniqueID = 0; _local1.updateViews("removeItems", 0, _local2); } } function contains(itmToCheck) { var _local2 = itmToCheck; if (isObjectEmpty(_local2)) { return(false); } var itemAtIndex; var _local3; var _local1 = 0; while (_local1 < items.length) { itemAtIndex = items[_local1]; _local3 = true; for (var t in _local2) { if (_local2[t] != itemAtIndex[t]) { _local3 = false; break; } } if (_local3) { return(true); } _local1++; } return(false); } function getColumnNames() { return(mTitles); } function get columnNames() { return(getColumnNames()); } function getLocalLength() { return(items.length); } function getLength() { var _local1 = this; if (_local1.mRecordSetID != null) { return(_local1.mTotalCount); } return(_local1.items.length); } function getIterator() { var _local1 = new mx.remoting.RecordSetIterator(this); return(_local1); } function get length() { return(getLength()); } function getItemAt(index) { var _local1 = index; var _local2 = this; if ((_local1 < 0) || (_local1 >= _local2.__get__length())) { return(null); } if (_local2.mRecordSetID == null) { return(_local2.items[_local1]); } _local2.requestRecord(_local1); var _local3 = _local2.items[_local1]; if (_local3 == 1) { return("in progress"); } return(_local3); } function getItemID(index) { return(items[index].__ID__); } function get items() { return(_items); } function initialize(info) { } function filter(filterFunction, context) { if (checkLocal()) { } else { var _local3 = new mx.remoting.RecordSet(mTitles); var rcount = length; var _local2 = 0; while (_local2 < rcount) { var _local1 = getItemAt(_local2); if (((_local1 != null) && (_local1 != 1)) && (filterFunction(_local1, context))) { _local3.addItem(_local1); } _local2++; } return(_local3); } return(undefined); } function sortItems(compareFunc, optionFlags) { var _local1 = this; if (_local1.checkLocal()) { } else { _local1.items.sort(compareFunc, optionFlags); _local1.updateViews("sort"); } } function sortItemsBy(fieldNames, order, optionFlags) { var _local1 = this; if (_local1.checkLocal()) { } else { if (typeof(order) == "string") { _local1.items.sortOn(fieldNames); if (order.toUpperCase() == "DESC") { _local1.items.reverse(); } } else { _local1.items.sortOn(fieldNames, optionFlags); } _local1.updateViews("sort"); } } function sort(compareFunc) { var _local1 = this; if (_local1.checkLocal()) { } else { _local1.items.sort(compareFunc); _local1.updateViews("sort"); } } function isEmpty() { return(items.length == 0); } function isLocal() { return(mRecordSetID == null); } function isFullyPopulated() { return(isLocal()); } function getRemoteLength() { var _local1 = this; if (_local1.isLocal()) { return(_local1.mRecordsAvailable); } return(_local1.mTotalCount); } function getNumberAvailable() { var _local1 = this; if (_local1.isLocal()) { return(_local1.getLength()); } return(_local1.mRecordsAvailable); } function replaceItemAt(index, item) { var _local1 = index; var _local2 = this; if ((_local1 >= 0) && (_local1 <= _local2.__get__length())) { var _local3 = _local2.getItemID(_local1); _local2.items[_local1] = item; _local2.items[_local1].__ID__ = _local3; _local2.updateViews("updateItems", _local1, _local1); } } function removeAll() { clear(); } function removeItemAt(index) { var _local1 = index; var _local2 = this; var _local3 = _local2._items[_local1]; _local2._items.splice(_local1, 1); var rItems = [_local2._items[_local1]]; var rIDs = [_local2.getItemID(_local1)]; _local2.dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:_local1, lastItem:_local1, removedItems:rItems, removedIDs:rIDs}); return(_local3); } function removeEventListener(event, listener) { } function requestRange(range) { var _local1 = range.getStart(); var _local2 = range.getEnd(); return(internalRequestRange(_local1, _local2)); } function setDeliveryMode(mode, pagesize, numPrefetchPages) { var _local1 = this; var _local2 = pagesize; var _local3 = numPrefetchPages; _local1.mDeliveryMode = mode.toLowerCase(); _local1.stopFetchAll(); if ((_local2 == null) || (_local2 <= 0)) { _local2 = 25; } switch (_local1.mDeliveryMode) { case "ondemand" : return; case "page" : if (_local3 == null) { _local3 = 0; } _local1.mPageSize = _local2; _local1.mNumPrefetchPages = _local3; return; case "fetchall" : _local1.stopFetchAll(); _local1.startFetchAll(_local2); return; default : mx.remoting.NetServices.trace("RecordSet", "warning", 107, "SetDeliveryMode: unknown mode string"); } } function editField(index, fieldName, value) { changeFieldValue(index, fieldName, value); } function getEditingData(index, fieldName) { return(items[index][fieldName]); } function setField(index, fieldName, value) { changeFieldValue(index, fieldName, value); } function changeFieldValue(index, fieldName, value) { var _local1 = index; var _local2 = this; if (_local2.checkLocal()) { } else if ((_local1 < 0) || (_local1 >= _local2.getLength())) { } else { _local2.items[_local1][fieldName] = value; _local2.updateViews("updateItems", _local1, _local1); } } function isObjectEmpty(objToCheck) { var _local2 = objToCheck; var _local1 = true; for (var _local3 in _local2) { _local1 = false; return(_local1); } return(_local1); } function arrayToObject(anArray) { if (mTitles == null) { mx.remoting.NetServices.trace("RecordSet", "warning", 105, "getItem: titles are not available"); return(null); } var _local3 = new Object(); var alen = anArray.length; var _local2; var _local1 = 0; while (_local1 < alen) { _local2 = mTitles[_local1]; if (_local2 == null) { _local2 = ("column" + _local1) + 1; } _local3[_local2] = anArray[_local1]; _local1++; } return(_local3); } function checkLocal() { if (isLocal()) { return(false); } mx.remoting.NetServices.trace("RecordSet", "warning", 108, "Operation not allowed on partial recordset"); return(true); } function getRecordSetService() { var _local1 = this; if (_local1.mRecordSetService == null) { if (_local1.gateway_conn == null) { _local1.gateway_conn = mx.remoting.NetServices.createGatewayConnection(); } else if (_global.netDebugInstance != undefined) { _local1.gateway_conn = _local1.gateway_conn.clone(); } if (_global.netDebugInstance != undefined) { _local1.gateway_conn.setupRecordSet(); _local1.gateway_conn.setDebugId("RecordSet " + _local1.mRecordSetID); } _local1.mRecordSetService = _local1.gateway_conn.getService(_local1.serviceName, _local1); if (_local1.mRecordSetService == null) { mx.remoting.NetServices.trace("RecordSet", "warning", 101, "Failed to create RecordSet service"); _local1.mRecordSetService = null; } } return(_local1.mRecordSetService); } function internalRequestRange(index, lastIndex) { var _local1 = index; var _local2 = this; var highestRequested = -1; if (_local1 < 0) { _local1 = 0; } if (lastIndex >= _local2.getRemoteLength()) { lastIndex = _local2.getRemoteLength() - 1; } var _local3; var last; while (_local1 <= lastIndex) { while ((_local1 <= lastIndex) && (_local2.items[_local1] != null)) { _local1++; } _local3 = _local1; while ((_local1 <= lastIndex) && (_local2.items[_local1] == null)) { _local2.mOutstandingRecordCount++; _local2.items[_local1] = 1; _local1++; } last = _local1 - 1; if (_local3 <= last) { _local2.logger.logInfo((((" Fetching records from index [" + _local3) + "] to index [") + last) + "]"); _local2.getRecordSetService().getRecords(_local2.mRecordSetID, _local3 + 1, (last - _local3) + 1); highestRequested = last; _local2.updateViews("fetchRows", _local3, last); } } return(highestRequested); } function removeItems(index, len) { var _local3 = index; var _local2 = new Array(); var _local1 = 0; while (_local1 < len) { _local2.push(getItemID(_local3 + _local1)); _local1++; } var oldItems = items.splice(_local3, len); dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:_local3, lastItem:(_local3 + len) - 1, removedItems:oldItems, removedIDs:_local2}); } function getRecords_Result(info) { var _local1 = this; var _local2 = info; _local1.setData(_local2.Cursor - 1, _local2.Page); _local1.mOutstandingRecordCount = _local1.mOutstandingRecordCount - _local2.Page.length; _local1.updateViews("updateItems", _local2.Cursor - 1, ((_local2.Cursor - 1) + _local2.Page.length) - 1); if ((_local1.mRecordsAvailable == _local1.mTotalCount) && (!_local1.mAllNotified)) { _local1.updateViews("allRows"); _local1.mRecordSetService.release(); _local1.mAllNotified = true; _local1.mRecordSetID = null; _local1.mRecordSetService = null; } } function release_Result() { } function requestOneRecord(index) { var _local1 = this; var _local2 = index; if (_local1.items[_local2] == null) { if (_local1.mDeliveryMode == "ondemand") { _local1.logger.logInfo((" INFO: Fetching Record [" + _local2) + "]"); } _local1.getRecordSetService().getRecords(_local1.mRecordSetID, _local2 + 1, 1); _local1.mOutstandingRecordCount++; _local1.items[_local2] = 1; _local1.updateViews("fetchRows", _local2, _local2); } } function requestRecord(index) { var _local1 = this; if (_local1.mDeliveryMode != "page") { _local1.requestOneRecord(index); } else { var _local2 = int(index / _local1.mPageSize) * _local1.mPageSize; var _local3 = (_local2 + (_local1.mPageSize * (_local1.mNumPrefetchPages + 1))) - 1; _local1.internalRequestRange(_local2, _local3); } } function _setParentService(service) { gateway_conn = service.nc; } function setData(start, dataArray) { var _local1 = this; var datalen = dataArray.length; var _local3; var rec; var _local2 = 0; while (_local2 < datalen) { _local3 = _local2 + start; rec = _local1.items[_local3]; if ((rec != null) && (rec != 1)) { mx.remoting.NetServices.trace("RecordSet", "warning", 106, "Already got record # " + _local3); } else { _local1.mRecordsAvailable = _local1.mRecordsAvailable + 1; } _local1.items[_local3] = _local1.arrayToObject(dataArray[_local2]); _local1.items[_local3].__ID__ = _local1.uniqueID++; _local2++; } } function startFetchAll(pagesize) { var _local1 = this; if (_local1.mDataFetcher != null) { _local1.mDataFetcher.disable(); } _local1.mDataFetcher = new mx.remoting.RsDataFetcher(_local1, pagesize); } function stopFetchAll() { mDataFetcher.disable(); mDataFetcher = null; } function updateViews(event, first, last) { dispatchEvent({type:"modelChanged", eventName:event, firstItem:first, lastItem:last}); } static function registerRecordSet() { Object.registerClass("RecordSet", mx.remoting.RecordSet); return(true); } static var version = "1.2.0.124"; static var init = registerRecordSet(); }
Symbol 17 MovieClip [__Packages.mx.remoting.RecordSetIterator] Frame 0
class mx.remoting.RecordSetIterator { var _recordSet, _cursor; function RecordSetIterator (rec) { _recordSet = rec; _cursor = 0; } function hasNext() { return(_cursor < _recordSet.getLength()); } function next() { return(_recordSet.getItemAt(_cursor++)); } static var version = "1.2.0.124"; }
Symbol 18 MovieClip [__Packages.mx.remoting.RsDataRange] Frame 0
class mx.remoting.RsDataRange extends Object { var _start, _end; function RsDataRange (s, e) { super(); _start = s; _end = e; } function getStart() { return(_start); } function getEnd() { return(_end); } function setEnd(e) { _end = e; } function setStart(s) { _start = s; } }
Symbol 19 MovieClip [__Packages.mx.remoting.RsDataFetcher] Frame 0
class mx.remoting.RsDataFetcher extends Object { var mEnabled; function RsDataFetcher (pgRS, increment) { var _local1 = this; super(); _local1.mRecordSet = pgRS; _local1.mRecordSet.addEventListener("modelChanged", _local1); _local1.mIncrement = increment; _local1.mNextRecord = 0; _local1.mEnabled = true; _local1.doNext(); } function disable() { mEnabled = false; } function doNext() { var _local1 = this; if (_local1.mEnabled) { do { if (_local1.mNextRecord >= _local1.mRecordSet.getRemoteLength()) { return; } var _local2 = new mx.remoting.RsDataRange(_local1.mNextRecord, (_local1.mNextRecord + _local1.mIncrement) - 1); _local1.mHighestRequested = _local1.mRecordSet.requestRange(_local2); _local1.mNextRecord = _local1.mNextRecord + _local1.mIncrement; } while (_local1.mHighestRequested <= 0); } } function modelChanged(eventObj) { var _local1 = this; var _local2 = eventObj; if (((_local2.eventName == "updateItems") && (_local2.firstItem <= _local1.mHighestRequested)) && (_local2.lastItem >= _local1.mHighestRequested)) { _local1.doNext(); } if (_local2.eventName == "allRows") { _local1.disable(); } } }
Symbol 20 MovieClip [__Packages.mx.remoting.NetServiceProxyResponder] Frame 0
class mx.remoting.NetServiceProxyResponder extends Object { var service, methodName; function NetServiceProxyResponder (serv, method) { super(); service = serv; methodName = method; } function onResult(result) { var _local2 = result; var _local1 = service.client; if ((_local2 instanceof mx.remoting.NetServiceProxy) || (_local2 instanceof mx.remoting.RecordSet)) { _local2._setParentService(service); } var _local3 = methodName + "_Result"; if (typeof(_local1[_local3]) == "function") { _local1[_local3].apply(_local1, [_local2]); } else if (typeof(_local1.onResult) == "function") { _local1.onResult(_local2); } else { mx.remoting.NetServices.trace("NetServices", "info", 1, (_local3 + " was received from server: ") + _local2); } } function onStatus(result) { var _local2 = result; var _local1 = service.client; var _local3 = methodName + "_Status"; if (typeof(_local1[_local3]) == "function") { _local1[_local3].apply(_local1, [_local2]); } else if (typeof(_local1.onStatus) == "function") { _local1.onStatus(_local2); } else if (typeof(_root.onStatus) == "function") { _root.onStatus(_local2); } else if (typeof(_global.System.onStatus) == "function") { _global.System.onStatus(_local2); } else { mx.remoting.NetServices.trace("NetServices", "info", 2, (((_local3 + " was received from server: <") + _local2.level) + "> ") + _local2.description); } } }
Symbol 22 MovieClip [__Packages.mx.utils.ObjectCopy] Frame 0
class mx.utils.ObjectCopy { function ObjectCopy () { } static function copy(refObj) { var _local1 = new Function(refObj.__proto__.constructor)(); copyProperties(_local1, refObj); return(_local1); } static function copyProperties(dstObj, srcObj) { var _local2 = srcObj; var to; for (var i in _local2) { to = typeof(_local2[i]); if (to != "function") { if (to == "object") { if (_local2[i] instanceof Array) { var p = new Array(); var _local3 = _local2[i]; var _local1 = 0; while (_local1 < _local3.length) { p[_local1] = _local3[_local1]; _local1++; } dstObj[i] = p; } else if (_local2[i] instanceof String) { dstObj[i] = new String(_local2[i]); } else if (_local2[i] instanceof Number) { dstObj[i] = new Number(_local2[i]); } else if (_local2[i] instanceof Boolean) { dstObj[i] = new Boolean(_local2[i]); } else { dstObj[i] = copy(_local2[i]); } } else { dstObj[i] = _local2[i]; } } } } }
Symbol 23 MovieClip [__Packages.mx.remoting.debug.events.NetDebug] Frame 0
class mx.remoting.debug.events.NetDebug extends Object { var date, time; function NetDebug () { super(); init(); } function init() { var _local1 = this; _local1.eventType = "DebugEvent"; _local1.source = "Client"; _local1.movieUrl = unescape(_root._url); _local1.initDate(); } function initDate() { var _local1 = new Date(); date = _local1; time = _local1.getTime(); } }
Symbol 24 MovieClip [__Packages.mx.remoting.debug.events.NetDebugNetConnection] Frame 0
class mx.remoting.debug.events.NetDebugNetConnection extends mx.remoting.debug.events.NetDebug { function NetDebugNetConnection () { super(); } }
Symbol 25 MovieClip [__Packages.mx.remoting.debug.events.NetDebugConnect] Frame 0
class mx.remoting.debug.events.NetDebugConnect extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugConnect (args) { var _local1 = args; var _local2 = this; super(); _local2.eventType = "Connect"; _local2.connectString = _local1[0]; if (_local1[1] != null) { _local2.userName = _local1[1]; } if (_local1[2] != null) { _local2.password = _local1[2]; } } }
Symbol 26 MovieClip [__Packages.mx.remoting.debug.commands.Local] Frame 0
class mx.remoting.debug.commands.Local extends Object { var command, data; function Local () { super(); } function init(commandname, dataobj) { command = commandname; data = dataobj; } }
Symbol 27 MovieClip [__Packages.mx.remoting.debug.commands.StartRTMPTrace] Frame 0
class mx.remoting.debug.commands.StartRTMPTrace extends mx.remoting.debug.commands.Local { var init; function StartRTMPTrace (cs) { super(); var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; init("startRealTimeTrace", _local1); } }
Symbol 28 MovieClip [__Packages.mx.remoting.debug.ConnectionMixin] Frame 0
class mx.remoting.debug.ConnectionMixin extends Object { var _protocol, _id, _config; function ConnectionMixin () { super(); } static function initialize() { var _local1 = mx.remoting.Connection.prototype; var _local2 = mx.remoting.debug.ConnectionMixin.prototype; if (!_local1.netDebugProxyFunctions) { _local1.netDebugProxyFunctions = true; _local1.realConnect = _local1.connect; _local1.realCall = _local1.call; _local1.realClose = _local1.close; _local1.realAddHeader = _local1.addHeader; _local1.connect = _local2.netDebugProxyConnect; _local1.call = _local2.netDebugProxyCall; _local1.close = _local2.netDebugProxyClose; _local1.addHeader = _local2.netDebugProxyAddHeader; _local1.attachDebug = _local2.attachDebug; _local1.sendDebugEvent = _local2.sendDebugEvent; _local1.sendServerEvent = _local2.sendServerEvent; _local1.sendClientEvent = _local2.sendClientEvent; _local1.addNetDebugHeader = _local2.addNetDebugHeader; _local1.updateConfig = _local2.updateConfig; _local1.getNetDebug = _local2.getNetDebug; _local1.isRealTime = _local2.isRealTime; _local1.setupRecordSet = _local2.setupRecordSet; _local1.setDebugId = _local2.setDebugId; _local1.getDebugId = _local2.getDebugId; _local1.getDebugConfig = _local2.getDebugConfig; _local1.trace = _local2.trace; return(true); } return(false); } function attachDebug() { var _local1 = this; if (!_attached) { _attached = true; _local1._headerAdded = false; _local1._configured = false; _local1._config = new mx.remoting.debug.NetDebugConfig(); mx.utils.ObjectCopy.copyProperties(_local1._config, _local1.getNetDebug().getConfig()); _local1._protocol = "none"; _local1._id = String(_local1.getNetDebug().addNetConnection(_local1)); } } function sendDebugEvent(eventobj) { var _local1 = this; var _local2 = eventobj; _local2.protocol = _local1._protocol; _local2.debugId = _local1._id; return(_local1.getNetDebug().onEvent(_local2)); } function sendServerEvent(eventobj) { eventobj.movieUrl = unescape(_root._url); if (!sendDebugEvent(eventobj)) { } } function sendClientEvent(eventobj) { var _local1 = this; if (_local1._config.m_debug && (_local1._config.client.m_debug)) { if ((_local1._config.client.http && (_local1._protocol == "http")) || (_local1._config.client.rtmp && (_local1._protocol.substr(0, 4) == "rtmp"))) { if (!_local1.sendDebugEvent(eventobj)) { } } } } function addNetDebugHeader() { var _local1 = this; if (!_local1._headerAdded) { _local1._headerAdded = true; if ((_local1._config.m_debug && (_local1._config.app_server.m_debug)) && (_local1._protocol == "http")) { _local1.realAddHeader("amf_server_debug", true, _local1._config.app_server); } else { _local1.realAddHeader("amf_server_debug", true, undefined); } } } function updateConfig(config) { var _local1 = this; var _local2 = config; _local1.attachDebug(); if ((_local2 == null) && (!_local1._configured)) { _local1._configured = true; _local2 = mx.remoting.debug.NetDebugConfig.getRealDefaultNetDebugConfig(); } mx.utils.ObjectCopy.copyProperties(_local1._config, _local2); _local1._headerAdded = false; } function isRealTime() { return(_protocol.substr(0, 4) == "rtmp"); } function setupRecordSet() { var _local1 = this; _local1.attachDebug(); _local1._config.client.http = _local1._config.client.recordset; } function netDebugProxyConnect() { var _local1 = this; var _local2 = arguments; _local1.attachDebug(); var _local3 = _local2[0].substr(0, 4); if ((_local3 == "http") || (_local3.substr(0, 4) == "rtmp")) { if (_local2[0].charAt(4) == ":") { _local1._protocol = _local3; } else { _local1._protocol = _local2[0].substr(0, 5); } } else { _local1._protocol = "http"; } _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugConnect(_local2)); if (_local1.isRealTime()) { _local1._connectString = _local2[0]; _local1.getNetDebug().sendCommand(new mx.remoting.debug.commands.StartRTMPTrace(_local2[0])); var ret = _local1.realConnect.apply(_local1, _local2); _local1.realCall("@getClientID", new mx.remoting.RTMPClientIDResponse(_local2[0], _local1)); return(ret); } return(Boolean(_local1.realConnect.apply(_local1, _local2))); } function netDebugProxyCall() { var _local1 = this; var _local2 = arguments; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugCall(_local2)); _local1.addNetDebugHeader(); if (_local1._config.app_server) { _local2[1] = new mx.remoting.debug.NetDebugResponseProxy(_local1, _local2[1]); return(Boolean(_local1.realCall.apply(_local1, _local2))); } return(Boolean(_local1.realCall.apply(_local1, _local2))); } function netDebugProxyClose() { var _local1 = this; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugClose()); if (_local1.isRealTime()) { _local1.getNetDebug().sendCommand(new mx.remoting.debug.commands.StopRTMPTrace(_local1._connectString, _local1._clientId)); } var _local2 = _local1.realClose(); _local1.getNetDebug().removeNetConnection(_local1); return(_local2); } function netDebugProxyAddHeader() { var _local1 = this; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugAddHeader(arguments)); return(Boolean(_local1.realAddHeader.apply(_local1, arguments))); } function setDebugId(id) { attachDebug(); _id = id; } function getDebugId() { attachDebug(); return(_id); } function trace(traceobj) { var _local1 = this; _local1.attachDebug(); if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { _local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTrace(traceobj)); } } function getDebugConfig() { attachDebug(); return(_config); } function getNetDebug() { return(mx.remoting.debug.NetDebug.getNetDebug()); } static var _attached = false; }
Symbol 29 MovieClip [__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError] Frame 0
class mx.remoting.debug.events.NetDebugDuplicateNCDError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugDuplicateNCDError () { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.message = "NCD_ALREADY_RUNNING"; } }
Symbol 31 MovieClip [__Packages.mx.remoting.debug.commands.GetConfig] Frame 0
class mx.remoting.debug.commands.GetConfig extends mx.remoting.debug.commands.Local { var init; function GetConfig () { super(); } function GetConfigCommand() { super(); init("getConfig", null); } }
Symbol 32 MovieClip [__Packages.mx.remoting.debug.events.NetDebugFailedSendError] Frame 0
class mx.remoting.debug.events.NetDebugFailedSendError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugFailedSendError (ev) { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.originalEvent = ev; _local1.message = "NCD_FAILED_TO_SEND_EVENT"; } }
Symbol 33 MovieClip [__Packages.mx.remoting.debug.events.NetDebugStatus] Frame 0
class mx.remoting.debug.events.NetDebugStatus extends mx.remoting.debug.events.NetDebugNetConnection { var eventType, status; function NetDebugStatus (statusobj) { super(); eventType = "Status"; status = statusobj; } }
Symbol 34 MovieClip [__Packages.mx.remoting.debug.events.NetDebugError] Frame 0
class mx.remoting.debug.events.NetDebugError extends mx.remoting.debug.events.NetDebug { var eventType, error; function NetDebugError (dataobj) { super(); eventType = "NetDebugError"; error = dataobj; } }
Symbol 35 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTraceNetServices] Frame 0
class mx.remoting.debug.events.NetDebugTraceNetServices extends mx.remoting.debug.events.NetDebug { function NetDebugTraceNetServices (w, s, n, m) { var _local1 = this; super(); _local1.eventType = "NetServicesTrace"; _local1.trace = m; _local1.who = w; _local1.severity = s; _local1.number = n; } }
Symbol 36 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTrace] Frame 0
class mx.remoting.debug.events.NetDebugTrace extends mx.remoting.debug.events.NetDebug { var eventType, trace; function NetDebugTrace (traceobj) { super(); eventType = "Trace"; trace = traceobj; } }
Symbol 38 MovieClip [__Packages.mx.remoting.debug.commands.AddRTMPClient] Frame 0
class mx.remoting.debug.commands.AddRTMPClient extends mx.remoting.debug.commands.Local { var init; function AddRTMPClient (cs, cid) { super(); var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; _local1.clientid = cid; init("addRealTimeClient", _local1); } }
Symbol 39 MovieClip [__Packages.mx.remoting.RTMPClientIDResponse] Frame 0
class mx.remoting.RTMPClientIDResponse extends Object { var _connectString, _nc; function RTMPClientIDResponse (cs, nc) { super(); _connectString = cs; _nc = nc; } function onResult(cid) { _nc._clientId = cid; mx.remoting.debug.NetDebug.getNetDebug().sendCommand(new mx.remoting.debug.commands.AddRTMPClient(_connectString, cid)); } }
Symbol 40 MovieClip [__Packages.mx.remoting.debug.events.NetDebugCall] Frame 0
class mx.remoting.debug.events.NetDebugCall extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugCall (args) { var _local2 = this; var _local3 = args; super(); _local2.eventType = "Call"; _local2.methodName = _local3[0]; _local2.parameters = new Array(); var alen = _local3.length; var _local1 = 2; while (_local1 < alen) { _local2.parameters[_local1 - 2] = _local3[_local1]; _local1++; } } }
Symbol 41 MovieClip [__Packages.mx.remoting.debug.events.NetDebugResult] Frame 0
class mx.remoting.debug.events.NetDebugResult extends mx.remoting.debug.events.NetDebugNetConnection { var eventType, result; function NetDebugResult (resultobj) { super(); eventType = "Result"; result = resultobj; } }
Symbol 42 MovieClip [__Packages.mx.remoting.debug.events.NetDebugReceiveCall] Frame 0
class mx.remoting.debug.events.NetDebugReceiveCall extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugReceiveCall (mName, args) { var _local1 = this; super(); _local1.eventType = "ReceivedCall"; _local1.methodName = mName; _local1.parameters = args; } }
Symbol 43 MovieClip [__Packages.mx.remoting.debug.NetDebugResponseProxy] Frame 0
class mx.remoting.debug.NetDebugResponseProxy extends Object { var _sourceNC, _originalNR; function NetDebugResponseProxy (source, original) { super(); _sourceNC = source; _originalNR = original; } function onDebugEvents(debugevents) { var _local3 = debugevents; var _local2 = _local3.length; var _local1 = 0; while (_local1 < _local2) { _sourceNC.sendServerEvent(_local3[_local1]); _local1++; } } function onResult(resultobj) { _sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugResult(resultobj)); _originalNR.onResult(resultobj); } function onStatus(statusobj) { var _local1 = this; var _local2 = statusobj; _local1._sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugStatus(_local2)); if (_local1._originalNR.onStatus != undefined) { _local1._originalNR.onStatus(_local2); } else { _global.System.onStatus(_local2); } } function __resolve(name) { var _local1 = name; trace("NetDebugResponseProxy.__resolve name: " + _local1); _sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugReceiveCall(_local1, arguments)); _originalNR[_local1].apply(arguments); return(null); } }
Symbol 44 MovieClip [__Packages.mx.remoting.debug.events.NetDebugClose] Frame 0
class mx.remoting.debug.events.NetDebugClose extends mx.remoting.debug.events.NetDebugNetConnection { var eventType; function NetDebugClose () { super(); eventType = "Close"; } }
Symbol 45 MovieClip [__Packages.mx.remoting.debug.commands.StopRTMPTrace] Frame 0
class mx.remoting.debug.commands.StopRTMPTrace extends mx.remoting.debug.commands.Local { var init; function StopRTMPTrace () { super(); } function StopRTMPTraceCommand(cs, cid) { var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; _local1.clientid = cid; init("stopRealTimeTrace", _local1); } }
Symbol 46 MovieClip [__Packages.mx.remoting.debug.events.NetDebugAddHeader] Frame 0
class mx.remoting.debug.events.NetDebugAddHeader extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugAddHeader (args) { var _local1 = this; var _local2 = args; super(); _local1.eventType = "AddHeader"; _local1.headerName = _local2[0]; _local1.mustUnderstand = _local2[1]; if (_local2[2] != null) { _local1.headerObject = _local2[2]; } } }
Symbol 47 MovieClip [__Packages.mx.remoting.debug.events.NetDebugInfoError] Frame 0
class mx.remoting.debug.events.NetDebugInfoError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugInfoError (infoobj, mes) { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.info = infoobj; if (mes != null) { _local1.message = mes; } } }
Symbol 48 MovieClip [__Packages.mx.remoting.debug.events.NetDebugRtmpLog] Frame 0
class mx.remoting.debug.events.NetDebugRtmpLog extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugRtmpLog (infoobj) { var _local1 = this; super(); _local1.eventType = "Trace"; _local1.source = "Flash Communication Server"; _local1.info = infoobj; _local1.trace = infoobj.description; } }
Symbol 49 MovieClip [__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig] Frame 0
class mx.remoting.debug.commands.UpdateNetDebugConfig extends mx.remoting.debug.commands.Local { var init; function UpdateNetDebugConfig () { super(); } function UpdateNetDebugCommand(dataobj) { super(); init("updateConfig", dataobj); } }
Symbol 50 MovieClip [__Packages.mx.remoting.ApiClasses] Frame 0
class mx.remoting.ApiClasses extends MovieClip { function ApiClasses () { super(); } }
Symbol 52 MovieClip [__Packages.mx.remoting.DataGlue] Frame 0
class mx.remoting.DataGlue extends Object { var __dataProv, __labelStr, __dataStr, formatFunction; function DataGlue (dp) { super(); __dataProv = dp; } function get dataProvider() { return(__dataProv); } function get labelString() { return(__labelStr); } function set labelString(val) { __labelStr = val; //return(labelString); } function get dataString() { return(__dataStr); } function set dataString(val) { __dataStr = val; //return(dataString); } static function bindFormatStrings(dataConsumer, dp, labelStr, dataStr) { var _local1 = new mx.remoting.DataGlue(dp); _local1.__set__labelString(labelStr); _local1.__set__dataString(dataStr); _local1.getItemAt = mx.remoting.DataGlue.prototype.getItemAt_FormatString; dataConsumer.dataProvider = _local1; } static function bindFormatFunction(dataConsumer, dp, formatFunc) { var _local1 = new mx.remoting.DataGlue(dp); _local1.formatFunction = formatFunc; _local1.getItemAt = mx.remoting.DataGlue.prototype.getItemAt_FormatFunction; dataConsumer.setDataProvider(_local1); } function addEventListener(eventName, listener) { dataProvider.addEventListener(eventName, listener); } function get length() { return(getLength()); } function getLength() { return(dataProvider.length); } function format(formatString, item) { var _local3 = formatString.split("#"); var result = ""; var tlen = _local3.length; var _local2; var _local1 = 0; while (_local1 < tlen) { result = result + _local3[_local1]; _local2 = _local3[_local1 + 1]; if (_local2 != undefined) { result = result + item[_local2]; } _local1 = _local1 + 2; } return(result); } function getItemAt_FormatString(index) { var _local2 = this; var _local1 = _local2.dataProvider.getItemAt(index); if ((_local1 == "in progress") || (_local1 == undefined)) { return(_local1); } return({label:_local2.format(_local2.__get__labelString(), _local1), data:((_local2.__get__dataString() == null) ? (_local1) : (_local2.format(_local2.__get__dataString(), _local1)))}); } function getItemAt_FormatFunction(index) { var _local1 = dataProvider.getItemAt(index); if ((_local1 == "in progress") || (_local1 == undefined)) { return(_local1); } return(formatFunction(_local1)); } function getItemID(index) { return(dataProvider.getItemID(index)); } function addItemAt(index, value) { dataProvider.addItemAt(index, value); } function addItem(value) { dataProvider.addItem(value); } function removeItemAt(index) { dataProvider.removeItemAt(index); } function removeAll() { dataProvider.removeAll(); } function replaceItemAt(index, itemObj) { dataProvider.replaceItemAt(index, itemObj); } function sortItemsBy(fieldNames, optionFlags) { dataProvider.sortItemsBy(fieldNames, optionFlags); } function sortItems(compareFunc, optionFlags) { dataProvider.sortItems(compareFunc, optionFlags); } static var version = "1.2.0.124"; }
Symbol 59 MovieClip [__Packages.mx.remoting.Operation] Frame 0
class mx.remoting.Operation { var __arguments, __responder, __request, __methodName; function Operation (methodName, parent) { var _local1 = this; _local1.__service = parent; _local1.__responder = parent.responder; _local1.__methodName = methodName; _local1.__invokationName = (_local1.__service.__get__name() + ".") + methodName; _local1.__request = new Object(); _local1.__arguments = new Array(); } function createThenSend(Void) { createArguments(); return(send()); } function send(Void) { var _local1 = this; _local1.__service.log.logInfo((("Invoking " + _local1.__methodName) + " on ") + _local1.__service.__get__name()); var _local3 = new mx.remoting.PendingCall(_local1.__service, _local1.__methodName); _local3.__set__responder(_local1.__responder); var _local2 = null; if (_local1.__arguments == null) { _local2 = new Array(); } else { _local2 = _local1.__arguments.concat(); } _local1.__invokationName = (_local1.__service.__get__name() + ".") + _local1.__methodName; _local2.unshift(_local1.__invokationName, _local3); _local1.__service.connection.call.apply(_local1.__service.__get__connection(), _local2); return(_local3); } function invoke(a) { __arguments = a; } function get responder() { return(__responder); } function set responder(r) { __responder = r; //return(responder); } function get request() { return(__request); } function set request(r) { __request = r; //return(request); } function get name() { return(__methodName); } function createArguments() { var _local1 = this; if (_local1.__request != null) { _local1.__arguments = new Array(); for (var _local2 in _local1.__request) { if (_local2 != "arguments") { _local1.__arguments.unshift(_local1.__request[_local2]); } } } } }
Symbol 60 MovieClip [__Packages.mx.data.binding.ObjectDumper] Frame 0
class mx.data.binding.ObjectDumper { var inProgress; function ObjectDumper () { inProgress = new Array(); } static function toString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local1 = indent; var _local2 = maxLineLength; var _local3 = new mx.data.binding.ObjectDumper(); if (_local2 == undefined) { _local2 = 100; } if (_local1 == undefined) { _local1 = 0; } return(_local3.realToString(obj, showFunctions, showUndefined, showXMLstructures, _local2, _local1)); } function realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local1 = obj; var x = 0; while (x < inProgress.length) { if (inProgress[x] == _local1) { return("***"); } x++; } inProgress.push(_local1); indent++; var t = typeof(_local1); var result; if ((_local1 instanceof XMLNode) && (showXMLstructures != true)) { result = _local1.toString(); } else if (_local1 instanceof Date) { result = _local1.toString(); } else if (t == "object") { var _local3 = new Array(); if (_local1 instanceof Array) { result = "["; var i = 0; while (i < _local1.length) { _local3.push(i); i++; } } else { result = "{"; for (var i in _local1) { _local3.push(i); } _local3.sort(); } var sep = ""; var _local2 = 0; while (_local2 < _local3.length) { var val = _local1[_local3[_local2]]; var show = true; if (typeof(val) == "function") { show = showFunctions == true; } if (typeof(val) == "undefined") { show = showUndefined == true; } if (show) { result = result + sep; if (!(_local1 instanceof Array)) { result = result + (_local3[_local2] + ": "); } result = result + realToString(val, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent); sep = ", `"; } _local2++; } if (_local1 instanceof Array) { result = result + "]"; } else { result = result + "}"; } } else if (t == "function") { result = "function"; } else if (t == "string") { result = ("\"" + _local1) + "\""; } else { result = String(_local1); } if (result == "undefined") { result = "-"; } inProgress.pop(); return(replaceAll(result, "`", ((result.length < maxLineLength) ? "" : (newline + doIndent(indent))))); } static function replaceAll(str, from, to) { var _local3 = str.split(from); var result = ""; var _local2 = ""; var _local1 = 0; while (_local1 < _local3.length) { result = result + (_local2 + _local3[_local1]); _local2 = to; _local1++; } return(result); } function doIndent(indent) { var _local3 = indent; var _local2 = ""; var _local1 = 0; while (_local1 < _local3) { _local2 = _local2 + " "; _local1++; } return(_local2); } }
Symbol 62 MovieClip [__Packages.mx.rpc.DefaultResponder] Frame 0
class mx.rpc.DefaultResponder { var __target; function DefaultResponder (t) { target = (t); } function get target() { return(__target); } function set target(t) { __target = t; //return(target); } function onResult(event) { trace("RPC Result: " + event.__get__result()); } function onFault(event) { trace("RPC Fault: " + event.fault.faultstring); } }
Symbol 119 Button
on (release) { getURL ("http://www.kwik-fitinsurance.com", "_blank"); }
Symbol 132 Button
on (release) { _parent._parent.strLastScreen = "title"; _parent._parent.gotoAndStop("terms"); }
Symbol 136 Button
on (release) { _parent.gotoAndStop("game"); }
Symbol 138 Button
on (release) { _parent.gotoAndStop("instructions"); }
Symbol 147 Button
on (release) { _parent.gotoAndStop("title"); }
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 40
stop();
Symbol 209 MovieClip Frame 30
stop();
Symbol 219 MovieClip Frame 30
stop();
Symbol 225 MovieClip Frame 27
stop();
Symbol 227 MovieClip Frame 27
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 40
stop();
Symbol 248 MovieClip Frame 30
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 40
stop();
Symbol 265 MovieClip Frame 120
stop();
Symbol 270 MovieClip Frame 27
stop();
Symbol 271 MovieClip Frame 11
stop();
Symbol 273 MovieClip Frame 27
stop();
Symbol 274 MovieClip Frame 11
stop();
Symbol 276 MovieClip Frame 11
stop();
Symbol 277 MovieClip Frame 11
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 30
stop();
Instance of Symbol 265 MovieClip in Symbol 285 MovieClip Frame 1
on (release) { if (this._currentframe == "120") { gotoAndPlay (121); } else { gotoAndPlay (1); } }
Symbol 298 MovieClip Frame 1
b1.gotoAndStop(1); b2.gotoAndStop(1); stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
stop();
Symbol 327 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 1
function nextLevel() { objPolice.gotoAndStop(1); objPolice._visible = false; arrEntry = []; arrBglr = []; intBglr = 0; isLevelOver = false; isGameActive = false; intLevel++; if (intLevel == 1) { intMins = 0; intSecs = 30; } else if (intLevel == 2) { intMins = 1; intSecs = 0; } else if (intLevel == 3) { intMins = 5; intSecs = 0; } strMins = intMins.toString(); strSecs = intSecs.toString(); if (intSecs < 10) { strSecs = "0" + strSecs; } strTimer = (("0" + strMins) + ":") + strSecs; houses_mc.gotoAndStop(4); houses_mc.gotoAndStop(intLevel); initHouse(); initGrid(); showIntro(); } function showIntro() { inter_mc.txt_level.text = "LEVEL " + intLevel; var _local1 = new mx.transitions.Tween(inter_mc, "_y", mx.transitions.easing.Back.easeOut, 725, 225, 1, true); _local1.onMotionFinished = function () { var _local2 = new mx.transitions.Tween(null, "_y", mx.transitions.easing.Back.easeOut, 0, 0, 1, true); _local2.onMotionFinished = function () { var _local1 = new mx.transitions.Tween(inter_mc, "_y", mx.transitions.easing.Back.easeIn, 225, 725, 1, true); _local1.onMotionFinished = function () { startLevel(); }; }; }; } function resetLevel() { objHUD["life_" + intLives].gotoAndStop(2); intLives--; clearInterval(intTimerIntvl); clearInterval(intBglrIntvl); if (intLives <= 0) { showFailOutro(); } else { trace("Resetting the house"); for (var _local1 in arrEntry) { if (arrEntry[_local1].inner_mc.isOpen) { arrEntry[_local1].inner_mc.isForced = false; arrEntry[_local1].inner_mc.isOpen = false; if (arrEntry[_local1]._name.indexOf("entry_door") == 0) { arrEntry[_local1].inner_mc.isOpening = false; arrEntry[_local1].inner_mc.onEnterFrame = swingDoor; } else { arrEntry[_local1].inner_mc.onEnterFrame = closeWindow; } } entryClosed(arrEntry[_local1].inner_mc); } isGameActive = true; startLevel(); } } function startLevel() { isGameActive = true; intTimerIntvl = setInterval(updateTimer, 1000); intBglrIntvl = setInterval(updateBurglar, 1000); } function endLevel() { clearInterval(intTimerIntvl); clearInterval(intBglrIntvl); isGameActive = false; isLevelOver = true; playSound("police_siren"); objPolice.gotoAndPlay(1); objPolice._visible = true; for (var _local1 in arrBglr) { pickTile(arrBglr[_local1]); } var _local2 = new mx.transitions.Tween(null, "_y", mx.transitions.easing.Regular.easeOut, 0, 0, 5, true); _local2.onMotionFinished = function () { if (intLevel >= 3) { gameOver(true); } else { nextLevel(); } }; } function showFailOutro() { if (!isGameOver) { inter_mc.gotoAndStop(2); var _local2 = new mx.transitions.Tween(inter_mc, "_y", mx.transitions.easing.Back.easeOut, 725, 225, 1, true); _local2.onMotionFinished = function () { var _local1 = new mx.transitions.Tween(null, "_y", mx.transitions.easing.Back.easeOut, 0, 0, 5, true); _local1.onMotionFinished = function () { gameOver(false); }; }; isGameActive = true; isGameOver = true; for (var _local1 in houses_mc.house) { if (_local1.indexOf("entry_") == 0) { prepareOpen(houses_mc.house[_local1].inner_mc); } } i = 0; while (i < 2) { if (intLevel == 3) { intLastBglr = randNum(1, 2); } makeBurglar(); i++; } } } function gameOver(isComplete) { _parent.intScore = intScore; if (isComplete) { trace("You beat the game!"); } else { trace("Game Over"); } _parent.gotoAndStop("gameover_music"); } function initGrid() { objGrid = houses_mc.grid_mc; objGrid.burglar_1._visible = false; objGrid.burglar_2._visible = false; intGridC = arrGrid[intLevel][0].length; intGridR = arrGrid[intLevel].length; var _local4 = 0; var _local3 = 0; var _local11 = 0; var r = 0; while (r < intGridR) { var c = 0; while (c < intGridC) { _local4++; var _local2 = objGrid.attachMovie("tile", (("tile_" + r) + "_") + c, _local4, {_x:_local3, _y:_local11, _width:intTileW, _height:intTileW, _alpha:50, _visible:false}); _local3 = _local3 + intTileW; _local2.c = c; _local2.r = r; _local2.gotoAndStop(2); _local2.onPress = function () { trace((this.r + ",") + this.c); if (this._currentframe == 1) { arrGrid[intLevel][this.r][this.c] = 1; this.gotoAndStop(2); } else { arrGrid[intLevel][this.r][this.c] = 0; this.gotoAndStop(1); } }; _local2.gotoAndStop(arrGrid[intLevel][r][c] + 1); c++; } _local3 = 0; _local11 = _local11 + intTileW; r++; } makeBurglar(); if (intLevel == 3) { var _local12 = new mx.transitions.Tween(null, "_y", mx.transitions.easing.Regular.easeOut, 0, 0, 2, true); _local12.onMotionFinished = function () { intLastBglr = 2; makeBurglar(); }; } } function traceGrid() { var _local1 = 0; while (_local1 < arrGrid[intLevel].length) { trace(("[" + arrGrid[intLevel][_local1]) + "],"); _local1++; } } function makeBurglar() { var _local3; var _local2 = 0; if (intLastBglr == 1) { _local3 = objGrid.burglar_1; _local2 = 1; } else { _local3 = objGrid.burglar_2; _local2 = 2; } var _local1 = _local3.duplicateMovieClip("burglar_" + intBglr, intBglr * 500); _local1._visible = false; intBglr++; _local1.inner_mc.gotoAndStop(1); if ((intBglr % 2) == 1) { _local1.intR = intGridR - 1; _local1.intC = intGridC - 1; } else { _local1.intR = intGridR - 3; _local1.intC = 0; } _local1.intBglr = _local2; _local1.ss = 0.1; _local1.intDR = 0; _local1.intDC = 0; _local1.intID = intBglr; _local1.isIdle = false; _local1.isEscaping = false; _local1.intMove = 0; _local1.intTime = getTimer(); _local1.strEntry = ""; _local1._x = objGrid[(("tile_" + _local1.intR) + "_") + _local1.intC]._x; _local1._y = objGrid[(("tile_" + _local1.intR) + "_") + _local1.intC]._y; _local1.swapDepths(_local1._y + intBglr); _local1.onEnterFrame = moveBurglar; _local1._visible = true; arrBglr.push(_local1); pickTile(_local1); } function updateBurglar() { for (var _local1 in arrBglr) { if (typeof(arrBglr[_local1]) == "movieclip") { if (arrBglr[_local1].strEntry == "") { pickTile(arrBglr[_local1]); } } } } function pickTile(objBglr) { var _local8 = ""; if ((!isGameActive) && (!objBglr.isEscaping)) { if (!isLevelOver) { return(false); } } objBglr.arrRoute = []; objBglr.objRoute = null; objBglr.t = 1; var _local10 = -1; var _local11 = -1; objBglr._visible = true; if (objBglr.isEscaping || (isLevelOver)) { _local10 = objGridE[intLevel].escape_point[0]; _local11 = objGridE[intLevel].escape_point[1]; } else if (arrEntryC.length == 0) { } else { var _local7 = 9999; var _local9 = -1; _local8 = ""; var _local1 = 0; while (_local1 < arrEntryC.length) { if (objHouse[arrEntryC[_local1]].inner_mc.isOpen && (objHouse[arrEntryC[_local1]].objBglr == null)) { var _local6 = objGrid[(("tile_" + objGridE[intLevel][arrEntryC[_local1]][0]) + "_") + objGridE[intLevel][arrEntryC[_local1]][1]]; var _local3 = _local6._x - objBglr._x; var _local4 = _local6._y - objBglr._y; var _local5 = Math.sqrt((_local3 * _local3) + (_local4 * _local4)); if (_local5 < _local7) { _local8 = arrEntryC[_local1]; _local7 = _local5; _local9 = _local1; } } _local1++; } _local10 = objGridE[intLevel][arrEntryC[_local9]][0]; _local11 = objGridE[intLevel][arrEntryC[_local9]][1]; } if ((_local10 == objBglr.intR) && (_local11 == objBglr.intC)) { return(false); } if ((_local10 < 0) || (typeof(_local10) == "undefined")) { _local10 = intGridR - objBglr.intID; _local11 = randNum(10, intGridC - 6); } objBglr.intDR = _local10; objBglr.intDC = _local11; if ((objBglr.ss < 0.5) && (intLevel > 1)) { objBglr.ss = objBglr.ss * 1.05; } buildRoute(objBglr, _local10, _local11, _local8); } function buildRoute(objBglr, intTileR, intTileC, strEntry) { if ((!isGameActive) && (!objBglr.isEscaping)) { if (!isLevelOver) { return(false); } } var _local4 = new Object(); var _local1 = findPath(arrGrid[intLevel], objBglr.intR, objBglr.intC, intTileR, intTileC); if (_local1 == null) { return(false); } if (strEntry != "") { objHouse[strEntry].objBglr = objBglr; objBglr.strEntry = strEntry; trace(((((((objBglr._name + " is seeking ") + strEntry) + " (") + intTileR) + ",") + intTileC) + ")"); } objBglr.arrRoute = []; objBglr.objRoute = null; var _local5 = 0; var _local3; for (var _local6 in _local1) { _local3 = objGrid[(("tile_" + _local1[_local6][0]) + "_") + _local1[_local6][1]]; objBglr.arrRoute.push([_local1[_local6][0], _local1[_local6][1]]); if (_local5 == 0) { _local4 = new Path(objBglr._x, objBglr._y); } else { _local4.lineTo(_local3._x, _local3._y); } _local5++; } objBglr.objRoute = _local4; if (_local1 != null) { if (isLevelOver) { objBglr.s = 0.025; } else if (objBglr.isEscaping) { objBglr.s = 0.025; } else if (isGameOver) { objBglr.s = 0.3 / _local1.length; } else { objBglr.s = objBglr.ss / _local1.length; } objBglr.t = 0; } } function moveBurglar() { if ((!isGameActive) && (!this.isEscaping)) { if (!isLevelOver) { this.inner_mc.gotoAndStop(1); return(false); } } if (this.t > 1) { reachDest(this); } else { this.inner_mc.play(); this.t = this.t + this.s; } this.swapDepths(this._y); this.objRoute.traverse(this, this.t, true, true, this.s); } function reachDest(objBglr) { if (objBglr.isEscaping) { trace(((objBglr._name + " got away (") + objBglr.intBglr) + ")."); objBglr.isEscaping = false; objBglr.strEntry = ""; objBglr.ss = 0.1; if (!isLevelOver) { resetLevel(); } return(false); } objBglr.inner_mc.gotoAndStop(1); if (!objBglr.isIdle) { if ((objBglr.strEntry != "") && (!isLevelOver)) { if (objHouse[objBglr.strEntry].inner_mc.isOpen) { trace(((objBglr._name + " reached ") + objBglr.strEntry) + " and found it open!"); if (!isGameOver) { isGameActive = false; } delete objBglr.onEnterFrame; forceEntry(objBglr); } else { trace(((objBglr._name + " reached ") + objBglr.strEntry) + " and found it closed."); objBglr.strEntry = ""; pickTile(objBglr); } } objBglr.intMove++; objBglr.isIdle = true; objBglr.intTime = getTimer(); } else if ((getTimer() - objBglr.intTime) > 500) { pickTile(objBglr); objBglr.isIdle = false; } } function forceEntry(objBglr) { if (isGameOver) { isGameActive = true; } else { isGameActive = false; sndAlarm = new Sound(); sndAlarm.attachSound("alarm_bell"); sndAlarm.start(0, 2); } objHouse[objBglr.strEntry].inner_mc.isForced = true; if (objBglr.strEntry.indexOf("entry_door") == 0) { objHouse[objBglr.strEntry].isOpening = true; objHouse[objBglr.strEntry].inner_mc.onEnterFrame = swingDoor; trace(objBglr._name + " is breaking in through the door!"); } else { objHouse[objBglr.strEntry].inner_mc.intT = objHouse[objBglr.strEntry].inner_mc.intT - 40; objHouse[objBglr.strEntry].inner_mc.onEnterFrame = openWindow; trace(objBglr._name + " is breaking in through the window!"); } } function burgleHouse(objBglr) { trace(objBglr._name + " is looting!"); objBglr._visible = false; objBglr.isEscaping = true; enterHouse(objBglr); } function enterHouse(objBglr) { var _local2; if (objBglr.intBglr == 1) { _local2 = objHouse[objBglr.strEntry].burglar_1; } else { _local2 = objHouse[objBglr.strEntry].burglar_2; } _local2._visible = true; _local2.onEnterFrame = function () { this.nextFrame(); if (this._currentframe >= this._totalframes) { if (!isGameOver) { exitHouse(objBglr); } delete this.onEnterFrame; } }; } function exitHouse(objBglr) { var _local2 = new mx.transitions.Tween(null, "_y", mx.transitions.easing.Regular.easeOut, 0, 0, 2, true); var objBglrE; if (objBglr.intBglr == 1) { objBglrE = objHouse[objBglr.strEntry].burglar_1; } else { objBglrE = objHouse[objBglr.strEntry].burglar_2; } _local2.onMotionFinished = function () { objBglrE.onEnterFrame = function () { this.prevFrame(); if (this._currentframe <= 1) { this._visible = false; objBglr.onEnterFrame = moveBurglar; pickTile(objBglr); delete this.onEnterFrame; } }; }; } function policeLight() { if (objPolice._currentframe == 1) { objPolice.gotoAndStop(2); } else { objPolice.gotoAndStop(1); } } function initHouse() { arrEntry = []; arrEntryC = []; objHouse = houses_mc.house; var _local1 = 0; for (var _local2 in objHouse) { if (_local2.indexOf("xentry_") == 0) { objHouse[_local2]._visible = false; } else if (_local2.indexOf("entry_") == 0) { _local1++; objHouse[_local2].objBglr = null; objHouse[_local2].inner_mc.intID = _local1; objHouse[_local2].burglar_1.gotoAndStop(1); objHouse[_local2].burglar_1._visible = false; objHouse[_local2].burglar_2.gotoAndStop(1); objHouse[_local2].burglar_2._visible = false; arrEntry.push(objHouse[_local2]); if (_local2.indexOf("entry_window_") == 0) { initWindow(objHouse[_local2]); } else if (_local2.indexOf("entry_door_") == 0) { initDoor(objHouse[_local2]); } } } } function initDoor(objDoor) { objDoor.inner_mc.isOpen = false; objDoor.inner_mc.isOpening = false; objDoor.inner_mc.isForced = false; objDoor.inner_mc.onPress = pressDoor; prepareOpen(objDoor.inner_mc); } function pressDoor() { if ((this.isForced || (!isGameActive)) || (!this.isOpen)) { return(false); } if (!this.isOpening) { this.isOpening = true; this.onEnterFrame = swingDoor; } else if (!this.isForced) { this.isOpening = false; this.onEnterFrame = swingDoor; } } function swingDoor() { if (this.isOpening || (this.isForced)) { if (!this.isOpen) { playSound("door_creak"); this.isOpen = true; entryOpen(this); } if (this._currentframe >= this._totalframes) { if (this.isForced) { trace(this._parent.objBglr + " has forced the door!"); burgleHouse(this._parent.objBglr); } delete this.onEnterFrame; } this.nextFrame(); } else { if ((this._currentframe - 8) > 1) { this.gotoAndStop(this._currentframe - 8); } else { this.gotoAndStop(1); } if (this._currentframe <= 2) { if (!this.isOpening) { playSound("slam"); this.isOpen = false; intScore = intScore + 25; entryClosed(this); prepareOpen(this); } } } } function initWindow(objWin) { objWin.inner_mc.intB = Math.ceil(objWin.inner_mc._y); objWin.inner_mc.intT = Math.floor(objWin.inner_mc._y - (objWin.inner_mc._height / 2.5)); objWin.inner_mc.isOpen = false; objWin.inner_mc.isForced = false; objWin.inner_mc.onPress = dragWindow; objWin.inner_mc.onRelease = dropWindow; objWin.inner_mc.onReleaseOutside = dropWindow; prepareOpen(objWin.inner_mc); } function dragWindow() { if ((!isGameActive) || (!this.isOpen)) { stopDrag(); return(false); } startDrag (this, false, this._x, this.intT, this._x, this.intB); this.onEnterFrame = checkWindow; } function dropWindow() { if (this._y < (this.intB - 2)) { entryOpen(this); this.isOpen = true; } stopDrag(); } function openWindow() { if (!this.isOpen) { this.isOpen = true; entryOpen(this); playSound("window_open"); } if (this._y <= this.intT) { this._y = this.intT; if (this.isForced) { this.intT = this.intT + 40; trace("Window has been forced open!"); burgleHouse(this._parent.objBglr); } delete this.onEnterFrame; } this._y = this._y - 8; } function closeWindow() { if (this._y >= this.intB) { this._y = this.intB; this.isOpen = false; if (this.isOpen) { playSound("window_shut"); } entryClosed(this); prepareOpen(this); return(false); } this._y = this._y + 6; } function checkWindow() { if (isGameActive) { if (this._y >= this.intB) { if (this.isOpen) { this.isOpen = false; entryClosed(this); this._y = this.intB; prepareOpen(this); playSound("window_shut"); intScore = intScore + 50; } } else if (this._y < (this.intB - 2)) { if (!this.isOpen) { playSound("window_open"); this.isOpen = true; if (isGameActive) { entryOpen(this); } } } } } function prepareOpen(objEntry) { objEntry.intTime = getTimer(); if (isGameOver) { objEntry.intTimeOpen = 500 * objEntry.intID; } else { objEntry.intTimeOpen = randNum(2000, 9000); } objEntry.onEnterFrame = timeEntryOpen; } function timeEntryOpen() { if (isGameActive || (isGameOver)) { if ((getTimer() - this.intTime) > this.intTimeOpen) { if (this._parent._name.indexOf("entry_window_") == 0) { this.onEnterFrame = openWindow; } else { this.isOpening = true; this.onEnterFrame = swingDoor; } } } } function entryOpen(objEntry) { if (isGameActive) { arrEntryC.push(objEntry._parent._name); } } function entryClosed(objEntry) { var _local3 = objEntry._parent._name; var _local1 = 0; while (_local1 < arrEntryC.length) { if (arrEntryC[_local1] == _local3) { arrEntryC.splice(_local1, 1); objEntry._parent.objBglr.strEntry = ""; pickTile(objEntry._parent.objBglr); objHouse[objEntry._parent._name].objBglr = null; return(true); } _local1++; } } function updateTimer() { if (!isGameActive) { return(false); } if ((intMins == 0) && (intSecs == 0)) { clearInterval(intTimerIntvl); clearInterval(intBglrIntvl); endLevel(); return(false); } intSecs--; if (intSecs < 0) { intSecs = 59; intMins--; } strSecs = intSecs.toString(); strMins = intMins.toString(); if (intSecs < 10) { strSecs = "0" + strSecs; } if (intMins < 10) { strMins = "0" + strMins; } strTimer = (strMins + ":") + strSecs; } function randNum(intLow, intHigh) { return(Math.round(Math.random() * (intHigh - intLow)) + intLow); } function playSound(strSound) { sfx_mc.gotoAndStop(strSound); sfx_mc.gotoAndStop(1); } Path = function () { this.init.apply(this, arguments); }; Path.prototype.init = function (start_x, start_y) { this._segments = []; this._length = 0; if (arguments.length) { this.moveTo(start_x, start_y); } else { this.moveTo(0, 0); } }; Path.prototype.curveToAccuracy = 10; Path.prototype.clear = function () { this.init(0, 0); }; Path.prototype.moveTo = function (start_x, start_y) { this._position = {_x:start_x, _y:start_y}; return(this); }; Path.prototype.lineTo = function (end_x, end_y) { var _local3 = end_x - this._position._x; var _local2 = end_y - this._position._y; var _local4 = Math.sqrt((_local3 * _local3) + (_local2 * _local2)); this._segments[this._segments.length] = {d:_local4, start:this._position, end:{_x:end_x, _y:end_y}, type:"L"}; this._length = this._length + _local4; this._position = {_x:end_x, _y:end_y}; return(this); }; Path.prototype.circleTo = (Path.prototype.circleCWTo = function (end_x, end_y, arc, dir) { if (dir == undefined) { dir = "CW"; } if (arc == undefined) { arc = 0.5; } if (arc > 1) { arc = 1; } else if (arc <= 0) { return(this.lineTo(end_x, end_y)); } if (dir == "CCW") { arc = 1 - arc; } var _local3 = {_x:(this._position._x + end_x) / 2, _y:(this._position._y + end_y) / 2}; var _local5 = end_x - this._position._x; var _local4 = end_y - this._position._y; var _local12 = Math.sqrt((_local5 * _local5) + (_local4 * _local4)); var _local8 = _local12 / 2; var _local9 = _local8 / Math.tan(arc * Math.PI); var _local11 = _local8 / Math.sin(arc * Math.PI); var _local10 = Math.atan2(_local4, _local5) + (Math.PI/2); _local3._x = _local3._x + (Math.cos(_local10) * _local9); _local3._y = _local3._y + (Math.sin(_local10) * _local9); var _local18 = Math.atan2(this._position._y - _local3._y, this._position._x - _local3._x); var _local16 = Math.atan2(end_y - _local3._y, end_x - _local3._x); if (dir == "CW") { if (_local16 < _local18) { _local16 = _local16 + (Math.PI*2); } } else if (_local18 < _local16) { _local18 = _local18 + (Math.PI*2); } _local12 = _local11 * Math.abs(_local16 - _local18); this._segments[this._segments.length] = {d:_local12, r:_local11, a1:_local18, a2:_local16, o:_local3, dir:dir, type:"C"}; this._length = this._length + _local12; this._position = {_x:end_x, _y:end_y}; return(this); }); Path.prototype.circleCCWTo = function (end_x, end_y, arc) { return(this.circleTo.call(this, end_x, end_y, arc, "CCW")); }; Path.prototype.curveTo = function (con_x, con_y, end_x, end_y) { var _local3 = this.divideBezier(this._position._x, this._position._y, con_x, con_y, end_x, end_y); this._segments[this._segments.length] = {d:_local3.d, start:this._position, con:{_x:con_x, _y:con_y}, end:{_x:end_x, _y:end_y}, segs:_local3, type:"B"}; this._length = this._length + _local3.d; this._position = {_x:end_x, _y:end_y}; return(this); }; Path.prototype.divideBezier = function (x1, y1, x2, y2, x3, y3) { var _local2; var _local15; var _local14; var _local12; var _local11; var _local9; var _local8; var _local7; var _local6; var _local29; var _local13 = []; var _local5 = {_x:x1, _y:y1}; var _local22 = x2 - x1; var _local20 = y2 - y1; var _local21 = x3 - x2; var _local19 = y3 - y2; var _local16 = Math.atan2; var _local18 = Math.sqrt; var _local17 = 0; var _local36; var _local3; var _local10; var _local30 = _local16(_local20, _local22); var _local4 = 1; while (_local4 < this.curveToAccuracy) { _local2 = _local4 / this.curveToAccuracy; _local15 = x1 + (_local22 * _local2); _local12 = (x2 + (_local21 * _local2)) - _local15; _local14 = y1 + (_local20 * _local2); _local11 = (y2 + (_local19 * _local2)) - _local14; _local7 = _local15 + (_local12 * _local2); _local6 = _local14 + (_local11 * _local2); _local9 = _local7 - _local5._x; _local8 = _local6 - _local5._y; _local29 = _local18((_local9 * _local9) + (_local8 * _local8)); _local17 = _local17 + _local29; _local10 = _local16(_local11, _local12); _local3 = _local10 - _local30; if (_local3 > Math.PI) { _local3 = _local3 - (Math.PI*2); } else if (_local3 < -3.14159265358979) { _local3 = _local3 + (Math.PI*2); } _local13[_local13.length] = {d:_local29, start:_local5, end:{_x:_local7, _y:_local6}, a:{base:_local30, d:_local3}}; _local30 = _local10; _local5 = {_x:_local7, _y:_local6}; _local4++; } _local9 = x3 - _local5._x; _local8 = y3 - _local5._y; _local29 = _local18((_local9 * _local9) + (_local8 * _local8)); _local17 = _local17 + _local29; _local10 = _local16(_local19, _local21); _local13[_local13.length] = {d:_local29, start:_local5, end:{_x:x3, _y:y3}, a:{base:_local30, d:_local10 - _local30}}; _local13.d = _local17; return(_local13); }; Path.prototype.setInBezier = function (obj, t, s, orient) { if (t < 0) { t = 0; } else if (t > 1) { t = 1; } var _local6 = s.d * t; var _local2; var _local3 = 0; var _local4 = s.length + 1; var _local1 = 1; while (_local1 < _local4) { _local2 = s[_local1 - 1]; if ((_local1 == _local4) || ((_local3 + _local2.d) >= _local6)) { break; } _local3 = _local3 + _local2.d; _local1++; } t = (_local6 - _local3) / _local2.d; var _local9 = _local2.end._x - _local2.start._x; var _local8 = _local2.end._y - _local2.start._y; obj._x = _local2.start._x + (_local9 * t); obj._y = _local2.start._y + (_local8 * t); if (orient) { obj._rotation = ((_local2.a.base + (_local2.a.d * t)) * 180) / Math.PI; } }; Path.prototype.traverse = function (obj, t, orient, offset, s) { if (t < 0) { t = 0; } else if (t > 1) { t = 1; } var _local8 = this._length * t; var _local4; var _local6 = 0; var _local7 = this._segments.length + 1; var _local3 = 1; while (_local3 < _local7) { _local4 = this._segments[_local3 - 1]; if ((_local3 == _local7) || ((_local6 + _local4.d) >= _local8)) { if (obj.strEntry != "") { if ((obj.arrRoute[_local3][0] == obj.intDR) && (obj.arrRoute[_local3][1] == obj.intDC)) { if (obj.strEntry != "") { objHouse[this.strEntry].isForced = true; } reachDest(obj); t = 1; } } obj.intR = obj.arrRoute[_local3][0]; obj.intC = obj.arrRoute[_local3][1]; break; } _local6 = _local6 + _local4.d; _local3++; } t2 = t; t = (_local8 - _local6) / _local4.d; switch (_local4.type) { case "L" : var _local11 = _local4.end._x - _local4.start._x; var _local10 = _local4.end._y - _local4.start._y; obj._x = _local4.start._x + (_local11 * t); obj._y = _local4.start._y + (_local10 * t); if (orient) { if (_local11 != 0) { if (_local11 < 0) { strLabel = "LEFT"; } else { strLabel = "RIGHT"; } } else if (_local10 != 0) { if (_local10 < 0) { strLabel = "UP"; } else { strLabel = "DOWN"; } } obj.gotoAndStop(strLabel); } break; case "C" : var _local12 = _local4.a1; var _local13 = _local4.a2; var _local9 = _local12 + ((_local13 - _local12) * t); obj._x = _local4.o._x + (Math.cos(_local9) * _local4.r); obj._y = _local4.o._y + (Math.sin(_local9) * _local4.r); if (orient) { obj._rotation = ((_local4.dir == "CW") ? (((_local9 * 180) / Math.PI) + 90) : (((_local9 * 180) / Math.PI) - 90)); } break; case "B" : this.setInBezier(obj, t, _local4.segs, orient); } return(this); }; Path.prototype.mcCircleTo = function (cen_x, cen_y, a1, a2, r) { var _local5 = Math.cos; var _local6 = Math.sin; var _local14 = Math.abs(a2 - a1); var _local13 = Math.floor(_local14 / (Math.PI/4)) + 1; var _local11 = _local14 / _local13; var _local12 = _local11 / 2; var _local8 = r / _local5(_local12); this.moveTo(cen_x + (_local5(a1) * r), cen_y + (_local6(a1) * r)); var _local3 = 0; while (_local3 < _local13) { a2 = a1 + _local12; a1 = a1 + _local11; this.curveTo(cen_x + (_local5(a2) * _local8), cen_y + (_local6(a2) * _local8), cen_x + (_local5(a1) * r), cen_y + (_local6(a1) * r)); _local3++; } return(this); }; Path.prototype.draw = function (mc) { var _local3 = this._segments; var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { switch (_local3[_local2].type) { case "L" : mc.moveTo(_local3[_local2].start._x, _local3[_local2].start._y); mc.lineTo(_local3[_local2].end._x, _local3[_local2].end._y); break; case "C" : if (_local3[_local2].dir == "CW") { this.mcCircleTo.call(mc, _local3[_local2].o._x, _local3[_local2].o._y, _local3[_local2].a1, _local3[_local2].a2, _local3[_local2].r); } else { this.mcCircleTo.call(mc, _local3[_local2].o._x, _local3[_local2].o._y, _local3[_local2].a2, _local3[_local2].a1, _local3[_local2].r); } break; case "B" : mc.moveTo(_local3[_local2].start._x, _local3[_local2].start._y); mc.curveTo(_local3[_local2].con._x, _local3[_local2].con._y, _local3[_local2].end._x, _local3[_local2].end._y); } _local2++; } return(this); }; _global.findPath = function (map, startY, startX, endY, endX) { var _local18 = 10; var _local12 = 14; var _local16 = true; var _local15 = false; isOpen = function (y, x) { return(mapStatus[y][x].open); }; isClosed = function (y, x) { return(mapStatus[y][x].closed); }; nearerSquare = function () { var _local4 = 999999 /* 0x0F423F */; var _local5 = 0; var _local2; var _local3; var _local1 = openList.length; while ((_local1--) > 0) { _local3 = mapStatus[openList[_local1][0]][openList[_local1][1]]; _local2 = _local3.heuristic + _local3.movementCost; if (_local2 <= _local4) { _local4 = _local2; _local5 = _local1; } } return(_local5); }; closeSquare = function (y, x) { var _local2 = openList.length; var _local1 = 0; while (_local1 < _local2) { if (openList[_local1][0] == y) { if (openList[_local1][1] == x) { openList.splice(_local1, 1); break; } } _local1++; } mapStatus[y][x].open = false; mapStatus[y][x].closed = true; }; openSquare = function (y, x, parent, movementCost, heuristic, replacing) { if (!replacing) { openList.push([y, x]); mapStatus[y][x] = {heuristic:heuristic, open:true, closed:false}; } mapStatus[y][x].parent = parent; mapStatus[y][x].movementCost = movementCost; }; var _local10 = map.length; var _local17 = map[0].length; var mapStatus = new Array(); var _local11 = 0; while (_local11 < _local10) { mapStatus[_local11] = new Array(); _local11++; } if ((startY == undefined) || (startX == undefined)) { return(null); } if ((endY == undefined) || (endX == undefined)) { return(null); } var openList = new Array(); openSquare(startY, startX, undefined, 0); while ((openList.length > 0) && (!isClosed(endY, endX))) { _local11 = nearerSquare(); var _local6 = openList[_local11][0]; var _local7 = openList[_local11][1]; closeSquare(_local6, _local7); var _local2 = _local6 - 1; while (_local2 < (_local6 + 2)) { var _local1 = _local7 - 1; while (_local1 < (_local7 + 2)) { if (((((((_local2 >= 0) && (_local2 < _local10)) && (_local1 >= 0)) && (_local1 < _local17)) && (!((_local2 == _local6) && (_local1 == _local7)))) && ((_local16 || (_local2 == _local6)) || (_local1 == _local7))) && (((_local15 || (_local2 == _local6)) || (_local1 == _local7)) || ((map[_local2][_local7] != 0) && (map[_local6][_local1])))) { if (map[_local2][_local1] != 0) { if (!isClosed(_local2, _local1)) { var _local3 = mapStatus[_local6][_local7].movementCost + ((((_local2 == _local6) || (_local1 == _local7)) ? (_local18) : (_local12)) * map[_local2][_local1]); if (isOpen(_local2, _local1)) { if (_local3 < mapStatus[_local2][_local1].movementCost) { openSquare(_local2, _local1, [_local6, _local7], _local3, undefined, true); } } else { var _local5 = (Math.abs(_local2 - endY) + Math.abs(_local1 - endX)) * 10; openSquare(_local2, _local1, [_local6, _local7], _local3, _local5, false); } } } } _local1++; } _local2++; } } var _local27 = isClosed(endY, endX); delete isOpen; delete isClosed; delete nearerSquare; delete closeSquare; delete openSquare; if (_local27) { var _local22 = new Array(); var _local6 = endY; var _local7 = endX; while ((_local6 != startY) || (_local7 != startX)) { _local22.push([_local6, _local7]); var _local19 = mapStatus[_local6][_local7].parent[0]; var _local20 = mapStatus[_local6][_local7].parent[1]; _local6 = _local19; _local7 = _local20; } _local22.push([startY, startX]); return(_local22); } return(null); }; ASSetPropFlags(_global, "findPath", 1, 0); var intLevel = 0; var intScore = 0; var intScoreT = 0; var intLives = 3; var isLevelOver = false; var isGameOver = false; var objHouse; var arrEntry = []; var arrEntryC = []; var intMins = 1; var intSecs = 49; var strMins = ""; var strSecs = ""; var strTimer = (("0" + intMins) + ":00"); var intTimerIntvl = 0; var arrGrid = []; arrGrid[0] = []; arrGrid[1] = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; arrGrid[2] = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; arrGrid[3] = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0], [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1], [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; var objGrid; var intGridW = 704; var intGridH = 600; var intGridC = 0; var intGridR = 0; var intTileW = 25; var objGridE = new Object(); objGridE[1] = new Object(); objGridE[1].entry_door_1 = [16, 14]; objGridE[1].entry_window_1 = [7, 6]; objGridE[1].entry_window_2 = [16, 10]; objGridE[1].entry_window_3 = [16, 18]; objGridE[1].entry_window_4 = [11, 6]; objGridE[1].escape_point = [0, 0]; objGridE[2] = new Object(); objGridE[2].entry_window_1 = [15, 6]; objGridE[2].entry_door_1 = [15, 13]; objGridE[2].entry_door_2 = [19, 17]; objGridE[2].entry_window_2 = [17, 23]; objGridE[2].entry_window_3 = [17, 28]; objGridE[2].escape_point = [22, 30]; objGridE[3] = new Object(); objGridE[3].entry_window_1 = [15, 3]; objGridE[3].entry_window_2 = [15, 7]; objGridE[3].entry_window_3 = [15, 10]; objGridE[3].entry_window_4 = [14, 1]; objGridE[3].entry_window_5 = [14, 5]; objGridE[3].entry_window_6 = [14, 9]; objGridE[3].entry_window_7 = [19, 17]; objGridE[3].entry_window_8 = [19, 22]; objGridE[3].entry_window_9 = [14, 34]; objGridE[3].entry_door_1 = [19, 19]; objGridE[3].escape_point = [25, 34]; var intBglr = 0; var intLastBglr = 1; var intBglrIntvl = 0; var arrBglr = []; var isGameActive = true; var objHUD = hud_mc; var sndAlarm; var objPolice = police_mc; objPolice.gotoAndStop(1); objPolice._visible = false; Array.prototype.shuffle = function () { i = 0; while (i < this.length) { var _local3 = this[i]; var _local2 = random(this.length); this[i] = this[_local2]; this[_local2] = _local3; i++; } }; objHUD.onEnterFrame = function () { if (intScoreT < intScore) { intScoreT = intScoreT + 25; } else { intScoreT = intScore; } }; nextLevel(); this.onEnterFrame = function () { if (Key.isDown(17)) { boolCtrl = true; } if ((boolCtrl == true) && (!Key.isDown(17))) { boolCtrl = false; } };
Instance of Symbol 312 MovieClip in Symbol 328 MovieClip Frame 1
on (release) { getURL ("http://www.kwik-fitinsurance.com", "_blank"); }
Symbol 342 Button
on (release) { _parent.intScoreSub = 0; _parent.gotoAndStop("game"); }
Symbol 344 Button
on (release) { if (_parent.intScoreSub == 1) { _parent.gotoAndStop("leaderboard"); } else { _parent.gotoAndStop("submit_score"); } }
Symbol 346 Button
on (release) { _parent.gotoAndStop("leaderboard"); }
Symbol 348 Button
on (release) { _parent.gotoAndStop("send_friend"); }
Symbol 349 MovieClip Frame 1
txt_score.htmlText = ("<font size=\"34\" color=\"#083476\">YOU SCORED</font> <font size=\"52\" color=\"#3c985b\">" + _parent.intScore) + "</font> <font size=\"34\" color=\"#083476\">POINTS</font>";
Instance of Symbol 340 MovieClip in Symbol 349 MovieClip Frame 1
on (release) { getURL ("http://www.kwik-fitinsurance.com/home/home-insurance.html", "_blank"); }
Symbol 360 Button
on (release) { this.boolSubmit = true; strUserName = user_name.text; strUserEmail = user_email.text; intUserIndexOfAt = strUserEmail.indexOf("@"); intUserLastIndexOfDot = strUserEmail.lastIndexOf("."); if (((!strUserEmail) || (intUserIndexOfAt == -1)) || (intUserLastIndexOfDot == -1)) { this.boolSubmit = false; error_text.text = "Your email address is not valid"; } else if (!strUserName) { this.boolSubmit = false; error_text.text = "Please enter your name"; } if (this.boolSubmit != false) { _parent.intScoreSub = 1; btn_submit._visible = false; error_text.text = "Submitting score, please wait..."; _parent.objRemote.setHighScores(strUserName, strUserEmail, _parent.intScore); } }
Symbol 361 Button
on (release) { _parent.gotoAndStop("gameover"); }
Symbol 364 Button
on (release) { _parent._parent.strLastScreen = "submit"; _parent._parent.gotoAndStop("terms"); }
Symbol 366 MovieClip Frame 1
txt_score.htmlText = ("<font size=\"34\" color=\"#083476\">YOU SCORED</font> <font size=\"52\" color=\"#3c985b\">" + _parent.intScore) + "</font> <font size=\"34\" color=\"#083476\">POINTS</font>";
Symbol 369 Button
on (release) { _parent.gotoAndStop("gameover"); }
Symbol 385 MovieClip Frame 1
function showHighScores(arrScores) { i = 0; while (i <= (arrScores.length - 1)) { var _local5 = i + 10000; var _local4 = ("scoreLine" + (i + 1)) + "_mc"; duplicateMovieClip (scoreList_mc.scoreLine_mc, _local4, _local5); var _local2 = scoreList_mc[("scoreLine" + (i + 1)) + "_mc"]; _local2._y = 26 * i; _local2.pos.text = i + 1; _local2.playerName.text = arrScores[i].name; _local2.score.text = arrScores[i].score; _local2.date.text = arrScores[i].date; nextScorePos = this.scoreList_mc.scoreLine_mc._height; i++; } scrolling(); } this.scoreList_mc.scoreLine_mc._visible = false; _root.objRemote.getHighScores(20); scrolling = function () { objContent = scoreList_mc; var _local5 = scrollTrack._height; var _local2 = objContent._height; var _local4 = scrollFace._height; var _local3 = maskedView._height; var initPosition = ((scrollFace._y = scrollTrack._y)); var initContentPos = objContent._y; var finalContentPos = ((_local3 - _local2) + initContentPos); var left = scrollTrack._x; var top = scrollTrack._y; var right = scrollTrack._x; var bottom = ((scrollTrack._height - _local4) + scrollTrack._y); var dy = 0; var speed = 10; var moveVal = ((_local2 - _local3) / (_local5 - _local4)); scrollFace.onPress = function () { var _local2 = this._y; startDrag (this, false, left + 1, top, right, bottom); this.onMouseMove = function () { scrollFace._x = scrollTrack._x + 1; dy = Math.abs(initPosition - this._y); objContent._y = Math.round(((dy * -1) * moveVal) + initContentPos); }; }; scrollFace.onMouseUp = function () { stopDrag(); scrollFace._x = left; delete this.onMouseMove; }; btnUp.onPress = function () { this.onEnterFrame = function () { if ((objContent._y + speed) < maskedView._y) { if (scrollFace._y <= top) { scrollFace._y = top; } else { scrollFace._y = scrollFace._y - (speed / moveVal); } objContent._y = objContent._y + speed; } else { scrollFace._y = top; objContent._y = maskedView._y; delete this.onEnterFrame; } }; }; btnUp.onDragOut = function () { delete this.onEnterFrame; }; btnUp.onRelease = function () { delete this.onEnterFrame; }; btnDown.onPress = function () { this.onEnterFrame = function () { if ((objContent._y - speed) > finalContentPos) { if (scrollFace._y >= bottom) { scrollFace._y = bottom; } else { scrollFace._y = scrollFace._y + (speed / moveVal); } objContent._y = objContent._y - speed; } else { scrollFace._y = bottom; objContent._y = finalContentPos; delete this.onEnterFrame; } }; }; btnDown.onRelease = function () { delete this.onEnterFrame; }; btnDown.onDragOut = function () { delete this.onEnterFrame; }; if (_local2 < _local3) { scrollFace._visible = false; scrollTrack._visible = false; btnUp._visible = false; btnDown._visible = false; } else { scrollFace._visible = true; scrollTrack._visible = true; btnUp._visible = true; btnDown._visible = true; } scrollTrack.onPress = function () { scrollFace._y = _ymouse; if (scrollFace._y < (btnUp._y + btnUp._height)) { scrollFace._y = btnUp._y + btnUp._height; } else if ((scrollFace._y + scrollFace._height) > btnDown._y) { scrollFace._y = btnDown._y - scrollFace._height; } dy = Math.abs(initPosition - scrollFace._y); objContent._y = Math.round(((dy * -1) * moveVal) + initContentPos); }; }; scrolling();
Symbol 393 Button
on (release) { function sendMail() { trace("Send"); if (j >= (arrSend.length - 1)) { _root.sendfriend.friend_name_1.text = ""; _root.sendfriend.friend_email_1.text = ""; _root.sendfriend.friend_name_2.text = ""; _root.sendfriend.friend_email_2.text = ""; _root.sendfriend.friend_name_3.text = ""; _root.sendfriend.friend_email_3.text = ""; _root.sendfriend.error_text.text = "Email sent! Would you like to send another?"; btn_submit._visible = true; clearInterval(k); boolSending = false; } trace(arrSend[j][1]); _root.objRemote.sendToFriend(strUserName, strUserEmail, arrSend[j][0], arrSend[j][1], _parent.intScore); arrDupe.push(strFriendEmail); j++; } if (boolSending == true) { return(false); } var intSend = 0; var j = 0; var k = 0; this.boolSubmit = true; var arrSend = []; var arrDupe = []; strUserName = user_name.text; strUserEmail = user_email.text; intUserIndexOfAt = strUserEmail.indexOf("@"); intUserLastIndexOfDot = strUserEmail.lastIndexOf("."); if (!strUserName) { this.boolSubmit = false; error_text.text = "Please enter your name"; } else if (((!strUserEmail) || (intUserIndexOfAt == -1)) || (intUserLastIndexOfDot == -1)) { this.boolSubmit = false; error_text.text = "Your email address is not valid"; } else { i = 1; while (i <= 3) { strFriendName = this["friend_name_" + i].text; strFriendEmail = this["friend_email_" + i].text; intFriendIndexOfAt = strFriendEmail.indexOf("@"); intFriendLastIndexOfDot = strFriendEmail.lastIndexOf("."); if ((strFriendName != "") || (strFriendEmail != "")) { intSend++; if (!strFriendName) { this.boolSubmit = false; error_text.text = ("Friend " + i) + " has a missing name"; break; } if (((!strFriendEmail) || (intFriendIndexOfAt == -1)) || (intFriendLastIndexOfDot == -1)) { this.boolSubmit = false; error_text.text = ("Friend " + i) + " has an invalid email address"; break; } arrSend.push([strFriendName, strFriendEmail]); } i++; } if (intSend == 0) { this.boolSubmit = false; error_text.text = "Please enter your friends' details"; } if (this.boolSubmit != false) { btn_submit._visible = false; error_text.text = "Sending, please wait..."; k = setInterval(sendMail, 400); boolSending = true; } } }
Symbol 407 Button
on (release) { if (_parent.strLastScreen == "title") { _parent.gotoAndStop("title"); } else { _parent.gotoAndStop("submit_score"); } }
Symbol 410 MovieClip Frame 1
scrolling = function () { objContent = terms_mc; var _local5 = scrollTrack._height; var _local2 = objContent._height; var _local4 = scrollFace._height; var _local3 = maskedView._height; var initPosition = ((scrollFace._y = scrollTrack._y)); var initContentPos = objContent._y; var finalContentPos = ((_local3 - _local2) + initContentPos); var left = scrollTrack._x; var top = scrollTrack._y; var right = scrollTrack._x; var bottom = ((scrollTrack._height - _local4) + scrollTrack._y); var dy = 0; var speed = 10; var moveVal = ((_local2 - _local3) / (_local5 - _local4)); scrollFace.onPress = function () { var _local2 = this._y; startDrag (this, false, left + 1, top, right, bottom); this.onMouseMove = function () { scrollFace._x = scrollTrack._x + 1; dy = Math.abs(initPosition - this._y); objContent._y = Math.round(((dy * -1) * moveVal) + initContentPos); }; }; scrollFace.onMouseUp = function () { stopDrag(); scrollFace._x = left; delete this.onMouseMove; }; btnUp.onPress = function () { this.onEnterFrame = function () { if ((objContent._y + speed) < maskedView._y) { if (scrollFace._y <= top) { scrollFace._y = top; } else { scrollFace._y = scrollFace._y - (speed / moveVal); } objContent._y = objContent._y + speed; } else { scrollFace._y = top; objContent._y = maskedView._y; delete this.onEnterFrame; } }; }; btnUp.onDragOut = function () { delete this.onEnterFrame; }; btnUp.onRelease = function () { delete this.onEnterFrame; }; btnDown.onPress = function () { this.onEnterFrame = function () { if ((objContent._y - speed) > finalContentPos) { if (scrollFace._y >= bottom) { scrollFace._y = bottom; } else { scrollFace._y = scrollFace._y + (speed / moveVal); } objContent._y = objContent._y - speed; } else { scrollFace._y = bottom; objContent._y = finalContentPos; delete this.onEnterFrame; } }; }; btnDown.onRelease = function () { delete this.onEnterFrame; }; btnDown.onDragOut = function () { delete this.onEnterFrame; }; if (_local2 < _local3) { scrollFace._visible = false; scrollTrack._visible = false; btnUp._visible = false; btnDown._visible = false; } else { scrollFace._visible = true; scrollTrack._visible = true; btnUp._visible = true; btnDown._visible = true; } scrollTrack.onPress = function () { scrollFace._y = _ymouse; if (scrollFace._y < (btnUp._y + btnUp._height)) { scrollFace._y = btnUp._y + btnUp._height; } else if ((scrollFace._y + scrollFace._height) > btnDown._y) { scrollFace._y = btnDown._y - scrollFace._height; } dy = Math.abs(initPosition - scrollFace._y); objContent._y = Math.round(((dy * -1) * moveVal) + initContentPos); }; }; scrolling();

Library Items

Symbol 1 Sound [alarm_bell]
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:6 51
Symbol 6 MovieClip [RemotingDebugClasses]Uses:5
Symbol 51 MovieClip [RemotingClasses]Uses:5
Symbol 63 GraphicUsed by:Timeline
Symbol 64 GraphicUsed by:88
Symbol 65 ShapeTweeningUsed by:87
Symbol 66 GraphicUsed by:87 154
Symbol 67 FontUsed by:68 334 356
Symbol 68 TextUses:67Used by:69
Symbol 69 MovieClipUses:68Used by:70
Symbol 70 MovieClipUses:69Used by:87
Symbol 71 GraphicUsed by:87
Symbol 72 GraphicUsed by:85 165 180 208 218 225 227 231
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:85 165
Symbol 75 GraphicUsed by:85 165
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:85 165
Symbol 78 GraphicUsed by:82
Symbol 79 GraphicUsed by:82
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:78 79 80 81Used by:85 165
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:85 208
Symbol 85 MovieClipUses:72 74 75 77 82 84Used by:87 230 298
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:65 66 70 71 85 86Used by:88
Symbol 88 MovieClipUses:64 87Used by:Timeline
Symbol 89 FontUsed by:90 91 93
Symbol 90 TextUses:89Used by:92
Symbol 91 TextUses:89Used by:92
Symbol 92 MovieClipUses:90 91Used by:Timeline
Symbol 93 TextUses:89Used by:94
Symbol 94 MovieClipUses:93Used by:95
Symbol 95 MovieClipUses:94Used by:Timeline
Symbol 411 MovieClip [__Packages.remoting.RemotingFunctions]
Symbol 412 MovieClip [__Packages.remoting.RemotingService]
Symbol 58 MovieClip [__Packages.mx.remoting.Service]
Symbol 7 MovieClip [__Packages.mx.services.Log]
Symbol 8 MovieClip [__Packages.mx.remoting.Connection]
Symbol 14 MovieClip [__Packages.mx.remoting.NetServiceProxy]
Symbol 57 MovieClip [__Packages.mx.rpc.Responder]
Symbol 56 MovieClip [__Packages.mx.rpc.FaultEvent]
Symbol 55 MovieClip [__Packages.mx.rpc.Fault]
Symbol 54 MovieClip [__Packages.mx.rpc.ResultEvent]
Symbol 13 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 37 MovieClip [__Packages.mx.remoting.debug.NetDebug]
Symbol 21 MovieClip [__Packages.mx.remoting.debug.NetDebugConfig]
Symbol 30 MovieClip [__Packages.mx.remoting.debug.GlobalLocalConnection]
Symbol 413 MovieClip [__Packages.remoting.RemotingMethod]
Symbol 414 MovieClip [__Packages.remoting.RemotingCall]
Symbol 53 MovieClip [__Packages.mx.remoting.PendingCall]
Symbol 415 MovieClip [__Packages.mx.utils.Delegate]
Symbol 61 MovieClip [__Packages.mx.rpc.RelayResponder]
Symbol 416 MovieClip [__Packages.it.sephiroth.Serializer]
Symbol 417 MovieClip [__Packages.as.md5]
Symbol 418 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 419 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 420 MovieClip [__Packages.mx.transitions.Tween]
Symbol 421 MovieClip [__Packages.mx.transitions.easing.Back]
Symbol 422 MovieClip [__Packages.mx.transitions.easing.Regular]
Symbol 2 MovieClip [__Packages.mx.remoting.DebugClasses]
Symbol 9 MovieClip [__Packages.mx.remoting.NetServices]
Symbol 10 MovieClip [__Packages.mx.data.DataRange]
Symbol 11 MovieClip [__Packages.mx.data.PageableData]
Symbol 12 MovieClip [__Packages.mx.data.PageableList]
Symbol 15 MovieClip [__Packages.mx.utils.Iterator]
Symbol 16 MovieClip [__Packages.mx.remoting.RecordSet]
Symbol 17 MovieClip [__Packages.mx.remoting.RecordSetIterator]
Symbol 18 MovieClip [__Packages.mx.remoting.RsDataRange]
Symbol 19 MovieClip [__Packages.mx.remoting.RsDataFetcher]
Symbol 20 MovieClip [__Packages.mx.remoting.NetServiceProxyResponder]
Symbol 22 MovieClip [__Packages.mx.utils.ObjectCopy]
Symbol 23 MovieClip [__Packages.mx.remoting.debug.events.NetDebug]
Symbol 24 MovieClip [__Packages.mx.remoting.debug.events.NetDebugNetConnection]
Symbol 25 MovieClip [__Packages.mx.remoting.debug.events.NetDebugConnect]
Symbol 26 MovieClip [__Packages.mx.remoting.debug.commands.Local]
Symbol 27 MovieClip [__Packages.mx.remoting.debug.commands.StartRTMPTrace]
Symbol 28 MovieClip [__Packages.mx.remoting.debug.ConnectionMixin]
Symbol 29 MovieClip [__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError]
Symbol 31 MovieClip [__Packages.mx.remoting.debug.commands.GetConfig]
Symbol 32 MovieClip [__Packages.mx.remoting.debug.events.NetDebugFailedSendError]
Symbol 33 MovieClip [__Packages.mx.remoting.debug.events.NetDebugStatus]
Symbol 34 MovieClip [__Packages.mx.remoting.debug.events.NetDebugError]
Symbol 35 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTraceNetServices]
Symbol 36 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTrace]
Symbol 38 MovieClip [__Packages.mx.remoting.debug.commands.AddRTMPClient]
Symbol 39 MovieClip [__Packages.mx.remoting.RTMPClientIDResponse]
Symbol 40 MovieClip [__Packages.mx.remoting.debug.events.NetDebugCall]
Symbol 41 MovieClip [__Packages.mx.remoting.debug.events.NetDebugResult]
Symbol 42 MovieClip [__Packages.mx.remoting.debug.events.NetDebugReceiveCall]
Symbol 43 MovieClip [__Packages.mx.remoting.debug.NetDebugResponseProxy]
Symbol 44 MovieClip [__Packages.mx.remoting.debug.events.NetDebugClose]
Symbol 45 MovieClip [__Packages.mx.remoting.debug.commands.StopRTMPTrace]
Symbol 46 MovieClip [__Packages.mx.remoting.debug.events.NetDebugAddHeader]
Symbol 47 MovieClip [__Packages.mx.remoting.debug.events.NetDebugInfoError]
Symbol 48 MovieClip [__Packages.mx.remoting.debug.events.NetDebugRtmpLog]
Symbol 49 MovieClip [__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig]
Symbol 50 MovieClip [__Packages.mx.remoting.ApiClasses]
Symbol 52 MovieClip [__Packages.mx.remoting.DataGlue]
Symbol 59 MovieClip [__Packages.mx.remoting.Operation]
Symbol 60 MovieClip [__Packages.mx.data.binding.ObjectDumper]
Symbol 62 MovieClip [__Packages.mx.rpc.DefaultResponder]
Symbol 96 GraphicUsed by:98
Symbol 97 GraphicUsed by:98 233
Symbol 98 MovieClip [tile]Uses:96 97Used by:Timeline
Symbol 99 GraphicUsed by:139
Symbol 100 GraphicUsed by:114
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:114
Symbol 103 GraphicUsed by:114
Symbol 104 FontUsed by:105
Symbol 105 TextUses:104Used by:114 293 319
Symbol 106 FontUsed by:107 295 296
Symbol 107 TextUses:106Used by:114 293 319
Symbol 108 GraphicUsed by:114 297
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:112
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:110 111Used by:114 297
Symbol 113 GraphicUsed by:114 297
Symbol 114 MovieClipUses:100 102 103 105 107 108 112 113Used by:139
Symbol 115 GraphicUsed by:139
Symbol 116 GraphicUsed by:117 119
Symbol 117 MovieClipUses:116Used by:119
Symbol 118 GraphicUsed by:119
Symbol 119 ButtonUses:117 118 116Used by:139
Symbol 120 FontUsed by:121 124 127 129 130 131 336 353 354 355 357 358 371 372 373 374 389 390 391 395 396 397 398 399 400 401 402
Symbol 121 TextUses:120Used by:139
Symbol 122 GraphicUsed by:139 184 349 366 385 403 410
Symbol 123 GraphicUsed by:133 365
Symbol 124 TextUses:120Used by:133 365
Symbol 125 FontUsed by:126 128 135 137 144 146 183 333 334 336 337 339 341 343 345 347 351 356 359 368 387 392 406
Symbol 126 TextUses:125Used by:133 365
Symbol 127 TextUses:120Used by:133 365
Symbol 128 TextUses:125Used by:133 365
Symbol 129 TextUses:120Used by:133 365
Symbol 130 TextUses:120Used by:132 364
Symbol 131 TextUses:120Used by:132 364
Symbol 132 ButtonUses:130 131Used by:133
Symbol 133 MovieClipUses:123 124 126 127 128 129 132Used by:139
Symbol 134 GraphicUsed by:136 138
Symbol 135 TextUses:125Used by:136
Symbol 136 ButtonUses:134 135Used by:139 184
Symbol 137 TextUses:125Used by:138
Symbol 138 ButtonUses:134 137Used by:139
Symbol 139 MovieClipUses:99 114 115 119 121 122 133 136 138Used by:Timeline
Symbol 140 GraphicUsed by:184 366 385 403 410
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:184 349 366 385 403 410
Symbol 143 GraphicUsed by:184
Symbol 144 TextUses:125Used by:184
Symbol 145 GraphicUsed by:147 342 344 346 348 360 361 369 393 407
Symbol 146 TextUses:125Used by:147 361 369 407
Symbol 147 ButtonUses:145 146Used by:184
Symbol 148 GraphicUsed by:154 228 259 265 275 278
Symbol 149 GraphicUsed by:154 228 253 259 265 275 278
Symbol 150 GraphicUsed by:151 264
Symbol 151 MovieClipUses:150Used by:154 228 259 275 278
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:154 160
Symbol 154 MovieClipUses:148 149 151 66 153Used by:184
Symbol 155 GraphicUsed by:160 196 256
Symbol 156 GraphicUsed by:160 196 256 283
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:160 196
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:155 156 158 159 153Used by:184
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:165
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:163Used by:165 225 269 270
Symbol 165 MovieClipUses:72 74 75 162 77 82 164Used by:184 230
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:166Used by:180 231
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:168Used by:180 218 227 231 272 273
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:180 231
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:180 218 227 231 272 273
Symbol 174 GraphicUsed by:179
Symbol 175 GraphicUsed by:177
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:175 176Used by:179 215
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:174 177 178Used by:180 231
Symbol 180 MovieClipUses:72 167 169 171 173 179Used by:184 232
Symbol 181 FontUsed by:182 183 292 308 404 408
Symbol 182 TextUses:181Used by:184
Symbol 183 TextUses:181 125Used by:184
Symbol 184 MovieClipUses:140 142 143 144 122 147 136 154 160 165 180 182 183Used by:Timeline
Symbol 185 BitmapUsed by:186
Symbol 186 GraphicUses:185Used by:328
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:328
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClipUses:189Used by:229
Symbol 191 GraphicUsed by:229
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:194
Symbol 194 MovieClipUses:193Used by:229
Symbol 195 GraphicUsed by:229
Symbol 196 MovieClipUses:155 156 158Used by:220
Symbol 197 GraphicUsed by:209
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:208 225 269 270
Symbol 200 GraphicUsed by:204
Symbol 201 GraphicUsed by:204
Symbol 202 GraphicUsed by:204
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClipUses:200 201 202 203Used by:208 225 269 270
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClipUses:205Used by:208 225 269 270
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:72 199 204 206 84 207Used by:209 230 248
Symbol 209 MovieClipUses:197 208Used by:220 257 284
Symbol 210 GraphicUsed by:219
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:218 227 272 273
Symbol 213 GraphicUsed by:215
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:213 177 214Used by:218 227 272 273
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:216Used by:218 227 272 273
Symbol 218 MovieClipUses:72 212 169 215 217 173Used by:219 232
Symbol 219 MovieClipUses:210 218Used by:220 249 257 284
Symbol 220 MovieClipUses:196 209 219Used by:229
Symbol 221 GraphicUsed by:229
Symbol 222 GraphicUsed by:225 269 270
Symbol 223 ShapeTweeningUsed by:225
Symbol 224 GraphicUsed by:225 227 270 273
Symbol 225 MovieClipUses:72 199 204 206 164 222 223 224Used by:228 253
Symbol 226 ShapeTweeningUsed by:227
Symbol 227 MovieClipUses:72 212 173 215 217 169 224 226Used by:228 253
Symbol 228 MovieClipUses:148 149 151 225 227Used by:229 261 285
Symbol 229 MovieClipUses:190 191 194 195 220 221 228Used by:286
Symbol 230 MovieClipUses:208 85 165Used by:233
Symbol 231 MovieClipUses:72 167 173 171 169 179Used by:232 298
Symbol 232 MovieClipUses:218 180 231Used by:233
Symbol 233 MovieClipUses:97 230 232Used by:286
Symbol 234 GraphicUsed by:261
Symbol 235 GraphicUsed by:246
Symbol 236 GraphicUsed by:246
Symbol 237 GraphicUsed by:242
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:240
Symbol 240 MovieClipUses:239Used by:242
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:237 240 241Used by:246
Symbol 243 GraphicUsed by:246
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:246
Symbol 246 MovieClipUses:235 236 242 243 245Used by:249
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247 208Used by:249
Symbol 249 MovieClipUses:246 248 219Used by:261
Symbol 250 GraphicUsed by:253
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:253
Symbol 253 MovieClipUses:250 149 252 225 227Used by:261
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClipUses:254Used by:256
Symbol 256 MovieClipUses:155 156 255Used by:257
Symbol 257 MovieClipUses:256 209 219Used by:261
Symbol 258 GraphicUsed by:261
Symbol 259 MovieClipUses:148 149 151Used by:261
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:234 249 228 253 257 258 259 260Used by:286
Symbol 262 GraphicUsed by:285
Symbol 263 GraphicUsed by:285
Symbol 264 MovieClipUses:150Used by:265
Symbol 265 MovieClipUses:148 149 264Used by:285
Symbol 266 GraphicUsed by:285
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:275 278
Symbol 269 MovieClipUses:199 204 206 164 222Used by:271 276
Symbol 270 MovieClipUses:199 204 206 164 222 224Used by:271 276
Symbol 271 MovieClipUses:269 270Used by:275
Symbol 272 MovieClipUses:212 173 215 217 169Used by:274 277
Symbol 273 MovieClipUses:212 173 215 217 169 224Used by:274 277
Symbol 274 MovieClipUses:272 273Used by:275
Symbol 275 MovieClipUses:148 149 151 268 271 274Used by:285
Symbol 276 MovieClipUses:269 270Used by:278
Symbol 277 MovieClipUses:272 273Used by:278
Symbol 278 MovieClipUses:148 149 151 268 276 277Used by:285
Symbol 279 GraphicUsed by:285
Symbol 280 GraphicUsed by:283
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281Used by:283
Symbol 283 MovieClipUses:280 156 282Used by:284
Symbol 284 MovieClipUses:283 209 219Used by:285
Symbol 285 MovieClipUses:262 228 263 265 266 275 278 279 284Used by:286
Symbol 286 MovieClipUses:229 233 261 285Used by:328
Symbol 287 GraphicUsed by:328
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:288Used by:290
Symbol 290 MovieClipUses:289Used by:328
Symbol 291 GraphicUsed by:298
Symbol 292 EditableTextUses:181 362Used by:298
Symbol 293 MovieClipUses:105 107Used by:298
Symbol 294 GraphicUsed by:297
Symbol 295 TextUses:106Used by:297
Symbol 296 TextUses:106Used by:297
Symbol 297 MovieClipUses:294 295 296 108 112 113Used by:298
Symbol 298 MovieClipUses:291 231 85 292 293 297Used by:328
Symbol 299 GraphicUsed by:309
Symbol 300 GraphicUsed by:303
Symbol 301 FontUsed by:302
Symbol 302 EditableTextUses:301Used by:303
Symbol 303 MovieClipUses:300 302Used by:309
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClipUses:304Used by:307
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClipUses:305 306Used by:309
Symbol 308 EditableTextUses:181Used by:309
Symbol 309 MovieClipUses:299 303 307 308Used by:328
Symbol 310 BitmapUsed by:311
Symbol 311 GraphicUses:310Used by:312
Symbol 312 MovieClipUses:311Used by:328
Symbol 313 GraphicUsed by:321
Symbol 314 GraphicUsed by:321
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:319
Symbol 317 GraphicUsed by:319
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:316 317 105 107 318Used by:321
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:313 314 319 320Used by:328
Symbol 322 SoundUsed by:327
Symbol 323 SoundUsed by:327
Symbol 324 SoundUsed by:327
Symbol 325 SoundUsed by:327
Symbol 326 SoundUsed by:327
Symbol 327 MovieClipUses:322 323 324 325 326Used by:328
Symbol 328 MovieClipUses:186 188 286 287 290 298 309 312 321 327Used by:Timeline
Symbol 329 SoundUsed by:Timeline
Symbol 330 SoundUsed by:Timeline
Symbol 331 GraphicUsed by:349
Symbol 332 GraphicUsed by:349
Symbol 333 TextUses:125Used by:349
Symbol 334 EditableTextUses:67 125Used by:349
Symbol 335 GraphicUsed by:340 370 379
Symbol 336 TextUses:120 125Used by:340
Symbol 337 TextUses:125Used by:340
Symbol 338 GraphicUsed by:340
Symbol 339 TextUses:125Used by:340
Symbol 340 MovieClipUses:335 336 337 338 339Used by:349
Symbol 341 TextUses:125Used by:342
Symbol 342 ButtonUses:145 341Used by:349
Symbol 343 TextUses:125Used by:344
Symbol 344 ButtonUses:145 343Used by:349
Symbol 345 TextUses:125Used by:346
Symbol 346 ButtonUses:145 345Used by:349
Symbol 347 TextUses:125Used by:348
Symbol 348 ButtonUses:145 347Used by:349
Symbol 349 MovieClipUses:331 142 332 333 334 340 122 342 344 346 348Used by:Timeline
Symbol 350 GraphicUsed by:366
Symbol 351 TextUses:125Used by:366
Symbol 352 GraphicUsed by:366
Symbol 353 TextUses:120Used by:366 403
Symbol 354 TextUses:120Used by:366 403
Symbol 355 TextUses:120Used by:366
Symbol 356 EditableTextUses:67 125Used by:366
Symbol 357 EditableTextUses:120Used by:366
Symbol 358 EditableTextUses:120Used by:366
Symbol 359 TextUses:125Used by:360
Symbol 360 ButtonUses:145 359Used by:366
Symbol 361 ButtonUses:145 146Used by:366 403
Symbol 362 FontUsed by:292 363 394
Symbol 363 EditableTextUses:362Used by:366
Symbol 364 ButtonUses:130 131Used by:365
Symbol 365 MovieClipUses:123 124 126 127 128 129 364Used by:366
Symbol 366 MovieClipUses:140 142 350 351 352 353 354 355 356 357 358 122 360 361 363 365Used by:Timeline
Symbol 367 GraphicUsed by:385
Symbol 368 TextUses:125Used by:385
Symbol 369 ButtonUses:145 146Used by:385
Symbol 370 MovieClipUses:335Used by:385 410
Symbol 371 EditableTextUses:120Used by:375
Symbol 372 EditableTextUses:120Used by:375
Symbol 373 EditableTextUses:120Used by:375
Symbol 374 EditableTextUses:120Used by:375
Symbol 375 MovieClipUses:371 372 373 374Used by:376
Symbol 376 MovieClipUses:375Used by:385
Symbol 377 GraphicUsed by:378
Symbol 378 MovieClipUses:377Used by:385 410
Symbol 379 ButtonUses:335Used by:380
Symbol 380 MovieClipUses:379Used by:385 410
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClipUses:381Used by:385 410
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:385 410
Symbol 385 MovieClipUses:140 142 367 368 122 369 370 376 378 380 382 384Used by:Timeline
Symbol 386 GraphicUsed by:403
Symbol 387 TextUses:125Used by:403
Symbol 388 GraphicUsed by:403
Symbol 389 TextUses:120Used by:403
Symbol 390 TextUses:120Used by:403
Symbol 391 TextUses:120Used by:403
Symbol 392 TextUses:125Used by:393
Symbol 393 ButtonUses:145 392Used by:403
Symbol 394 EditableTextUses:362Used by:403
Symbol 395 EditableTextUses:120Used by:403
Symbol 396 EditableTextUses:120Used by:403
Symbol 397 EditableTextUses:120Used by:403
Symbol 398 EditableTextUses:120Used by:403
Symbol 399 EditableTextUses:120Used by:403
Symbol 400 EditableTextUses:120Used by:403
Symbol 401 EditableTextUses:120Used by:403
Symbol 402 EditableTextUses:120Used by:403
Symbol 403 MovieClipUses:140 142 386 387 388 353 354 389 390 391 122 393 361 394 395 396 397 398 399 400 401 402Used by:Timeline
Symbol 404 TextUses:181Used by:410
Symbol 405 GraphicUsed by:410
Symbol 406 TextUses:125Used by:410
Symbol 407 ButtonUses:145 146Used by:410
Symbol 408 TextUses:181Used by:409
Symbol 409 MovieClipUses:408Used by:410
Symbol 410 MovieClipUses:404 140 142 405 406 122 407 370 409 378 380 382 384Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 88 MovieClip
"btn_sound"Frame 1Symbol 92 MovieClip
"btn_tamba"Frame 1Symbol 95 MovieClip
"leaderboard"Frame 8Symbol 385 MovieClip
"sendfriend"Frame 9Symbol 403 MovieClip
"preview"Symbol 6 MovieClip [RemotingDebugClasses] Frame 1Symbol 5 MovieClip
"preview"Symbol 51 MovieClip [RemotingClasses] Frame 1Symbol 5 MovieClip
"loading_mc"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"inner_mc"Symbol 154 MovieClip Frame 1Symbol 151 MovieClip
"inner_mc"Symbol 154 MovieClip Frame 22Symbol 151 MovieClip
"inner_mc"Symbol 154 MovieClip Frame 29Symbol 151 MovieClip
"inner_mc"Symbol 220 MovieClip Frame 1Symbol 196 MovieClip
"burglar_1"Symbol 220 MovieClip Frame 1Symbol 209 MovieClip
"burglar_2"Symbol 220 MovieClip Frame 1Symbol 219 MovieClip
"inner_mc"Symbol 228 MovieClip Frame 1Symbol 151 MovieClip
"burglar_1"Symbol 228 MovieClip Frame 1Symbol 225 MovieClip
"burglar_2"Symbol 228 MovieClip Frame 1Symbol 227 MovieClip
"entry_door_1"Symbol 229 MovieClip Frame 1Symbol 220 MovieClip
"entry_window_2"Symbol 229 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_3"Symbol 229 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_1"Symbol 229 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_4"Symbol 229 MovieClip Frame 1Symbol 228 MovieClip
"inner_mc"Symbol 230 MovieClip Frame 1Symbol 208 MovieClip
"inner_mc"Symbol 230 MovieClip Frame 2Symbol 85 MovieClip
"inner_mc"Symbol 230 MovieClip Frame 3Symbol 165 MovieClip
"inner_mc"Symbol 230 MovieClip Frame 4Symbol 208 MovieClip
"inner_mc"Symbol 232 MovieClip Frame 1Symbol 218 MovieClip
"inner_mc"Symbol 232 MovieClip Frame 2Symbol 180 MovieClip
"inner_mc"Symbol 232 MovieClip Frame 3Symbol 231 MovieClip
"inner_mc"Symbol 232 MovieClip Frame 4Symbol 218 MovieClip
"burglar_1"Symbol 233 MovieClip Frame 1Symbol 230 MovieClip
"burglar_2"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"inner_mc"Symbol 249 MovieClip Frame 1Symbol 246 MovieClip
"burglar_1"Symbol 249 MovieClip Frame 1Symbol 248 MovieClip
"burglar_2"Symbol 249 MovieClip Frame 1Symbol 219 MovieClip
"inner_mc"Symbol 253 MovieClip Frame 1Symbol 252 MovieClip
"burglar_1"Symbol 253 MovieClip Frame 1Symbol 225 MovieClip
"burglar_2"Symbol 253 MovieClip Frame 1Symbol 227 MovieClip
"inner_mc"Symbol 257 MovieClip Frame 1Symbol 256 MovieClip
"burglar_1"Symbol 257 MovieClip Frame 1Symbol 209 MovieClip
"burglar_2"Symbol 257 MovieClip Frame 1Symbol 219 MovieClip
"inner_mc"Symbol 259 MovieClip Frame 1Symbol 151 MovieClip
"entry_door_1"Symbol 261 MovieClip Frame 1Symbol 249 MovieClip
"entry_window_2"Symbol 261 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_1"Symbol 261 MovieClip Frame 1Symbol 253 MovieClip
"entry_window_3"Symbol 261 MovieClip Frame 1Symbol 228 MovieClip
"entry_door_2"Symbol 261 MovieClip Frame 1Symbol 257 MovieClip
"burglar_2"Symbol 271 MovieClip Frame 11Symbol 270 MovieClip
"burglar_2"Symbol 274 MovieClip Frame 11Symbol 273 MovieClip
"inner_mc"Symbol 275 MovieClip Frame 1Symbol 151 MovieClip
"burglar_1"Symbol 275 MovieClip Frame 1Symbol 271 MovieClip
"burglar_2"Symbol 275 MovieClip Frame 1Symbol 274 MovieClip
"burglar_2"Symbol 276 MovieClip Frame 11Symbol 270 MovieClip
"burglar_2"Symbol 277 MovieClip Frame 11Symbol 273 MovieClip
"inner_mc"Symbol 278 MovieClip Frame 1Symbol 151 MovieClip
"burglar_1"Symbol 278 MovieClip Frame 1Symbol 276 MovieClip
"burglar_2"Symbol 278 MovieClip Frame 1Symbol 277 MovieClip
"inner_mc"Symbol 284 MovieClip Frame 1Symbol 283 MovieClip
"burglar_1"Symbol 284 MovieClip Frame 1Symbol 209 MovieClip
"burglar_2"Symbol 284 MovieClip Frame 1Symbol 219 MovieClip
"entry_window_9"Symbol 285 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_7"Symbol 285 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_6"Symbol 285 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_2"Symbol 285 MovieClip Frame 1Symbol 275 MovieClip
"entry_window_5"Symbol 285 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_4"Symbol 285 MovieClip Frame 1Symbol 228 MovieClip
"entry_window_1"Symbol 285 MovieClip Frame 1Symbol 275 MovieClip
"entry_window_3"Symbol 285 MovieClip Frame 1Symbol 278 MovieClip
"entry_window_8"Symbol 285 MovieClip Frame 1Symbol 228 MovieClip
"entry_door_1"Symbol 285 MovieClip Frame 1Symbol 284 MovieClip
"house"Symbol 286 MovieClip Frame 1Symbol 229 MovieClip
"grid_mc"Symbol 286 MovieClip Frame 1Symbol 233 MovieClip
"house"Symbol 286 MovieClip Frame 2Symbol 261 MovieClip
"house"Symbol 286 MovieClip Frame 3Symbol 285 MovieClip
"b1"Symbol 298 MovieClip Frame 1Symbol 231 MovieClip
"b2"Symbol 298 MovieClip Frame 1Symbol 85 MovieClip
"txt_level"Symbol 298 MovieClip Frame 1Symbol 292 EditableText
"timer"Symbol 309 MovieClip Frame 1Symbol 303 MovieClip
"life_3"Symbol 309 MovieClip Frame 1Symbol 307 MovieClip
"life_2"Symbol 309 MovieClip Frame 1Symbol 307 MovieClip
"life_1"Symbol 309 MovieClip Frame 1Symbol 307 MovieClip
"houses_mc"Symbol 328 MovieClip Frame 1Symbol 286 MovieClip
"police_mc"Symbol 328 MovieClip Frame 1Symbol 290 MovieClip
"inter_mc"Symbol 328 MovieClip Frame 1Symbol 298 MovieClip
"hud_mc"Symbol 328 MovieClip Frame 1Symbol 309 MovieClip
"sfx_mc"Symbol 328 MovieClip Frame 1Symbol 327 MovieClip
"txt_score"Symbol 349 MovieClip Frame 1Symbol 334 EditableText
"txt_score"Symbol 366 MovieClip Frame 1Symbol 356 EditableText
"user_name"Symbol 366 MovieClip Frame 1Symbol 357 EditableText
"user_email"Symbol 366 MovieClip Frame 1Symbol 358 EditableText
"btn_submit"Symbol 366 MovieClip Frame 1Symbol 360 Button
"error_text"Symbol 366 MovieClip Frame 1Symbol 363 EditableText
"playerName"Symbol 375 MovieClip Frame 1Symbol 371 EditableText
"score"Symbol 375 MovieClip Frame 1Symbol 372 EditableText
"pos"Symbol 375 MovieClip Frame 1Symbol 373 EditableText
"date"Symbol 375 MovieClip Frame 1Symbol 374 EditableText
"scoreLine_mc"Symbol 376 MovieClip Frame 1Symbol 375 MovieClip
"maskedView"Symbol 385 MovieClip Frame 1Symbol 370 MovieClip
"scoreList_mc"Symbol 385 MovieClip Frame 1Symbol 376 MovieClip
"scrollTrack"Symbol 385 MovieClip Frame 1Symbol 378 MovieClip
"scrollFace"Symbol 385 MovieClip Frame 1Symbol 380 MovieClip
"btnUp"Symbol 385 MovieClip Frame 1Symbol 382 MovieClip
"btnDown"Symbol 385 MovieClip Frame 1Symbol 384 MovieClip
"btn_submit"Symbol 403 MovieClip Frame 1Symbol 393 Button
"error_text"Symbol 403 MovieClip Frame 1Symbol 394 EditableText
"user_name"Symbol 403 MovieClip Frame 1Symbol 395 EditableText
"user_email"Symbol 403 MovieClip Frame 1Symbol 396 EditableText
"friend_name_1"Symbol 403 MovieClip Frame 1Symbol 397 EditableText
"friend_email_1"Symbol 403 MovieClip Frame 1Symbol 398 EditableText
"friend_name_2"Symbol 403 MovieClip Frame 1Symbol 399 EditableText
"friend_email_2"Symbol 403 MovieClip Frame 1Symbol 400 EditableText
"friend_name_3"Symbol 403 MovieClip Frame 1Symbol 401 EditableText
"friend_email_3"Symbol 403 MovieClip Frame 1Symbol 402 EditableText
"maskedView"Symbol 410 MovieClip Frame 1Symbol 370 MovieClip
"terms_mc"Symbol 410 MovieClip Frame 1Symbol 409 MovieClip
"scrollTrack"Symbol 410 MovieClip Frame 1Symbol 378 MovieClip
"scrollFace"Symbol 410 MovieClip Frame 1Symbol 380 MovieClip
"btnUp"Symbol 410 MovieClip Frame 1Symbol 382 MovieClip
"btnDown"Symbol 410 MovieClip Frame 1Symbol 384 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "alarm_bell"
ExportAssets (56)Timeline Frame 1Symbol 6 as "RemotingDebugClasses"
ExportAssets (56)Timeline Frame 1Symbol 51 as "RemotingClasses"
ExportAssets (56)Timeline Frame 1Symbol 411 as "__Packages.remoting.RemotingFunctions"
ExportAssets (56)Timeline Frame 1Symbol 412 as "__Packages.remoting.RemotingService"
ExportAssets (56)Timeline Frame 1Symbol 58 as "__Packages.mx.remoting.Service"
ExportAssets (56)Timeline Frame 1Symbol 7 as "__Packages.mx.services.Log"
ExportAssets (56)Timeline Frame 1Symbol 8 as "__Packages.mx.remoting.Connection"
ExportAssets (56)Timeline Frame 1Symbol 14 as "__Packages.mx.remoting.NetServiceProxy"
ExportAssets (56)Timeline Frame 1Symbol 57 as "__Packages.mx.rpc.Responder"
ExportAssets (56)Timeline Frame 1Symbol 56 as "__Packages.mx.rpc.FaultEvent"
ExportAssets (56)Timeline Frame 1Symbol 55 as "__Packages.mx.rpc.Fault"
ExportAssets (56)Timeline Frame 1Symbol 54 as "__Packages.mx.rpc.ResultEvent"
ExportAssets (56)Timeline Frame 1Symbol 13 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 37 as "__Packages.mx.remoting.debug.NetDebug"
ExportAssets (56)Timeline Frame 1Symbol 21 as "__Packages.mx.remoting.debug.NetDebugConfig"
ExportAssets (56)Timeline Frame 1Symbol 30 as "__Packages.mx.remoting.debug.GlobalLocalConnection"
ExportAssets (56)Timeline Frame 1Symbol 413 as "__Packages.remoting.RemotingMethod"
ExportAssets (56)Timeline Frame 1Symbol 414 as "__Packages.remoting.RemotingCall"
ExportAssets (56)Timeline Frame 1Symbol 53 as "__Packages.mx.remoting.PendingCall"
ExportAssets (56)Timeline Frame 1Symbol 415 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 61 as "__Packages.mx.rpc.RelayResponder"
ExportAssets (56)Timeline Frame 1Symbol 416 as "__Packages.it.sephiroth.Serializer"
ExportAssets (56)Timeline Frame 1Symbol 417 as "__Packages.as.md5"
ExportAssets (56)Timeline Frame 1Symbol 418 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 419 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 420 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 421 as "__Packages.mx.transitions.easing.Back"
ExportAssets (56)Timeline Frame 1Symbol 422 as "__Packages.mx.transitions.easing.Regular"
ExportAssets (56)Timeline Frame 1Symbol 2 as "__Packages.mx.remoting.DebugClasses"
ExportAssets (56)Timeline Frame 1Symbol 9 as "__Packages.mx.remoting.NetServices"
ExportAssets (56)Timeline Frame 1Symbol 10 as "__Packages.mx.data.DataRange"
ExportAssets (56)Timeline Frame 1Symbol 11 as "__Packages.mx.data.PageableData"
ExportAssets (56)Timeline Frame 1Symbol 12 as "__Packages.mx.data.PageableList"
ExportAssets (56)Timeline Frame 1Symbol 15 as "__Packages.mx.utils.Iterator"
ExportAssets (56)Timeline Frame 1Symbol 16 as "__Packages.mx.remoting.RecordSet"
ExportAssets (56)Timeline Frame 1Symbol 17 as "__Packages.mx.remoting.RecordSetIterator"
ExportAssets (56)Timeline Frame 1Symbol 18 as "__Packages.mx.remoting.RsDataRange"
ExportAssets (56)Timeline Frame 1Symbol 19 as "__Packages.mx.remoting.RsDataFetcher"
ExportAssets (56)Timeline Frame 1Symbol 20 as "__Packages.mx.remoting.NetServiceProxyResponder"
ExportAssets (56)Timeline Frame 1Symbol 22 as "__Packages.mx.utils.ObjectCopy"
ExportAssets (56)Timeline Frame 1Symbol 23 as "__Packages.mx.remoting.debug.events.NetDebug"
ExportAssets (56)Timeline Frame 1Symbol 24 as "__Packages.mx.remoting.debug.events.NetDebugNetConnection"
ExportAssets (56)Timeline Frame 1Symbol 25 as "__Packages.mx.remoting.debug.events.NetDebugConnect"
ExportAssets (56)Timeline Frame 1Symbol 26 as "__Packages.mx.remoting.debug.commands.Local"
ExportAssets (56)Timeline Frame 1Symbol 27 as "__Packages.mx.remoting.debug.commands.StartRTMPTrace"
ExportAssets (56)Timeline Frame 1Symbol 28 as "__Packages.mx.remoting.debug.ConnectionMixin"
ExportAssets (56)Timeline Frame 1Symbol 29 as "__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError"
ExportAssets (56)Timeline Frame 1Symbol 31 as "__Packages.mx.remoting.debug.commands.GetConfig"
ExportAssets (56)Timeline Frame 1Symbol 32 as "__Packages.mx.remoting.debug.events.NetDebugFailedSendError"
ExportAssets (56)Timeline Frame 1Symbol 33 as "__Packages.mx.remoting.debug.events.NetDebugStatus"
ExportAssets (56)Timeline Frame 1Symbol 34 as "__Packages.mx.remoting.debug.events.NetDebugError"
ExportAssets (56)Timeline Frame 1Symbol 35 as "__Packages.mx.remoting.debug.events.NetDebugTraceNetServices"
ExportAssets (56)Timeline Frame 1Symbol 36 as "__Packages.mx.remoting.debug.events.NetDebugTrace"
ExportAssets (56)Timeline Frame 1Symbol 38 as "__Packages.mx.remoting.debug.commands.AddRTMPClient"
ExportAssets (56)Timeline Frame 1Symbol 39 as "__Packages.mx.remoting.RTMPClientIDResponse"
ExportAssets (56)Timeline Frame 1Symbol 40 as "__Packages.mx.remoting.debug.events.NetDebugCall"
ExportAssets (56)Timeline Frame 1Symbol 41 as "__Packages.mx.remoting.debug.events.NetDebugResult"
ExportAssets (56)Timeline Frame 1Symbol 42 as "__Packages.mx.remoting.debug.events.NetDebugReceiveCall"
ExportAssets (56)Timeline Frame 1Symbol 43 as "__Packages.mx.remoting.debug.NetDebugResponseProxy"
ExportAssets (56)Timeline Frame 1Symbol 44 as "__Packages.mx.remoting.debug.events.NetDebugClose"
ExportAssets (56)Timeline Frame 1Symbol 45 as "__Packages.mx.remoting.debug.commands.StopRTMPTrace"
ExportAssets (56)Timeline Frame 1Symbol 46 as "__Packages.mx.remoting.debug.events.NetDebugAddHeader"
ExportAssets (56)Timeline Frame 1Symbol 47 as "__Packages.mx.remoting.debug.events.NetDebugInfoError"
ExportAssets (56)Timeline Frame 1Symbol 48 as "__Packages.mx.remoting.debug.events.NetDebugRtmpLog"
ExportAssets (56)Timeline Frame 1Symbol 49 as "__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig"
ExportAssets (56)Timeline Frame 1Symbol 50 as "__Packages.mx.remoting.ApiClasses"
ExportAssets (56)Timeline Frame 1Symbol 52 as "__Packages.mx.remoting.DataGlue"
ExportAssets (56)Timeline Frame 1Symbol 59 as "__Packages.mx.remoting.Operation"
ExportAssets (56)Timeline Frame 1Symbol 60 as "__Packages.mx.data.binding.ObjectDumper"
ExportAssets (56)Timeline Frame 1Symbol 62 as "__Packages.mx.rpc.DefaultResponder"
ExportAssets (56)Timeline Frame 2Symbol 98 as "tile"

Labels

"preloader"Frame 1
"assets"Frame 2
"title"Frame 3
"instructions"Frame 4
"game"Frame 5
"gameover"Frame 6
"submit_score"Frame 7
"leaderboard"Frame 8
"send_friend"Frame 9
"terms"Frame 10
"title_music"Frame 11
"gameover_music"Frame 12
"RIGHT"Symbol 230 MovieClip Frame 1
"DOWN"Symbol 230 MovieClip Frame 2
"LEFT"Symbol 230 MovieClip Frame 3
"UP"Symbol 230 MovieClip Frame 4
"RIGHT"Symbol 232 MovieClip Frame 1
"DOWN"Symbol 232 MovieClip Frame 2
"LEFT"Symbol 232 MovieClip Frame 3
"UP"Symbol 232 MovieClip Frame 4
"slam"Symbol 327 MovieClip Frame 2
"door_creak"Symbol 327 MovieClip Frame 3
"window_shut"Symbol 327 MovieClip Frame 4
"window_open"Symbol 327 MovieClip Frame 5
"police_siren"Symbol 327 MovieClip Frame 6

Dynamic Text Variables

_parent._parent.strTimerSymbol 302 EditableText"01:59"
_parent.intScoreTSymbol 308 EditableText"9999"




http://swfchan.com/10/47702/info.shtml
Created: 1/5 -2019 08:15:43 Last modified: 1/5 -2019 08:15:43 Server time: 15/05 -2024 19:48:35