Configuring Debugger Output In Actionscript - MACROMEDIA FLASH REMOTING MX-USING FLASH REMOTING FOR FLASH MX 2004 ACTIONSCRIPT 2.0 Use Manual

Using flash remoting for flash mx 2004 actionscript 2.0
Table of Contents

Advertisement

You can send a trace message that includes the connection ID by using the GatewayConnection
object's
trace()
gatewayConnection.trace("I just created myService2 over this connection.");
Additionally, the
the
getDebugConfig()
For more information on using the
output in ActionScript" on page

Configuring debugger output in ActionScript

You can specify the information that the NetConnection Debugger displays by selecting options
on the debugger Filters panel, or you can do it programmatically in ActionScript. This section
describes how to use ActionScript to display debugger output. For information on using the
Filters panel, see Flash Help.
In ActionScript, you configure NetConnection Debugger output for each connection
individually. As a result, if your Flash Remoting application has multiple connections, you can
configure different levels of debugging detail for each connection.
To configure debugging output:
Use the Connection
1.
object.
Set the required property of the NetDebugConfig object. The table in
2.
information" on page 89
You can combine both steps in a single line, as in the following example, which turns off
application server AMF debugging messages:
gatewayConnection.getDebugConfig().app_server.amf = false;
Note: You can only use this technique to select or disable individual event types. You cannot use a
single call to select or disable all debugging information for the client, application server, or Flash
Communication Server.
96
Chapter 5: The NetConnection Debugger
method, as in the following example:
method returns the ID set by the
getDebugId()
method returns the
getDebugConfig()
96.
getDebugConfig()
specifies the properties you can set.
object for the specific connection.
NetDebugConfig
method, see,
method to get the connection's NetDebugConfig
method, and
setDebugId()
"Configuring debugger
"Specific event

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH REMOTING MX-USING FLASH REMOTING FOR FLASH MX 2004 ACTIONSCRIPT 2.0 and is the answer not in the manual?

This manual is also suitable for:

Flash remoting mx

Table of Contents