Flash note _xscale, _yscale은 % 단위 _width, _height는 픽셀단위 무비의 크기 고정 fscommand("allowscale", false); 오브젝트의 움직임을 부드럽게 updateAfterEvent(); 무비클립 깊이 설정 무비클립.swapDepths(100); 항상 상단좌측 정렬 Stage.align = "TL"; 사이즈 고정 Stage.scaleMode = "noScale"; 콜백함수사용시 버튼이벤트 [안내]태.. Flash&Action 2010.10.20
메쏘드 모음 //탄력적인 움직임 MovieClip.prototype.moveElastic = function (target, a, b) { this.tempx = this._x; this._x = a*(this._x - target)+b*(this.prev_x - target)+ target; this.prev_x = this.tempx; }; Flash&Action 2010.10.20
3D 메뉴 만들기 3D 메뉴 ■ - 화면에서 마우스가 가운데를 기준으로 왼쪽과 오른쪽으로 움직일때 마다 3D로 메뉴가 돌아가는 모습입니다. ■ 실행화면 ■ - 주소 : http://211.213.29.59:8080/test/3Dmenu.swf ■ 소스 ■ 1. 프레임 액션 스크립트. dupNum = 3; for (j=1; j<=dupNum; j++) { this["menu"+j].i = (360/(dupNum+1))*j; } // 메뉴마다 처음 위치.. Flash&Action 2010.10.20