smallnewer / bugs

18 stars 4 forks source link

gddgfd #67

Closed 499689317 closed 9 years ago

499689317 commented 9 years ago

999

fhgfhalert(1)gftfc

jkjlkgjhgh

66

switch(itembg.tag){
                case 0:
                {
                    for (var i = 0; i < itemarr.length; i++) {
                        if (itemarr[i].tag == 0) {
                            itemarr[i].$setTexture(hl.res.public.ui.selecte);
                        } else{
                            itemarr[i].$setTexture(hl.res.public.ui.normal);
                        };
                    };

                    system.left.scrolllayer(hdcontent,con_view);

                }
                break;
                case 1:
                {

                    for (var i = 0; i < itemarr.length; i++) {
                        if (itemarr[i].tag == 1) {
                            itemarr[i].$setTexture(hl.res.public.ui.selecte);
                        } else{
                            itemarr[i].$setTexture(hl.res.public.ui.normal);
                        };
                    };
                    system.left.scrolllayer(hdcontent,con_view);
                }
                break;
                case 2:
                {
                    for (var i = 0; i < itemarr.length; i++) {
                        if (itemarr[i].tag == 2) {
                            itemarr[i].$setTexture(hl.res.public.ui.selecte);
                        } else{
                            itemarr[i].$setTexture(hl.res.public.ui.normal);
                        };
                    };
                    system.left.scrolllayer(hdcontent,con_view);
                }
                break;
                default:
                break;
            }