Description
Declares a set of JavaScript code to pass to the Fireworks API, allowing Flash authors to
embed Fireworks API commands in a frame of a Flash movie.
MMExecute supersedes the FWJavascript command. However, the FWJavascript
command still works in the current version of Fireworks.
The commands should be embedded in the same way that you would write separate
JavaScript code blocks to perform similar operations, and you can concatenate lines of
JavaScript code into one
Example
The following example concatenates two lines of JavaScript code into one command:
MMExecute("dom=fw.getDocumentDOM();dom.addNewRectanglePrimitive({left:47,
top:26, right:102, bottom:87}, 0");
MMEndCommand()
Usage
MMEndCommand(endStatus, notifyString)
Arguments
A Boolean value:
endStatus
, any pending changes are discarded. To commit the changes,
false
.
true
A string to notify the user of errors. If the value of
notifyString
argument holds a string used to notify the user of the error. If
is an empty string.
notifyString
Returns
Nothing.
Description
This function should be called whenever the user clicks the OK or Cancel buttons provided in
the Flash content to execute or cancel a command. This function is used only for modal
commands, not for Flash panels.
MMEndCommand supersedes the FWEndCommand command. However, FWEndCommand still
works in the current version of Fireworks.
function.
MMExecute()
to commit changes;
true
otherwise. If it is set to
false
endStatus
endStatus
is set to
endStatus
Flash panels
must be set to
is
, this
false
,
true
117
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers