///pc/img/blank.gif" width="12" height="8">当前位置:///default.htm" class="under">亿度网络 -> ///pc/index.htm" class="under">网页制作教程 -> Flash实例


/pc/bin/msg.pl?file_id=k_flashjq10 target="_blank">///pc/img/message.gif" width="64" height="54" alt="请您留言" border="0">
谈谈您的看法

///pc/img/blank.gif" width="1" height="1">
10.够cool按钮之一

预览成品:

///pc/homepage/flashsl/flash10/swf/btn03.zip">下载源程序


逐步说明:
  1)使用Adobe Illustrator绘制出一个静态的花朵图案,并存名为Flower。
  2)选择菜单File->New,建立一个新文件。

///pc/homepage/flashsl/flash10/img/flashnew.gif" width="233" height="67" alt="新建菜单">

  3)选择菜单Modify->Movie,设置电影的属性如图所示。

///pc/homepage/flashsl/flash10/img/flash001.gif" width="346" height="208" alt="属性对话框">

  4)选择菜单Insert->Symbol,///pc/homepage/flashsl/flash10/img/flash002.gif" width="99" height="60" align="absmiddle" alt="新建图符">

 

弹出图符属性对话框,在Name域中输入图符的名称btn,Behavior域中选择Btton项。点击OK按钮,

///pc/homepage/flashsl/flash10/img/flash003.gif" width="246" height="122" alt="图符属性">

这时将进入btn按钮图符编辑模式。

///pc/homepage/flashsl/flash10/img/flash004.gif" width="338" height="97" alt="按钮编辑模式">

  5)选择菜单File->import,

///pc/homepage/flashsl/flash10/img/flash005.gif" width="96" height="132" alt="导入图菜单">

在弹出的对话框中选择刚绘制的花朵图案文件,然后单击Import按钮,即把Flower图片导入到Flash中。移动图片到工作区的中央。

///pc/homepage/flashsl/flash10/img/flash006.gif" width="300" height="233" alt="导入的图">

  6)选择菜单Insert->Symbol,弹出图符属性对话框,在Name域中输入图符的名称movie,Behavior域中选择Movie Clip项。点击OK按钮,这时将进入movie图符编辑模式。

  ///pc/homepage/flashsl/flash10/img/flash007.gif" width="244" height="119" alt="图符对话框">  ///pc/homepage/flashsl/flash10/img/flash008.gif" width="218" height="69" alt="图符编辑模式">

  7)打开图符资料库Library窗口,

///pc/homepage/flashsl/flash10/img/flash009.gif" width="160" height="253" alt="库窗口">

从中拖出Flower图符,并把它放置于工作区的中央。用鼠标右键点击图层Layer1的第16帧,在弹出的菜单中选择“Insert frame”项,///pc/homepage/flashsl/flash10/img/flash010.gif" width="103" height="76" align="absmiddle" alt="插入帧">

 

即把图层Layer1的帧数增加到16帧。


上一实例(动态矩形按钮)  下一步

/pc/bin/msg.pl?file_id=k_flashjq10 target="_blank">///pc/img/message.gif" width="64" height="54" alt="请您留言" border="0">
谈谈您的看法

 

网页制作 网页设计 网站建设 网站设计 网站制作 做网站 做网页