SmartShape object
The following table lists the properties of the SmartShape object, along with their data types and,
where appropriate, acceptable values and notes.
Property
•
altOptKeyDown
constrainDragInsertAspect
constrainDragInsertAspectKey
ctrlCmdKeyDown
currentControlPoint
currentControlPointIndex
currentControlPointName
currentMousePos
•
elem
getsDragEvents
livePreview
•
mouseDownPos
•
operation
•
prevMousePos
•
shiftKeyDown
60
Chapter 2: The Fireworks Object Model
Data type
Boolean
Boolean
string
•
Boolean
•
object
•
integer
•
string
point
object
Boolean
Boolean
point
string
point
Boolean
Notes
Indicates whether the Alt/Option key is
pressed (
if pressed, otherwise
true
Determines if, while dragging a shape on the
canvas, the aspect ratio is constrained (
if constrained, otherwise
The key value that will cause the
aspect ratio to be constrained during a
operation.
DragInsert
Indicates whether the Control/Command key
is pressed (
if pressed, otherwise
true
Returns the current control point object.
Returns the index number of the current
control point.
Returns the name of the current
control point.
Location of the mouse during the current
drag message.
Objects defined as part of the current
Auto Shape.
Sets notification for drag events (
notifies the smartshape for every mouse
movement,
sets no notification).
false
Sets live preview. A value of
live preview, and disables wire-frame
preview handled by Fireworks. Live preview
is slower than wire-frame preview.
If you want the user to set this value, write a
function handling the DragControlPoint
message from Fireworks (see
messages" on page
98.
Location of the mouse during a mouse click.
Message received from Fireworks, see
"Fireworks messages" on page 98
possible messages.
Location of the mouse at the previous
drag message.
Indicates whether the Shift key is pressed.
).
false
true
).
false
).
false
true
enables
true
"Fireworks
for
Need help?
Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers