347
listP()
Syntax
listP(
item
)
Description
Function; indicates whether the item specified by
item
is a list, rectangle, or point (1
or TRUE
) or
not (0
or FALSE
).
Example
This statement checks whether the list in the variable
designers
is a list, rectangle, or point, and
displays the result in the Message window:
put listP(designers)
The result is 1, which is the numerical equivalent of
TRUE
.
See also
ilk()
,
objectP()
loaded
Syntax
member(
whichCastMember
).loaded
the loaded of member
whichCastMember
Description
Cast member property; specifies whether the cast member specified by
whichCastMember
is
loaded into memory (
TRUE
) or not (
FALSE
).
Different cast member types have slightly different behaviors for loading:
•
Shape and script cast members are always loaded into memory.
•
Movie cast members are never unloaded.
•
Digital video cast members can be preloaded and unloaded independent of whether they are
being used. (A digital video cast member plays faster from memory than from disk.)
This property can be tested but not set.
Example
This statement checks whether cast member Demo Movie is loaded in memory and if it isn’t, goes
to an alternative movie:
if member("Demo Movie").loaded = FALSE then go to movie("Waiting")"
See also
preLoad (command)
,
ramNeeded(), size, unLoad
loadFile()
Syntax
member(
whichCastmember
).loadFile(
fileName
{,
overwrite
,
\
generateUniqueNames
})
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...