- 001
- 002
- 003
- 004
- 005
- 006
- 007
- 008
- 009
- 010
- 011
- 012
- 013
- 014
- 015
- 016
- 017
- 018
- 019
- 020
- 021
- 022
- 023
- 024
- 025
- 026
- 027
- 028
- 029
- 030
- 031
- 032
- 033
- 034
- 035
- 036
- 037
- 038
- 039
- 040
- 041
- 042
- 043
- 044
- 045
- 046
- 047
- 048
- 049
- 050
- 051
- 052
- 053
- 054
- 055
- 056
- 057
- 058
- 059
- 060
- 061
- 062
- 063
- 064
- 065
- 066
- 067
- 068
- 069
- 070
- 071
- 072
- 073
- 074
- 075
- 076
- 077
- 078
- 079
- 080
- 081
- 082
- 083
- 084
- 085
- 086
- 087
- 088
- 089
- 090
- 091
- 092
- 093
- 094
- 095
- 096
- 097
- 098
- 099
- 100
function INIT_SUB_BUTTONS() {
mc_SHOP.btn_0.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(1)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(21)
}else mc_SHOP.gotoAndStop(41)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_1.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(2)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(22)
}else mc_SHOP.gotoAndStop(42)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_2.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(3)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(23)
}else mc_SHOP.gotoAndStop(43)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_3.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(4)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(24)
}else mc_SHOP.gotoAndStop(44)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_4.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(5)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(25)
}else mc_SHOP.gotoAndStop(45)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_5.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(6)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(26)
}else mc_SHOP.gotoAndStop(46)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_6.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(7)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(27)
}else mc_SHOP.gotoAndStop(47)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_7.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(8)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(28)
}else mc_SHOP.gotoAndStop(48)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_8.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(9)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(29)
}else mc_SHOP.gotoAndStop(49)
_root.mc_GAME.pre_BUILD()
}
}
mc_SHOP.btn_9.onPress = function() {
if ( mc_SHOP._BIG._currentframe == 1) {
if(mc_SHOP._currentframe<15){
mc_SHOP.gotoAndStop(10)
}else if(mc_SHOP._currentframe<35){
mc_SHOP.gotoAndStop(30)
}else mc_SHOP.gotoAndStop(50)
_root.mc_GAME.pre_BUILD()
}
kyzi007 09.02.2012 16:57 # 0
http://demiart.ru/forum/journal.php?user=142469&comm=265503
bugmenot 09.02.2012 18:03 # 0
Lure Of Chaos 10.02.2012 00:55 # 0
Контроль версий в Жж?
Реквестирую юнит-тестирование и непрерывную интеграцию!
bugmenot 10.02.2012 14:37 # 0
SmackMyBitchUp 17.02.2012 17:58 # 0
guest8 09.04.2019 12:39 # −999