返回首页

 

常用Lingo (3)
3月21日
3.常用遣型成员属性

backColor
语法: set the backCo1or of member whichCastmenlber to co1orNumber
用途: 此属性决定了造型成员的背景颜色。
举例: set the backCo1or of member 1 to 250

depth
语法:the depth of member whichCastmember
用途: 此属性返回造型成员的颜色深度,但是不能对其进行设置。
举例: put the depth of member”Shrine”

duration
语法:the duration of member whichCastmember
用途:此属性决定了造型成员的持续时间。
举例: set the duration of memberber"Fog” = 1O00

fileName
语法:the fileName of member whichCastmember
用途:此属性决定了外部链接造型成员所对应的外部文件名称。
举例: set the fileNanie of member 40="aaa"

foreColor
语法:the foreColor of member castName to colorfNumber
用途:此属性决定了造型成员的前景色。
举例: set the foreColor of member I to 250

height
语法: the height of member whichCastmember
用途:此属性返回位图和形状造型成员的高度,但是不能对其进行设置。
举例: put the height of member"Headline"

media
语法:the media of member whichCastmember
用途:此属性返回描述造型成员的数据,可以通过复制这个属性来复制造型成员中的内容。
举例: set the media of member“Down”to the media of member”Rise“

modified
语法: the modified of member whichCastmember
用途:此属性返回这个造型成员从电影文件中被读入以来是否被修改过的记录值。
举例: put the modified of member"memberl"

name
语法:the name of member whichCastmember
用途:此属性决定了造型成员的名称。
举例: set the name of men1ber l to"Background"
set the name of member“On” to “Off“

nummber
语法: the nummber of member whichCastmember
用途: 此属性决定了造型成员的编号。
举例: put the number of member”power Switch”

paletteRef
语法: the paletteRef of member whichCastMember
用途: 此属性决定了造型成员所映射到的调色板。对应的值为#systemMac,#rainbow等等。
举例: set the paletteRef of member”Shell”to #systemWin

rect
语法: the rect of member whichCastmember
用途: 此属性决定了造型成员的左上角和右下角的坐标。
举例: set the rect of member l= rect(l00, 150, 300, 400)

regPoint
语法: the regPoint of member whichCastMember
用途: 此属性决定了造型成员注册点的坐标。
举例: set the regPoint of member”Desk”=poini( 100, 200)

scriptsEnabted
语法: the scriptsEnabled of member whichCastmember
用途: 此属性决定了链接电影造型成员中的脚本是否有效。
举例: set the scriptsEnabled of member”puzzle” = TRUE

scriptText
语法: the scriptText of member whichCastmenlber
用途: 此属性决定了脚本造型成员的内容。
举例: set the scriptText of member 30 = the text of member l0

scriptType
语法: ihe scriptType of member whichScript
用途: 此属性决定了脚本造型成员的类型,其值为#MOVIE, #SCORE和#PARENT。
举例: set the scriptType of member”Main” to #movie

size
语法: the size of member“,whichCastMember
用途: 此属性返回造型成员所占空间的大小。
举例: put the size of menlber”pic”into member”size”

type
语法: the type of member whichCastmember
用途: 此属性决定了造型成员的种类,有以下几种:
#bitmap, #palette, #button, #picture, #fIlmLoop, #sound, #digitalVideo等等。
举例: if the type of member” News”=#field then fieldFormat
width
语法: the width of member whichCastMember
用途: 此属性返回了造型成员的宽度,但是不能进行设置。
举例: put the width of member 50



相关文章
  • 在Director中应用Flash——从Director到Flash
  • 在Director中应用Flash——从Flash到Director(图)
  • 在Director中应用Flash——基础篇
  • Director8新手上路——可视化的交互创作
  • Director8新手上路——深入了解舞台、演员、精灵与分镜(二)
  • Director8新手上路——深入了解舞台、演员、精灵与分镜(一)
  • Director8新手上路——绘图工具(二)(图)
  • Director8新手上路——绘图工具(一)(图)
  • Director8新手上路——快速入门(图)
  • Director8新手上路——界面浏览(图)
  • Director8新手上路——新增功能介绍
  • Director 8从入门到精通(九)(图)