- 1、本文档共18页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
lingo语法的运用
键(012345)按下时到标记(012345)
on keyDown me
case (the key) of
0:go to marker (0)
1:go to marker (1)
2:go to marker (2)
3:go to marker (3)
4:go to marker (4)
5:go to marker (5)
end case
end
鼠标消失
on exitFrame me
go to the frame
cursor 200
end
鼠标左键按下时到下一针
on mouseDown me
go to the frame+1
end
键盘任意键按下时到下一针
on keyDown me
go to the frame+1
end
鼠标右键按下时到前一个标记
on rightMouseDown me
go to marker(-1)
end
结束时
on exitFrame me
go to the frame
end
on rightMouseDown me
go to previous
end
声音控制(在Cool Edit Pro 2[1]中将声音文件进行加注标记,通常在声音(配音)停顿处加注标记(打点),加注标记时要与课件播放停顿相一致。打点技巧;在Cool Edit Pro 2[1]中打开声音文件,需打点处按下F8即可加注声音播放标记,完成后将声音问价保存为WAV或MP3格式文件,导入DIRECTOR文件声音通道1或2即可,避免了将声音文件掐断导入的繁琐工作,可大大提高工作的效率。
(1)在最前面预留一空帧加入此语句(等待鼠标单击时开始播放课件)
on exitFrame me
go the frame
end
on mouseUp me
go to frame 2
end
(2)
global a
on exitFrame me
a=1
end
将此语句放置在声音开始播放前,即on exitFrame me go the frame end on mouseUp me go to frame 2 end 语句后global a on exitFrame me if not ispastcuepoint(sound 1,a) then go the frame else a=a+1 end语句前。
(3)
global a
on exitFrame me
if not ispastcuepoint(sound 1,a) then go the frame
else a=a+1
end
这是一个全局变量的声音控制播放的语句,只需在电影需要停顿的位置放入此语句即可,无需加注电影的播放停顿标记,只需将声音演员放置到声音通道1或2,如果放置2则需将(3)语句中的if not ispastcuepoint(sound 1,a) then go the frame改写为if not ispastcuepoint(sound 2,a) then go the frame即可。
声音控制语句
on exitframe
if sound(1).isbusy() then(如果声音通道1忙时,停到当前帧;如果声音通道1没有声音时,则继续向下播放。)
go to the frame
end if
end
on rightmouseup me(鼠标右键抬起时,跳到前一个标记。)
go previous
end
on mouseup me(鼠标左键抬起时,跳到下一个标记。)
go next
end
声音控制语句
on exitframe
if sound(2).isbusy() then(如果声音通道2忙时,停到当前帧;如果声音通道1没有声音时,则继续向下播放。)
go to the frame
end if
end
on rightmouseup me(鼠标右键抬起时,跳到前一个标记。)
go previous
end
on mouseup me(鼠标左键抬起时,跳到下一个标记。)
go next
end
全屏播放语句(全局脚本)
(在director课件制作完毕后,打包发布前将此语句放置在演员表内后发布,电影在播放时不管电脑桌面显示像素是否与课件制作发布的像素相一致,文件都会适应全屏播放)
方法:将此语句复制粘贴到演员表内,切忌放入此语句后不能在修改影片,如需修改影片时则应将此语句先删除,在修改完毕后打包发布前将其拷贝。OK!!!
on prepareMovie
(the stage)
文档评论(0)