|
●预览成品:产生放大、旋转和透明渐变的五角星。
///pc/homepage/flashsl/flash07/swf/07.zip">下载源程序
●逐步说明:
1)选择菜单File->New,创建一个新电影。
///pc/homepage/flashsl/flash07/img/flashnew.gif" width="233" height="67" alt="新建菜单">
2)选择菜单View->Grid,
///pc/homepage/flashsl/flash07/img/flash001.gif" width="95" height="188" alt="网格菜单">
这时工作区中将出现网格,要定位或者有相对尺寸要求,它都会提供您很大帮助。再选择菜单View->Snap,
///pc/homepage/flashsl/flash07/img/flash002.gif" width="73" height="199" alt="自动捕捉">
将打开捕捉设置。
3)选择工具栏中的矩形工具///pc/homepage/flashsl/flash07/img/flash003.gif" width="23" height="21" align="absmiddle" alt="矩形">,点击矩形工具参数栏中的填充颜色按钮///pc/homepage/flashsl/flash07/img/flashtxts.gif" width="24" height="22" align="absmiddle" alt="填充颜色">,在弹出的菜单中选择左上角的黑框///pc/homepage/flashsl/flash07/img/flash004.gif" width="24" height="24" align="absmiddle" alt="黑框">,表示填充颜色设置成“无填充”///pc/homepage/flashsl/flash07/img/flash005.gif" width="23" height="21" align="absmiddle" alt="无填充">。在工作区中绘制矩形方框,如图所示:
///pc/homepage/flashsl/flash07/img/flash006.gif" width="109" height="77" alt="矩形图片">
4)选择工具栏中的箭头工具///pc/homepage/flashsl/flash07/img/flashjt.gif" width="24" height="23" align="absmiddle" alt="箭头工具">,分别按住矩形上方的两个顶点并向中间拖至如图所示。
///pc/homepage/flashsl/flash07/img/flash007.gif" width="72" height="73" alt="调整后的图片">
5)选中三角形图片,选择菜单Edit->Copy,再选择菜单Edit->Paste
in Place,
///pc/homepage/flashsl/flash07/img/flash08.gif" width="72" height="103" alt="拷贝菜单"> ///pc/homepage/flashsl/flash07/img/flash09.gif" width="114" height="141" alt="粘贴菜单">
表示在原位复制它,选择菜单Window->Inspector->Transform,
///pc/homepage/flashsl/flash07/img/flash10.gif" width="293" height="159" alt="监控板菜单">
弹出变形监控板,在Rotate栏中输入-72度。
///pc/homepage/flashsl/flash07/img/flash11.gif" width="196" height="153" alt="变形监控板">
用箭头工具适当调整三角形的位置。重复几次,最后即可绘制出五角形的边框。
///pc/homepage/flashsl/flash07/img/flash12.gif" width="109" height="73" alt="五角星边框">
6)单击工具栏中的油漆桶工具///pc/homepage/flashsl/flash07/img/flash13.gif" width="23" height="21" align="absmiddle" alt="油漆桶工具">,将油漆桶参数栏中的填充色设置成红色///pc/homepage/flashsl/flash07/img/flash14.gif" width="24" height="22" align="absmiddle" alt="填充颜色">,用鼠标左键单击五角星,这时五角星被填充成红色。
///pc/homepage/flashsl/flash07/img/flash15.gif" width="108" height="72" alt="被填充的五角星">
7)选择箭头工具///pc/homepage/flashsl/flash07/img/flashjt.gif" width="24" height="23" align="absmiddle" alt="箭头工具">,双击五角星的边缘,将五角星的边框选中,单击Edit菜单,选择Clear项,
///pc/homepage/flashsl/flash07/img/flash17.gif" width="105" height="75" alt="选中五角星边框"> ///pc/homepage/flashsl/flash07/img/flash16.gif" width="87" height="126" alt="清除边框菜单">
将选中的五角星边框删除。
|