허

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

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

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


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-09-19 조회 2,608
11-09-19 조회 2,531
11-09-19 조회 5,561
11-09-19 조회 6,187
11-09-16 조회 2,902
11-09-16 조회 3,170
11-09-16 조회 6,361
11-09-15 조회 3,130
11-09-15 조회 2,892
11-09-15 조회 2,561
11-09-15 조회 2,559
11-09-15 조회 2,763
11-09-15 조회 2,721
11-09-15 조회 2,833
11-09-14 조회 2,746
11-09-14 조회 3,306
11-09-14 조회 2,414
11-09-14 조회 2,341
11-09-14 조회 2,325
11-09-13 조회 2,510
11-09-10 조회 2,977
11-09-10 조회 2,594
11-09-09 조회 3,188
11-09-09 조회 3,047
11-09-09 조회 3,143
11-09-09 조회 3,180
11-09-08 조회 3,863
11-09-08 조회 5,064
11-09-08 조회 3,454
11-09-08 조회 4,382
11-09-08 조회 3,886
11-09-08 조회 3,689
11-09-08 조회 2,782
11-09-08 조회 2,357
11-09-08 조회 2,760
11-09-08 조회 2,883
11-09-07 조회 3,542
11-09-07 조회 3,601
11-09-07 조회 3,022
11-09-07 조회 2,728
11-09-07 조회 2,823
11-09-07 조회 2,844
11-09-07 조회 3,081
11-09-07 조회 2,347
11-09-07 조회 2,444
11-09-07 조회 2,611
11-09-07 조회 3,547
11-09-07 조회 2,819
11-09-06 조회 2,646
11-09-06 조회 2,930
11-09-06 조회 2,493
11-09-05 조회 2,712
11-09-05 조회 2,652
11-09-05 조회 2,938
11-09-05 조회 2,446
11-09-04 조회 2,420
11-09-04 조회 2,382
11-09-03 조회 2,557
11-09-03 조회 2,718
11-09-02 조회 3,435
11-09-02 조회 2,812
11-09-02 조회 2,679
11-09-02 조회 3,591
11-09-02 조회 2,622
11-09-02 조회 2,505
11-09-02 조회 2,507
11-09-01 조회 2,706
11-09-01 조회 2,856
11-09-01 조회 2,729
11-09-01 조회 2,742
11-09-01 조회 2,889
11-09-01 조회 2,749
11-09-01 조회 4,186
11-09-01 조회 3,783
11-09-01 조회 4,450
11-08-31 조회 2,337
11-08-31 조회 2,638
11-08-31 조회 2,928
11-08-31 조회 2,644
11-08-31 조회 2,503
11-08-31 조회 3,310
11-08-30 조회 3,044
11-08-30 조회 4,275
11-08-29 조회 3,041
11-08-29 조회 2,622
11-08-29 조회 5,257
11-08-29 조회 3,384
11-08-29 조회 2,775
11-08-29 조회 3,126
11-08-28 조회 2,524
11-08-28 조회 3,673
11-08-28 조회 2,633
11-08-28 조회 2,995
11-08-26 조회 2,530
11-08-26 조회 3,035
11-08-26 조회 3,270
11-08-26 조회 2,768
11-08-25 조회 2,606
11-08-25 조회 2,920
11-08-25 조회 2,640