265
EXTENDING FIREWORKS
Objects within Fireworks documents
Las
t
up
d
a
ted
12/8/2009
SingleTextRun object
The following table lists the properties of the SingleTextRun object, along with their data types and, where appropriate,
acceptable values and notes.
SmartShape object
The following table lists the properties of the SmartShape object, along with their data types and, where appropriate,
acceptable values and notes. Read-only properties are marked with a bullet (•).
movePt
Boolean
Determines whether the point itself should be moved as the
user moves the mouse.
moveSucc
Boolean
Determines whether the successor point should be moved as
the user moves the mouse.
rotate
Boolean
Determines whether the point should rotate along with the
mouse rotation.
Property
Data type
Notes
changedAttrs
object
TextAttrs object (see “
TextAttrs object
” on page
267).
characters
string
The text that is contained in this run.
Property
Data type
Notes
altOptKeyDown
•
Boolean
Indicates whether the Alt/Option key is pressed (
true
if
pressed, otherwise
false
).
constrainDragInsertAspect
Boolean
Determines if, while dragging a shape on the canvas, the
aspect ratio is constrained (
true
if constrained, otherwise
false
).
constrainDragInsertAspectKey
string
The key value that will cause the aspect ratio to be constrained
during a
DragInsert
operation.
ctrlCmdKeyDown
•
Boolean
Indicates whether the Control/Command key is pressed (
true
if pressed, otherwise
false
).
currentControlPoint
•
object
Returns the current control point object.
currentControlPointIndex
•
integer
Returns the index number of the current control point.
currentControlPointName
•
string
Returns the name of the current control point.
currentMousePos
point
Location of the mouse during the current drag message.
elem
•
object
Objects defined as part of the current Auto Shape.
getsDragEvents
Boolean
Sets notification for drag events (
true
notifies the smartshape
for every mouse movement,
false
sets no notification).
Property
Data type
Notes