MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 74

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

Working with specific properties for selected elements
Some elements have specific properties that can be returned and set in addition to those that can
be set for selected objects (see
These specific properties are available for each of the following elements when the elements
are selected.
Hotspot
shape
urlText
altText
targetText
contour
(returns an array of behaviors)
behaviors
color
To return the
alt
following code:
altTag = fw.selection[0].altText;
SliceHotspot
SliceHotspot is a subclass of Hotspot. A slice has all Hotspot properties, plus the
following properties:
baseName
htmlText
tdTagText
(
sliceKind
"image"
exportOptions
(read-only)
sliceID
To return the name of the currently selected slice, type the following code:
sliceName = fw.selection[0].baseName;
Path
pathAttributes
Note: For the complete list of path attributes properties, see
randSeed
textureOffset
contours
To return the value of the fill color for the currently selected path, type the following code:
fillColor = fw.selection[0].pathAttributes.fillColor
74
Chapter 2: The Fireworks Object Model
"Working with properties for any selected object" on page
tag that has been applied to the currently selected Hotspot, type the
or
)
"empty"
"pathAttributes" on page
73).
76.

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Fireworks mx 2004

Table of Contents