Including Flash Remoting ActionScript files

The Flash Remoting ActionScript files contain code that defines many of the Flash Remoting classes. Use the #include directives in the following table at the top of the ActionScript in the first frame of the Flash application to include these class definitions in your Flash application. The directives let you use the Flash Remoting classes and methods:
Include statement
Purpose
#include NetServices.as
Enables the NetServices class. All Flash Remoting clients normally use this class. This statement also enables the RecordSet class.
#include NetDebug.as
Enables NetConnection Debugger output and the NetDebugConfig and NetDebug classes. Include this statement during development to enable debugging of Flash Remoting applications.
You must remove this line before you publish your Flash application for deployment to a production server. By removing this statement, you prevent access to debugging information from remote sites.
#include DataGlue.as
Enables the DataGlue class. Use this statement if you are using DataGlue methods to simplify providing RecordSet data to Flash MX UI components.