스위시세상/스위시 맥스
Main Button.
어린양01
2012. 12. 18. 21:31
A) Button1 1) 아이콘 삽입 열고 버튼이 자리할 부분에 Shape을 그리고 Fill color:l:none 2) Text Tool 선택 - Font: Adobe Garamond - Pro Bold Size: 16 Color: FFFFFF - Text: Poem1 shape와 text 를 group as button 위에하나만 책크 button 과 아이콘을 movie clip 이름을 b1 3) B1 선택 - 2, 23, 44, 50Frame에 Movie Control Stop 4) 1Frame에 Frame - SetLabel Label: up 3Frame에 Frame - SetLabel Label: in 23Frame에 Frame - SetLabel Label: out 43Frame에 Movie Control - Goto and Play(Label) Label: up 45Frame에 Frame - SetLabel Label: active 5) 아래부터 gif 1: 1Frame에 Place Button : 1Frame에 Place 45Frame에 Remove 6) Out Line에서 Button 선택하고 Script창 열고 a) Add Script - Event - Button - on(RollOver) Movie Control - Goto and Play(Label) Label: in b) Add Script - Event - Button - on(RollOut) Movie Control - Goto and Play(Label) Label: out c) Add Script - Event - Button - on(Release) Add Script - Statements - Function Target: _parent Function: setActiveButton Args: this._name Movie Control - Goto and Play(Label) Label: Active B) b1를 복사 제자리붙이기 모두5개 align 에서 행으로정열 a) b1 2F 에 slide in from top..(10)-move(2)-move(7)-복사해서 올라가며 3F.6F.8F...에붙인다 모두선택 movie clip 이름을 button 열고 b1~b5 선택30F에 place button 30F에 stop b) button 에 script function setActiveButton (name) { var inactiveBttn = this.activeBttn; eval!(this[inactiveBttn]).gotoAndPlay("up"); this.activeBttn = name; } onSelfEvent (load) { var activeBttn = ""; eval!(this[activeBttn]).gotoAndPlay("active"); }
Main_Button[2].swf
0.11MB
Main_Button[1].swi
1.46MB