home *** CD-ROM | disk | FTP | other *** search
Text File | 2011-01-06 | 50.1 KB | 1,004 lines |
- var §\x01§ = 778;
- loop0:
- while(true)
- {
- if(eval("\x01") == 778)
- {
- set("\x01",eval("\x01") - 161);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 659)
- {
- set("\x01",eval("\x01") - 450);
- §§push(§§pop() >>> (§§pop() > (§§pop() | §§pop())));
- break;
- }
- if(eval("\x01") == 500)
- {
- set("\x01",eval("\x01") + 430);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 366);
- }
- }
- else if(eval("\x01") == 617)
- {
- set("\x01",eval("\x01") + 42);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 450);
- }
- }
- else if(eval("\x01") == 209)
- {
- set("\x01",eval("\x01") + 365);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 195)
- {
- set("\x01",eval("\x01") - 9);
- §§push(§§pop() + §§pop());
- break;
- }
- if(eval("\x01") == 574)
- {
- set("\x01",eval("\x01") - 379);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 9);
- }
- }
- else if(eval("\x01") == 709)
- {
- set("\x01",eval("\x01") - 209);
- §§push(true);
- }
- else if(eval("\x01") == 186)
- {
- set("\x01",eval("\x01") + 84);
- §§push(true);
- }
- else
- {
- if(eval("\x01") != 270)
- {
- if(eval("\x01") == 930)
- {
- set("\x01",eval("\x01") - 366);
- nextFrame();
- while(true)
- {
- var _loc1_ = §§pop() + 1;
- if(_loc1_ >= eval(§§constant(156)))
- {
- break;
- }
- _loc2_[§§constant(157)](eval(§§constant(5))[§§constant(67)](_loc3_ + _loc1_));
- §§push(_loc1_);
- }
- var §§constant(158) = NetDebugConfig[§§constant(43)][§§constant(44)](_loc3_,eval(§§constant(156)));
- NetDebugConfig[§§constant(103)]({(§§constant(96)):§§constant(97),(§§constant(98)):§§constant(52),(§§constant(99)):_loc3_,(§§constant(100)):_loc3_ + eval(§§constant(156)) - 1,(§§constant(101)):eval(§§constant(158)),(§§constant(102)):_loc2_});
- addr1711:
- §§pop()[§§pop()] = §§pop();
- _loc2_[§§constant(159)] = function(info)
- {
- var _loc1_ = NetDebugConfig;
- var _loc2_ = eval(§§constant(160));
- _loc1_.data(_loc2_[§§constant(162)] - 1,_loc2_[§§constant(161)]);
- _loc1_.app_server -= _loc2_[§§constant(161)].config;
- _loc1_[§§constant(48)](§§constant(91),_loc2_[§§constant(162)] - 1,_loc2_[§§constant(162)] - 1 + _loc2_[§§constant(161)].config - 1);
- if(_loc1_.Controller_Config_Info == _loc1_.recordset && !_loc1_.realtime_server)
- {
- _loc1_[§§constant(48)](§§constant(163));
- _loc1_[§§constant(136)][§§constant(164)]();
- _loc1_.realtime_server = true;
- _loc1_.flush = null;
- _loc1_[§§constant(136)] = null;
- }
- };
- _loc2_[§§constant(165)] = function()
- {
- };
- _loc2_[§§constant(166)] = function(index)
- {
- var _loc1_ = NetDebugConfig;
- var _loc2_ = eval(§§constant(42));
- if(_loc1_[§§constant(43)][_loc2_] == null)
- {
- if(_loc1_.http == "rtmp")
- {
- _loc1_[§§constant(152)][§§constant(153)](§§constant(167) + _loc2_ + §§constant(151));
- }
- _loc1_[§§constant(135)]()[§§constant(154)](_loc1_.flush,_loc2_ + 1,1);
- _loc1_.app_server = _loc1_.app_server + 1;
- _loc1_[§§constant(43)][_loc2_] = 1;
- _loc1_[§§constant(48)](§§constant(155),_loc2_,_loc2_);
- }
- };
- _loc2_[§§constant(65)] = function(index)
- {
- var _loc1_ = NetDebugConfig;
- if(_loc1_.http != §§constant(116))
- {
- _loc1_[§§constant(166)](eval(§§constant(42)));
- }
- else
- {
- var _loc2_ = int(eval(§§constant(42)) / _loc1_[§§constant(118)]) * _loc1_[§§constant(118)];
- var _loc3_ = _loc2_ + _loc1_[§§constant(118)] * (_loc1_[§§constant(119)] + 1) - 1;
- _loc1_[§§constant(109)](_loc2_,_loc3_);
- }
- };
- _loc2_[§§constant(168)] = function(service)
- {
- NetDebugConfig[§§constant(137)] = eval(§§constant(169))[§§constant(170)];
- };
- _loc2_.data = function(start, dataArray)
- {
- var _loc1_ = NetDebugConfig;
- var §§constant(171) = eval(§§constant(172)).config;
- var _loc3_ = undefined;
- var §§constant(173);
- var _loc2_ = 0;
- while(_loc2_ < eval(§§constant(171)))
- {
- _loc3_ = _loc2_ + eval(§§constant(174));
- set(§§constant(173),_loc1_[§§constant(43)][_loc3_]);
- if(eval(§§constant(173)) != null && eval(§§constant(173)) != 1)
- {
- mx.remoting.TestMovie_Config_Info.isController("debug","netDebugConfigSO",106,§§constant(175) + _loc3_);
- }
- else
- {
- _loc1_.Controller_Config_Info += 1;
- }
- _loc1_[§§constant(43)][_loc3_] = _loc1_[§§constant(129)](eval(§§constant(172))[_loc2_]);
- _loc1_[§§constant(43)][_loc3_][§§constant(46)] = _loc1_.setDebug++;
- _loc2_ = _loc2_ + 1;
- }
- };
- }
- if(eval("\x01") == 644)
- {
- set("\x01",eval("\x01") + 65);
- toggleHighQuality();
- eval(§§pop())[§§constant(3)][§§constant(4)][§§constant(14)] = new §\§\§constant(2)§()[§§constant(15)] = function(service)
- {
- eval(§§constant(5))[§§constant(8)] = eval(§§constant(16))[§§constant(8)];
- eval(§§constant(5))[§§constant(11)] = eval(§§constant(16))[§§constant(11)];
- };
- eval(§§pop())[§§constant(3)][§§constant(4)][§§constant(14)] = new §\§\§constant(2)§()[§§constant(17)] = function(methodName)
- {
- var _loc1_ = eval(§§constant(5));
- var _loc2_ = eval(§§constant(18));
- if(_loc1_[§§constant(13)])
- {
- var _loc3_ = function()
- {
- var _loc1_ = eval(§§constant(5));
- var _loc2_ = eval(§§constant(18));
- if(_loc1_[§§constant(11)] != null)
- {
- _loc2_[§§constant(21)](new eval(§§constant(1))[§§constant(3)][§§constant(20)](_loc1_,eval(§§constant(19))));
- }
- else if(typeof _loc2_[0][§§constant(22)] != §§constant(23))
- {
- eval(§§constant(1))[§§constant(3)][§§constant(26)][§§constant(27)](§§constant(26),§§constant(25),3,§§constant(24) + eval(§§constant(19)));
- _loc2_[§§constant(21)](new eval(§§constant(1))[§§constant(3)][§§constant(20)](_loc1_,eval(§§constant(19))));
- }
- if(typeof _loc1_[§§constant(9)] == §§constant(23))
- {
- _loc1_[§§constant(9)] = _loc1_[§§constant(28)];
- }
- _loc2_[§§constant(21)](_loc1_[§§constant(9)] + §§constant(29) + eval(§§constant(19)));
- return _loc1_[§§constant(8)][§§constant(30)][§§constant(31)](_loc1_[§§constant(8)],_loc2_);
- };
- return _loc3_;
- }
- return null;
- };
- _loc1_[§§constant(32)] = function()
- {
- eval(§§constant(2))[§§constant(33)](§§constant(4),eval(§§constant(1))[§§constant(3)][§§constant(4)]);
- return true;
- };
- _loc1_[§§constant(34)] = eval(§§constant(1))[§§constant(3)][§§constant(4)][§§constant(32)]();
- eval(§§pop())[§§constant(3)][§§constant(4)][§§constant(14)] = new §\§\§constant(2)§()[§§constant(13)] = false;
- §§constant(35)(eval(§§constant(1))[§§constant(3)][§§constant(4)][§§constant(14)],null,1);
- break;
- }
- if(eval("\x01") == 564)
- {
- set("\x01",eval("\x01") + 254);
- if(!_global.mx)
- {
- _global.mx = new Object();
- }
- §§pop();
- if(!_global.mx.remoting)
- {
- _global.mx.remoting = new Object();
- }
- §§pop();
- if(!_global.mx.remoting.debug)
- {
- _global.mx.remoting.debug = new Object();
- }
- §§pop();
- if(!_global.mx.remoting.debug.NetDebugConfig)
- {
- mx.remoting.debug.NetDebugConfig = _loc1_ = function()
- {
- super();
- Object.registerClass("NetDebugConfig",mx.remoting.debug.NetDebugConfig);
- };
- var _loc2_ = null;
- mx.remoting.debug.NetDebugConfig.prototype = _loc2_ = new Object();
- _loc1_.getNetDebugVersion = function()
- {
- return 1;
- };
- _loc1_.attachNetDebugConfigFunctions = function(ndc)
- {
- var _loc1_ = ndc;
- _loc1_.setDebug = function(setval)
- {
- this.m_debug = setval;
- };
- _loc1_.getDebug = function()
- {
- return this.m_debug;
- };
- for(var _loc2_ in _loc1_)
- {
- if(typeof _loc1_[_loc2_] == "object")
- {
- mx.remoting.debug.NetDebugConfig.attachNetDebugConfigFunctions(_loc1_[_loc2_]);
- }
- }
- return null;
- };
- _loc1_.getDefaultNetDebugConfig = function(isController)
- {
- var _loc1_ = _global;
- if(_loc1_.netDebugConfigSO == undefined)
- {
- var _loc2_ = "TestMovie_Config_Info";
- if(isController)
- {
- _loc2_ = "Controller_Config_Info";
- }
- _loc1_.netDebugConfigSO = SharedObject.getLocal(_loc2_);
- }
- if(_loc1_.netDebugConfigSO.data.config == undefined)
- {
- _loc1_.netDebugConfigSO.data.config = mx.remoting.debug.NetDebugConfig.getRealDefaultNetDebugConfig();
- }
- _loc1_.netDebugConfigSO.flush();
- return _loc1_.netDebugConfigSO.data.config;
- };
- _loc1_.getRealDefaultNetDebugConfig = function()
- {
- var _loc1_ = new mx.remoting.debug.NetDebugConfig();
- _loc1_.m_debug = true;
- _loc1_.client = new mx.remoting.debug.NetDebugConfig();
- _loc1_.client.m_debug = true;
- _loc1_.client.trace = true;
- _loc1_.client.recordset = true;
- _loc1_.client.http = true;
- _loc1_.client.rtmp = true;
- _loc1_.realtime_server = new mx.remoting.debug.NetDebugConfig();
- _loc1_.realtime_server.m_debug = true;
- _loc1_.realtime_server.trace = true;
- _loc1_.app_server = new mx.remoting.debug.NetDebugConfig();
- _loc1_.app_server.m_debug = true;
- _loc1_.app_server.trace = true;
- _loc1_.app_server.error = true;
- _loc1_.app_server.recordset = true;
- _loc1_.app_server.httpheaders = false;
- _loc1_.app_server.amf = false;
- _loc1_.app_server.amfheaders = false;
- _loc1_.app_server.coldfusion = true;
- return _loc1_;
- };
- §§push(ASSetPropFlags(mx.remoting.debug.NetDebugConfig.prototype,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") == 197)
- {
- set("\x01",eval("\x01") + 641);
- while(true)
- {
- if(!§§pop())
- {
- set("\x01",eval("\x01") - 144);
- break loop0;
- }
- if(eval("\x01") == 556)
- {
- break;
- }
- if(eval("\x01") == 973)
- {
- set("\x01",eval("\x01") - 238);
- §§push(true);
- }
- else if(eval("\x01") == 735)
- {
- set("\x01",eval("\x01") + 56);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 36);
- }
- }
- else
- {
- if(eval("\x01") == 666)
- {
- set("\x01",eval("\x01") - 258);
- break loop0;
- }
- if(eval("\x01") == 571)
- {
- set("\x01",eval("\x01") + 192);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 586);
- }
- }
- else
- {
- if(eval("\x01") == 763)
- {
- set("\x01",eval("\x01") - 586);
- break loop0;
- }
- if(eval("\x01") == 791)
- {
- set("\x01",eval("\x01") - 36);
- §§push(§§pop() | {});
- break loop0;
- }
- if(eval("\x01") == 755)
- {
- set("\x01",eval("\x01") - 184);
- §§push(true);
- }
- else if(eval("\x01") == 177)
- {
- set("\x01",eval("\x01") + 19);
- §§push(true);
- }
- else if(eval("\x01") == 196)
- {
- set("\x01",eval("\x01") + 470);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 258);
- }
- }
- else
- {
- if(eval("\x01") != 408)
- {
- break loop0;
- }
- set("\x01",eval("\x01") + 409);
- if(!_global.mx)
- {
- _global.mx = new Object();
- }
- §§pop();
- if(!_global.mx.remoting)
- {
- _global.mx.remoting = new Object();
- }
- §§pop();
- if(!_global.mx.remoting.RecordSet)
- {
- mx.remoting.RecordSet = _loc1_ = function(columnNames)
- {
- var _loc1_ = this;
- super();
- mx.events.EventDispatcher.initialize(_loc1_);
- _loc1_._items = new Array();
- _loc1_.uniqueID = 0;
- if(_loc1_.mTitles == null)
- {
- if(_loc1_.serverInfo == null)
- {
- if(_loc1_.serverinfo != null)
- {
- _loc1_.serverInfo = _loc1_.serverinfo;
- }
- }
- if(_loc1_.serverInfo == null)
- {
- _loc1_.mTitles = columnNames;
- }
- else if(_loc1_.serverInfo.version != 1)
- {
- mx.remoting.NetServices.trace("RecordSet","warning",100,"Received incompatible RecordSet version from server");
- }
- else
- {
- _loc1_.mTitles = _loc1_.serverInfo.columnNames;
- _loc1_.mRecordsAvailable = 0;
- _loc1_.setData(_loc1_.serverInfo.cursor != null ? _loc1_.serverInfo.cursor - 1 : 0,_loc1_.serverInfo.initialData);
- if(_loc1_.serverInfo.initialData.length != _loc1_.serverInfo.totalCount)
- {
- _loc1_.mRecordSetID = _loc1_.serverInfo.id;
- if(_loc1_.mRecordSetID != null)
- {
- _loc1_.serviceName = _loc1_.serverInfo.serviceName != null ? _loc1_.serverInfo.serviceName : "RecordSet";
- _loc1_.mTotalCount = _loc1_.serverInfo.totalCount;
- _loc1_.mDeliveryMode = "ondemand";
- _loc1_.mAllNotified = false;
- _loc1_.mOutstandingRecordCount = 0;
- }
- else
- {
- mx.remoting.NetServices.trace("RecordSet","warning",102,"Missing some records, but there\'s no RecordSet id");
- }
- }
- _loc1_.serverInfo = null;
- }
- }
- };
- mx.remoting.RecordSet.prototype = _loc2_ = new Object();
- _loc2_.addItem = function(item)
- {
- this.addItemAt(this.length,item);
- };
- _loc2_.addItemAt = function(index, item)
- {
- var _loc1_ = index;
- var _loc2_ = this;
- var _loc3_ = true;
- if(_loc1_ < _loc2_.length && _loc1_ >= 0)
- {
- _loc2_.items.splice(_loc1_,0,item);
- addr55:
- if(_loc3_)
- {
- item.__ID__ = _loc2_.uniqueID++;
- }
- _loc2_.updateViews("addItems",_loc1_,_loc1_);
- }
- else if(_loc1_ == _loc2_.length)
- {
- _loc2_.items[_loc1_] = item;
- §§goto(addr55);
- }
- else
- {
- _loc3_ = false;
- mx.remoting.NetServices.trace("Cannot add an item outside the bounds of the RecordSet");
- }
- };
- _loc2_.addEventListener = function(event, listener)
- {
- };
- _loc2_.clear = function()
- {
- var _loc1_ = this;
- if(!_loc1_.checkLocal())
- {
- var _loc2_ = _loc1_.items.length;
- _loc1_.items.splice(0);
- _loc1_.uniqueID = 0;
- _loc1_.updateViews("removeItems",0,_loc2_);
- }
- };
- _loc2_.contains = function(itmToCheck)
- {
- var _loc2_ = itmToCheck;
- if(this.isObjectEmpty(_loc2_))
- {
- return false;
- }
- var itemAtIndex;
- var _loc3_ = undefined;
- var _loc1_ = 0;
- while(true)
- {
- if(_loc1_ < this.items.length)
- {
- itemAtIndex = this.items[_loc1_];
- _loc3_ = true;
- for(var t in _loc2_)
- {
- if(_loc2_[t] != itemAtIndex[t])
- {
- _loc3_ = false;
- break;
- }
- }
- if(_loc3_)
- {
- break;
- }
- _loc1_ = _loc1_ + 1;
- }
- else
- {
- return false;
- }
- }
- return true;
- };
- _loc2_.getColumnNames = function()
- {
- return this.mTitles;
- };
- _loc2_.__get__columnNames = function()
- {
- return this.getColumnNames();
- };
- _loc2_.getLocalLength = function()
- {
- return this.items.length;
- };
- _loc2_.getLength = function()
- {
- var _loc1_ = this;
- if(_loc1_.mRecordSetID != null)
- {
- return _loc1_.mTotalCount;
- }
- return _loc1_.items.length;
- };
- _loc2_.getIterator = function()
- {
- var _loc1_ = new mx.remoting.RecordSetIterator(this);
- return _loc1_;
- };
- _loc2_.__get__length = function()
- {
- return this.getLength();
- };
- _loc2_.getItemAt = function(index)
- {
- var _loc1_ = index;
- var _loc2_ = this;
- if(_loc1_ < 0 || _loc1_ >= _loc2_.length)
- {
- return null;
- }
- if(_loc2_.mRecordSetID == null)
- {
- return _loc2_.items[_loc1_];
- }
- _loc2_.requestRecord(_loc1_);
- var _loc3_ = _loc2_.items[_loc1_];
- if(_loc3_ == 1)
- {
- return "in progress";
- }
- return _loc3_;
- };
- _loc2_.getItemID = function(index)
- {
- return this.items[index].__ID__;
- };
- _loc2_.__get__items = function()
- {
- return this._items;
- };
- _loc2_.initialize = function(info)
- {
- };
- _loc2_.filter = function(filterFunction, context)
- {
- if(this.checkLocal())
- {
- }
- var _loc3_ = new mx.remoting.RecordSet(this.mTitles);
- var rcount = this.length;
- var _loc2_ = 0;
- while(_loc2_ < rcount)
- {
- var _loc1_ = this.getItemAt(_loc2_);
- if(_loc1_ != null && _loc1_ != 1 && filterFunction(_loc1_,context))
- {
- _loc3_.addItem(_loc1_);
- }
- _loc2_ = _loc2_ + 1;
- }
- return _loc3_;
- };
- _loc2_.sortItems = function(compareFunc, optionFlags)
- {
- var _loc1_ = this;
- if(!_loc1_.checkLocal())
- {
- _loc1_.items.sort(compareFunc,optionFlags);
- _loc1_.updateViews("sort");
- }
- };
- _loc2_.sortItemsBy = function(fieldNames, order, optionFlags)
- {
- var _loc1_ = this;
- if(!_loc1_.checkLocal())
- {
- if(typeof order == "string")
- {
- _loc1_.items.sortOn(fieldNames);
- if(order.toUpperCase() == "DESC")
- {
- _loc1_.items.reverse();
- }
- }
- else
- {
- _loc1_.items.sortOn(fieldNames,optionFlags);
- }
- _loc1_.updateViews("sort");
- }
- };
- _loc2_.sort = function(compareFunc)
- {
- var _loc1_ = this;
- if(!_loc1_.checkLocal())
- {
- _loc1_.items.sort(compareFunc);
- _loc1_.updateViews("sort");
- }
- };
- _loc2_.isEmpty = function()
- {
- return this.items.length == 0;
- };
- _loc2_.isLocal = function()
- {
- return this.mRecordSetID == null;
- };
- _loc2_.isFullyPopulated = function()
- {
- return this.isLocal();
- };
- _loc2_.getRemoteLength = function()
- {
- var _loc1_ = this;
- if(_loc1_.isLocal())
- {
- return _loc1_.mRecordsAvailable;
- }
- return _loc1_.mTotalCount;
- };
- _loc2_.getNumberAvailable = function()
- {
- var _loc1_ = this;
- if(_loc1_[§§constant(86)]())
- {
- return _loc1_[§§constant(61)]();
- }
- return _loc1_.Controller_Config_Info;
- };
- _loc2_.replaceItemAt = function(index, item)
- {
- var _loc1_ = index;
- var _loc2_ = this;
- if(_loc1_ >= 0 && _loc1_ <= _loc2_.length)
- {
- var _loc3_ = _loc2_.getItemID(_loc1_);
- _loc2_.items[_loc1_] = item;
- _loc2_.items[_loc1_].__ID__ = _loc3_;
- _loc2_.updateViews("updateItems",_loc1_,_loc1_);
- }
- };
- _loc2_.removeAll = function()
- {
- this.clear();
- };
- _loc2_.removeItemAt = function(index)
- {
- var _loc1_ = index;
- var _loc2_ = this;
- var _loc3_ = _loc2_._items[_loc1_];
- _loc2_._items.splice(_loc1_,1);
- var rItems = [_loc2_._items[_loc1_]];
- var rIDs = [_loc2_.getItemID(_loc1_)];
- _loc2_.dispatchEvent({type:"modelChanged",eventName:"removeItems",firstItem:_loc1_,lastItem:_loc1_,removedItems:rItems,removedIDs:rIDs});
- return _loc3_;
- };
- _loc2_.removeEventListener = function(event, listener)
- {
- };
- _loc2_.requestRange = function(range)
- {
- var _loc1_ = range.getStart();
- var _loc2_ = range.getEnd();
- return this.internalRequestRange(_loc1_,_loc2_);
- };
- _loc2_.setDeliveryMode = function(mode, pagesize, numPrefetchPages)
- {
- var _loc1_ = this;
- var _loc2_ = pagesize;
- var _loc3_ = numPrefetchPages;
- _loc1_.mDeliveryMode = mode.toLowerCase();
- _loc1_.stopFetchAll();
- if(_loc2_ == null || _loc2_ <= 0)
- {
- _loc2_ = 25;
- }
- switch(_loc1_.mDeliveryMode)
- {
- case "ondemand":
- break;
- case "page":
- if(_loc3_ == null)
- {
- _loc3_ = 0;
- }
- _loc1_.mPageSize = _loc2_;
- _loc1_.mNumPrefetchPages = _loc3_;
- break;
- case "fetchall":
- _loc1_.stopFetchAll();
- _loc1_.startFetchAll(_loc2_);
- break;
- default:
- mx.remoting.NetServices.trace("RecordSet","warning",107,"SetDeliveryMode: unknown mode string");
- }
- };
- _loc2_.editField = function(index, fieldName, value)
- {
- this.changeFieldValue(index,fieldName,value);
- };
- _loc2_.getEditingData = function(index, fieldName)
- {
- return this.items[index][fieldName];
- };
- _loc2_.setField = function(index, fieldName, value)
- {
- this.changeFieldValue(index,fieldName,value);
- };
- _loc2_.changeFieldValue = function(index, fieldName, value)
- {
- var _loc1_ = index;
- var _loc2_ = this;
- if(!_loc2_.checkLocal())
- {
- if(!(_loc1_ < 0 || _loc1_ >= _loc2_.getLength()))
- {
- _loc2_.items[_loc1_][fieldName] = value;
- _loc2_.updateViews("updateItems",_loc1_,_loc1_);
- }
- }
- };
- _loc2_.isObjectEmpty = function(objToCheck)
- {
- var _loc2_ = objToCheck;
- var _loc1_ = true;
- for(var _loc3_ in _loc2_)
- {
- _loc1_ = false;
- return _loc1_;
- break;
- }
- return _loc1_;
- };
- _loc2_.arrayToObject = function(anArray)
- {
- if(this.mTitles == null)
- {
- mx.remoting.NetServices.trace("RecordSet","warning",105,"getItem: titles are not available");
- return null;
- }
- var _loc3_ = new Object();
- var alen = anArray.length;
- var _loc2_ = undefined;
- var _loc1_ = 0;
- while(_loc1_ < alen)
- {
- _loc2_ = this.mTitles[_loc1_];
- if(_loc2_ == null)
- {
- _loc2_ = "column" + _loc1_ + 1;
- }
- _loc3_[_loc2_] = anArray[_loc1_];
- _loc1_ = _loc1_ + 1;
- }
- return _loc3_;
- };
- _loc2_.checkLocal = function()
- {
- if(this.isLocal())
- {
- return false;
- }
- mx.remoting.NetServices.trace("RecordSet","warning",108,"Operation not allowed on partial recordset");
- return true;
- };
- _loc2_.getRecordSetService = function()
- {
- var _loc1_ = this;
- if(_loc1_.mRecordSetService == null)
- {
- if(_loc1_.gateway_conn == null)
- {
- _loc1_.gateway_conn = mx.remoting.NetServices.createGatewayConnection();
- }
- else if(_global.netDebugInstance != undefined)
- {
- _loc1_.gateway_conn = _loc1_.gateway_conn.clone();
- }
- if(_global.netDebugInstance != undefined)
- {
- _loc1_.gateway_conn.setupRecordSet();
- _loc1_.gateway_conn.setDebugId("RecordSet " + _loc1_.mRecordSetID);
- }
- _loc1_.mRecordSetService = _loc1_.gateway_conn.getService(_loc1_.serviceName,_loc1_);
- if(_loc1_.mRecordSetService == null)
- {
- mx.remoting.NetServices.trace("RecordSet","warning",101,"Failed to create RecordSet service");
- _loc1_.mRecordSetService = null;
- }
- }
- return _loc1_.mRecordSetService;
- };
- _loc2_.internalRequestRange = function(index, lastIndex)
- {
- var _loc1_ = index;
- var _loc2_ = this;
- var highestRequested = -1;
- if(_loc1_ < 0)
- {
- _loc1_ = 0;
- }
- if(lastIndex >= _loc2_.getRemoteLength())
- {
- lastIndex = _loc2_.getRemoteLength() - 1;
- }
- var _loc3_ = undefined;
- var last;
- while(_loc1_ <= lastIndex)
- {
- while(_loc1_ <= lastIndex && _loc2_.items[_loc1_] != null)
- {
- _loc1_ = _loc1_ + 1;
- }
- _loc3_ = _loc1_;
- while(_loc1_ <= lastIndex && _loc2_.items[_loc1_] == null)
- {
- _loc2_.mOutstandingRecordCount = _loc2_.mOutstandingRecordCount + 1;
- _loc2_.items[_loc1_] = 1;
- _loc1_ = _loc1_ + 1;
- }
- last = _loc1_ - 1;
- if(_loc3_ <= last)
- {
- _loc2_.logger.logInfo(" Fetching records from index [" + _loc3_ + "] to index [" + last + "]");
- _loc2_.getRecordSetService().getRecords(_loc2_.mRecordSetID,_loc3_ + 1,last - _loc3_ + 1);
- highestRequested = last;
- _loc2_.updateViews("fetchRows",_loc3_,last);
- }
- }
- return highestRequested;
- };
- §§goto(addr1711);
- §§push(_loc2_);
- §§push("removeItems");
- }
- }
- }
- }
- while(true)
- {
- if(eval("\x01") == 818)
- {
- set("\x01",eval("\x01") - 327);
- §§push(true);
- }
- else if(eval("\x01") == 248)
- {
- set("\x01",eval("\x01") + 308);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 417);
- }
- }
- else if(eval("\x01") == 491)
- {
- set("\x01",eval("\x01") - 239);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 144);
- }
- }
- else
- {
- if(eval("\x01") != 108)
- {
- break;
- }
- set("\x01",eval("\x01") + 140);
- §§push(true);
- }
- }
- §§push(eval("\x01") != 252);
- }
- set("\x01",eval("\x01") + 417);
- _loc1_ = §§pop();
- if(_loc1_[§§constant(86)]())
- {
- return _loc1_[§§constant(61)]();
- }
- return _loc1_.Controller_Config_Info;
- }
- if(eval("\x01") == 698)
- {
- set("\x01",eval("\x01") - 54);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 65);
- }
- }
- else
- {
- if(eval("\x01") != 838)
- {
- break;
- }
- set("\x01",eval("\x01") - 140);
- §§push(true);
- }
- continue;
- _loc2_[§§constant(120)] = function(pagesize)
- {
- var _loc1_ = NetDebugConfig;
- if(_loc1_[§§constant(176)] != null)
- {
- _loc1_[§§constant(176)][§§constant(177)]();
- }
- _loc1_[§§constant(176)] = new mx.remoting[§§constant(178)](_loc1_,eval(§§constant(111)));
- };
- _loc2_[§§constant(115)] = function()
- {
- NetDebugConfig[§§constant(176)][§§constant(177)]();
- NetDebugConfig[§§constant(176)] = null;
- };
- _loc2_[§§constant(48)] = function(event, first, last)
- {
- NetDebugConfig[§§constant(103)]({(§§constant(96)):§§constant(97),(§§constant(98)):eval(§§constant(179)),(§§constant(99)):eval(§§constant(180)),(§§constant(100)):eval(§§constant(148))});
- };
- _loc1_[§§constant(181)] = function()
- {
- Object[§§constant(182)]("debug",mx.remoting.debug);
- return true;
- };
- _loc1_.object = §§constant(183);
- _loc1_[§§constant(184)] = mx.remoting.debug[§§constant(181)]();
- §§push(_loc2_[§§constant(185)]("getDebug",_loc2_[§§constant(59)],function()
- {
- }
- ));
- §§push(_loc2_[§§constant(185)](§§constant(43),_loc2_[§§constant(68)],function()
- {
- }
- ));
- §§push(_loc2_[§§constant(185)]("config",_loc2_.coldfusion,function()
- {
- }
- ));
- §§push(§§constant(186)(mx.remoting.debug.httpheaders,null,1));
- §§pop();
- break;
- }
- set("\x01",eval("\x01") - 73);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 641);
- }
- }
- }
- }
- }
-