1. Список говнокодов пользователя kyzi007

    Всего: 128

  2. ActionScript / Говнокод #8781

    −119

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    onClipEvent(mouseMove){
    	var aa = _root._xmouse;
    	var bb = _root._ymouse
    	_x=_parent._xmouse;
    	_y=_parent._ymouse;
    	if(_parent._currentframe==1){
    		if(_parent.mc_MILK_1.hitTest(aa,bb) || _parent.mc_MILK_2.hitTest(aa,bb) || _parent.mc_MILK_3.hitTest(aa,bb) || _parent.mc_MILK_4.hitTest(aa,bb)){
    			gotoAndStop(1)
    		}else if(_parent.mc_BUTILKA_1.hitTest(aa,bb)||_parent.mc_BUTILKA_2.hitTest(aa,bb)){
    			gotoAndStop(2)
    		}else if(_parent.mc_SOSKA_1.hitTest(aa,bb)||_parent.mc_SOSKA_2.hitTest(aa,bb)){
    			gotoAndStop(3)
    		}else if(_parent.mc_TERMOS_1.hitTest(aa,bb)||_parent.mc_TERMOS_2.hitTest(aa,bb)){
    			gotoAndStop(4)
    		}else if(_parent.mc_SMES_1.hitTest(aa,bb) || _parent.mc_SMES_2.hitTest(aa,bb)){
    			gotoAndStop(5)
    		}else if(_parent.mc_PODOGREVATEL_1.hitTest(aa,bb)||_parent.mc_PODOGREVATEL_2.hitTest(aa,bb)){
    			gotoAndStop(6)
    		}else if(_parent.mc_STERELIZATOR_1.hitTest(aa,bb)||_parent.mc_STERELIZATOR_2.hitTest(aa,bb)){
    			gotoAndStop(7)
    		}else if(_parent.mc_SUSHILKA_1.hitTest(aa,bb)||_parent.mc_SUSHILKA_2.hitTest(aa,bb)){
    			gotoAndStop(8)
    		}else if(_parent.mc_STUL_1.hitTest(aa,bb)||_parent.mc_STUL_2.hitTest(aa,bb)||_parent.mc_STUL_3.hitTest(aa,bb)||_parent.mc_STUL_4.hitTest(aa,bb)){
    			gotoAndStop(9)
    		}else if(_parent.mc_NAGRUDNIK_3.hitTest(aa,bb)||_parent.mc_NAGRUDNIK_4.hitTest(aa,bb)){
    			gotoAndStop(10)
    		}else if(_parent.mc_KASHA_3.hitTest(aa,bb)){
    			gotoAndStop(11)
    		}else if(_parent.mc_KASHA_4.hitTest(aa,bb)){
    			gotoAndStop(12)
    		}else if(_parent.mc_TARELKI_3.hitTest(aa,bb)||_parent.mc_TARELKI_4.hitTest(aa,bb)){
    			gotoAndStop(13)
    		}else if(_parent.mc_LOJKA_3.hitTest(aa,bb)||_parent.mc_LOJKA_4.hitTest(aa,bb)){
    			gotoAndStop(14)
    		}else if(_parent.mc_PAROVARKA_3.hitTest(aa,bb)||_parent.mc_PAROVARKA_4.hitTest(aa,bb)){
    			gotoAndStop(15)
    		}else{gotoAndStop(_totalframes)}
    	}else if(_parent._currentframe==2){
    		if(_parent.mc_ROJKI_5.hitTest(aa,bb)){
    			gotoAndStop(20)
    		}else if(_parent.mc_MJASO_6.hitTest(aa,bb)){
    			gotoAndStop(18)
    		}else if(_parent.mc_OVOSCHI_6.hitTest(aa,bb)||_parent.mc_OVOSCHI_7.hitTest(aa,bb)){
    			gotoAndStop(16)
    		}else if(_parent.mc_FRUITS_8.hitTest(aa,bb)){
    			gotoAndStop(17)
    		}else if(_parent.mc_STUL_5.hitTest(aa,bb)||_parent.mc_STUL_6.hitTest(aa,bb)||_parent.mc_STUL_7.hitTest(aa,bb)||_parent.mc_STUL_8.hitTest(aa,bb)){
    			gotoAndStop(9)
    		}else if(_parent.mc_NAGRUDNIK_5.hitTest(aa,bb)||_parent.mc_NAGRUDNIK_6.hitTest(aa,bb)||_parent.mc_NAGRUDNIK_7.hitTest(aa,bb)||_parent.mc_NAGRUDNIK_8.hitTest(aa,bb)){
    			gotoAndStop(10)
    		}else if(_parent.mc_TARELKI_5.hitTest(aa,bb)||_parent.mc_TARELKI_6.hitTest(aa,bb)||_parent.mc_TARELKI_7.hitTest(aa,bb)||_parent.mc_TARELKI_8.hitTest(aa,bb)){
    			gotoAndStop(13)
    		}else if(_parent.mc_LOJKA_5.hitTest(aa,bb)||_parent.mc_LOJKA_6.hitTest(aa,bb)||_parent.mc_LOJKA_7.hitTest(aa,bb)||_parent.mc_LOJKA_8.hitTest(aa,bb)){
    			gotoAndStop(14)
    		}else if(_parent.mc_PAROVARKA_5.hitTest(aa,bb)||_parent.mc_PAROVARKA_6.hitTest(aa,bb)||_parent.mc_PAROVARKA_7.hitTest(aa,bb)||_parent.mc_PAROVARKA_8.hitTest(aa,bb)){
    			gotoAndStop(15)
    		}else{gotoAndStop(_totalframes)}
    	}
    //....
    }//mc_STERELIZATOR_1

    kyzi007, 09 Декабря 2011

    Комментарии (11)
  3. ActionScript / Говнокод #8780

    −117

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    // в клипе с названием kd_18copya
    onClipEvent(enterFrame){
    	_golova.gotoAndStop(_root.mc_GAME.odj_S)
    	_telo.gotoAndStop(_root.mc_GAME.odj_T1)
    	_platie.gotoAndStop(_root.mc_GAME.odj_T1)
    	ruka_L.gotoAndStop(_root.mc_GAME.odj_T1)
    	ruka_R.gotoAndStop(_root.mc_GAME.odj_T1)
    	noga_1_L.gotoAndStop(_root.mc_GAME.odj_T2)
    	noga_1_R.gotoAndStop(_root.mc_GAME.odj_T2)
    	noga_2_L.gotoAndStop(_root.mc_GAME.odj_T2)
    	noga_2_R.gotoAndStop(_root.mc_GAME.odj_T2)
    	noga_L.gotoAndStop(_root.mc_GAME.odj_T2)
    	noga_R.gotoAndStop(_root.mc_GAME.odj_T2)
    	bot_L.gotoAndStop(_root.mc_GAME.odj_N)
    	bot_R.gotoAndStop(_root.mc_GAME.odj_N)
    	bot_L.bot.gotoAndStop(_root.mc_GAME.odj_B)
    	bot_R.bot.gotoAndStop(_root.mc_GAME.odj_B)
    }

    Вот он каков as1)

    kyzi007, 09 Декабря 2011

    Комментарии (41)
  4. ActionScript / Говнокод #8754

    −119

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    public function checkDrop (pos: Array): Array
     {
     	checkItem ();
     	var res: Array = [];
     	var item: Array
     	var mc: MovieClip
     	for (var i: int = 0; i < pos.length; i++)
     	{
       item = pos[i];
       if (itemList[item[0]])mc = itemList[item[0]][item[1]] as MovieClip;
       if (mc)
       {
       	if (mc.blcd != 0 && ((item[2] == 2 && mc.blcd == 2) || (item[2] == 1 && mc.blcd == 2) || (item[2] == 2 && mc.blcd == 1))) res[i] = 1;
       }
     	}
     	return res;
     }

    Проверка проходимости сетки. И, да, эти мувики не в дисплейлисте, они просто хранят информацию.

    kyzi007, 06 Декабря 2011

    Комментарии (48)
  5. ActionScript / Говнокод #8714

    −111

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    66. 66
    67. 67
    68. 68
    69. 69
    70. 70
    71. 71
    72. 72
    73. 73
    74. 74
    75. 75
    76. 76
    77. 77
    78. 78
    79. 79
    80. 80
    81. 81
    82. 82
    public class MonstrGrafic extends ModulINT {
    		var data:XML;
    		var colors:Array = new Array(
    			'0x008080',
    			'0x800080',
    			'0xccffcc',
    			'0x00ffff',
    			'0x800000',
    			'0x0000ff',
    			'0x00ccff',
    			'0xccffff',
    			'0xffff00',
    			'0xffff99',
    			'0x000080',
    			'0xff00ff'
    		);
    		var ListTime:Array = new Array(
    			"08:00:00 - 08:15:00",
    			"08:15:00 - 08:30:00",
    			"08:30:00 - 08:45:00",
    			"08:45:00 - 09:00:00",
    			"09:00:00 - 09:15:00",
    			"09:15:00 - 09:30:00",
    			"09:30:00 - 09:45:00",
    			"09:45:00 - 10:00:00",
    			"10:00:00 - 10:15:00",
    			"10:15:00 - 10:30:00",
    			"10:30:00 - 10:45:00",
    			"10:45:00 - 11:00:00",
    			"11:00:00 - 11:15:00",
    			"11:15:00 - 11:30:00",
    			"11:30:00 - 11:45:00",
    			"11:45:00 - 12:00:00",
    			"12:00:00 - 12:15:00",
    			"12:15:00 - 12:30:00",
    			"12:30:00 - 12:45:00",
    			"12:45:00 - 13:00:00",
    			"13:00:00 - 13:15:00",
    			"13:15:00 - 13:30:00",
    			"13:30:00 - 13:45:00",
    			"13:45:00 - 14:00:00",
    			"14:00:00 - 14:15:00",
    			"14:15:00 - 14:30:00",
    			"14:30:00 - 14:45:00",
    			"14:45:00 - 15:00:00",
    			"15:00:00 - 15:15:00",
    			"15:15:00 - 15:30:00",
    			"15:30:00 - 15:45:00",
    			"15:45:00 - 16:00:00",
    			"16:00:00 - 16:15:00",
    			"16:15:00 - 16:30:00",
    			"16:30:00 - 16:45:00",
    			"16:45:00 - 17:00:00",
    			"17:00:00 - 17:15:00",
    			"17:15:00 - 17:30:00",
    			"17:30:00 - 17:45:00",
    			"17:45:00 - 18:00:00",
    			"18:00:00 - 18:15:00",
    			"18:15:00 - 18:30:00",
    			"18:30:00 - 18:45:00",
    			"18:45:00 - 19:00:00",
    			"19:00:00 - 19:15:00",
    			"19:15:00 - 19:30:00",
    			"19:30:00 - 19:45:00",
    			"19:45:00 - 20:00:00",
    			"20:00:00 - 20:15:00",
    			"20:15:00 - 20:30:00",
    			"20:30:00 - 20:45:00",
    			"20:45:00 - 21:00:00",
    			"21:00:00 - 21:15:00",
    			"21:15:00 - 21:30:00",
    			"21:30:00 - 21:45:00",
    			"21:45:00 - 22:00:00",
    			"22:00:00 - 22:15:00",
    			"22:15:00 - 22:30:00",
    			"22:30:00 - 22:45:00",
    			"22:45:00 - 23:00:00",
    			"23:00:00 - 23:15:00",
    			"23:15:00 - 23:30:00",
    			"23:30:00 - 23:45:00",
    			"23:45:00 - 24:00:00"
    		);

    kyzi007, 03 Декабря 2011

    Комментарии (65)
  6. PHP / Говнокод #8711

    +159

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    private function isBonusAddOK($code,$ffStr)
    	{
    		switch($code)
    		{
    			case 1:if(
    						($this->isBFFOK($ffStr,40) || $this->isBFFOK($ffStr,38) || $this->isBFFOK($ffStr,37)) && 
    						$this->isBFFOK($ffStr,24) && $this->isBFFOK($ffStr,19) &&
    						($this->isBFFOK($ffStr,42) || $this->isBFFOK($ffStr,43) || $this->isBFFOK($ffStr,44))
    						)return true;return false;
    						
    			case 6:if(
    						($this->isBFFOK($ffStr,40) || $this->isBFFOK($ffStr,38) || $this->isBFFOK($ffStr,37)) && 
    						$this->isBFFOK($ffStr,24) && $this->isBFFOK($ffStr,20) &&
    						($this->isBFFOK($ffStr,42) || $this->isBFFOK($ffStr,43) || $this->isBFFOK($ffStr,44))
    						)return true;return false;
    						
    			case 11:if(
    						$this->isBFFOK($ffStr,24) &&
    						($this->isBFFOK($ffStr,16) || $this->isBFFOK($ffStr,358) || $this->isBFFOK($ffStr,360) || $this->isBFFOK($ffStr,361)) && 
    						$this->isBFFOK($ffStr,62) &&
    						($this->isBFFOK($ffStr,64) || $this->isBFFOK($ffStr,352) || $this->isBFFOK($ffStr,356) || $this->isBFFOK($ffStr,363)) &&
    						($this->isBFFOK($ffStr,3) || $this->isBFFOK($ffStr,4) || $this->isBFFOK($ffStr,5))
    						)return true;return false;
    						
    			case 14:if(
    						$this->isBFFOK($ffStr,24) &&
    						($this->isBFFOK($ffStr,16) || $this->isBFFOK($ffStr,358) || $this->isBFFOK($ffStr,360) || $this->isBFFOK($ffStr,361)) && 
    						$this->isBFFOK($ffStr,61) &&
    						($this->isBFFOK($ffStr,64) || $this->isBFFOK($ffStr,352) || $this->isBFFOK($ffStr,356) || $this->isBFFOK($ffStr,363)) &&
    						($this->isBFFOK($ffStr,3) || $this->isBFFOK($ffStr,4) || $this->isBFFOK($ffStr,5))
    						)return true;return false;
    			
    			case 17:if(
    						($this->isBFFOK($ffStr,16) || $this->isBFFOK($ffStr,358) || $this->isBFFOK($ffStr,360) || $this->isBFFOK($ffStr,361)) && 
    						($this->isBFFOK($ffStr,64) || $this->isBFFOK($ffStr,352) || $this->isBFFOK($ffStr,356) || $this->isBFFOK($ffStr,363)) &&
    						($this->isBFFOK($ffStr,3) || $this->isBFFOK($ffStr,4) || $this->isBFFOK($ffStr,5)) &&
    						$this->isBFFOK($ffStr,17)
    						)return true;return false;
    			
    			case 20:if(
    						($this->isBFFOK($ffStr,16) || $this->isBFFOK($ffStr,358) || $this->isBFFOK($ffStr,360) || $this->isBFFOK($ffStr,361)) && 
    						($this->isBFFOK($ffStr,64) || $this->isBFFOK($ffStr,352) || $this->isBFFOK($ffStr,356) || $this->isBFFOK($ffStr,363)) &&
    						($this->isBFFOK($ffStr,3) || $this->isBFFOK($ffStr,4) || $this->isBFFOK($ffStr,5)) &&
    						$this->isBFFOK($ffStr,25) && $this->isBFFOK($ffStr,21)
    						)return true;return false;
    						
    			case 23:if(
    						($this->isBFFOK($ffStr,16) || $this->isBFFOK($ffStr,358) || $this->isBFFOK($ffStr,360) || $this->isBFFOK($ffStr,361)) && 
    						($this->isBFFOK($ffStr,64) || $this->isBFFOK($ffStr,352) || $this->isBFFOK($ffStr,356) || $this->isBFFOK($ffStr,363)) &&
    						($this->isBFFOK($ffStr,3) || $this->isBFFOK($ffStr,4) || $this->isBFFOK($ffStr,5)) &&
    						$this->isBFFOK($ffStr,21)
    						)return true;return false;
    						
    						
    		.... еще куча строк до значения 88
    			
    			default: return true;
    		}
    	}
    	
    	private function isBFFOK($ffStr,$pos)
    	{
    		$val = substr($ffStr,$pos,1);//echo $pos.':'.$val;var_dump(($val != '0'));echo ' ';
    		return ($val != '0');
    		/*if($val == 0)return false;

    ИфЗебок

    kyzi007, 02 Декабря 2011

    Комментарии (7)
  7. PHP / Говнокод #8628

    +165

    1. 1
    ORM::factory('comment')->values($_POST,array('folder_id','code','comment','post_id'))->set('post_id',$post_id)->set('user_id',Auth::instance()->get_user()->id)->set('ip',$_SERVER['REMOTE_ADDR'])->create();

    kyzi007, 23 Ноября 2011

    Комментарии (63)
  8. JavaScript / Говнокод #8601

    +164

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    <p></a></p>
    <p><a href="http://domikrent.com/nedvizhimost/arenda/arenda-vip-ofisa-ul-r-okipnoj4-a.htm#more-153" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','domikrent.com']);"> </a></p>
    
    <p><a href="http://domikrent.com/nedvizhimost/arenda/arenda-vip-ofisa-ul-r-okipnoj4-a.htm#more-153" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','domikrent.com']);"></a></p>
    <p><a href="http://domikrent.com/nedvizhimost/arenda/arenda-vip-ofisa-ul-r-okipnoj4-a.htm#more-153" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','domikrent.com']);"> </a></p>
    <p><a href="http://domikrent.com/nedvizhimost/arenda/arenda-vip-ofisa-ul-r-okipnoj4-a.htm#more-153" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','domikrent.com']);"></a></p>
    <p><a href="http://domikrent.com/nedvizhimost/arenda/arenda-vip-ofisa-ul-r-okipnoj4-a.htm#more-153" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','domikrent.com']);"> </a></p>
    <p><a href="http://domikrent.com/nedvizhimost/arenda/arenda-vip-ofisa-ul-r-okipnoj4-a.htm#more-153" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','domikrent.com']);"></a></p>
    <p>Сдам офисное помещение,  5 кв.м., ст. м &laquo;Левобережная&raquo;, н/ф, цоколь,   евроремонт (ламинат,обои под покраску),  кондиционирование, телефон  (телесистемы),  интернет, услуги секретаря.<strong> Цена включая аренду + коммунальные + э.э.-  1200 грн/мес;</strong></p>
    <p>Сдаю свое, без комиссионных!</p>
    <p><a href="http://domikrent.com/nedvizhimost/arenda/arenda-vip-ofisa-ul-r-okipnoj4-a.htm#more-153" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','domikrent.com']);"></a></p>

    И еще сотня строк
    Коротко об авторе - Знание ПК:
    Знание языков программирования: pascal, Delphi 7, C++, C#, Assembler, java, php, javascript, ajax, jQuery, css, htm, flexl; ЗнаниеСУБД: mySQl, MsSQL, Oracl; Знания библиотек distributed computing: MPI, Win32; Знания серверов: Apache 2, Tomcat; ОС: Windows, Unix; Паттерны проектирования; MVC;

    Умения администрировать Unix системы. Навыки в настройке: Bind9, POP3 SMTP IMAP – servers, Apache PHP MySQL5, NFS –server, OSPF or RIP servers, DHCP, configuration Unix Firewalls.

    Завтра будем собеседовать....

    kyzi007, 22 Ноября 2011

    Комментарии (123)
  9. ActionScript / Говнокод #8571

    −122

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    public static function hide (target:MovieClip, time:Number = .1, finshCallBack:Function = null, time2:Number = 0):void
    {
    	if (!target) return;
    
    	cansel(target);
    
    	var fun:Function = function (event:Event = null):void
    	{
    		var tw:Tween = new Tween(target, 'alpha', null, target.alpha, 0, time, true);
    		tw.addEventListener(TweenEvent.MOTION_FINISH, hideEnd);
    		if (finshCallBack != null) tw.addEventListener(TweenEvent.MOTION_FINISH, finshCallBack);
    		if (target['tw']) target['tw'].stop();
    		target['tw'] = tw;
    		target['is_hide'] = true;
    		if (target.hasOwnProperty('is_over')) target['is_over'] = false;
    	}
    	if (time2 == 0)
    	{
    		fun();
    	}
    	else
    	{
    		var timer:MyTimer = new MyTimer(time2 * 1000, 1);
    		target['timer'] = timer;
    		timer.addEventListener(TimerEvent.TIMER_COMPLETE, fun);
    		timer.start();
    	}
    }

    Вот такой недотвин)

    kyzi007, 18 Ноября 2011

    Комментарии (22)
  10. ActionScript / Говнокод #8499

    −114

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    66. 66
    67. 67
    68. 68
    69. 69
    70. 70
    71. 71
    72. 72
    73. 73
    74. 74
    75. 75
    76. 76
    77. 77
    78. 78
    79. 79
    80. 80
    81. 81
    82. 82
    83. 83
    84. 84
    85. 85
    86. 86
    87. 87
    88. 88
    89. 89
    90. 90
    91. 91
    92. 92
    93. 93
    94. 94
    95. 95
    96. 96
    function cleanFrame() {
    removeChild(MaskedScienseClip);{
     trace("MaskedScienseClip added");}
    removeChild(MaskedScienseShape);{
     trace("MaskedScienseShape removed");}
    removeChild(blink1);{
     trace("blink1 removed");}
    removeChild(btn_sciense);{
     trace("btn_sciense removed");}
    removeChild(MaskedComputersClip);{
     trace("MaskedComputersClip removed");}
    removeChild(MaskedComputersShape);{
     trace("MaskedComputersShape removed");}
    removeChild(blink2);{
     trace("blink2 removed");}
    removeChild(btn_computers);{
     trace("btn_computers removed");}
    removeChild(MaskedHumansClip);{
     trace("MaskedHumansClip removed");}
    removeChild(MaskedHumansShape);{
     trace("MaskedHumansShape removed");}
    removeChild(blink3);{
     trace("blink3 removed");}
    removeChild(btn_humans);{
     trace("btn_humans removed");}
    removeChild(MaskedAnimalsClip);{
     trace("MaskedAnimalsClip removed");}
    removeChild(MaskedAnimalsShape);{
     trace("MaskedAnimalsShape removed");}
    removeChild(blink4);{
     trace("blink4 removed");}
    removeChild(btn_animals);{
     trace("btn_animals removed");}
    removeChild(MaskedNatureClip);{
     trace("MaskedNatureClip removed");}
    removeChild(MaskedNatureShape);{
     trace("MaskedNatureShape removed");}
    removeChild(blink5);{
     trace("blink5 removed");}
    removeChild(btn_nature);{
     trace("btn_nature removed");}
    removeChild(MaskedWorldClip);{
     trace("MaskedWorldClip removed");}
    removeChild(MaskedWorldShape);{
     trace("MaskedWorldShape removed");}
    removeChild(blink6);{
     trace("blink6 removed");}
    removeChild(btn_world);{
     trace("btn_world removed");}
    removeChild(MaskedEnterClip);{
     trace("MaskedEnterClip removed");}
    removeChild(MaskedEnterShape);{
     trace("MaskedEnterShape removed");}
    removeChild(blink7);{
     trace("blink7 removed");}
    removeChild(btn_enter);{
     trace("btn_enter removed");}
    removeChild(MaskedSportClip);{
     trace("MaskedSportClip removed");}
    removeChild(MaskedSportShape);{
     trace("MaskedSportShape removed");}
    removeChild(blink8);{
     trace("blink8 removed");}
    removeChild(btn_sport);{
     trace("btn_sport removed");}
    removeChild(MaskedTransportClip);{
     trace("MaskedTransportClip removed");}
    removeChild(MaskedTransportShape);{
     trace("MaskedTransportShape removed");}
    removeChild(blink9);{
     trace("blink9 removed");}
    removeChild(btn_transport);{
     trace("btn_transport removed");}
    removeChild(categorySTXT);{
     trace("categorySTXT removed");}
    removeChild(scienseTXT);{
     trace("scienseTXT removed");}
    removeChild(computersTXT);{
     trace("computersTXT removed");}
    removeChild(humansTXT);{
     trace("humansTXT removed");}
    removeChild(animalsTXT);{
     trace("animalsTXT removed");}
    removeChild(natureTXT);{
     trace("natureTXT removed");}
    removeChild(worldTXT);{
     trace("worldTXT removed");}
    removeChild(enterTXT);{
     trace("enterTXT removed");}
    removeChild(sportTXT);{
     trace("sportTXT removed");}
    removeChild(transportTXT);{
     trace("transportTXT removed");}
      removeChild(logo_small);{
      trace("logo_small removed");}
    }

    Ледящая душу красота.

    kyzi007, 12 Ноября 2011

    Комментарии (14)
  11. ActionScript / Говнокод #8498

    −119

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    for (i = 0; i < config.sizecombobox[0].*.length(); i++) {
    					var size: XML = config.sizecombobox[0].*[i];
    					for (s = 0; s < size.compactnesscombobox[0].*.length(); s++) {
    						var compact: XML = size.compactnesscombobox[0].*[s];
    						flag = false;
    						for (k = 0; k < dataCompactIds.length; k++) {
    							if (int(compact.id) == dataCompactIds[k]) {
    								flag = true;
    								break;
    							}
    						}
    						if (!flag) {
    							if (compact.label != '') {
    								dataCompactIds.push(compact.id);
    								dataallCompact.addItem(compact);
    							}
    						}
    						for (v = 0; v < compact.papercombobox[0].*.length(); v++) {
    							flag = false;
    							var paper: XML = compact.papercombobox[0].*[v];
    							for (k = 0; k < dataPaperIds.length; k++) {
    								if (paper.id == dataPaperIds[k]) {
    									flag = true;
    									break;
    								}
    							}
    							if (!flag) {
    								dataPaperIds.push(paper.id);
    								dataallPaper.addItem(paper);
    							}
    						}
    					}
    				}

    Работаем с хмлью:)

    kyzi007, 12 Ноября 2011

    Комментарии (12)