플래시 다시 질문드립니다. bb킹님..
actions 첫 프레임에서
아래에서 numButtons=8 을 메뉴숫자만큼 추가
===============================================================
_root.numButtons=8;
function Expand(buttonRate, buttonName, buttonSize) {
if (buttonName.scale==1) {
setProperty(buttonName, _xscale, buttonName._xscale+=((buttonSize*buttonRate)-(buttonName._xscale*buttonRate))*(buttonRate/10));
setProperty(buttonName, _yscale, buttonName._yscale+=((buttonSize*buttonRate)-(buttonName._yscale*buttonRate))*(buttonRate/10));
}
if (buttonName.scale==0) {
setProperty(buttonName, _xscale, buttonName._xscale+=((buttonRate*100)-(buttonName._xscale*buttonRate))*(buttonRate/10));
setProperty(buttonName, _yscale, buttonName._yscale+=((buttonRate*100)-(buttonName._yscale*buttonRate))*(buttonRate/10));
}
}
====================================================================
actions 두번째 프레임에서
각 버튼에 있는 button4 부분에서 부위별로 번호추가
예) button4 다음에 버튼 이면 button5가 되겠죠....
---------------------------------------------------------------------
onClipEvent (enterFrame) {
// set parameters for this button's expansion
_root.Expand(4,_root.button4,130);
}
=====================================================================
나머지 move clip에서 아래 getURL부분 원하는 링크 추가
---------------------------------------------------------------------
on (rollOver, dragOver) {
this.scale = 1;
for (i=1; i<=_root.numButtons; i++) {
_root["button"+i].swapDepths(1);
}
this.swapDepths(2);
}
on (rollOut, dragOut) {
this.scale = 0;
}
on (release) {
getURL("http://donkey.pe.kr/board/bbs/gnuboard.php?bo_table=free", "_self");
}
===================================================================================
저기 위에서요
첫번째 까지는 잘되거던요. 메뉴를 8개할거거던요.. 그래서 8을 16으로 바깠는데요..
2번째 프레임 에서 f9 누르면 stop();박에 안나오거던요.. 2번째에서 막힘니다.버튼추가하고 그런거 하나도 모르겠어요..
좀도와주세요..
수고하십시요..
아래에서 numButtons=8 을 메뉴숫자만큼 추가
===============================================================
_root.numButtons=8;
function Expand(buttonRate, buttonName, buttonSize) {
if (buttonName.scale==1) {
setProperty(buttonName, _xscale, buttonName._xscale+=((buttonSize*buttonRate)-(buttonName._xscale*buttonRate))*(buttonRate/10));
setProperty(buttonName, _yscale, buttonName._yscale+=((buttonSize*buttonRate)-(buttonName._yscale*buttonRate))*(buttonRate/10));
}
if (buttonName.scale==0) {
setProperty(buttonName, _xscale, buttonName._xscale+=((buttonRate*100)-(buttonName._xscale*buttonRate))*(buttonRate/10));
setProperty(buttonName, _yscale, buttonName._yscale+=((buttonRate*100)-(buttonName._yscale*buttonRate))*(buttonRate/10));
}
}
====================================================================
actions 두번째 프레임에서
각 버튼에 있는 button4 부분에서 부위별로 번호추가
예) button4 다음에 버튼 이면 button5가 되겠죠....
---------------------------------------------------------------------
onClipEvent (enterFrame) {
// set parameters for this button's expansion
_root.Expand(4,_root.button4,130);
}
=====================================================================
나머지 move clip에서 아래 getURL부분 원하는 링크 추가
---------------------------------------------------------------------
on (rollOver, dragOver) {
this.scale = 1;
for (i=1; i<=_root.numButtons; i++) {
_root["button"+i].swapDepths(1);
}
this.swapDepths(2);
}
on (rollOut, dragOut) {
this.scale = 0;
}
on (release) {
getURL("http://donkey.pe.kr/board/bbs/gnuboard.php?bo_table=free", "_self");
}
===================================================================================
저기 위에서요
첫번째 까지는 잘되거던요. 메뉴를 8개할거거던요.. 그래서 8을 16으로 바깠는데요..
2번째 프레임 에서 f9 누르면 stop();박에 안나오거던요.. 2번째에서 막힘니다.버튼추가하고 그런거 하나도 모르겠어요..
좀도와주세요..
수고하십시요..
댓글 1개
게시판 목록
자유게시판
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 공지 |
|
1주 전 | 12 | |
| 428 |
|
22년 전 | 6600 | |
| 427 |
이너몰
|
22년 전 | 6910 | |
| 426 |
|
22년 전 | 6986 | |
| 425 |
|
22년 전 | 6520 | |
| 424 | 22년 전 | 9749 | ||
| 423 | 22년 전 | 5920 | ||
| 422 | 22년 전 | 6417 | ||
| 421 | 22년 전 | 7900 | ||
| 420 | 22년 전 | 6272 | ||
| 419 | 22년 전 | 6563 | ||
| 418 |
마스터케빈
|
22년 전 | 6276 | |
| 417 | 22년 전 | 6711 | ||
| 416 | 22년 전 | 6552 | ||
| 415 |
MANDO
|
22년 전 | 5967 | |
| 414 |
MANDO
|
22년 전 | 6213 | |
| 413 | 22년 전 | 6402 | ||
| 412 | 22년 전 | 5909 | ||
| 411 | 22년 전 | 6251 | ||
| 410 | 22년 전 | 6019 | ||
| 409 |
냉동개구리
|
22년 전 | 9737 | |
| 408 | 22년 전 | 11532 | ||
| 407 | 22년 전 | 7804 | ||
| 406 |
|
22년 전 | 6421 | |
| 405 |
MANDO
|
22년 전 | 6047 | |
| 404 | 22년 전 | 6423 | ||
| 403 | 22년 전 | 6520 | ||
| 402 | 22년 전 | 6081 | ||
| 401 | 22년 전 | 6365 | ||
| 400 |
|
22년 전 | 5899 | |
| 399 |
이너몰
|
22년 전 | 6534 |
포토샵(7.0)에서 점선 만드는 방법? [2]
포토샵(7.0)에서 점선 만드는 방법? [1]
이너몰
•
22년 전
해상도별 인터넷창 크기조절하는 프로그램?입니다.... [2]
원숭이 똥구멍은 빨게~~~~~~~~ㅎㅎ [2]
지극히 개인적인생각.... [1]
MANDO
•
22년 전
귀신나오게하기-밤에보지 말것!!! [5]
MANDO
•
22년 전
얼음 드세요~~~ [7]
그렇게 할수 있으면서 하는 비판과 할수 없으면서 하는 비판... [7]
MANDO
•
22년 전
플래시 오른쪽누르면.. [1]
최근게시물 도배만 하는것 같아서 ... [2]
이너몰
•
22년 전
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기