묻고답하기

플래쉬문의요...

2006.12.27 00:21

손재희

http://zed22.cafe24.com/noni/fulls.html   여기 가보셔서 단추를 클릭하시면 그자리에서 링크가 걸립니다. 이걸 메인 프레임쪽으로 링크를 걸게 하고 싶은데 안되네요.. 소스를 보여드릴게요... 어디서 소스를 바꿔야 하는지좀 고수님들알려주세요.. 참고로 플래쉬액션 입니다.... 플래쉬상에 있는 소스구요...
제발좀 알려주세요....

// //////////////////////////////////////////////////////
//
// and
//
// ddd
//
// //////////////////////////////////////////////////////
Stage.align = "";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
// URL 연결
_root.connURL10 = "http://www.yahoo.co.kr";
_root.connURL11 = "";
_root.connURL12 = "";
_root.connURL20 = "http://www.naver.com";
_root.connURL21 = "";
_root.connURL22 = "";
_root.connURL23 = "";
_root.connURL24 = "";
_root.connURL30 = "http://www.naver.com";
_root.connURL31 = "";
_root.connURL32 = "";
_root.connURL33 = "";
_root.connURL40 = "http://www.daum.net";
_root.connURL41 = "";
_root.connURL42 = "";
_root.connURL50 = "http://www.nate.com";
_root.connURL51 = "";
_root.connURL52 = "";
_root.connURL53 = "";
_root.connGET10 = "";
_root.connGET11 = "";
_root.connGET12 = "";
_root.connGET20 = "";
_root.connGET21 = "";
_root.connGET22 = "";
_root.connGET23 = "";
_root.connGET24 = "";
_root.connGET30 = "";
_root.connGET31 = "";
_root.connGET32 = "";
_root.connGET33 = "";
_root.connGET40 = "";
_root.connGET41 = "";
_root.connGET42 = "";
_root.connGET50 = "";
_root.connGET51 = "";
_root.connGET52 = "";
_root.connGET53 = "";
_root.aniURL1 = "http://www.naver.com";
_root.aniURL2 = "";
_root.aniURL3 = "";
_root.aniGET1 = "";
_root.aniGET2 = "";
_root.aniGET3 = "";




