Application Development Tips and Tricks > Application design and development > Adding the NetConnection debugger file

 

Adding the NetConnection debugger file

If you want to use the NetConnection debugger, you must explicitly include the NetDebug.as file in the first line of your client-side source code. Adding the following ActionScript to your FLA file allows you to view details about your network connection to the server.

#include "NetDebug.as"

For more information on the NetConnection debugger, see Using the NetConnection Debugger.