首 页 | 多媒体开发 | 合成 | 图象设计 | 动画制作 | 音频编辑 | 网站建设 | 新书上市 | 虚拟主机
论 坛 | 加入人才库 | 下载中心 | 作品展示 | 项目承接 | 光盘压制 | 企业展台 | 原创投稿 | 认证培训
bryce
 

常用Lingo


3.常用遣型成员属性

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

depth
语法:飞华统计专家263统计计数器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


   ^   > > > > >   

宇风多媒体