허

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

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

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


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건
+
제목 글쓴이 날짜 조회
11-02-04 조회 3,221
11-02-03 조회 2,839
11-02-03 조회 2,439
11-02-03 조회 2,854
11-02-03 조회 2,786
11-02-03 조회 2,963
11-02-02 조회 2,852
11-02-02 조회 2,607
11-02-02 조회 3,152
11-02-02 조회 2,350
11-02-02 조회 2,426
11-02-02 조회 2,482
11-02-02 조회 2,481
11-02-01 조회 2,915
11-02-01 조회 2,580
11-01-31 조회 3,017
11-01-31 조회 2,780
11-01-31 조회 5,297
11-01-30 조회 3,106
11-01-30 조회 2,657
11-01-30 조회 2,836
11-01-30 조회 5,467
11-01-29 조회 3,223
11-01-29 조회 2,379
11-01-29 조회 2,759
11-01-29 조회 2,334
11-01-29 조회 3,031
11-01-29 조회 2,523
11-01-29 조회 4,413
11-01-29 조회 2,150
11-01-29 조회 2,606
11-01-28 조회 4,328
11-01-28 조회 2,347
11-01-28 조회 2,453
11-01-28 조회 2,697
11-01-28 조회 2,720
11-01-28 조회 2,357
11-01-27 조회 3,912
11-01-27 조회 2,440
11-01-27 조회 2,809
11-01-26 조회 1,885
11-01-26 조회 2,746
11-01-26 조회 2,602
11-01-26 조회 2,709
11-01-26 조회 4,539
11-01-26 조회 2,115
11-01-25 조회 2,376
11-01-25 조회 2,443
11-01-25 조회 2,945
11-01-24 조회 2,862
11-01-24 조회 3,916
11-01-24 조회 3,291
11-01-24 조회 3,030
11-01-23 조회 3,150
11-01-23 조회 4,600
11-01-22 조회 3,388
11-01-22 조회 2,774
11-01-22 조회 2,789
11-01-21 조회 2,563
11-01-21 조회 2,508
11-01-20 조회 2,382
11-01-20 조회 2,824
11-01-19 조회 2,371
11-01-19 조회 2,828
11-01-19 조회 2,543
11-01-19 조회 2,292
11-01-19 조회 2,565
11-01-19 조회 2,722
11-01-19 조회 2,445
11-01-19 조회 3,116
11-01-18 조회 2,768
11-01-18 조회 3,002
11-01-18 조회 2,780
11-01-18 조회 2,664
11-01-18 조회 2,745
11-01-17 조회 5,243
11-01-17 조회 2,517
11-01-14 조회 3,826
11-01-14 조회 5,303
11-01-14 조회 3,204
11-01-14 조회 3,130
11-01-14 조회 3,835
11-01-14 조회 2,972
11-01-14 조회 3,012
11-01-14 조회 3,163
11-01-13 조회 2,524
11-01-13 조회 3,447
11-01-13 조회 3,026
11-01-12 조회 2,544
11-01-12 조회 2,936
11-01-12 조회 2,527
11-01-12 조회 3,042
11-01-12 조회 2,496
11-01-12 조회 3,566
11-01-11 조회 2,655
11-01-10 조회 2,375
11-01-10 조회 2,808
11-01-09 조회 2,964
11-01-09 조회 2,759
11-01-08 조회 2,969