width (3D)

Usage

member(whichCastmember).modelResource(whichModelResource).width
modelResourceObjectReference.width

Description

3D property; allows you to get or set the width of the plane for a model resource whose type is #box or #plane. This property must be greater than 0.0, and has a default setting of 1.0. For objects whose type is #box, the default value of width is 50.0. For objects whose type is #plane, the default setting is 1.0. width is measured along the X axis.

Example

This statement sets the width of the model resource Grass plane to 250.0:

member("3D World").modelResource("Grass plane").width = 250.0

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/09_pr746.htm