Macromedia fireworks mx 2004-extending fireworks User Manual
Objects within Fireworks documents
41
Image object
Image is a subclass of the base class Element (see
). It contains no
properties or methods other than those in Element.
Instance object
Instance is a subclass of the base class Element and contains the following properties in
addition to those in Element (see
addition to those in Element (see
). Read-only properties are marked
with a bullet (•).
RegisterForEvent()
string
Call this to receive notification of the string
specifying a Fireworks event.
specifying a Fireworks event.
smartShape.operation
will be the name of
the event triggered.
Returns the total number of events
registered after adding the specified event.
Returns the total number of events
registered after adding the specified event.
removeTransformation()
none
Undoes the previous transformation.
smartShapeToGlobalCoords()
point
Converts the smartshape object’s space into
global (transformed) space, see
global (transformed) space, see
globalToSmartShapeCoords()
above..
unRegisterAllEvents()
none
Call this to stop receiving notification of all
previously registered events.
previously registered events.
UnRegisterForEvent()
string
Call this to stop receiving notification of a
single previously registered event.
single previously registered event.
Property
Data type
Notes
altText
string
The alternate text description.
instanceType
•
string
The type of element, for example
"graphic"
,
"button"
, or
"animation"
.
symbolID
•
string
An arbitrary string that uniquely identifies the
symbol that owns this instance.
symbol that owns this instance.
targetText
string
The target.
transformMode
string
Acceptable values are
"paths"
and
"pixels"
.
urlText
string
The link text.
Method
Parameter
Definition