허

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

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

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


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-03-03 조회 2,529
11-03-03 조회 2,460
11-03-03 조회 2,564
11-03-02 조회 1,936
11-03-02 조회 2,649
11-03-02 조회 2,397
11-03-02 조회 2,618
11-03-02 조회 2,784
11-03-02 조회 2,563
11-03-02 조회 2,623
11-03-02 조회 2,316
11-03-02 조회 3,167
11-03-02 조회 2,254
11-03-02 조회 2,650
11-03-02 조회 2,750
11-03-02 조회 2,924
11-03-02 조회 2,079
11-03-01 조회 2,842
11-03-01 조회 2,822
11-03-01 조회 2,390
11-03-01 조회 3,399
11-03-01 조회 2,582
11-03-01 조회 2,482
11-02-28 조회 2,662
11-02-28 조회 2,447
11-02-28 조회 2,767
11-02-27 조회 2,653
11-02-27 조회 2,244
11-02-27 조회 3,010
11-02-27 조회 3,046
11-02-27 조회 1,931
11-02-26 조회 1,948
11-02-26 조회 4,443
11-02-26 조회 3,410
11-02-25 조회 2,464
11-02-25 조회 2,014
11-02-25 조회 2,000
11-02-25 조회 2,491
11-02-25 조회 2,741
11-02-24 조회 2,667
11-02-24 조회 2,481
11-02-24 조회 2,647
11-02-24 조회 2,393
11-02-24 조회 2,944
11-02-24 조회 1,989
11-02-23 조회 2,357
11-02-23 조회 1,971
11-02-23 조회 2,420
11-02-23 조회 2,091
11-02-23 조회 2,250
11-02-22 조회 1,988
11-02-22 조회 2,226
11-02-22 조회 2,485
11-02-22 조회 4,095
11-02-21 조회 2,336
11-02-21 조회 5,707
11-02-19 조회 3,213
11-02-19 조회 2,567
11-02-19 조회 2,834
11-02-18 조회 2,605
11-02-18 조회 3,085
11-02-18 조회 2,890
11-02-17 조회 2,226
11-02-17 조회 2,848
11-02-17 조회 2,146
11-02-16 조회 2,223
11-02-15 조회 8,237
11-02-15 조회 3,668
11-02-15 조회 3,393
11-02-15 조회 2,239
11-02-15 조회 2,574
11-02-15 조회 2,390
11-02-15 조회 3,145
11-02-14 조회 2,807
11-02-14 조회 2,413
11-02-14 조회 2,200
11-02-14 조회 5,773
11-02-14 조회 4,174
11-02-14 조회 2,359
11-02-14 조회 2,025
11-02-13 조회 2,734
11-02-12 조회 3,036
11-02-11 조회 2,787
11-02-11 조회 2,118
11-02-11 조회 3,096
11-02-11 조회 4,384
11-02-10 조회 2,563
11-02-10 조회 2,613
11-02-09 조회 2,425
11-02-08 조회 2,157
11-02-08 조회 2,018
11-02-08 조회 2,272
11-02-08 조회 3,405
11-02-07 조회 2,448
11-02-07 조회 2,936
11-02-07 조회 4,946
11-02-07 조회 2,654
11-02-06 조회 2,860
11-02-05 조회 2,561
11-02-05 조회 2,518