Core objects
25
Finding and replacing URLs
Finding and replacing non-websafe colors with the closest
websafe color
fills
Boolean
If set to
true
, fills that match the specified
colors are replaced.
strokes
Boolean
If set to
true
, strokes that match the
specified colors are replaced.
effects
Boolean
If set to
true
, effects that match the
specified colors are replaced.
Property
Data types
Notes
whatToFind
string
In the format:
"url"
find
string
URL to find, which is expressed as
file://
URL
.
replace
string
URL to use as replacement text, which is
expressed as
file://URL
.
wholeWord
Boolean
If set to
true
, only whole words that match
the search text are found. The default
is
false
.
matchCase
Boolean
If set to
true
, the search is case sensitive.
Defaults to
false
.
regExp
Boolean
If set to
true
, the
find
and
replace
text is
interpreted as a regular expression. The
default value is
false
.
Property
Data type
Notes
whatToFind
string
In the format:
"nonwebcolor"
effects
Boolean
If set to
true
, colors in effects are replaced.
The default value is
false
.
fills
Boolean
If set to
true
, colors in fills are replaced. The
default value is
false
.
strokes
Boolean
If set to
true
, colors in strokes are replaced.
The default value is
false
.
Property
Data type
Notes
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...