허

플래시 메뉴인데 링크가 안걸리는데요.;

· 2011-03-11 (금) 11:29:35 · 2636

뭐가 잘못 되었을까요?
메뉴부분에 링크를 걸어줘도 # 표시만 나오고 해당 페이지로 넘어가지를 않아요.


link = new Array();
link[1] = "/company/company_01.php";
link[2] = "/company/company_02.php";
link[3] = "/company/company_03.php";
link[4] = "/company/company_04.php";
link[5] = "/company/company_05.php";

// 각 메인메뉴에 해당하는 웹페이지 주소입니다.
frame = new Array();
frame[1] = "_self";
frame[2] = "_self";
frame[3] = "_self";
frame[4] = "_self";
frame[5] = "_self";

// 타겟 프레임
numOfMenu = 5;
// 메뉴 개수
//defaultY = 40;
// 메뉴의 기본 세로크기
//max = new Array(0, 0, 0,0, 0, 0, 0, 0, 0, 0, 0);
// 각 메뉴 롤오버시 해당 메뉴의 세로크기
// 첫번째 80은 첫번째 메뉴 롤오버시 첫번째 메뉴가 아래쪽으로 내려오는 공간크기(80픽셀)
// 두번째 80은 두번째 메뉴 롤오버시 두번째 메뉴가 아래쪽으로 내려오는 공간크기(80픽셀)
//
_global.active = pageNum;
_global.subActive = subNum;
// 현재 활성화된 메인버튼과 서브버튼 번호를 저장합니다.
// pageNum,subNum은 htm파일에서 지정됩니다.
_global.over = active;
for (i=1; i<=numOfMenu; i++) {
 //this[i].defaultY = this[i]._y;
 this[i].bg.onRollOver = function() {
  _global.over = this._parent._name;
 };
 this[i].bg.onRollOut = this[i].bg.onDragOut=function () {
  _global.over = active;
 };
 this[i].bg.onRelease = function() {
  getURL(link[this._parent._name], frame[this._parent._name]);
  // 메인버튼 링크
 };
 //this[i].bg._height = defaultY;
 //if (i != 1) {
  //this[i]._y = this[i-1].bg._height+this[i-1]._y;
 //}
 this[i].onEnterFrame = function() {
  if (over == this._name) {
   this.direction = "next";
   this.nextFrame();
  } else {
   this.direction = "prev";
   this.prevFrame();
  }
  /*if (int(this._name)>int(over)) {
   this._y += (this.defaultY+max[over-1]-this._y)/4;
  } else {
   this._y += (this.defaultY-this._y)/4;
  }*/
 };
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

[이 게시물은 관리자님에 의해 2011-10-31 16:50:06 Flash에서 이동 됨]
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
10-12-01 조회 2,149
10-12-01 조회 2,097
10-12-01 조회 2,280
10-12-01 조회 1,999
10-12-01 조회 2,128
10-12-01 조회 2,133
10-11-30 조회 2,552
10-11-30 조회 2,015
10-11-30 조회 2,215
10-11-30 조회 2,220
10-11-30 조회 2,728
10-11-30 조회 2,140
10-11-30 조회 2,356
10-11-29 조회 2,954
10-11-29 조회 2,195
10-11-29 조회 2,091
10-11-29 조회 1,890
10-11-29 조회 2,023
10-11-29 조회 1,981
10-11-29 조회 3,403
10-11-29 조회 2,227
10-11-28 조회 2,371
10-11-28 조회 2,164
10-11-28 조회 2,855
10-11-28 조회 2,694
10-11-28 조회 2,329
10-11-27 조회 2,102
10-11-27 조회 2,516
10-11-27 조회 1,966
10-11-27 조회 2,094
10-11-27 조회 2,129
10-11-27 조회 2,070
10-11-27 조회 2,054
10-11-27 조회 2,348
10-11-26 조회 2,146
10-11-26 조회 2,152
10-11-26 조회 2,180
10-11-26 조회 2,265
10-11-26 조회 3,960
10-11-26 조회 2,216
10-11-26 조회 2,083
10-11-26 조회 2,105
10-11-26 조회 2,064
10-11-25 조회 2,284
10-11-25 조회 2,054
10-11-25 조회 2,388
10-11-25 조회 2,112
10-11-25 조회 2,168
10-11-25 조회 2,588
10-11-25 조회 2,042
10-11-25 조회 2,111
10-11-25 조회 2,036
10-11-25 조회 2,264
10-11-25 조회 1,972
10-11-25 조회 2,616
10-11-25 조회 2,212
10-11-24 조회 2,123
10-11-24 조회 2,462
10-11-24 조회 2,107
10-11-24 조회 2,127
10-11-24 조회 2,080
10-11-24 조회 2,191
10-11-24 조회 2,078
10-11-23 조회 2,245
10-11-23 조회 2,158
10-11-23 조회 2,502
10-11-23 조회 2,053
10-11-23 조회 2,166
10-11-23 조회 2,221
10-11-23 조회 2,486
10-11-23 조회 2,990
10-11-23 조회 2,179
10-11-23 조회 2,290
10-11-23 조회 2,300
10-11-23 조회 2,400
10-11-23 조회 2,240
10-11-22 조회 2,465
10-11-22 조회 2,203
10-11-22 조회 2,366
10-11-22 조회 2,195
10-11-22 조회 5,326
10-11-22 조회 8,223
10-11-22 조회 2,318
10-11-22 조회 2,080
10-11-21 조회 2,612
10-11-21 조회 2,317
10-11-20 조회 2,406
10-11-20 조회 2,175
10-11-20 조회 2,085
10-11-19 조회 2,550
10-11-19 조회 2,169
10-11-19 조회 2,897
10-11-18 조회 2,614
10-11-18 조회 2,249
10-11-18 조회 2,221
10-11-18 조회 2,066
10-11-18 조회 2,478
10-11-17 조회 2,197
10-11-17 조회 4,331
10-11-17 조회 2,569