허

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

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

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


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,188건
+
제목 글쓴이 날짜 조회
12-04-26 조회 3,884
12-04-24 조회 3,261
12-04-23 조회 4,589
12-04-22 조회 3,278
12-04-19 조회 3,368
12-04-18 조회 4,440
12-04-18 조회 3,132
12-04-17 조회 3,405
12-04-17 조회 5,167
12-04-16 조회 3,592
12-04-13 조회 3,143
12-04-09 조회 3,196
12-04-04 조회 3,968
12-04-01 조회 3,254
12-03-31 조회 3,649
12-03-30 조회 3,260
12-03-30 조회 3,923
12-03-26 조회 3,538
12-03-26 조회 3,110
12-03-22 조회 3,258
12-03-21 조회 3,110
12-03-19 조회 3,528
12-03-17 조회 3,558
12-03-14 조회 3,277
12-03-10 조회 3,947
12-03-09 조회 3,553
12-03-09 조회 3,371
12-03-08 조회 3,844
12-03-08 조회 4,004
12-03-08 조회 4,102
12-03-03 조회 3,357
12-03-02 조회 4,686
12-02-28 조회 3,211
12-02-27 조회 3,035
12-02-25 조회 3,182
12-02-24 조회 3,872
12-02-23 조회 3,141
12-02-22 조회 3,668
12-02-22 조회 5,430
12-02-22 조회 3,999
12-02-22 조회 4,322
12-02-18 조회 3,826
12-02-17 조회 3,057
12-02-17 조회 3,455
12-02-14 조회 3,530
12-02-13 조회 3,422
12-02-10 조회 1만
12-02-08 조회 3,074
12-02-07 조회 3,406
12-02-06 조회 3,133
12-02-05 조회 3,598
12-01-31 조회 3,529
12-01-30 조회 9,709
12-01-29 조회 3,872
12-01-26 조회 3,469
12-01-25 조회 4,077
12-01-24 조회 3,470
12-01-10 조회 3,772
12-01-10 조회 4,550
12-01-09 조회 3,305
12-01-08 조회 7,167
12-01-08 조회 3,692
12-01-07 조회 5,222
12-01-04 조회 3,925
12-01-02 조회 3,145
12-01-02 조회 3,192
12-01-02 조회 3,501
12-01-01 조회 3,135
11-12-31 조회 3,446
11-12-31 조회 3,123
11-12-30 조회 3,300
11-12-30 조회 3,452
11-12-29 조회 3,663
11-12-28 조회 3,763
11-12-26 조회 3,340
11-12-23 조회 3,557
11-12-22 조회 3,095
11-12-15 조회 4,190
11-12-08 조회 3,986
11-12-05 조회 3,332
11-12-04 조회 5,740
11-12-03 조회 3,626
11-12-02 조회 3,391
11-12-01 조회 5,470
11-11-30 조회 2,954
11-11-30 조회 2,852
11-11-28 조회 3,202
11-11-26 조회 3,399
11-11-25 조회 3,397
11-11-24 조회 2,986
11-11-22 조회 3,078
11-11-22 조회 2,924
11-11-17 조회 2,857
11-11-11 조회 2,846
11-11-09 조회 2,906
11-11-08 조회 3,285
11-11-08 조회 2,582
11-11-04 조회 3,661
11-11-01 조회 2,967
11-10-26 조회 2,554