156
Chapter 5: Fireworks JavaScript API
Returns
true
if the text has the specified character markup;
false
if it does not or if only part of the text
has the markup.
Description
Determines whether the selected text has the specified character markup.
dom.hideSelection()
Availability
Fireworks 3.
Usage
dom.hideSelection()
Arguments
None.
Returns
Nothing.
Description
Hides the selection. To redisplay it, use
dom.showAllHidden()
on page 238
.
dom.importFile()
Availability
Fireworks 3.
Usage
dom.importFile(
fileURL
,
boundingRectangle
,
bMaintainAspectRatio
)
Arguments
fileURL
The filename of the file to be imported, which is expressed as a file://URL.
boundingRectangle
A rectangle that specifies the size to make the imported file (see
“Rectangle data type” on page 11
). If
boundingRectangle
is specified with
left == right
and
top == bottom
, the file is brought in unscaled with its top-left corner at the specified location,
and the third argument is ignored.
bMaintainAspectRatio
If
bMaintainAspectRatio
is
true
, the file is scaled to the largest size
that fits within
boundingRectangle
while retaining the file’s current aspect ratio. (This is a
handy option for creating thumbnails.) If it is
false
, the file is scaled to fill
boundingRectangle
.
Returns
Nothing.
Description
Imports the specified file at the specified location.
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...