User Guide

96 The Fireworks Object Model
Path
pathAttributes
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
Group
elements
groupType
To return the number of objects in a selected group, type the following code:
numOfObjectsinGroup = fw.selection[0].elements.length;
Instance
symbolID
transformMode
instanceType
urlText
altText
targetText
To return the instanceType for the currently selected instance, type the following code:
instance = fw.selection[0].instanceType;
NOTE
For the complete list of path attributes properties, see “pathAttributes” on page 97.