stop();
_global.menuNum = 5;
// 메인메뉴 갯수
_global.spd = 4;
for (i=1; i<=menuNum; i++) {
    inNum = 1;
    while (inNum>maxNum) {
        if (this['sub'+i+inNum] == undefined) {
            maxNum = inNum+1;
        }
        this['sub'+i+inNum]._alpha = 0;
        this['sub'+i+inNum]._y = -200;
        inNum++;
    }
    this['subNum'+i] = inNum-2;
    this['subHei'+i] = this['subNum'+i]*20+20;
    maxNum = 0;
    this['sub'+i].useHandCursor = false;
}
beMaskX = this.subMask._x;
beSubiX = this.sub1._x;
favoTxtAlaph = 60;
favoriteX = 12;
this.onEnterFrame = function() {
    for (i=1; i<=menuNum; i++) {
        if (name) {
            if (name == i) {
                this['main'+i]._alpha += (100-this['main'+i]._alpha)/spd;
                this['sub'+i]._alpha += (80-this['sub'+i]._alpha)/spd;
                this['mtx'+i]._xscale += (110-this['mtx'+i]._xscale)/spd;
                this['mtx'+i]._yscale += (110-this['mtx'+i]._yscale)/spd;
                this['sub'+i]._height += (this['subHei'+i]-this['sub'+i]._height)/spd;
                dn = 20;
                for (n=1; n<=this['subNum'+i]; n++) {
                    this['sub'+i+n]._x = 280+dx;
                    this['sub'+i+n]._y = this['sub'+i]._y+dn;
                    this['sub'+i+n]._alpha += (100-this['sub'+i+n]._alpha)/spd;
                    dn += 20;
                    dx -= 5;
                }
                dn = 0;
                dx = 0;
            } else {
                this['main'+i]._alpha += (50-this['main'+i]._alpha)/spd;
                this['sub'+i]._alpha += (50-this['sub'+i]._alpha)/spd;
                this['mtx'+i]._xscale += (100-this['mtx'+i]._xscale)/spd;
                this['mtx'+i]._yscale += (100-this['mtx'+i]._yscale)/spd;
                this['sub'+i]._height += (20-this['sub'+i]._height)/spd;
                for (n=1; n<=this['subNum'+i]; n++) {
                    this['sub'+i+n]._y = -200;
                    this['sub'+i+n]._alpha = 0;
                }
            }
            this['sub'+i]._x += (beSubiX+100-this['sub'+i]._x)/spd;
        } else {
            this['main'+i]._alpha += (50-this['main'+i]._alpha)/spd;
            this['sub'+i]._alpha += (50-this['sub'+i]._alpha)/spd;
            this['mtx'+i]._xscale += (100-this['mtx'+i]._xscale)/spd;
            this['mtx'+i]._yscale += (100-this['mtx'+i]._yscale)/spd;
            this['sub'+i]._x += (beSubiX-this['sub'+i]._x)/spd;
            this['sub'+i]._height += (20-this['sub'+i]._height)/spd;
            for (n=1; n<=this['subNum'+i]; n++) {
                this['+ '+ 'sub'+i+n]._y = -200;
                this['sub'+ '+i+n]._alpha = 0;
            }
        }
        for (n=1; n<=menuNum; n++) {
            if (n != 1) {
                this['sub'+n]._y += (this['sub'+(n-1)]._y+this['sub'+(n-1)]._height+1-this['sub'+n]._y)/(spd/2);
            }
        }
    }
    if (name) {
        this.sub._x += (100-this.sub._x)/spd;
        this.subShadow._x += (100-this.subShadow._x)/spd;
        this.subMask._x += (beMaskX+100-this.subMask._x)/spd;
    } else {
        this.sub._x += (0-this.sub._x)/spd;
        this.subShadow._x += (0-this.subShadow._x)/spd;
        this.subMask._x += (beMaskX-this.subMask._x)/spd;
    }
    this.favo.favoTxt._alpha += (favoTxtAlaph-this.favo.favoTxt._alpha)/3;
    this.favo._x += (favoriteX-this.favo._x)/3;
    for (i=1; i<=3; i++) {
        if (num == i) {
            this.favo['ani'+i].nextFrame();
        } else {
            this.favo['ani'+i].prevFrame();
        }
    }
};
for (i=1; i<=menuNum; i++) {
    this['btn'+i].onRollOver = this['sub'+i].onRollOver=function () { name = this._name.substring(3, 4);};
    this['btn'+i].onRollOut = this['sub'+i].onRollOut=function () { name = undefined;if (_root.page) {name = _root.page;}};
    this['btn'+i].onRelease = function() {
        name = this._name.substring(3, 4);
        getURL(_root['connURL'+name+'0'], _root['connGET'+name+'0']);
    };
    for (n=1; n<=menuNum; n++) {
        this['sub'+i+n].onRollOver = function() {
            name = this._name.substring(3, 4);
        };
        this['sub'+i+n].onRollOut = function() {
            name = undefined;
            if (_root.page) {
                name = _root.page;
            }
        };
        this['sub'+i+n].onRelease = function() {
            name = this._name.substring(3, 5);
            getURL(_root['connURL'+name], _root['connGET'+ '+name]);
        };
    }
}
for (i=1; i<=3; i++) {
    this.favo['ani'+i+'Btn'].onRollOver = function() {
        num = this._name.substring(3, 4);
    };
    this.favo['ani'+i+'Btn'].onRollOut = function() {
        num = undefined;
    };
    this.favo['+ 'ani'+i+'Btn'].onRelease = function() {
        num = this._name.substring(3, 4);
        getURL(_root['aniURL'+num], _root['aniGET'+num]);
    };
}
if (_root.page) {
    name = _root.page;
}
this.favo.favoBtn.onRollOver = function() {
    favoTxtAlaph = 100;
};
this.favo.favoBtn.onRollOut = function() {
    favoTxtAlaph = 60;
};
this.favo.favoBtn.onRelease = function() {
    if (oneClick) {
        favoriteX = 12;
        oneClick = false;
    } else {
        favoriteX = 410;
        oneClick = true;
    }
};
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
정순근 버튼에서 하위메뉴 만드는 방법 [1] 2007.08.10
디엠 홈페이지에 악성코드 ''스파이다잡아'' 하루커뮤니케이션 소스가... [3] 2007.08.10
이현식 스타일시트 폰트 적용시 한글과 영문 폰트를 따로 적용 할 수 있나요?^^; [1] 2007.08.10
신의아들 공지사항 기능 구현에 대해;;  
김상혁 폼메일을 사용 하고 있습니다... 메세지 출력을 바꾸고 싶습니다. [1] 2007.08.10
DeificatioN PHP의 class 강좌 어디 없나요???  
정순근 링크거는거에 대해서.. [4] 2007.08.10
sun 공부삼아 제로보드와 모닝몰 병합 시키려면.... [1] 2007.08.10
ssooaa 퀵메뉴 스크롤 문제 급질문입니다. 제발 답변 주세요~  
푸른하늘 프로그램에 사용되는 그래픽아이콘은 주로 어떻게 구입하시나요  
James Rhee [질문] 멀티미디어 서버를 구축하였는데..  
박종훈 본문에 따라 달라지는 메뉴ㅠ [테이블 셀] [2] 2007.08.10
김상혁 이미지가 안나타 나는데 어찌 해야 되는지 모르겠어요... [4] 2007.08.10
미카도르 예전에 PHP로 서버를 다 들여볼 수 있는 프로그램있었지 않습니까?  
이재승 제로보드 한글인식이 안됩니다. [1] 2007.08.10
박경태 [플래시]쇼핑몰같은 곳에 보면 말이죠...  
박판수 나모로 만든 홈피에 사랑비 BGM을 연동되게 할려면 [1] 2007.08.10
정은아 질문 드릴께요 ㅠㅠ [1] 2007.08.10
네사루 홈페이지가 대문에서 메인으로 안들어갑니다. [1] 2007.08.10
sam 제로보드 게시판이 뜨지 않습니다. [2] 2007.08.10
김성근 쇼핑몰싸이트 상품리스트표시 [1] 2007.08.10
김문겸 인터넷 예약페이지 제작시 의문사항 [2] 2007.08.10
깡이리 뽀샵에서 깔끔하고 또렷한 글자 쓰는 방법좀 알려주세요!! [1] 2007.08.10
Kis+o² 자바 스크립트가 여러 프레임에서 공통으로 먹히도록 [1] 2007.08.10
alpis 디렉토리 리스트 구하는 방법좀 알려주세요...  
김륜홍 자바스크립트 작동 질문 [1] 2007.08.10
눈물 홈페이지 언어 영어 OTL ★ㅠㅠ [1] 2007.08.10
조지현 포토샵에서 칠판효과를 만들고 싶은데..  
손재희 플래쉬문의요...  
WiSH usemap의 coords 질문입니다.