Sign In
Upload
Manuals
Brands
MACROMEDIA Manuals
Software
FLASH REMOTING MX
MACROMEDIA FLASH REMOTING MX Manuals
Manuals and User Guides for MACROMEDIA FLASH REMOTING MX. We have
1
MACROMEDIA FLASH REMOTING MX manual available for free PDF download: Use Manual
MACROMEDIA FLASH REMOTING MX Use Manual (180 pages)
Using Flash Remoting for Flash MX 2004 ActionScript 2.0
Brand:
MACROMEDIA
| Category:
Software
| Size: 2 MB
Table of Contents
Table of Contents
3
INTRODUCTION about Flash Remoting
9
Who Should Read this Book
9
About Flash Remoting Documentation
9
What's New in Flash Remoting for Flash MX 2004 Actionscript 2.0
10
Developer Resources
11
Contacting Macromedia
12
CHAPTER 1: Getting Started
13
About Flash Remoting
13
Flash Remoting Data Flow
14
Understanding the Flash Remoting Service Adapters
16
Building Flash Applications with Flash Remoting
16
Understanding the Flash Remoting Development Environment
16
Using Flash Remoting
17
Actionscript 2.0
22
Making the Minimum Changes to Your Application for Actionscript 2.0
22
Taking Full Advantage of Flash Remoting for Flash MX 2004 Actionscript 2.0
23
Actionscript 2.0
24
Migrating the Datagrid Application to Flash Remoting for Flash MX
24
Example: Migrating the Datagrid Application
24
CHAPTER 2: Using Flash Remoting Actionscript
29
Flash Remoting Application Structure
30
Flash Remoting Actionscript Classes
32
Properties and Methods
34
Importing Flash Remoting Actionscript Classes
35
Configuring Flash Remoting
36
Establishing the Flash Remoting Gateway Connection
37
Specifying a Service
39
Authenticating a User to the Application Server
40
Calling Service Functions
41
Specifying Functions
42
Calling Functions Using Named Arguments in Coldfusion
43
Handling Service Results and Errors
43
Using the Relayresponder Object for a Service
44
Using Pendingcall and Relayresponder Objects for a Specific Service Function
45
Using the Resultevent Class
45
Using the Faultevent Class
46
Using the Flash Remoting Actionscript API in the Customerinfoexampleapi Application
47
Onreveal()
51
Updatedetails()
51
Refreshcustomerdata()
51
Oncustgrid_Change()
51
Oncustcat_Change()
52
Oncategorydata()
52
Oncustomerdata()
52
Oncustomerfault()
52
Oncategoryfault()
52
CHAPTER 3: Using the Remotingconnector Component (Flash Professional Only)
53
Chapter 3, "Using the Remotingconnector Component (Flash Professional Only)
53
Remotingconnector Parameters
54
Creating an Instance of the Remotingconnector Component
56
Using the Remotingconnector in the Customerinfoexamplecon Application
57
Onreveal()
60
Updatedetails()
61
Oncustgrid_Change()
61
Oncustomerdata()
61
Oncategorydata()
61
Oncustomerdatafault()
61
Oncategorydatafault()
61
CHAPTER 4: Using Flash Remoting Data in Actionscript
63
About Flash Remoting and Data Types
63
Understanding Action Message Format
64
Converting from Actionscript to Application Server Data Types
65
Converting from Application Server Data Types to Actionscript
67
Coldfusion to Actionscript Data Conversion Issues
69
About Working with Objects
70
Working with Actionscript Typed Objects
71
Working Withjava Serializable Objects
72
About Working with Recordset Objects
73
About Record Sets
74
Recordset Methods
75
Using Recordset Methods and Properties
76
Delivering Recordset Data to Flash Applications in Coldfusion MX
81
Using Flash UI Components with Recordset Objects
83
About Working with XML
85
CHAPTER 5: The Netconnection Debugger
87
Using the Netconnection Debugger
87
Enabling Debugging
87
Disabling Debugging
89
Netconnection Events
89
Specific Event Information
89
Common Event Information
91
Client Event Messages
92
Application Server Event Messages
93
Flash Communication Server Events
94
Using the Netconnection Debugger in Actionscript
94
Using the Netdebug.initialize() Method
95
Using the Netdebug.trace() Method
95
Using Connection-Specific Debugging Methods
95
Configuring Debugger Output in Actionscript
96
CHAPTER 6: Using Flash Remoting with Coldfusion MX
97
Using Flash Remoting with Coldfusion Pages
97
Determining the Flash Service Name
97
Using the Flash Scope to Pass Parameters to Coldfusion Pages
98
Accessing Actionscript Objects
101
Using Flash Remoting with Coldfusion Components
105
Determining the Flash Service Name
105
Returning Results to Actionscript
106
Passing Parameters to Coldfusion Components
106
Accessing Actionscript Objects
108
Using Component Metadata with the Flash Remoting Service
109
Using Flash Remoting with Server-Side Actionscript
111
Using Cf.http()
111
Using Cf.query()
114
Calling Web Services from Flash Remoting
115
Invoking Web Service Methods Using Flash Remoting
115
Securing Access to Coldfusion from Flash Remoting
116
Assigning Security Roles to Component Functions
117
Handling Errors with Coldfusion
117
CHAPTER 7: Using Flash Remoting for Java
119
About Flash Remoting for Java
120
How Flash Remoting for Java Works
120
Where Flash Remoting Fits into the Java Application Architecture
120
Calling Java Classes or Javabeans from Actionscript
121
Making a Java Class or Javabean Available to Flash Remoting
121
Getting a Reference to a Java Class or Javabean in Actionscript
122
Invoking Java Methods in Actionscript
123
Looking at a Flash Application that Calls a Javabean
123
Calling Enterprise Javabeans (Ejbs) from Flash
128
Getting a Reference to an Ejbhome Object in Actionscript
128
Invoking EJB Methods in Actionscript
128
Looking at a Flash Application that Calls an EJB
129
Calling Servlets and Jsps from Flash
132
Coding a Servlet to Use with Flash Remoting
132
Getting a Reference to a Web Application in Actionscript
132
Calling a Servlet or JSP
133
Calling JMX Mbeans from Flash (Jrun Only)
134
Getting a Reference to an Mbean in Actionscript
135
Invoking Mbean Methods in Actionscript
135
Calling Server-Side Actionscript from Flash (Jrun Only)
135
Getting a Reference to a Server-Side Actionscript File
136
Invoking Server-Side Actionscript Functions
136
Handling Function Results in Actionscript
137
Using Flash Remoting with Jrun Security
139
Looking at the Actionscript Authentication Code
139
Looking at the Jrun Security Settings
139
Passing XML Objects between Flash and Java
140
Sending an Actionscript XML Object to Java
140
Returning an XML Object from Java to Flash
141
Viewing Flash Remoting Log Entries
141
CHAPTER 8: Using Flash Remoting for Microsoft .NET
143
Flash Remoting for Microsoft .NET
143
Where Flash Remoting Fits into the Microsoft .NET Framework
144
Understanding the Flash Remoting for Microsoft .NET Directory Structure
145
Setting up a Flash Remoting ASP.NET Application
146
Calling ASP.NET Pages from Flash
147
Making an ASP.NET Page Available to Flash Remoting
147
Getting a Reference to an ASPX-Based Service in Actionscript
147
Invoking ASPX Pages in Actionscript
148
Using the Flash Remoting Custom Server Control in ASPX Pages
149
Using the Flash Remoting Namespace in Code-Behind Files
150
Using ASP.NET State Management with Flash Remoting
151
Using ASP.NET Exception Handling
152
Using ADO.NET Objects with Flash Remoting
153
Displaying a Recordset Object in Flash with Actionscript
155
Calling Web Services from Flash
156
Invoking Web Service Methods Using Flash Remoting
157
Invoking a Remote Web Service from Flash
158
Calling ASP.NET Assemblies from Flash
159
Calling Assemblies from Flash
159
Returning an Actionscript Object from an Assembly
160
Viewing Flash Remoting Log Entries
162
APPENDIX A: Using Netservices and Connection Classes
163
Creating a Gateway Connection Using the Netservices Object
163
Specifying the Gateway in the Netservices Creategatewayconnection() Method
164
Using the Netservices Setdefaultgatewayurl() Method
164
Authenticating a User to the Application Server
165
Creating the Service Object
166
Handling Results for a Connection Object
167
Directing All Results for a Service to a Single Responder Object
167
Directing Results for a Service to Specific Responder Objects
168
Handling Errors for a Connection Object
169
The Error Object
170
Error-Handling Hierarchy
170
Error-Handling Strategies
171
Index
173
Advertisement
Advertisement
Related Products
MACROMEDIA FLASH REMOTING MX-USING FLASH REMOTING FOR FLASH MX 2004 ACTIONSCRIPT 2.0
MACROMEDIA FLASH 8-GETTING STARTED WITH FLASH LITE
MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
MACROMEDIA FLASH MX PROFESSIONAL 2004 - FLASH LITE 1.1 AUTHORING
MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE
MACROMEDIA FLASH 8-USING FLASH
MACROMEDIA Flash Communication Server MX
MACROMEDIA FLASH MEDIA SERVER 2
MACROMEDIA FLASH MX Professional 2004
MACROMEDIA FLASH MX
MACROMEDIA Categories
Software
More MACROMEDIA Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL