originH
903
member("User Info").text = displayString;
}
See also
Player
originalFont
Usage
-- Lingo syntax
memberObjRef
.originalFont
// JavaScript syntax
memberObjRef
.originalFont;
Description
Font cast member property; returns the exact name of the original font that was imported when
the given cast member was created.
Example
This statement displays the name of the font that was imported when cast member 11
was created:
-- Lingo syntax
put(member(11).originalFont)
// JavaScript syntax
put(member(11).originalFont);
See also
recordFont
,
bitmapSizes
,
characterSet
originH
Usage
-- Lingo syntax
memberOrSpriteObjRef
.originH
// JavaScript syntax
memberOrSpriteObjRef
.originH;
Description
Cast member and sprite property; controls the horizontal coordinate of a Flash movie or vector
shape’s origin point, in pixels. The value can be a floating-point value.
The origin point is the coordinate in a Flash movie or vector shape around which scaling and
rotation occurs. The origin point can be set with floating-point precision using the separate
originH
and
originV
properties, or it can be set with integer precision using the single
originPoint
property.
You can set the
originH
property only if the
originMode
property is set to
#point
.
This property can be tested and set. The default value is 0.
Note:
This property must be set to the default value if the scaleMode property is set to #autoSize, or
the sprite does not display correctly.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...