Flash Remoting Actionscript Classes - 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

Although a more complex application might be structured differently, the preceding example
shows the fundamental elements of a Flash Remoting application.

Flash Remoting ActionScript classes

The Flash Remoting ActionScript classes provide methods to configure Flash Remoting, to
interact with the remote services, and to manipulate data on the client. The following table
describes the Flash Remoting classes. For additional reference information on these classes, see
Flash Remoting ActionScript Dictionary Help.
Class
Connection
DataGlue
FaultEvent
Log
NetDebug
32
Chapter 2: Using Flash Remoting ActionScript
Purpose
Helps you create and use connections to services.
The
Connection.setCredentials()
gateway server. For more information on using this method, see
"Authenticating a user to the application server" on page
The class includes four methods for debugging individual connections. For
more information, see
"Using connection-specific debugging methods"
on page
95.
The remaining methods in this class (
connect() and getService()
most applications. For more information, see the Connection class in Flash
Remoting ActionScript Dictionary Help.
Binds RecordSet objects to Flash components, such as ListBox or
ComboBox, that have labels with associated data. The
and
bindFormatStrings()
RecordSet object to use to populate the UI component and tell Flash how to
populate the component's labels and data from the RecordSet object.
For more information on using DataGlue, see
on page
84.
Returned as an argument to the fault handling method that you specify in the
responder object. It contains the fault information that is returned when a call
to a service function results in a fault condition. For more information on using
a FaultEvent object, see
Provides a logger that you can specify as an optional parameter to the Service
constructor. It is the application author's responsibility to customize this tool.
Required by the NetConnection Debugger. Manages the local connection
between the Flash application that is being debugged and the NetConnection
Debugger. Includes N
etDebug.initialize()
the latter sends a trace event to the NetConnection Debugger with a specific
ActionScript object.
The NetConnection Debugger reports information on Flash Remoting events.
For Macromedia ColdFusion MX, these events also include server activity,
such as SQL queries. For more information on using the NetConnection
Debugger, see
Chapter 5, "The NetConnection Debugger," on page
method provides login information for the
addHeaders()
) are lower-level utilities that are not needed in
DataGlue.bindFormatFunction()
"Using DataGlue methods"
"Handling service results and errors" on page
and
40.
,
,
,
call()
close()
DataGlue.
methods specify a
43.
methods;
NetDebug.trace()
87.

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?

Questions and answers

This manual is also suitable for:

Flash remoting mx

Table of Contents