Working With Selected Objects - MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual

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

Advertisement

The following table lists the properties of the Slices object, along with their data types and, where
appropriate, acceptable values and notes. All Slices object properties are read-only.
Property (read-only)
demoIndex
doDemoHTML
doShimEdges
doSkipUndefined
imagesDirPath
numColumns
numRows
shimPath

Working with selected objects

When an object is selected, either programmatically (for example, using the
function) or by a user, you can return (get) or set the value of that object's properties using
common notation that will work on various objects. In other words, you can write a command
that will get or set the value of an object's properties whether the user selects a Text object, or an
Image object, or any other recognized object. In Fireworks, a recognizable object is classified as
one of the following element types:
Hotspot
SliceHotspot
Path
Group
Instance
Text
RectanglePrimitive
PathAttrs
Image
72
Chapter 2: The Fireworks Object Model
Data type
zero-based index Index for each file generated for multiple file
Boolean
Boolean
Boolean
string
integer
integer
string
(basically, a slice)
Notes
button export.
Corresponds to the Export Multiple Nav bar
HTML Files check box in the Document
Specific tab of the HTML Setup dialog box.
Setting this property to
HTML pages where n is the number of
buttons. A value of
false
HTML page.
Set to
if table shims are set to
true
Transparent Image in Document properties.
Set to
if Export Undefined Slices is not
true
selected in Document Properties.
Relative URL to the images folder. For
example
, or
, "images/"
or
(an empty string) if the images and the
""
HTML are in the same directory.
Number of columns in the HTML table. Does
not include shim column.
Number of rows in the HTML table. Does not
include shim row.
Relative URL to the shim GIF file; for
example,
"images/shim.gif"
produces n+1
true
produces a single
,
"../site_images"
.
dom.selectAll()

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