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


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

///pc/img/blank.gif" width="1" height="1" border="0">
56.鼠标跟随之一
预览成品:

///pc/homepage/flashsl/flash56/swf/56.zip" target="_blank"> 下载源程序


逐步说明:
  1)选择菜单Insert->New Symbol,弹出图符属性对话框,输入图符名为:mouse,选择Movie Clip项,

///pc/homepage/flashsl/flash56/img/001.gif" width="170" height="97" alt="新建图符" border="0">

设置完毕 ,点击OK按钮,进入图符编辑模式。
  2)在工作区中绘出两条直线和两个文本框为如图所示:

///pc/homepage/flashsl/flash56/img/002.gif" width="344" height="264" alt="Movie Clip总局" border="0">

设置上文本框的属性为:

///pc/homepage/flashsl/flash56/img/003.gif" width="320" height="221" alt="上文本框属性" border="0">

下文本框的属性为:

///pc/homepage/flashsl/flash56/img/004.gif" width="336" height="217" alt="下文本框属性" border="0">

  3)点击等时线窗口左上角的///pc/homepage/flashsl/flash56/img/005.gif" width="73" height="23" align="absmiddle" alt="场景1" border="0">按钮,切换到场景1,从图符资料库中拉入Movie Clip:mouse,设置其实体名称为:hlf,Actions为:

///pc/homepage/flashsl/flash56/img/006.gif" width="492" height="261" alt="拖动MovieClip:hlf" border="0">

  4)新增一图层layer 2,在第2帧处插入一关键帧,设置其Actions为:

///pc/homepage/flashsl/flash56/img/007.gif" width="495" height="169" alt="鼠标位置" border="0">

  5)选择菜单Control->Test Movie,即可预览动画效果。


上一实例(按钮系列)  /pc/bin/msg.pl?file_id=k_flashjq56 target="_blank">下一实例(光线特效文字)
///pc/img/message.gif" width="64" height="54" alt="请您留言" border="0">

/pc/bin/msg.pl?file_id=k_flashjq56 target="_blank">谈谈您的看法

 

 

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