묻고답하기

플래쉬문의요...

2006.12.25 14:03

손재희

소스는 밑에 소스구요.... 드림위버에서 프레임을 3개로 나눴거든요 .. 플래쉬밑에 소스로 드림위버왼족 프레임에 넣었구요..   버튼을 누르면 드림위버에서 링크건걸 메인 프레임으로 가게 하고 싶은데 어떻게 해야 하나요??
지금은 플래쉬있는 그림있는데가 변하거든요..??  링크 건게 메인프레임쪽으로 가게 하려면 어느부분을 고처야 하는지 고수님들 좀 알려주세요....플래쉬에 소스가 두가지가 이렇게 있네요 ...


// //////////////////////////////////////////////////////
//
// 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 남기남
수야 서버가 이상합니니다. [ftp 업로드, 웹서버 게시판 업로드]  
이슬비 제로보드+나모웹보드  
Pury :D 이런 질문.. 여기다 해도 될련지 모르겠네요 .. 웹개발자가 되고싶습니다. [1] 2007.08.10
전금탁 include 사용시..경로지정.. [3] 2007.08.10
뽀因㉦ㅓо Ø Γ 스위시맥스 이팩트에 관한 질문입니다 급해요...  
손재희 플래쉬문의요...  
김상혁 배경 화면을 먼저 로딩 하는 방법은 없나요? [2] 2007.08.10
Kis+o² 블로그와 개인 홈페이지의 연동 좀 도와주세요 ㅜㅜ [1] 2007.08.10
윤희수 플래시 메뉴 삽입 하고 나서 제로보드 게시판 오류 문제 질문좀 할게요  
박준배 aa.html 이라는 파일을 더블 클릭 했을때 툴바/사이즈/등의 속성 부여를 가능 하게 할 수 있나요?  
김성은 head 부분 메뉴 기능이 않되요. 도와주세요  
탕코군 이미지메뉴에 하이퍼링크를 달면 간격이 벌어집니다  
박형준 FORM태그 도와주세요,ㅜ [4] 2007.08.10
조석연 제로보드의 게시판을 메인화면에 부분적으로 레이어 잡아서 [1] 2007.08.10
배추도사 cute ftp 에 관한 질문 드려요...  
좋은하루 디비 테이블 디자인 어케할까요.. 도와주세요  
서민희 드림위버로 폼을 만들었는데 이메일로 데이타 받을 수 있을까요?  
하늘아리 이런메뉴 제작하는방법좀 알려주세요~~  
최원혁 [질문]다중사용자가 로그인시 각자 자신의 홈페이지로 가게 만들수 있을까요 [1] 2007.08.10
정후니 부탁 하나 드리려 합니다. PHP등에 조금 아시는 분... [1] 2007.08.10
임대승 제로보드와 개인적으로 프로그래밍하는 프로그램과의 충돌  
미카엘 한 페이지에 인클루드를 2번 넣으려고 합니다. [1] 2007.08.10
제로사랑 메인 페이지 스쿠롤바가 끝도 없이 내려갑니다..  
조현세 HTTP 인증 방법에 대한 질문이요.. ㅜㅜ [1] 2007.08.10
쌩얼알로하 php 입문에 좋은 책 좀 추천해주세요^^ [3] 2007.08.10
황창호 psd파일 사용법 질문이요.. [1] 2007.08.10
김정희 사진을 클릭했을때 [1] 2007.08.10
마일 포워딩 주소에서 로그인이 안되요..  
손재희 플래쉬질문이요 [1] 2007.08.10
php_seeker php에서 생성한 배열을 자바스크립트 코딩에서 사용할 수 있나요?