&

플래시 잘하는 고수님들 좀도와주세요..

 
· 2003-07-17 (목) 01:43:31 · 5882 · 1
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");
}
===================================================================================
끝
|

댓글 1개

무풀방지 위원회 입니다...
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

203,206건
+
제목 글쓴이 날짜 조회
&&nbsp;
03-07-18 조회 6,065
이이너몰
03-07-17 조회 6,697
03-07-17 조회 6,469
03-07-17 조회 6,187
03-07-17 조회 5,748
&&nbsp;
03-07-17 조회 6,076
MMANDO
03-07-17 조회 6,860
03-07-17 조회 6,585
03-07-17 조회 6,151
03-07-17 조회 6,475
&&nbsp;
03-07-17 조회 5,883
03-07-17 조회 6,876
&&nbsp;
03-07-16 조회 7,109
03-07-16 조회 6,545
&&nbsp;
03-07-16 조회 6,378
&&nbsp;
03-07-16 조회 6,532
03-07-16 조회 6,215
03-07-16 조회 7,830
03-07-16 조회 6,256
&&nbsp;
03-07-16 조회 5,834