|
●预览成品:
///pc/homepage/flashsl/flash08/swf/btn_01.zip">下载源程序
●逐步说明:
1)选择菜单File->New,建立一个新电影。///pc/homepage/flashsl/flash08/img/flashnew.gif" width="233" height="67" align="absmiddle" alt="新建菜单">
2)选择菜单Modify->Movie,弹出电影属性对话框,设置如图所示。
///pc/homepage/flashsl/flash08/img/flash001.gif" width="344" height="198" alt="属性对话框">
3)执行Insert->New
Symbol,///pc/homepage/flashsl/flash08/img/flash002.gif" width="112" height="59" align="absmiddle" alt="插入新图符菜单">
在对话框中输入此图符的名称为circle,属性为“Graphic”,单击OK按钮。
///pc/homepage/flashsl/flash08/img/flash003.gif" width="249" height="130" alt="插入图符对话框">
4)选择工具栏中的圆形工具///pc/homepage/flashsl/flash08/img/flash004.gif" width="22" height="21" align="absmiddle" alt="圆形工具">,点击参数栏中的边框颜色按钮///pc/homepage/flashsl/flash08/img/flashxk.gif" width="23" height="23" align="absmiddle" alt="边框颜色按钮">,在弹出的菜单中选择左上角的黑框///pc/homepage/flashsl/flash08/img/flashhk.gif" width="21" height="21" align="absmiddle" alt="黑框">,表示所画的圆形没有边框///pc/homepage/flashsl/flash08/img/flash005.gif" width="23" height="22" align="absmiddle" alt="无边框">。
5)在工作区中画出一圆形图片。点击工具栏中的油漆桶工具///pc/homepage/flashsl/flash08/img/flashyq.gif" width="22" height="20" align="absbottom">,选择参数栏中填充颜色按钮///pc/homepage/flashsl/flash08/img/flashxk.gif" width="23" height="23" align="absmiddle" alt="填充颜色">,在弹出的颜色菜单中选择自定义颜色按钮///pc/homepage/flashsl/flash08/img/flashzdy.gif" width="26" height="24" align="absmiddle" alt="自定义颜色按钮">,切换到Gradient选项卡,新增一渐层颜色如图所示。左边颜色箭头的RGB值为(209,185,221);右边颜色箭头的RGB值为(103,27,109)。
///pc/homepage/flashsl/flash08/img/flsh001.jpg" width="320" height="165" alt="自定义颜色">
6)用鼠标左键点击圆形图片,填入渐层颜色。
///pc/homepage/flashsl/flash08/img/flsh002.jpg" width="200" height="193" alt="渐变的图片">
制作完毕,点击等时线左上角的Scene1,切换到场景1。///pc/homepage/flashsl/flash08/img/flash006.gif" width="148" height="27" align="absmiddle" alt="场景按钮">
7)开始按钮的制作:选择菜单Insert->New
Symbol,///pc/homepage/flashsl/flash08/img/flash007.gif" width="103" height="59" align="absmiddle" alt="插入新图符菜单">输入它的名称为btn,属性为button,
///pc/homepage/flashsl/flash08/img/flash008.gif" width="247" height="119" alt="按钮图符对话框">
点击OK按钮,这时进入图符btn按钮编辑模式。
///pc/homepage/flashsl/flash08/img/flash009.gif" width="335" height="99" alt="按钮编辑模式">
|