허

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

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

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


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-08-25 조회 3,696
11-08-25 조회 2,895
11-08-25 조회 2,585
11-08-24 조회 2,485
11-08-24 조회 3,116
11-08-24 조회 4,437
11-08-23 조회 2,506
11-08-23 조회 4,346
11-08-23 조회 3,489
11-08-23 조회 2,567
11-08-23 조회 2,801
11-08-23 조회 2,717
11-08-23 조회 2,848
11-08-23 조회 2,304
11-08-23 조회 2,444
11-08-23 조회 2,614
11-08-23 조회 3,014
11-08-23 조회 2,605
11-08-22 조회 3,046
11-08-22 조회 2,758
11-08-22 조회 2,902
11-08-22 조회 2,497
11-08-22 조회 2,766
11-08-21 조회 2,706
11-08-21 조회 2,638
11-08-20 조회 2,534
11-08-20 조회 2,901
11-08-20 조회 3,328
11-08-19 조회 2,739
11-08-19 조회 2,522
11-08-19 조회 5,055
11-08-19 조회 2,671
11-08-19 조회 2,523
11-08-19 조회 3,793
11-08-19 조회 3,234
11-08-18 조회 3,725
11-08-18 조회 2,256
11-08-18 조회 2,487
11-08-18 조회 2,315
11-08-18 조회 2,164
11-08-18 조회 2,285
11-08-18 조회 2,416
11-08-17 조회 3,217
11-08-17 조회 2,605
11-08-17 조회 2,748
11-08-17 조회 2,294
11-08-17 조회 2,711
11-08-17 조회 3,423
11-08-17 조회 2,829
11-08-16 조회 3,071
11-08-16 조회 2,574
11-08-16 조회 2,670
11-08-16 조회 2,525
11-08-16 조회 2,858
11-08-16 조회 2,658
11-08-16 조회 2,071
11-08-16 조회 2,232
11-08-16 조회 2,283
11-08-16 조회 2,646
11-08-16 조회 2,543
11-08-16 조회 2,546
11-08-15 조회 2,497
11-08-15 조회 3,022
11-08-13 조회 2,648
11-08-13 조회 2,688
11-08-13 조회 2,578
11-08-12 조회 2,362
11-08-12 조회 3,504
11-08-12 조회 3,288
11-08-12 조회 2,733
11-08-12 조회 2,536
11-08-11 조회 3,710
11-08-11 조회 3,004
11-08-11 조회 2,941
11-08-11 조회 2,470
11-08-10 조회 3,240
11-08-10 조회 5,457
11-08-10 조회 4,153
11-08-09 조회 2,731
11-08-09 조회 2,333
11-08-09 조회 2,412
11-08-09 조회 3,035
11-08-09 조회 2,687
11-08-09 조회 2,977
11-08-08 조회 3,072
11-08-08 조회 3,116
11-08-08 조회 2,210
11-08-08 조회 2,489
11-08-08 조회 4,405
11-08-08 조회 2,429
11-08-08 조회 2,958
11-08-08 조회 2,507
11-08-08 조회 2,310
11-08-08 조회 3,084
11-08-08 조회 2,343
11-08-07 조회 3,153
11-08-07 조회 2,705
11-08-06 조회 3,319
11-08-06 조회 3,323
11-08-06 조회 2,885