NetConnection events
89
If you experience connectivity problems with the NetConnection Debugger, try starting it outside
the Flash authoring environment by following these steps:
To start the NetConnection Debugger outside of the Flash authoring environment:
1.
Locate the NetConnection Debugger SWF file.
For Windows:
C:\Program Files\Macromedia\Flash MX 2004\en\First Run\WindowSWF\
For Mac:
HD:Applications:Macromedia Flash MX 2004:First Run:WindowSWF:
2.
Select the NetConnection Debugger SWF file and open the context menu with a right-mouse
click on Windows or a Ctl-Click on Mac. Select the Open With menu item and then the
stand-alone player (Macromedia Flash Player 7.0 on Windows or SAFlashPlayer Mac).
Disabling debugging
When you no longer need Flash Remoting debugging capabilities, you can remove the
RemotingDebugClasses library from your application to reduce its size by approximately 6K.
To remove the RemotingDebugClasses library and disable debugging in your Flash
Remoting application:
1.
Press L to open the Library panel.
2.
Select the RemotingDebugClasses library and delete it.
3.
Remove debugging statements from your code in the Actions panel, if you like. This step is
optional.
NetConnection events
The NetConnection Debugger can display information about a variety of events, and you can
select which event types to display. The following sections describe the event types and the
information provided in their messages.
Specific event information
The NetConnection Debugger displays information about events belonging to three event
categories: client (client), server (app_server), and Flash Communication Server
(flashcomm_server). Each category has one or more specific event types. You can enable or disable
all events in a category, or specific event types.
Note:
The Network Connection Debugger Filters panel provides the best method for selecting which
events to display. However, you can use ActionScript to enable or disable the display of specific
event types for individual Connection objects. For more information on using ActionScript to enable
or disable event information, see
“Configuring debugger output in ActionScript” on page 96
.