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);
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------
게시글 목록
| 번호 | 제목 |
|---|---|
| 5914 | |
| 2012 | |
| 7985 |
외부로그인
로그인창 시안입니다
2
|
| 2008 | |
| 7984 |
기타
팝업 테두리 입니다.
|
| 2000 | |
| 1977 | |
| 5909 | |
| 7969 | |
| 1968 | |
| 7959 |
기타
탭 스타일 모음 4
9
|
| 7952 |
기타
탭 스타일 모음 3
6
|
| 7946 |
기타
탭 스타일 모음 2
5
|
| 7940 |
기타
탭 스타일 모음 1
5
|
| 7933 |
기타
픽셀아이콘 모음 3
6
|
| 7918 |
기타
버튼 모음 2
14
|
| 7906 |
기타
버튼 모음 1
11
|
| 7902 |
기타
픽셀아이콘 모음 2
3
|
| 7898 |
기타
픽셀아이콘 모음 1
3
|
| 7896 |
기타
팝업 디자인
1
|
| 1965 | |
| 1956 | |
| 7892 |
기타
메인시안입니다.
3
|
| 1946 | |
| 1940 | |
| 1938 | |
| 1932 | |
| 7881 | |
| 7877 | |
| 7876 |
기타
무료 아이콘 팩입니다
|
| 7874 |
기타
무료 아이콘 입니다
1
|
| 7872 | |
| 1923 | |
| 7871 |
일반
간단한 팝업 디자인 ^
|
| 7861 | |
| 7860 |
기타
메뉴 psd
|
| 1916 | |
| 7854 |
기타
메인디자인 시안
5
|
| 7847 |
기타
사용방법 디자인
6
|
| 1905 | |
| 5896 | |
| 7845 | |
| 1892 | |
| 7834 | |
| 7822 | |
| 1871 | |
| 7814 | |
| 1866 | |
| 7808 |
기타
아이콘과 UI관련
5
|
| 5895 | |
| 1856 | |
| 5888 | |
| 7803 | |
| 1852 | |
| 5884 | |
| 7778 | |
| 7766 | |
| 7764 | |
| 7761 |
기타
회원가입버튼
2
|
| 1838 | |
| 1831 | |
| 7742 | |
| 5883 | |
| 5881 | |
| 5880 | |
| 5873 | |
| 1822 | |
| 7738 | |
| 7732 |
기타
배경 이미지~
5
|
| 7723 | |
| 7721 | |
| 6854 | |
| 7708 |
기타
리본 시안입니다
12
|
| 6849 | |
| 6844 | |
| 7705 | |
| 1819 | |
| 1815 | |
| 1810 | |
| 1807 | |
| 5862 | |
| 1797 | |
| 1765 | |
| 6841 | |
| 1756 | |
| 5846 | |
| 1746 | |
| 1724 | |
| 1715 | |
| 1711 | |
| 1698 | |
| 5836 | |
| 1695 | |
| 1694 | |
| 1692 | |
| 1685 | |
| 1677 | |
| 1670 | |
| 1663 | |
| 1656 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기