http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_1
위 홈페이지에서 플래시 링크를 직접걸었는데 링크가 정상적으로 안됩니다.
어떤식으로 링크를 걸어야하나요?
혹 아시는분 답변 좀 부탁드립니다. *^^*
------아래는 플래시 파일에있는 액션입니다.--------------------------------------------
numOfMenu = 7;
// 메인 메뉴 개수
/*
메인메뉴가 추가될 때, 각 링크를 추가해서 사용하시면 됩니다.
- 예를 들어 6번째 메인메뉴가 추가될 경우,
위 numOfMenu 값을 5로 하고,
아래 mainLink[5] = "board/index.html"; 아래 mainLink[6] = "링크주소"; 을 추가합니다.
또한 targetFrame[5] = "_self"; 아래 targetFrame[6] = "타겟"; 을 추가합니다.
서브메뉴도 위와 같은 방법으로 추가합니다.
*/
//
mainLink = new Array();
mainLink[1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_1";
mainLink[2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_1";
mainLink[3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_1";
mainLink[4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_1";
mainLink[5] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_1";
mainLink[6] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_1";
mainLink[7] = "http://ecoworld.zzum.kr/youngcart4/";
// 메인버튼 링크 주소
//
targetFrame = new Array();
targetFrame[1] = "_self";
targetFrame[2] = "_self";
targetFrame[3] = "_self";
targetFrame[4] = "_self";
targetFrame[5] = "_self";
targetFrame[6] = "_self";
targetFrame[7] = "_self";
// 메인버튼 타겟 프레임
//
_global.subBtnTotal = new Array();
subBtnTotal[1] = 3;
subBtnTotal[2] = 4;
subBtnTotal[3] = 5;
subBtnTotal[4] = 5;
subBtnTotal[5] = 4;
subBtnTotal[6] = 3;
subBtnTotal[7] = 1;
// 각 메뉴의 서브버튼 개수
//
_global.subLink = new Array();
for (i=1; i<=numOfMenu; i++) {
subLink[i] = new Array();
}
//
//
subLink[1][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_1";
subLink[1][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_2";
subLink[1][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_3";
// 첫번째 메뉴의 서브버튼 링크주소
subLink[2][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_1";
subLink[2][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_2";
subLink[2][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_3";
subLink[2][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_4";
// 두번째 메뉴의 서브버튼 링크주소
subLink[3][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_1";
subLink[3][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_2";
subLink[3][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_3";
subLink[3][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_4";
subLink[3][5] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_5";
// 세번째 메뉴의 서브버튼 링크주소
subLink[4][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_1";
subLink[4][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_2";
subLink[4][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_3";
subLink[4][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_4";
subLink[4][5] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_5";
// 네번째 메뉴의 서브버튼 링크주소
subLink[5][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_1";
subLink[5][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_2";
subLink[5][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_3";
subLink[5][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_4";
// 다섯번째 메뉴의 서브버튼 링크주소
subLink[6][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_1";
subLink[6][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_2";
subLink[6][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_3";
// 여섯번째 메뉴의 서브버튼 링크주소
subLink[7][1] = "http://ecoworld.zzum.kr/youngcart4/";
// 여섯번째 메뉴의 서브버튼 링크주소
위 홈페이지에서 플래시 링크를 직접걸었는데 링크가 정상적으로 안됩니다.
어떤식으로 링크를 걸어야하나요?
혹 아시는분 답변 좀 부탁드립니다. *^^*
------아래는 플래시 파일에있는 액션입니다.--------------------------------------------
numOfMenu = 7;
// 메인 메뉴 개수
/*
메인메뉴가 추가될 때, 각 링크를 추가해서 사용하시면 됩니다.
- 예를 들어 6번째 메인메뉴가 추가될 경우,
위 numOfMenu 값을 5로 하고,
아래 mainLink[5] = "board/index.html"; 아래 mainLink[6] = "링크주소"; 을 추가합니다.
또한 targetFrame[5] = "_self"; 아래 targetFrame[6] = "타겟"; 을 추가합니다.
서브메뉴도 위와 같은 방법으로 추가합니다.
*/
//
mainLink = new Array();
mainLink[1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_1";
mainLink[2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_1";
mainLink[3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_1";
mainLink[4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_1";
mainLink[5] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_1";
mainLink[6] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_1";
mainLink[7] = "http://ecoworld.zzum.kr/youngcart4/";
// 메인버튼 링크 주소
//
targetFrame = new Array();
targetFrame[1] = "_self";
targetFrame[2] = "_self";
targetFrame[3] = "_self";
targetFrame[4] = "_self";
targetFrame[5] = "_self";
targetFrame[6] = "_self";
targetFrame[7] = "_self";
// 메인버튼 타겟 프레임
//
_global.subBtnTotal = new Array();
subBtnTotal[1] = 3;
subBtnTotal[2] = 4;
subBtnTotal[3] = 5;
subBtnTotal[4] = 5;
subBtnTotal[5] = 4;
subBtnTotal[6] = 3;
subBtnTotal[7] = 1;
// 각 메뉴의 서브버튼 개수
//
_global.subLink = new Array();
for (i=1; i<=numOfMenu; i++) {
subLink[i] = new Array();
}
//
//
subLink[1][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_1";
subLink[1][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_2";
subLink[1][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z1_3";
// 첫번째 메뉴의 서브버튼 링크주소
subLink[2][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_1";
subLink[2][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_2";
subLink[2][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_3";
subLink[2][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z2_4";
// 두번째 메뉴의 서브버튼 링크주소
subLink[3][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_1";
subLink[3][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_2";
subLink[3][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_3";
subLink[3][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_4";
subLink[3][5] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z3_5";
// 세번째 메뉴의 서브버튼 링크주소
subLink[4][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_1";
subLink[4][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_2";
subLink[4][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_3";
subLink[4][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_4";
subLink[4][5] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z4_5";
// 네번째 메뉴의 서브버튼 링크주소
subLink[5][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_1";
subLink[5][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_2";
subLink[5][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_3";
subLink[5][4] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z5_4";
// 다섯번째 메뉴의 서브버튼 링크주소
subLink[6][1] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_1";
subLink[6][2] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_2";
subLink[6][3] = "http://ecoworld.zzum.kr/youngcart4/bbs/board.php?bo_table=z6_3";
// 여섯번째 메뉴의 서브버튼 링크주소
subLink[7][1] = "http://ecoworld.zzum.kr/youngcart4/";
// 여섯번째 메뉴의 서브버튼 링크주소
댓글 1개
아사달에서 판매하는 플래시 소스에서
"./" -> "" 이렇게 처리하고 절대경로 처리하면 됩니다.
장원철 님게서 알려주셨습니다.
감사합니다.
---------------아래는 소스입니다.--------------------------
/* TM DGIANT FLASH */
_global.active = pageNum;
_global.subActive = subNum;
_global.over = active;
_global.subBgOver = active;
for (i=1; i<=numOfMenu; i++) {
this[i].bg._alpha = 0;
this[i].bg.onRollOver = function() {
_global.over = this._parent._name;
_global.subBgOver = this._parent._name;
clearInterval(id_subBg);
};
this[i].bg.onRollOut = this[i].bg.onDragOut=function () {
_global.over = active;
id_subBg = setInterval(setSubBg, 100);
};
this[i].bg.onRelease = function() {
if(_global.active) {
getURL("../"+mainLink[this._parent._name], targetFrame[this._parent._name]);
} else {
getURL("./"+mainLink[this._parent._name], targetFrame[this._parent._name]);
}
};
this[i].onEnterFrame = function() {
for (k=1; k<=subBtnTotal[this._name]; k++) {
if (this[k] != undefined && this[k].onRelease == undefined) {
subBtnFunc(this[k]);
}
}
if (over) {
if (over == this._name) {
this.direction = "next";
this.nextFrame();
this.bg._yscale = 110;
this.mainText._xscale += (120-this.mainText._xscale)/2;
this.mainText._yscale += (120-this.mainText._yscale)/2;
this.mainText._alpha += (100-this.mainText._alpha)/2;
} else {
this.direction = "prev";
this.prevFrame();
this.prevFrame();
this.bg._yscale = 100;
this.mainText._xscale += (100-this.mainText._xscale)/2;
this.mainText._yscale += (100-this.mainText._yscale)/2;
this.mainText._alpha += (60-this.mainText._alpha)/2;
}
} else {
this.direction = "prev";
this.prevFrame();
this.bg._yscale = 100;
this.mainText._xscale += (100-this.mainText._xscale)/2;
this.mainText._yscale += (100-this.mainText._yscale)/2;
this.mainText._alpha += (100-this.mainText._alpha)/2;
}
};
}
_global.subBtnFunc = function(that) {
that.onRollOver = function() {
clearInterval(id_subBg);
this._parent.temp = this._name;
if (this._parent.direction == "next") {
if (this._parent._name != active || this._name != subActive) {
clearInterval(this._parent.id);
_global.over = this._parent._name;
if (this._parent.first) {
this._parent[subActive].gotoAndPlay(10);
this._parent.first = false;
}
this.gotoAndPlay(2);
}
}
};
that.onRollOut = function() {
id_subBg = setInterval(setSubBg, 100);
if (this._parent._name == active) {
if (this._name != subActive) {
this._parent.id = setInterval(this._parent.aa, 10, this._parent);
this.gotoAndPlay(10);
this._parent.temp = subActive;
}
} else {
this.gotoAndPlay(10);
}
_global.over = active;
};
that.onRelease = function() {
var temp1 = this._parent._name;
var temp2 = this._name;
var temp3 = temp1+temp2;
var frame = "_self";
// 아래 부분은 공통된 타겟으로 사용할 때,
// 특정한 한 부분의 타겟을 다른 것으로 바꿀때 주석을 해제하고 사용합니다.
// 예를 들어 2번째 메인메뉴의 3번째 서브메뉴의 링크 타겟만 _blank가 된다면, 아래 주석처럼 처리합니다.
/* if (temp3 == 23) {
frame = "_blank";
}
*/
// 링크 적용시 주석을 해제합니다.
if(_global.active) {
getURL("../"+subLink[temp1][temp2], frame);
} else {
getURL("./"+subLink[temp1][temp2], frame);
}
};
};
subBg.useHandCursor = false;
subBg.onRollOver = function() {
_global.over = subBgOver;
clearInterval(id_subBg);
}
subBg.onRollOut = function() {
_global.over = active;
id_subBg = setInterval(setSubBg, 100);
}
this.onEnterFrame = function() {
if(over) {
subBg.nextFrame();
menuOverLine._alpha += (100 - menuOverLine._alpha)/4;
menuOverLine._xscale += (this[subBgOver].bg._width - menuOverLine._xscale - 20)/4
} else {
subBg.prevFrame();
menuOverLine._alpha += (0 - menuOverLine._alpha)/4;
}
menuOverLine._x += (this[subBgOver]._x - menuOverLine._x)/4;
}
menuOverLine._alpha = 0;
function setSubBg() {
_global.subBgOver = active;
clearInterval(id_subBg);
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------
"./" -> "" 이렇게 처리하고 절대경로 처리하면 됩니다.
장원철 님게서 알려주셨습니다.
감사합니다.
---------------아래는 소스입니다.--------------------------
/* TM DGIANT FLASH */
_global.active = pageNum;
_global.subActive = subNum;
_global.over = active;
_global.subBgOver = active;
for (i=1; i<=numOfMenu; i++) {
this[i].bg._alpha = 0;
this[i].bg.onRollOver = function() {
_global.over = this._parent._name;
_global.subBgOver = this._parent._name;
clearInterval(id_subBg);
};
this[i].bg.onRollOut = this[i].bg.onDragOut=function () {
_global.over = active;
id_subBg = setInterval(setSubBg, 100);
};
this[i].bg.onRelease = function() {
if(_global.active) {
getURL("../"+mainLink[this._parent._name], targetFrame[this._parent._name]);
} else {
getURL("./"+mainLink[this._parent._name], targetFrame[this._parent._name]);
}
};
this[i].onEnterFrame = function() {
for (k=1; k<=subBtnTotal[this._name]; k++) {
if (this[k] != undefined && this[k].onRelease == undefined) {
subBtnFunc(this[k]);
}
}
if (over) {
if (over == this._name) {
this.direction = "next";
this.nextFrame();
this.bg._yscale = 110;
this.mainText._xscale += (120-this.mainText._xscale)/2;
this.mainText._yscale += (120-this.mainText._yscale)/2;
this.mainText._alpha += (100-this.mainText._alpha)/2;
} else {
this.direction = "prev";
this.prevFrame();
this.prevFrame();
this.bg._yscale = 100;
this.mainText._xscale += (100-this.mainText._xscale)/2;
this.mainText._yscale += (100-this.mainText._yscale)/2;
this.mainText._alpha += (60-this.mainText._alpha)/2;
}
} else {
this.direction = "prev";
this.prevFrame();
this.bg._yscale = 100;
this.mainText._xscale += (100-this.mainText._xscale)/2;
this.mainText._yscale += (100-this.mainText._yscale)/2;
this.mainText._alpha += (100-this.mainText._alpha)/2;
}
};
}
_global.subBtnFunc = function(that) {
that.onRollOver = function() {
clearInterval(id_subBg);
this._parent.temp = this._name;
if (this._parent.direction == "next") {
if (this._parent._name != active || this._name != subActive) {
clearInterval(this._parent.id);
_global.over = this._parent._name;
if (this._parent.first) {
this._parent[subActive].gotoAndPlay(10);
this._parent.first = false;
}
this.gotoAndPlay(2);
}
}
};
that.onRollOut = function() {
id_subBg = setInterval(setSubBg, 100);
if (this._parent._name == active) {
if (this._name != subActive) {
this._parent.id = setInterval(this._parent.aa, 10, this._parent);
this.gotoAndPlay(10);
this._parent.temp = subActive;
}
} else {
this.gotoAndPlay(10);
}
_global.over = active;
};
that.onRelease = function() {
var temp1 = this._parent._name;
var temp2 = this._name;
var temp3 = temp1+temp2;
var frame = "_self";
// 아래 부분은 공통된 타겟으로 사용할 때,
// 특정한 한 부분의 타겟을 다른 것으로 바꿀때 주석을 해제하고 사용합니다.
// 예를 들어 2번째 메인메뉴의 3번째 서브메뉴의 링크 타겟만 _blank가 된다면, 아래 주석처럼 처리합니다.
/* if (temp3 == 23) {
frame = "_blank";
}
*/
// 링크 적용시 주석을 해제합니다.
if(_global.active) {
getURL("../"+subLink[temp1][temp2], frame);
} else {
getURL("./"+subLink[temp1][temp2], frame);
}
};
};
subBg.useHandCursor = false;
subBg.onRollOver = function() {
_global.over = subBgOver;
clearInterval(id_subBg);
}
subBg.onRollOut = function() {
_global.over = active;
id_subBg = setInterval(setSubBg, 100);
}
this.onEnterFrame = function() {
if(over) {
subBg.nextFrame();
menuOverLine._alpha += (100 - menuOverLine._alpha)/4;
menuOverLine._xscale += (this[subBgOver].bg._width - menuOverLine._xscale - 20)/4
} else {
subBg.prevFrame();
menuOverLine._alpha += (0 - menuOverLine._alpha)/4;
}
menuOverLine._x += (this[subBgOver]._x - menuOverLine._x)/4;
}
menuOverLine._alpha = 0;
function setSubBg() {
_global.subBgOver = active;
clearInterval(id_subBg);
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------
게시글 목록
| 번호 | 제목 |
|---|---|
| 2668 | |
| 8662 | |
| 2662 | |
| 8652 | |
| 8650 | |
| 2659 | |
| 2651 | |
| 2638 | |
| 2637 | |
| 2629 | |
| 8648 |
기타
팝업입니다
1
|
| 8637 | |
| 8633 | |
| 8628 | |
| 8624 | |
| 8622 | |
| 2620 | |
| 2613 | |
| 8619 | |
| 2606 | |
| 6887 | |
| 2603 | |
| 2596 | |
| 2593 | |
| 6873 | |
| 8617 |
기타
로그인 화면
1
|
| 2584 | |
| 8615 |
로그인
모바일용 로그인
1
|
| 2581 | |
| 8612 | |
| 2578 | |
| 2573 | |
| 2566 | |
| 8604 |
기타
무료 아이콘입니다.
7
|
| 8597 | |
| 8594 | |
| 8591 | |
| 8586 | |
| 8582 | |
| 8578 | |
| 8572 |
기타
무료 디자인 시안
5
|
| 2561 | |
| 8569 | |
| 8562 |
기타
세무사사무실 시안
6
|
| 8555 | |
| 8543 | |
| 8536 | |
| 2556 | |
| 8532 |
기타
다른 형식입니다.
3
|
| 8530 |
기타
메인시안입니다.
1
|
| 8529 | |
| 8527 | |
| 2553 | |
| 6867 | |
| 2549 | |
| 8525 | |
| 8518 | |
| 8515 | |
| 2545 | |
| 2532 | |
| 8511 | |
| 6863 | |
| 8507 | |
| 2522 | |
| 8502 |
기타
페이지 가이드
4
|
| 8501 |
기타
공지팝업 시안 (4)
|
| 8500 |
기타
웹시스템 디자인 시안
|
| 8497 | |
| 8496 | |
| 8495 |
기타
위젯 U.I 디자인
|
| 8494 |
기타
배스킨 앱 디자인 시안
|
| 8491 | |
| 8489 | |
| 8487 | |
| 6857 | |
| 2516 | |
| 2514 | |
| 2513 | |
| 8484 | |
| 8477 | |
| 2507 | |
| 8475 | |
| 2499 | |
| 2492 | |
| 2486 | |
| 2480 | |
| 2469 | |
| 8471 | |
| 2465 | |
| 2461 | |
| 2451 | |
| 8436 | |
| 8424 |
기타
커뮤니티 메인시안
11
|
| 8416 | |
| 2442 | |
| 2438 | |
| 2432 | |
| 2422 | |
| 2418 | |
| 2408 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기