资源描述:
《flash为动画添加声音》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、使用Flash制作动画时,除了可以制作各种特效外,还可以加入声音,Flash提供了几种使用声音的方法。可以使声音独立于时间轴连续播放,或使动画和一个音轨同步播放。向按钮添加声音可以使按钮具有更强的互动性,通过声音淡入淡出还可以使音轨更加优美。1导入声音在Flash中可以使用.WAV、.MP3等类型的声音、音乐文件,在使用时要将声音文件先导入到库中。选择“文件”菜单→“导入”→“导入到库”命令,将声音导入到库。2为影片添加声音otherstaffoftheCentre.Duringthewar,Zhuwastransferre
2、dbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,
3、ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand在Flash中有两种类型的声音:事件声音和音频流。事件声音必须完全下载后才能开始播放,除非明确停止,它将一直连续播放。音频流在前几帧下载了足够的数据后就开始播放;音频流可以通过和时间轴同步以便在Web站点上播放。2.1为影片添加声音的方法⑴打开要添加声音的影片文件。⑵选择“文件
4、”菜单→“导入”→“导入到库”命令,将一个mp3格式的文件导入到库作为影片的背景音乐。⑶在时间轴上新建一个图层,命名为sound。⑷选定新建的声音层后,在“属性”面板的“声音”弹出菜单中选择声音文件。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderofthe
5、WestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,
6、Ministersand注意:可以把多个声音放在一个层上,但是,建议将每个声音放在一个独立的层上。每个层都作为一个独立的声道。播放SWF文件时,会混合所有层上的声音。2.2在属性面板设置声音选择声音图层,在“属性”面板出现与声音有关的属性。各属性的使用方法如下:otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Star
7、tingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderofth
8、eCountypartyCommitteeSecretary,Ministersand⑴从“效果”弹出菜单中选择效果选项:§“无”:不对声音文件应用效果。“选择”此选项将删除以前应用的效果。§“左声道“/“右声道”:只在左声道或右声道中播放声音。§“从左到右淡出”/“从右到左淡出”:会将声