Example
fw.getDocumentDOM().addBehavior("MM_statusMessage(\"Status Message!\")",
"onMouseOver", -1);
MM_swapImage
Availability
Fireworks 3.
Arguments
target, swapFrame, fileName, preload, restoreOnMouseOut
•
specifies the slice to which the behavior is attached. Pass
target
values are used internally by Fireworks.
•
is an integer value that specifies the frame to swap, starting with
swapFrame
as a URL, pass
fileName
•
specifies the frame or file to swap. If you specified a frame to use in
fileName
an empty text string. If you want to specify a filename and you passed
the string for the relative URL of the image.
•
is a binary value that specifies whether to preload the swapped image (pass
preload
(pass
).
0
•
is a binary value that specifies whether to restore on a mouse out action (pass
restore
not (pass
).
0
Description
Adds a swap image behavior.
Example
fw.getDocumentDOM().addBehavior("MM_swapImage(-1,1,\"\",1,1)", "onMouseOver",
-1);
MM_swapImgRestore
Availability
Fireworks 3.
Arguments
None.
Example
fw.getDocumentDOM().addBehavior("MM_swapImgRestore()", "onMouseOut", -1);
Description
Adds a swap image restore behavior.
108
Chapter 5: Fireworks JavaScript API
here).
–1
for this value; all other
–1
(although, to use
0
swapFrame
for
–1
swapFrame
) or not
1
1
, pass
, pass
) or
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