EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 955

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
resolution (DVD) 955
See also
Window
resolution (3D)
Usage
member(whichCastmember).modelResource(whichModelResource).resolution
Description
3D property; allows you to get or set the resolution property of a model resource whose type is
either
#sphere or #cylinder.
Resolution controls the number of polygons used to generate the geometry of the model resource.
A larger value generates more polygons and thus results in a smoother surface. The default value
of this property is 20.
Example
This statement sets the resolution of the model resource named sphere01 to 10.0:
member("3D World").modelResource("sphere01").resolution = 10.0
resolution (DVD)
Usage
-- Lingo syntax
dvdObjRef.resolution
// JavaScript syntax
dvdObjRef.resolution;
Description
DVD property. Returns a property list that contains the x-axis (width) and y-axis (height) source
resolution. Read-only.
Example
This statement returns a sample property list of resolutions:
-- Lingo syntax
trace(member(1).resolution) -- [#width: 720, #height: 480]
// JavaScript syntax
trace(member(1).resolution); // ["width": 720, "height": 480]
See also
DVD