◆ 网页平面多媒体培训、认证考试免费咨询热线:400-700-5807 进入网络咨询平台 ◆
(6) 按照步骤(5),再创建5个Text窗口,分别输入文本“abbrev”、“abbreviated”、“long”、“short”、“normal”,再分别成为演员9、10、11、12、13,并分别将名称设置为与文本相同,如图7-140所示。
图7-140 Cast演员9、10、11、12、13
(7) 在Cast窗口中将所有演员拖动到舞台上,位置如图7-141所示。
图7-141 演员位置
(8) 双击Script通道的第1帧,打开Script窗口,输入以下Lingo语句,如图7-142所示。
on exitFrame me
go to the frame
end
图7-142 第1帧Lingo脚本
(9) 选中舞台上的精灵1,单击右键,在快捷菜单中选择Script命令,打开Script窗口为其添加以下的Lingo语句,如图7-143所示。
on mouseUp me
set the text of member("abbr")=the abbr date
set the text of member("abbrev")=the abbrev date
set the text of member("abbreviated")=the abbreviated date
set the text of member("long")=the long date
set the text of member("short")=the short date
set the text of member("normal")=the date
end
图7-143 精灵1的Lingo脚本
(10) 至此,显示日期动画的制作完成了,播放电影,效果如图7-144所示。
图7-144 显示日期播放效果
上一页 [1] [2]
 【责编:runlz】 |