
ADOBE DIRECTOR 11.0
User Guide
322
Lingo and JavaScript syntax script for 3D text
In addition to working with most existing methods and properties, 3D text also adds some properties of its own.
These properties give you a more precise way to define the characteristics of the text than is possible using the
Property inspector.
These properties can be set while the text is in 2D mode. They have no visible effect until the text appears in 3D
mode.
When you access the properties listed in the following table for an extruded 3D text model that you created by using
the
extrude3D
method, you must refer to the model resource of the text. The Lingo syntax for this is shown in the
following example:
member(whichMember).model[modelIndex].resource.3DTextProperty
For example, to set the
bevelDepth
property of the first model in cast member 1 to a value of 25, use the following
syntax:
member(1).model[1].resource.bevelDepth = 25
Sprite function
pointToLine
Sprite function
pointToParagraph
Sprite function
pointToWord
Hypertext Lingo
hyperlinkClicked
Hypertext Lingo
hyperlink
Hypertext Lingo
hyperlinks
Hypertext Lingo
hyperlinkRange
Hypertext Lingo
hyperlinkState
Property
Access
Description
Range or Default
bevelDepth
Get and set
Degree of beveling on front or back faces.
Floating-point value from 1.0 to
100.0
Default is 1.0
bevelType
Get and set
Type of bevel.
#none
#miter
#round
Default is
#miter
displayFace
Get and set
Faces of shape to display.
#front
#tunnel
#back
Default is to show all three faces
Type of Script
Element
Содержание 65036570 - Director - PC
Страница 1: ...i ADOBE DIRECTOR 11 USER GUIDE...