묻고답하기

원래 메뉴가 4개로 되어있는 액션에서 5개로 추가하려고 하는데 어떻게 해야할지..
onClipEvent(load){
        fscommand("allowscale",false);
        max_h = 90;
        min_h = 70;
        de_h =75;
        num_of_menu=5;
        system_on=false;
                
        for(i=1 ; i<=num_of_menu+1 ; i++){
                this.attachMovie("line","line"+i,(100*i));
                this["line"+i]._x = (i-1)*de_h;
                this["line"+i]._y = 30;
                this["line"+i].active = false;
        }
        
        this.line1._visible=false;
        this.line6._visible=false;

        for(i=1 ; i<=num_of_menu ; i++){
                this.attachMovie("menu","menu"+i,i);
                this["menu"+i]._x = (i-1)*de_h
                this["menu"+i]._y = 45;
                this["menu"+i]._xscale=(this["line"+(i+1)]._x-this["line"+i]._x)/0.90;
                this["menu"+i]._xscale=(this["line"+(i+1)]._x-this["line"+i]._x)/0.90;
                this["menu"+i].attachMovie("image"+i,"image",1);
                this["menu"+i].attachMovie("point","point",2);
        }

        function targetCheck(){
                if(this._xmouse>=0 && this._xmouse<=375        && this._ymouse>=0 && this._ymouse<=90){
                        system_on = true;
                        for(i=1; i<=num_of_menu;i++){
                                if(this._xmouse>this["line"+i]._x && this._xmouse<this["line"+(i+1)]._x){
                                        this["line"+(i+1)].active=true;
                                }else{
                                        this["line"+(i+1)].active=false;
                                }
                        }
                }else{
                        system_on=false;
                }
        }
                
        function lineMove(){
                if(system_on){
                        for(i=2;i<=num_of_menu;i++){
                                if(this["line"+i].active){
                                        this["line"+i].targetPos = this["line"+(i-1)].targetPos+max_h;
                                }else{
                                        this["line"+i].targetPos = this["line"+(i-1)].targetPos+min_h;                
                                }
                                this["line"+i]._x += (this["line"+i].targetPos-this["line"+i]._x)/6;
                        }
                }else{
                        for(i=2;i<=num_of_menu;i++){
                                this.line1.targetPos = 0;
                                this["line"+i].targetPos = this["line"+(i-1)].targetPos+de_h;                
                                this["line"+i]._x+= (this["line"+i].targetPos-this["line"+i]._x)/6;
                        }
                }
        }

        function menuMove(){
                for(i=1;i<=num_of_menu;i++){
                        if(this["line"+(i+1)].active && system_on){
                                if(this["menu"+i].point._currentFrame==1){
                                        this["menu"+i].point.gotoAndPlay(2);
                                }
                        }else{
                                this["menu"+i].point.gotoAndStop(1);
                        }
                        this["menu"+i]._x = this["line"+i]._x;
                        this["menu"+i]._xscale = (this["line"+(i+1)]._x-this["line"+i]._x)/0.90;
                        this["menu"+i]._yscale = (this["line"+(i+1)]._x-this["line"+i]._x)/0.90;
                }
        }
}

onClipEvent(enterFrame){
        targetCheck();
        lineMove();
        menuMove();
}

액션 소스입니다~
다른건 다 되는데 메뉴하나의 이미지가 보이지 않아요..
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
tui 로그인 부분에서 인증메일 재발송 부분을 없애고 싶은데요 [5] 2014.12.16 by tui
콩이랑이 XE cannot connect to DB. 이라고뜹니다 [8] file 2014.12.16 by 몽실아빠
KaiSeR1254 xe 로그인 부분 소스파일 [1] 2014.12.16 by lililiillililiil
lisoliso 제로보드에 대한 기초적인 질문입니다. [6] 2014.12.16 by lisoliso
또별 _SERVER[HTTP_HOST] 따옴표 문의해요. [3] 2014.12.16 by 또별
율피아 아이디 4글자 이상적용 안먹히는거 문의 [2] 2014.12.16 by 율피아
내아내그리움 탭형태최근문서 오류가납니다.  
한국외대이근일 게시판 2000개를 사용하여 이것을 만들 수 있을까요? [5] 2014.12.15 by 늘푸른나무2
XESTUDIO 콘솔에러좀 봐주실 분 [2] 2014.12.15 by 외인
잉현웅:333 onload 로 자바스크립트 함수 호출 [3] 2014.12.15 by 잉현웅:333
asere 커뮤니티 사이트 운영시 사업자등록? 수익분배? [6] 2014.12.15 by asere
콩까기 가입시 확장변수에 특정단어 입력해야만 가입할수있게 하고싶습니다~ [2] 2014.12.15 by 콩까기
Ruinavan 스케치북 게시판 모듈 상단 프레임 조정 문의 [2] file 2014.12.15 by Ruinavan
좋은데이 변경된 레이아웃 파일들이 어디에 저장이되는지 알려주세요, [2] 2014.12.15 by 좋은데이
콩이랑이 제가만든 홈페이지 들어가면 XE cannot connect to DB. 이라고뜹니다 file  
안종권142 네이버아이디로 로그인하기 등록이 안되는 이유가 있을까요? [2] 2014.12.15 by 안종권142
hsjaa 세션유지 를 해제하고 싶습니다 ㅠㅠ  
XESTUDIO 프로필 사진 업로드가 되지 않습니다. [4] file 2014.12.15 by XESTUDIO
나만의너 게시판 정렬 코드 어디있는지 여쭤봅니다 file  
검푸 그누보드 XE 장단점이 어떻게 되나요? [1] 2014.12.15 by XESTUDIO