MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 80

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

Fireworks has four reserved object IDs:
"0"
This is the Invalid Object ID, used for nonexistent or invalid objects. It is not frequently used
for the RPC client, but it is used in several places for the RPC server.
"fw"
This is the Fireworks Application Object ID. The Fireworks Application Object ID references
the main application object in Fireworks and is of the Fireworks class.
This object is used to open and create documents. In JavaScript, it is the object referenced by
or
.
App
fw
"smartShape"
This is the SmartShape Object ID. This object id references the global JavaScript variable
and is used to create an manipulate smart shapes.
smartShape
"Document"
This is the Fireworks Document Compatibility Object ID (it is deprecated, like its JavaScript
counterpart). It was used in Fireworks 2 for cleaning up file paths, and is included here only for
completeness.
"Errors"
This is the Fireworks Errors Object ID, used mainly for reporting and determining when
errors occur in Fireworks. Its JavaScript counterpart is
All other object IDs are generated when the object is created, and may or may not have the same
IDs between application invocations.
Data node
The data node is the most important type of XML node in RPC. Methods (called through the
operation) need to act on actual data or references to server objects identified in data nodes.
func
The data nodes are used as parameters and parts of replies. There are several types of data nodes,
as described in the following table.
Data type Node name Example
array
array
Boolean
bool
80
Chapter 3: Cross-Product Extensions
<array><string
value="stuff" /><int
value="50" /></array>
<bool value="true" />
.
Errors
Description
An array data type. It is simply a container
node for the other data nodes. There are no
restrictions on how many subelements it can
contain or which types it can contain. The
contained data nodes may be of the same
type or of different types. No additional
attributes have to be added to the
contained nodes.
The Boolean data type. It can contain either
or
and nothing else. Note that the
true
false
values are case sensitive.

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Fireworks mx 2004

Table of Contents