///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.酷炫鼠标之三

  14)下面讲述怎样用鼠标控制后面的渐变动画。用鼠标右键点击工作区中的“btn”按钮,在弹出的菜单中选择“Properties”项,

///pc/homepage/flashsl/flash12/img/flash017.gif" width="150" height="71" alt="按钮属性菜单">

进入该按钮属性对话框。切换到“Action”选项卡,点击“+”按钮,在弹出的菜单中选择“go to”语句,这时您将看到在Action下方已加入了三条语句。我们先选择第一条语句“On(Release)”,在右边栏中默认选择的是“Release”,意思为:当鼠标释放时,执行下一条语句。这里我们选择“Roll Over”,

///pc/homepage/flashsl/flash12/img/flash018.gif" width="454" height="233" alt="按钮的Actions">

表示鼠标移到该按钮上时,即触发鼠标事件。它与第三条语句配套使用,第三条语句即表结束这个鼠标事件。最后我们选择中间那条语句,默认值为“Go to and Stop(1)”,表示跳动到第1帧,并停止。这里我们在“Number”区域中输入“2”,选中Control域中的“Go to and Play”,表示跳动到第2帧并向后播放。

///pc/homepage/flashsl/flash12/img/flash019.gif" width="481" height="288" alt="Go to语句">

设置完毕,点击“确定”按钮,关闭属性对话框。
  15)用鼠标点击等时线窗口右上角的///pc/homepage/flashsl/flash12/img/flash020.gif" width="23" height="25" align="absmiddle">按钮,在弹出的菜单中选择“Scene 1”,切换到场景1。

///pc/homepage/flashsl/flash12/img/flash021.gif" width="120" height="50" alt="场景1">

新建图层“cool mouse”,从图符资料库中拉入“cool mouse”,连续复制它至布满整个工作区,如图所示。

///pc/homepage/flashsl/flash12/img/flash022.gif" width="255" height="149" alt="最终界面">

  16)选择菜单Control>Test Movie,即可测试所制作的电影效果。


上一步  下一实例(制作电影的预载)

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

 

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