View comments | RSS feed

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.

Comments


jaronlambert said on Aug 30, 2003 at 10:14 AM :
I feel a bit dumb for missing this the first time but if anyone else skipped over some of the other docs and landed here, and is wondering where the heck these .as files are, you need to install the FlashRemoting components from

http://www.macromedia.com/software/flashremoting/downloads/components/

The files are put in your Flash MX folder under Configuration/Include. You can leave them there and Flash will find them.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseActionScript4.htm