- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
for (f_cntr = 0; f_cntr <= (_end_ -_start_); f_cntr++) {
var _pos_ = 0; var _prc_ = 0; var _min_ = 0; var _max_ =0
_obj_ =mc_SHOP.mc_TOVARI._a.duplicateMovieClip("f" + f_cntr, f_cntr + 1);
if (f_cntr / 2 == int(f_cntr / 2)) { _obj_._x = _XX;_obj_._y = _YY
}else { _obj_._x = _XX; _obj_._y = _YY + 140;_XX += 140
}
if(mc_SHOP._currentframe<20){
_pos_ = parseInt(PRICE["body" + mc_SHOP._currentframe].substr((_start_+f_cntr-1) * 11, 3), 10)
_prc_ = parseInt(PRICE["body" + mc_SHOP._currentframe].substr((_start_ +f_cntr - 1) * 11 + 3, 4), 16)
_min_ = parseInt(PRICE["body" + mc_SHOP._currentframe].substr((_start_ +f_cntr - 1) * 11 + 7, 2), 10)
_max_ = parseInt(PRICE["body" + mc_SHOP._currentframe].substr((_start_ +f_cntr - 1) * 11 + 9, 2), 10)
_obj_.BODY._group_.text = mc_SHOP._currentframe
if (GETKEY(_pos_)=="0") {if (KID_MONTH >= _min_) { _obj_.gotoAndStop(1); _obj_._age.gotoAndStop(1)}else { _obj_.gotoAndStop(4);_obj_._age.gotoAndStop(2)}}else {_obj_.gotoAndStop(3)}
} else if (mc_SHOP._currentframe<40) {
_pos_ = parseInt(PRICE["body" + (mc_SHOP._currentframe-20)].substr((_start_+f_cntr-1) * 11, 3), 10)
_prc_ = Math.floor(parseInt(PRICE["body" + (mc_SHOP._currentframe-20)].substr((_start_+f_cntr-1) * 11 + 3, 4), 16) * 0.7)
_min_ = parseInt(PRICE["body" + (mc_SHOP._currentframe-20)].substr((_start_ +f_cntr - 1) * 11 + 7, 2), 10)
_max_ = parseInt(PRICE["body" + (mc_SHOP._currentframe-20)].substr((_start_ +f_cntr - 1) * 11 + 9, 2), 10)
_obj_.BODY._group_.text = mc_SHOP._currentframe-20
if(_pos_==310||_pos_==311||_pos_==312||_pos_==313||_pos_==314||_pos_==315||_pos_==316||_pos_==317||_pos_==318||_pos_==319){ _obj_.gotoAndStop(4);_obj_._age.gotoAndStop(1)
}else { if (GETKEY(_pos_) == "0") { _obj_.gotoAndStop(4);}else {_obj_.gotoAndStop(2)}}
}else {
_pos_ = parseInt(PRICE["body" + (mc_SHOP._currentframe-40)].substr((_start_+f_cntr-1) * 11, 3), 10)
_prc_ = Math.floor(parseInt(PRICE["body" + (mc_SHOP._currentframe-40)].substr((_start_+f_cntr-1) * 11 + 3, 4), 16) * 1.1)
_min_ = parseInt(PRICE["body" + (mc_SHOP._currentframe-40)].substr((_start_ +f_cntr - 1) * 11 + 7, 2), 10)
_max_ = parseInt(PRICE["body" + (mc_SHOP._currentframe-40)].substr((_start_ +f_cntr - 1) * 11 + 9, 2), 10)
_obj_.BODY._group_.text = mc_SHOP._currentframe-40
if (_prc_ > MONEY.body2) {
_obj_.gotoAndStop(4)
}else {
_obj_.gotoAndStop(1)
}
_obj_._age.gotoAndStop(1)
}
_obj_.BODY.gotoAndStop(_pos_)
_obj_._id_.text = "F"+_pos_+" :: "+_prc_//(_start_+f_cntr)
_obj_._price_ = _prc_*1
_obj_._min_ = _min_
_obj_._max_ = _max_
_obj_._age._min.text = _min_+"м+"
_obj_._cena.text = _prc_
}
Lure Of Chaos 08.03.2012 17:51 # 0
bugmenot 08.03.2012 22:36 # 0
kyzi007 08.03.2012 23:20 # 0