
396
Chapter 12: Methods
mergeProps()
Usage
-- Lingo syntax
windowObjRef
.mergeProps(
propList
)
// JavaScript syntax
windowObjRef
.mergeProps(
propList
);
Description
Windows method. Merges an arbitrary number of window properties, all at once, into the
existing set of window properties.
Parameters
propList
Required. A set of window properties to merge into the existing set of window
properties. The properties are specified by the
appearanceOptions
and
titlebarOptions
properties.
•
In Lingo,
propList
can be either a comma-separated list of name/value pairs or a comma-
separated list of symbol/value pairs.
•
In JavaScript syntax,
propList
can only be a comma-separated list of name/value pairs.
Example
This statement sets various properties for the window named Cars.
-- Lingo syntax
window("Cars").mergeProps([#title:"Car pictures", #resizable:FALSE, \
#titlebarOptions:[#closebox:TRUE, #icon:member(2)], \
#appearanceOptions:[#border:#line, #shadow:TRUE]])
// JavaScript syntax
window("Cars").mergeProps(propList("title","Car pictures", "resizable",false,
"titlebarOptions",propList("closebox",true, "icon",member(2)),
"appearanceOptions",propList("border","line", "shadow",true)));
See also
appearanceOptions
,
titlebarOptions
,
Window
mesh (property)
Usage
member(
whichCastmember
).model(
whichModel
).\
meshdeform.mesh[
index
].
meshProperty
Description
3D command; allows access to the mesh properties of models that have the
meshDeform
modifier
attached. When used as
mesh.count
this command returns the total number of meshes within
the referenced model.
The properties of each mesh that are accessible are as follows:
•
colorList
allows you to get or set the list of colors used by the specified mesh.
•
vertexList
allows you to get or set the list of vertices used by the specified mesh.
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...