|
●预览成品:鼠标在画面上移动时,会随即在滑过的地方产生一个黄色的小球慢慢放大并透明化的效果。
///pc/pcketang/wangye/flashsl/flash14/swf/mouse.zip">下载源程序
●逐步说明:
1)选择菜单File->New,建立一个新电影。
2)选择菜单Modify->Movie,弹出电影属性对话框,设置如图所示。
///pc/homepage/flashsl/flash12/img/flash001.gif" width="347" height="211" alt="电影属性对话框">
3)新建一图层“background”,选择工具栏中的文字工具,设定字体为“_Sans”,大小为“48”,颜色为淡蓝色。
///pc/homepage/flashsl/flash12/img/flash003.gif" width="55" height="80" alt="字体字号颜色">
设置完毕,在工作区中点击鼠标并输入文字“Cool
Mouse”。
///pc/homepage/flashsl/flash12/img/flash002.gif" width="161" height="121" alt="文字">
4)选择菜单Insert->Symbol,///pc/homepage/flashsl/flash12/img/flash004.gif" width="129" height="59" align="absmiddle" alt="插入新图符菜单">输入图符名称“ball”,在Behavior域中选择“Graphic”项,
///pc/homepage/flashsl/flash12/img/flash005.gif" width="250" height="123" alt="图符对话框">
进入图符“ball”编辑模式。
5)绘制如图所示的圆形图片。
///pc/homepage/flashsl/flash12/img/flash006.gif" width="224" height="97" alt="圆形图片">
6)选择菜单Insert->Symbol,输入图符名称“btn”,在Behavior域中选择“Button”项,
///pc/homepage/flashsl/flash12/img/flash007.gif" width="247" height="122" alt="按钮图符">
进入图符“btn”编辑模式。
7)用鼠标右键点击图层Layer1的“hit”帧,在弹出的菜单中选择“Insert Keyframe”项,即在“hit”处插入一个关键帧。
8)选择工具栏中的画圆工具,并在工作区中绘制一圆形如图所示。
///pc/homepage/flashsl/flash12/img/flash008.gif" width="354" height="119" alt="按钮编辑">
|