///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_flashjq12 target="_blank">///pc/img/message.gif" width="64" height="54" alt="请您留言" border="0">
谈谈您的看法

///pc/img/blank.gif" width="1" height="1">
12.酷炫鼠标之二

  9)选择菜单Insert->Symbol,

///pc/homepage/flashsl/flash12/img/flash004.gif" width="129" height="59" alt="建立新图符">

输入图符名称“cool mouse”,在Behavior域中选择“Movie Clip”项,

///pc/homepage/flashsl/flash12/img/flash009.gif" width="253" height="120" alt="图符属性对话框">

进入图符“cool mouse”编辑模式。

///pc/homepage/flashsl/flash12/img/flash010.gif" width="305" height="106" alt="图符编辑">

  10)在图符资料库中点击并拖动“btn”到工作区中。

///pc/homepage/flashsl/flash12/img/flash011.gif" width="305" height="133" alt="图符编辑">

点击增加图层按钮以增加图层Layer2,在图层Layer2的第2帧插入一关键帧,选中它,从图符资料库中拉入图片“ball”。

///pc/homepage/flashsl/flash12/img/flash012.gif" width="291" height="144" alt="图层2中拉入图片">

  11)在图层Layer2的第14帧处插入一个关键帧,用常用工具栏的Scale按钮,略微放大图片,并设置它的Apha值为9%。

///pc/homepage/flashsl/flash12/img/flash013.gif" width="221" height="129" alt="透明设置"> ///pc/homepage/flashsl/flash12/img/flash014.gif" width="320" height="167" alt="被透明的圆星">

  12)用鼠标右键点击Layer2的第2帧,在弹出的菜单中选择“Creat Motion Tween”项,建立渐变路径。

///pc/homepage/flashsl/flash12/img/flash015.gif" width="304" height="63" alt="建立运动路径">

  13)用鼠标双击Layer2的第1帧,进入帧属性对话框,切换到“Action”选项卡,点击“+”按钮,选择“Stop”项。

///pc/homepage/flashsl/flash12/img/flash016.gif" width="354" height="113" alt="Actions对话框">

这里需要说明的是后面的渐变动画是由鼠标来控制的,如没有响应鼠标事件,该Movie Clip永远停留在第1帧。


上一步  下一步



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

 

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