XML and remote procedure calls
Applications written with Flash ActionScript 2.0 or C++ applications can control Fireworks 8
by sending JavaScript instructions, called remote procedure calls (RPC), encoded in XML
through a local socket. The Fireworks RPC gives other applications access to functionality
previously restricted to JavaScript programs running inside Fireworks. The RPC mechanism
exposes the Fireworks JavaScript DOM through XML and a TCP socket connection. In this
way, an application (written with ActionScript 2.0 or C++) running on the same computer as
Fireworks (only local connections are allowed to the loopback address) can be used to open
Fireworks documents, slice them, optimize them, and then export them. Users can also create
a new Fireworks document through another application, draw in the document, and preview
it in the browser. Nearly anything that can be accomplished with a JavaScript program
running in Fireworks can now be done through remote procedure calls.
Fireworks excludes functionality related to starting other applications or manipulating
non-Fireworks related files (for more information, see
100
Cross-Product Extensions
"Security" on page
110).
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers