606
When the skew limit is reached (slightly past the 59,652th rotation), the skew resets to +116.47°
or -116.48°—not 0.00°. This is b21,474,836.47° is equal to +116.47°, and -
21,474,836.48° is equal to -116.48° (or +243.12°). To avoid this reset condition, constrain angles
to ±360° in either direction when using Lingo to perform continuous skewing.
Example
The following behavior causes a sprite to skew continuously by 2° every time the playhead
advances, while limiting the angle to 360°:
property spriteNum
on prepareFrame me
sprite(spriteNum).skew = integer(sprite(spriteNum).skew + 2) mod 360
end
See also
flipH
,
flipV
,
rotation
smoothness
Syntax
member(
whichTextmember
).smoothness
member(
whichCastMember
).modelResource(
whichExtruderModelResource
)\
.smoothness
Description
3D extruder model resource and text property; allows you to get or set an integer controlling the
number of segments used to create a 3D text cast member. The higher the number, the smoother
the text appears. The range of this property is 1 to 10, and the default value is 5.
For more information about working with extruder model resources and text cast members,
see
extrude3D
.
Example
In this example, the cast member Logo is a text cast member. This statement sets the smoothness
of Logo to 8. When Logo is displayed in 3D mode, the edges of its letters will be very smooth.
member("Logo").smoothness = 8
In this example, the model resource of the model Slogan is extruded text. This statement sets the
smoothness of Slogan’s model resource to 1, causing the Slogan’s letters to appear very angular.
member("Scene").model("Slogan").resource.smoothness = 1
See also
extrude3D
sort
Syntax
list.sort()
sort
list
Description
Command; puts list items into alphanumeric order.
•
When the list is a linear list, the list is sorted by values.
•
When the list is a property list, the list is sorted alphabetically by properties.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...