Working with selected objects
75
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;
Text
•
antiAliased
•
antiAliasMode
•
autoKern
•
orientation
•
pathAttributes
Note:
For the complete list of
pathAttributes
properties, see
“pathAttributes” on page 76
.
•
randSeed
•
textRuns
•
textureOffset
•
transformMode
To return the
antiAliasMode
setting for the currently selected text block, type the
following code:
antiAliasedSetting = fw.selection[0].antiAliasMode;
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...