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);
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------
게시글 목록
| 번호 | 제목 |
|---|---|
| 4672 | |
| 4670 | |
| 11126 | |
| 4659 | |
| 4654 | |
| 4646 | |
| 7050 | |
| 11150 | |
| 4637 | |
| 4623 | |
| 4617 | |
| 7047 | |
| 4605 | |
| 11250 | |
| 11110 | |
| 4594 | |
| 4580 | |
| 4571 | |
| 11102 | |
| 4562 | |
| 4547 | |
| 4535 | |
| 11249 | |
| 4519 | |
| 4506 | |
| 4493 | |
| 4484 | |
| 4473 | |
| 11141 |
디자인
여행사 시안작업입니다.
8
|
| 4465 | |
| 4450 | |
| 4432 | |
| 11099 | |
| 7044 | |
| 4416 | |
| 4412 | |
| 4399 | |
| 4395 | |
| 4387 | |
| 7043 | |
| 11097 | |
| 11091 | |
| 4382 | |
| 4377 | |
| 4368 | |
| 4364 | |
| 4362 | |
| 4360 | |
| 4355 | |
| 4353 | |
| 4349 | |
| 11047 | |
| 11023 | |
| 7039 | |
| 4341 | |
| 4325 | |
| 4320 | |
| 4318 | |
| 4314 | |
| 4308 | |
| 4301 | |
| 4297 | |
| 11021 | |
| 11020 | |
| 11015 | |
| 4295 | |
| 4288 | |
| 4278 | |
| 4272 | |
| 11010 | |
| 4270 | |
| 4266 | |
| 11006 | |
| 10888 | |
| 10886 | |
| 10882 | |
| 10879 | |
| 10876 | |
| 10874 | |
| 4255 | |
| 11248 | |
| 4254 | |
| 10871 | |
| 10869 | |
| 10867 | |
| 10865 | |
| 10863 | |
| 10861 | |
| 10859 | |
| 10787 | |
| 10717 | |
| 10686 | |
| 4247 | |
| 4231 | |
| 4228 | |
| 4218 | |
| 10681 | |
| 10660 | |
| 10657 | |
| 4213 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기