脚本和脚本动画.pptx

  1. 1、本文档共19页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
会计学;使用Lingo控制文本及域;Put char 3 of word 3 of firsttext 结果: -- g“ 又如: Set secondtext=“Beijing is,a beautiful city” Put word 2 of secondtext 结果: ;2、域 域在媒体播放期间可以被更改。域可以看作是一个文本块,该块由许多单词组成,每一个单词又由许多字符组成,Director提供各种属性把单词、字符从块中分开。下面介绍控制域的各种属性. (1)text Text 可以在播放期间修改它的值。 如: Set the text of field “firstfield” to “this is new text field”;(2)、Number of what 域的基本组成元素有line(行)、item(项)、 word(单词)、char(字符)。其中line实际上应该称为段落,它以换行符隔开。Word以空格或者Tab字符隔开。如:”He’s a good-looking man”是4个单词而不是6个单词。 The number of what of field whichField返回域中基本元素的数目。其中参数what就是line、item、word或者char, whichField就是域名。 ;如新建一个域firstfield成员: Your users can view your completed Director movie over the Internet,either in a Web browser or independent of a browser,or as a stand-alone projector suitable for LANS and distribution through CD-ROM and DVD-ROM.;新一个脚本: on startmovie put the text of field firstfield put the number of lines of field firstfield“ --显示行数 put the number of words of field firstfield“ --显示单词数 put the number of chars of field firstfield“ --显示字符数 put the number of words of line 1 of field firstfield“ --显示第1段的 put the number of单词数量chars of word 1 of item 1 of line 1 of field firstfield“ --显示第1段的第1项的第1个单词的字符数量。 end ;(3)what of field whichfield what of field返回域中元素,新建一个脚本 On startmovie Put the text of field “firstfield” Put line 2 of field “firstfield” --显示域的第2段 Put item 2 of field “firstfield” --显示域的第2项 Put word 2 of field “firstfield” --显示域的第2个单词 Put char 2 of field “firstfield” --显示域的第2个字符 Put word 1 of line 1 of field “firstfield” --显示域的第1段的第1个单词 Put char 1 of word 1 of item 1 of line 2 of field “firstfield” end --显示域的第2段的第1项的第1个单词的第1个字符;(4)、删除和修改域 删除格式: Delete word wordnumber of line linenumber of field whichfield 如:delete word 2 of line 1 of field “firstfield” 修改格式: Put wordtext before word wordnumber of line linenumber of field whichfield 如: put users can before word 2 of field firstfield;(5)字体属性 域的字体属性包括the font of field ,the fontSize of field 和the fontStyle of field分别设置域的字体、字号、和风格。如: On

文档评论(0)

kuailelaifenxian + 关注
官方认证
内容提供者

该用户很懒,什么也没介绍

认证主体太仓市沙溪镇牛文库商务信息咨询服务部
IP属地上海
统一社会信用代码/组织机构代码
92320585MA1WRHUU8N

1亿VIP精品文档

相关文档