Advertisement
WeDontLikeBullies

Untitled

Jan 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.41 KB | None | 0 0
  1. class com.hypeCP.loader.loader
  2. {
  3. var PLUGINS = new Array();
  4. var HOST = "149.56.101.213";
  5. var PENGUIN = "Not found yet";
  6. var REPLACES = new Array();
  7. var FAKE_LANG = {};
  8. var HANDLERS = {};
  9. var SHAREVARS = {};
  10. var HANDLERVARS = {};
  11. var AUTHOR = "Inject[Seether/G.N.]";
  12. var VERSION = "1.27alpha";
  13. function loader(arg)
  14. {
  15. this.HANDLERS.SHELL = {};
  16. this.HANDLERS.AIRTOWER = {};
  17. this.HANDLERS.LOCAL_CRUMBS = {};
  18. this.HANDLERS.GLOBAL_CRUMBS = {};
  19. this.HANDLERS.ENGINE = {};
  20. this.HANDLERS.INTERFACE = {};
  21. this._addReplace(function(url)
  22. {
  23. return url;
  24. }
  25. );
  26. _global.baseURL = "http://149.56.101.213/";
  27. System.security.allowDomain("*");
  28. loadMovieNum("http://149.56.101.213/html/play/v2/client/load.swf?cp1356",1,"GET");
  29. _root.onEnterFrame = function()
  30. {
  31. for(var _loc2_ in _level1)
  32. {
  33. if(typeof _level1[_loc2_] == "movieclip")
  34. {
  35. _level1.bootLoader.messageFromAS3({type:"setEnvironmentData",data:{clientPath:"http://149.56.101.213/html/play/v2/client/",contentPath:"http://149.56.101.213/html/play/v2/content/",gamesPath:"http://149.56.101.213/html/play/v2/games/",connectionID:"hype127",language:"en",basePath:"",affiliateID:"0"}});
  36. _root.onEnterFrame = function()
  37. {
  38. if(_level1.shellContainer.DEPENDENCIES_FILENAME)
  39. {
  40. _level1.bootLoader.messageFromAS3({type:"showLogin"});
  41. _level0.CLIENT.handleContainerFound(_level0.CLIENT.PENGUIN = _level1.shellContainer);
  42. }
  43. };
  44. }
  45. }
  46. };
  47. }
  48. function handlePluginLoaded(pluginFunction, inter)
  49. {
  50. if(this.PENGUIN.AIRTOWER && (!inter || this.PENGUIN.INTERFACE))
  51. {
  52. pluginFunction();
  53. }
  54. else
  55. {
  56. this.PLUGINS.push([pluginFunction,inter]);
  57. }
  58. }
  59. function handleContainerFound(container)
  60. {
  61. this.PLUGIN_HOLDER = this.PENGUIN.createEmptyMovieClip("pluginContainer_mc",65535);
  62. _global.PenguBackup = container;
  63. with(container)
  64. {
  65. if(LOCAL_CRUMBS)
  66. {
  67. _level0.CLIENT._fireEvent("LOCAL_CRUMBS");
  68. }
  69. if(GLOBAL_CRUMBS)
  70. {
  71. _level0.CLIENT._fireEvent("GLOBAL_CRUMBS");
  72. }
  73. if(AIRTOWER)
  74. {
  75. _level0.CLIENT._fireEvent("AIRTOWER");
  76. }
  77. if(SHELL)
  78. {
  79. _level0.CLIENT._fireEvent("SHELL");
  80. }
  81. if(LOCAL_CRUMBS)
  82. {
  83. return undefined;
  84. }
  85. for(var _loc5_ in this.FAKE_LANG)
  86. {
  87. LOCAL_CRUMBS.lang[_loc5_] = this.FAKE_LANG[_loc5_];
  88. }
  89. if(!GLOBAL_CRUMBS || !AIRTOWER || !SHELL)
  90. {
  91. return undefined;
  92. }
  93. createEmptyMovieClip("addons_mc",_level1.getNextHighestDepth())
  94. SHELL.analytics = false
  95. SHELL.hideErrorPrompt()
  96. GLOBAL_CRUMBS.login_server.ip = [this.HOST]
  97. GLOBAL_CRUMBS.login_server.even_port = 6113
  98. GLOBAL_CRUMBS.login_server.odd_port = 6113
  99. GLOBAL_CRUMBS.redemption_server.ip = this.HOST
  100. GLOBAL_CRUMBS.redemption_server.port = 6113
  101. AIRTOWER.LOGIN_IP = this.HOST
  102. AIRTOWER.LOGIN_PORT_EVEN = 6113
  103. AIRTOWER.LOGIN_PORT_ODD = 6113
  104. AIRTOWER.PLUGIN_LOAD = "pl"
  105. AIRTOWER.SERVER_DATA = "sd"
  106. AIRTOWER.GET_VERSION = "gv"
  107. AIRTOWER.GET_SERVERS = "gs"
  108. AIRTOWER.MOD_REQUEST = "xy"
  109. AIRTOWER.SWF_COMMAND = "fc"
  110. AIRTOWER.UPDATE_MOOD = "umo"
  111. AIRTOWER.PRIVATE_MSG = "pmsg"
  112. AIRTOWER.GET_USERLOG = "glog"
  113. AIRTOWER.NEW_USERLOG = "nlog"
  114. AIRTOWER.TIMER_KICK = "tk"
  115. AIRTOWER.LOAD_MOVIE = "lm"
  116. SHELL.e_func[SHELL.KICK] = function()
  117. {
  118. trace("Kicked");
  119. }
  120. AIRTOWER.addListener(AIRTOWER.PLUGIN_LOAD,this.handlePluginLoad)
  121. AIRTOWER.addListener(AIRTOWER.SERVER_DATA,this.handleServerData)
  122. AIRTOWER.addListener(AIRTOWER.GET_VERSION,this.handleGetVersion)
  123. AIRTOWER.addListener(AIRTOWER.GET_SERVERS,this.handleServers)
  124. AIRTOWER.addListener(AIRTOWER.MOD_REQUEST,this.handleModRequest)
  125. AIRTOWER.addListener(AIRTOWER.SWF_COMMAND,this.handleSwfCommand)
  126. AIRTOWER.addListener(AIRTOWER.UPDATE_MOOD,this.handleUpdateMood)
  127. AIRTOWER.addListener(AIRTOWER.PRIVATE_MSG,this.handlePrivateMsg)
  128. AIRTOWER.addListener(AIRTOWER.TIMER_KICK,this.handleTimerKick)
  129. AIRTOWER.addListener(AIRTOWER.LOAD_MOVIE,this.handleLoadMovie)
  130. AIRTOWER.addListener(AIRTOWER.GET_USERLOG,this.bakeHandler(AIRTOWER.GET_USERLOG))
  131. AIRTOWER.addListener(AIRTOWER.NEW_USERLOG,this.bakeHandler(AIRTOWER.NEW_USERLOG))
  132. GLOBAL_CRUMBS.mascots_crumbs = new Object()
  133. GLOBAL_CRUMBS.mascots_crumbs[1] = {name:"Cooldude170",gift_id:9056}
  134. SHELL.redemption_server.ip = this.HOST
  135. SHELL.redemption_server.port = 6113
  136. SHELL.createEmptyMovieClip("core_mc",SHELL.getNextHighestDepth())
  137. SHELL.loadSWFb = SHELL.loadSWF
  138. SHELL.loadSWF = function(a, b, c, d, e, f)
  139. {
  140. for(var _loc8_ in _level0.CLIENT.REPLACES)
  141. {
  142. b = _level0.CLIENT.REPLACES.register3(b);
  143. }
  144. return this.loadSWFb(a,b,c,d,e,f);
  145. }
  146. SHELL.makePlayerObjectFromStringB = SHELL.makePlayerObjectFromString
  147. SHELL.makePlayerObjectFromString = function(str)
  148. {
  149. var _loc2_ = SHELL.makePlayerObjectFromStringB(str);
  150. _loc2_.data = str.split("|");
  151. return _loc2_;
  152. }
  153. LOCAL_CRUMBS.lang.chat_restrict = "a-z A-Z z-A 0-9 !-} ?!.,;:`´-_/\\(){}=&$§\"=?@\'*+-ßäöüÄÖÜ#?<>\n\t"
  154.  
  155. };
  156. System.security.allowDomain.call(_level1,"*");
  157. for(var _loc5_ in this.PLUGINS)
  158. {
  159. if(this.PLUGINS[_loc5_][1])
  160. {
  161. this.PLUGINS[_loc5_].§0§();
  162. }
  163. }
  164. _root.onEnterFrame = this.waitForInterface;
  165. }
  166. function handleServers(obj)
  167. {
  168. trace("Handling Servers");
  169. for(var _loc2_ in _level0.CLIENT.PENGUIN.GLOBAL_CRUMBS.servers)
  170. {
  171. delete _level0.CLIENT.PENGUIN.GLOBAL_CRUMBS.servers.register3;
  172. delete _level0.CLIENT.PENGUIN.SHELL.world_crumbs.register3;
  173. }
  174. var _loc3_ = obj[1].split("|");
  175. for(var _loc2_ in _loc3_)
  176. {
  177. _loc2_ = _loc3_[_loc2_];
  178. var _loc4_ = _loc2_.split(":");
  179. _level0.CLIENT.addServer(_loc4_[2],_loc4_[0],_loc4_[1],_loc4_[3]);
  180. }
  181. }
  182. function addServer(name, ip, port, population)
  183. {
  184. var _loc5_ = 0;
  185. for(var _loc6_ in _level0.CLIENT.PENGUIN.GLOBAL_CRUMBS.servers)
  186. {
  187. _loc5_ = _loc5_ + 1;
  188. }
  189. _loc5_ = _loc5_ + 1;
  190. trace(_loc5_);
  191. _level0.CLIENT.PENGUIN.SHELL.world_crumbs[_loc5_] = {name:"Wind",ip:"127.0.0.1",port:"9875",id:_loc5_,population:population};
  192. }
  193. function bakeHandler(handler)
  194. {
  195. if(_level0.CLIENT.HANDLERS[handler])
  196. {
  197. _level0.CLIENT.HANDLERS[handler] = {};
  198. }
  199. return function(rObj)
  200. {
  201. _level0.CLIENT.HANDLERVARS = [];
  202. for(var _loc2_ in rObj)
  203. {
  204. _level0.CLIENT.HANDLERVARS[_loc2_] = rObj[_loc2_];
  205. }
  206. for(var _loc2_ in _level0.CLIENT.HANDLERS[handler])
  207. {
  208. _level0.CLIENT.HANDLERS[handler].register2(_level0.CLIENT.HANDLERVARS);
  209. }
  210. };
  211. }
  212. function handlePrivateMsg(obj)
  213. {
  214. obj.shift();
  215. var _loc2_ = obj.shift();
  216. var _loc3_ = obj.shift();
  217. var _loc4_ = obj.shift();
  218. with(_level0.CLIENT.PENGUIN)
  219. {
  220. INTERFACE.openLog()
  221. addToChatLog({player_id:_loc3_,nickname:_loc2_,message:_loc4_,type:SEND_BLOCKED_MESSAGE})
  222.  
  223. };
  224. }
  225. function handleTimerKick(obj)
  226. {
  227. var _loc2_ = obj.shift();
  228. var _loc3_ = obj.shift();
  229. with(_level0.CLIENT.PENGUIN)
  230. {
  231. INTERFACE.showPrompt("ok",_loc3_ + "Egg timer has been set.")
  232. SHELL.egg_timer_milliseconds_remaining = _loc2_ * 60000
  233. SHELL.setIsEggTimerActive(true)
  234.  
  235. };
  236. }
  237. function handleLoadMovie(obj)
  238. {
  239. trace("Loading Movie...");
  240. obj.shift();
  241. loadMovieNum(obj.shift(),5,"GET");
  242. }
  243. function handleUpdateMood(obj)
  244. {
  245. var _loc2_ = obj.shift();
  246. var _loc3_ = obj.shift();
  247. _level0.CLIENT.PENGUIN.INTERFACE.getPlayerObject(_loc2_).data[19] = _loc3_;
  248. if(_level0.CLIENT.PENGUIN.INTERFACE.getActivePlayerId() == _loc2_)
  249. {
  250. }
  251. }
  252. function handleSwfCommand(obj)
  253. {
  254. obj.shift();
  255. var _loc3_ = obj.shift();
  256. var _loc4_ = this[_loc3_].apply(this,obj);
  257. with(_level0.CLIENT.PENGUIN.AIRTOWER)
  258. {
  259. send(PLAY_EXT,ICP_HANDLER + "#" + SWF_COMMAND,[_loc4_],"str",-1)
  260.  
  261. };
  262. }
  263. function handleession(obj)
  264. {
  265. obj.shift();
  266. var _loc2_ = obj.shift();
  267. var _loc3_ = obj.shift();
  268. var _loc4_ = obj.shift();
  269. var _loc5_ = obj.shift();
  270. _level0.CLIENT.PENGUIN.SHELL.showErrorPrompt(_loc2_,_loc3_,_loc4_,undefined,_loc5_);
  271. }
  272. function waitForInterface()
  273. {
  274. with(_level0.CLIENT.PENGUIN)
  275. {
  276. if(INTERFACE)
  277. {
  278. _level0.CLIENT._fireEvent("INTERFACE");
  279. }
  280. if(ENGINE)
  281. {
  282. _level0.CLIENT._fireEvent("ENGINE");
  283. }
  284. if(!INTERFACE || !ENGINE)
  285. {
  286. return undefined;
  287. }
  288. INTERFACE.DOCK.chat_mc.chat_input.maxChars = 4096
  289. INTERFACE.convertToSafeCase = function(txt)
  290. {
  291. return txt;
  292. }
  293. INTERFACE.isClickableLogItem = function()
  294. {
  295. return true;
  296. }
  297. INTERFACE.updatePlayerWidgetB = function(a, b, c, d, e, f, g)
  298. {
  299. if(g)
  300. {
  301. var _loc8_ = INTERFACE.updatePlayerWidgetB(a,b,c,d,e,f,g);
  302. }
  303. return _loc8_;
  304. }
  305. ENGINE.randomizeNearPosition = function(player, x, y, range)
  306. {
  307. player.x = x;
  308. player.y = y;
  309. return true;
  310. }
  311.  
  312. };
  313. for(var _loc3_ in this.CLIENT.PLUGINS)
  314. {
  315. if(this.CLIENT.PLUGINS[_loc3_][1])
  316. {
  317. this.CLIENT.PLUGINS[_loc3_].§0§();
  318. }
  319. }
  320. delete this.onEnterFrame;
  321. delete _root.onEnterFrame;
  322. this.onEnterFrame = function()
  323. {
  324. };
  325. }
  326. function doModeratorAction(action)
  327. {
  328. switch(action)
  329. {
  330. case "openChatlog":
  331. default:
  332. case "joinRoom":
  333. default:
  334. case "goInvisible":
  335. default:
  336. case "getPlayerInfos":
  337. default:
  338. case "leaveMeAlone":
  339. default:
  340. }
  341. }
  342. function handleModRequest(obj)
  343. {
  344. obj.shift();
  345. var _loc3_ = Number(obj.shift());
  346. var _loc4_ = String(obj.shift());
  347. var _loc5_ = String(obj.shift());
  348. var _loc6_ = Number(obj.shift());
  349. var _loc7_ = String(obj.shift());
  350. var _loc8_ = Number(obj.shift());
  351. var _loc9_ = "fv?";
  352. this.PLUGIN_HOLDER.Core.modReport_mc.reason.text = _loc4_;
  353. this.PLUGIN_HOLDER.Core.modReport_mc.roomID.text = _loc3_;
  354. this.PLUGIN_HOLDER.Core.modReport_mc.roomName.text = _loc9_;
  355. this.PLUGIN_HOLDER.Core.modReport_mc.reporterPlayerName.text = _loc5_;
  356. this.PLUGIN_HOLDER.Core.modReport_mc.reporterPlayerID.text = _loc6_;
  357. this.PLUGIN_HOLDER.Core.modReport_mc.reportedPlayerName.text = _loc7_;
  358. this.PLUGIN_HOLDER.Core.modReport_mc.reportedPlayerID.text = _loc8_;
  359. _level2.debug_txt.text = "Received mod report.";
  360. _level0.modReport_mc._visible = false;
  361. }
  362. function handlePluginLoad(obj)
  363. {
  364. obj.shift();
  365. with(_level0.CLIENT)
  366. {
  367. PLUGIN_HOLDER.createEmptyMovieClip(obj[0],PLUGIN_HOLDER.getNextHighestDepth())
  368. PLUGIN_HOLDER[obj[0]].loadMovie(obj[1])
  369.  
  370. };
  371. with(_level0.CLIENT.PENGUIN.AIRTOWER)
  372. {
  373. send(PLAY_EXT,ICP_HANDLER + "#" + PLUGIN_LOAD,["I Can Haz airtower..."],"str",-1)
  374.  
  375. };
  376. }
  377. function handleServerData(obj)
  378. {
  379. obj.shift();
  380. with(_level0.CLIENT.PENGUIN)
  381. {
  382. SHELL.world_crumbs = new Array()
  383. var _loc2_ = new Array()
  384. for(var _loc3_ in obj)
  385. {
  386. var _loc4_ = obj[_loc3_].split("|");
  387. SHELL.world_crumbs[_loc4_[0]] = {id:_loc4_[0],name:_loc4_[1],ip:_loc4_[2],port:_loc4_[3]};
  388. }
  389.  
  390. };
  391. with(_level0.CLIENT.PENGUIN.AIRTOWER)
  392. {
  393. send(PLAY_EXT,ICP_HANDLER + "#" + SERVER_DATA,["Lalalala."],"str",-1)
  394.  
  395. };
  396. }
  397. function handleGetVersion(obj)
  398. {
  399. with(_level0.CLIENT.PENGUIN.AIRTOWER)
  400. {
  401. send(PLAY_EXT,ICP_HANDLER + "#" + GET_VERSION,[org.iCPTeam.iCPThree.iCPLoader.VNUMBER],"str",-1)
  402.  
  403. };
  404. }
  405. function _fireEvent(evtName)
  406. {
  407. for(var _loc2_ in _level0.CLIENT.HANDLERS[evtName])
  408. {
  409. _level0.CLIENT.HANDLERS[evtName].register2();
  410. }
  411. _level0.CLIENT.HANDLERS[evtName] = {};
  412. }
  413. function _airtowerHandler(handler)
  414. {
  415. return this.PENGUIN.AIRTOWER.addListener(handler,this.bakeHandler(handler));
  416. }
  417. function _setTextFormat(array, o)
  418. {
  419. var _loc4_ = this._getProperty(array);
  420. var _loc5_ = new TextFormat();
  421. for(var _loc6_ in o)
  422. {
  423. _loc5_[_loc6_] = o[_loc6_];
  424. }
  425. return _loc4_.setTextFormat(_loc5_);
  426. }
  427. function _getProperty(array)
  428. {
  429. var _loc3_ = this.PENGUIN;
  430. var _loc4_ = 0;
  431. while(_loc4_ < array.length)
  432. {
  433. _loc3_ = _loc3_[array[_loc4_]];
  434. _loc4_ = _loc4_ + 1;
  435. }
  436. return _loc3_;
  437. }
  438. function _setProperty(array, data)
  439. {
  440. var _loc4_ = this.PENGUIN;
  441. var _loc5_ = 0;
  442. while(_loc5_ < array.length)
  443. {
  444. if(array.length == _loc5_ + 1)
  445. {
  446. _loc4_[array[_loc5_]] = data;
  447. }
  448. _loc4_ = _loc4_[array[_loc5_]];
  449. _loc5_ = _loc5_ + 1;
  450. }
  451. }
  452. function _call(array, a, b, c, d, e, f, g, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z)
  453. {
  454. var _loc28_ = this.PENGUIN;
  455. i = 0;
  456. while(i < array.length)
  457. {
  458. if(array.length == i + 1)
  459. {
  460. return this[array[i]].call(this,a,b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z);
  461. }
  462. _loc28_ = _loc28_[array[i]];
  463. i = i + 1;
  464. }
  465. }
  466. function _makeCallback(shareVar)
  467. {
  468. var original = this.SHAREVARS[shareVar];
  469. this.SHAREVARS[shareVar] = function(a, b, c, d, e, f, g, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z)
  470. {
  471. return original(a,b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z);
  472. };
  473. }
  474. function _callWithShareVars(array, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z)
  475. {
  476. a = this.SHAREVARS[a];
  477. b = this.SHAREVARS[b];
  478. c = this.SHAREVARS[c];
  479. d = this.SHAREVARS[d];
  480. e = this.SHAREVARS[e];
  481. f = this.SHAREVARS[f];
  482. g = this.SHAREVARS[g];
  483. h = this.SHAREVARS[h];
  484. i = this.SHAREVARS[i];
  485. j = this.SHAREVARS[j];
  486. k = this.SHAREVARS[k];
  487. l = this.SHAREVARS[l];
  488. m = this.SHAREVARS[m];
  489. n = this.SHAREVARS[n];
  490. o = this.SHAREVARS[o];
  491. p = this.SHAREVARS[p];
  492. q = this.SHAREVARS[q];
  493. r = this.SHAREVARS[r];
  494. s = this.SHAREVARS[s];
  495. t = this.SHAREVARS[t];
  496. u = this.SHAREVARS[u];
  497. v = this.SHAREVARS[v];
  498. w = this.SHAREVARS[w];
  499. x = this.SHAREVARS[x];
  500. y = this.SHAREVARS[y];
  501. z = this.SHAREVARS[z];
  502. return this._call(array,a,b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z);
  503. }
  504. function _callBase(array, a, b, c, d, e, f, g, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z)
  505. {
  506. return this._useBase(this._call(array,a,b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z));
  507. }
  508. function _apply(array, base, args)
  509. {
  510. var _loc5_ = this.PENGUIN;
  511. var _loc6_ = 0;
  512. while(_loc6_ < array.length)
  513. {
  514. if(array.length == _loc6_ + 1)
  515. {
  516. return _loc5_[array[_loc6_]].apply(base,args);
  517. }
  518. _loc5_ = _loc5_[array[_loc6_]];
  519. _loc6_ = _loc6_ + 1;
  520. }
  521. }
  522. function _foreach(array)
  523. {
  524. var _loc3_ = this.PENGUIN;
  525. var _loc4_ = {};
  526. var _loc5_ = 0;
  527. while(_loc5_ < array.length)
  528. {
  529. _loc3_ = _loc3_[array[_loc5_]];
  530. _loc5_ = _loc5_ + 1;
  531. }
  532. for(var _loc5_ in _loc3_)
  533. {
  534. _loc4_[_loc5_] = _loc3_[_loc5_];
  535. }
  536. return _loc4_;
  537. }
  538. function _clone(array, level, a)
  539. {
  540. var _loc5_ = this.PENGUIN;
  541. var _loc6_ = {};
  542. var _loc7_ = 0;
  543. while(_loc7_ < array.length)
  544. {
  545. _loc5_ = _loc5_[array[_loc7_]];
  546. _loc7_ = _loc7_ + 1;
  547. }
  548. _loc6_ = this.secretForeach(_loc5_,level,a);
  549. return _loc6_;
  550. }
  551. function secretForeach(object, level, a)
  552. {
  553. var _loc5_ = {};
  554. for(var _loc6_ in object)
  555. {
  556. if((typeof object[_loc6_] == "object" || a) && level != 0)
  557. {
  558. _loc5_[_loc6_] = this.secretForeach(object[_loc6_],level - 1);
  559. }
  560. else
  561. {
  562. _loc5_[_loc6_] = object[_loc6_];
  563. }
  564. }
  565. return _loc5_;
  566. }
  567. function _delete(array)
  568. {
  569. var _loc3_ = this.PENGUIN;
  570. var _loc4_ = 0;
  571. while(_loc4_ < array.length)
  572. {
  573. if(array.length == _loc4_ + 1)
  574. {
  575. delete register4.array.register4;
  576. }
  577. _loc3_ = _loc3_[array[_loc4_]];
  578. _loc4_ = _loc4_ + 1;
  579. }
  580. }
  581. function _setTimeout(cmd, interval)
  582. {
  583. this.PENGUIN.setTimeout(cmd,interval);
  584. }
  585. function _useBase(base)
  586. {
  587. return this.PENGUIN = base;
  588. }
  589. function _restoreBase()
  590. {
  591. return this.PENGUIN = _global.PenguBackup;
  592. }
  593. function _glow(mcP, a, b, c, d, e, f, g, h)
  594. {
  595. var _loc11_ = this._getProperty(mcP);
  596. var _loc12_ = new flash.filters.GlowFilter(a,b,c,d,e,f,g,h);
  597. var _loc13_ = new Array();
  598. _loc13_.push(_loc12_);
  599. _loc11_.filters = _loc13_;
  600. }
  601. function _initLoader()
  602. {
  603. _level0.CLIENT.loader = new MovieClipLoader();
  604. _level0.CLIENT.loader.addListener({onLoadInit:this.dumbHandler,onLoadError:this.dumbHandler,onLoadProgress:this.dumbHandler,onLoadStart:this.dumbHandler,onLoadComplete:this.dumbHandler});
  605. return _level0.CLIENT.loader;
  606. }
  607. function _addReplace(func)
  608. {
  609. var _loc3_ = this.REPLACES.length;
  610. this.REPLACES[_loc3_] = func;
  611. return _loc3_;
  612. }
  613. function _removeReplace(id)
  614. {
  615. if(this.REPLACES[id])
  616. {
  617. delete this.REPLACES.id;
  618. }
  619. else
  620. {
  621. for(var _loc3_ in this.REPLACES)
  622. {
  623. if(this.REPLACES[_loc3_] == id)
  624. {
  625. delete this.REPLACES.register3;
  626. }
  627. }
  628. }
  629. }
  630. function dumbHandler(mc)
  631. {
  632. _level0.CLIENT.PENGUIN.LAST_EVENT_MC = mc;
  633. }
  634. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement