Toggle navigation
Home
Macromedia
Flash remoting. the definitive guide
Part I: Remoting Fundamentals
Chapter 1. Introduction to Flash Remoting
1.1 What Is Flash Remoting?
1.2 How Does Flash Remoting Work?
1.3 Benefits
1.4 Flash Remoting Requirements
1.5 Supported Platforms
1.6 Hello World
1.7 Workflow Example
1.8 Architecture for Flash Remoting Applications
1.9 Wrapping Up
Chapter 2. Installing, Configuring, and Using Flash Remoting
2.1 Installing Flash Remoting
2.2 Naming Your Services
2.3 The Authoring Environment
2.4 Sequence of Events in Flash
2.5 Making a Remote Call
2.6 Wrapping Up
Chapter 3. Client/Server Interaction, UI Components, and RecordSets
3.1 User Interface Components
3.2 Flash UI Components Set 2 and Flash Charting Controls
3.3 Macromedia's DRK
3.4 Text Objects
3.5 Building Forms in Flash MX
3.6 The RecordSet Class
3.7 DataGlue
3.8 Wrapping Up
Chapter 4. Flash Remoting Internals
4.1 The NetConnection Class
4.2 Using NetServices
4.3 Creating Responder Functions
4.4 RecordSet Object
4.5 The Timeline
4.6 Catching Errors
4.7 Registering Objects
4.8 Wrapping Up
Part II: The Server-Side Languages
Chapter 5. Flash Remoting and ColdFusion MX
5.1 Introduction to ColdFusion MX
5.2 How ColdFusion Fits into Flash Applications
5.3 Service Name Mappings
5.4 ColdFusion Pages Versus ColdFusion Components
5.5 Loading Query Data Incrementally
5.6 ColdFusion Security: Authenticating Users
5.7 Updating Data on the Server
5.8 Wrapping Up
Chapter 6. Server-Side ActionScript
6.1 What Is Server-Side ActionScript?
6.2 The CF Object
6.3 When to Use Server-Side ActionScript
6.4 Datatype Conversions
6.5 Handling Errors with try/catch
6.6 Extending Server-Side ActionScript with Java
6.7 Wrapping Up
Chapter 7. Flash Remoting and Java
7.1 The Flash Remoting Gateway
7.2 Supported Platforms
7.3 Setting Up Flash Remoting for J2EE
7.4 Service Types
7.5 Datatype Conversions
7.6 Service Lookup
7.7 Invoking Service Methods
7.8 Architecture and Design
7.9 Referencing the Request and Session
7.10 Saving and Sharing State
7.11 Databinding
7.12 Security
7.13 OpenAMF
7.14 Wrapping Up
Chapter 8. Flash Remoting and .NET
8.1 Overview of .NET
8.2 Connecting to .NET
8.3 Datatype Conversions
8.4 Database Access with ADO.NET
8.5 State Management
8.6 Error Handling in Flash Remoting with .NET
8.7 Wrapping Up
Chapter 9. Flash Remoting and PHP
9.1 Introduction to PHP
9.2 Installing AMFPHP
9.3 Datatype Conversions
9.4 Using AMFPHP with Web Services
9.5 Using AMFPHP with PHP Classes
9.6 Working with a Database
9.7 Wrapping Up
Part III: Advanced Flash Remoting
Chapter 10. Calling Web Services from Flash Remoting
10.1 What Is a Web Service?
10.2 Why Use Flash Remoting?
10.3 Web Services from a ColdFusion Server
10.4 Web Services from an ASP.NET Server
10.5 Wrapping J2EE and JRun Web Services
10.6 Web Services from PHP
10.7 BabelFish Web Service
10.8 Datatype Conversions
10.9 Creating a Flash MX Web Service Extension
10.10 Wrapping Up
Chapter 11. Extending Objects and UI Controls
11.1 Principles Behind UI Components
11.2 DataProviderClass and DataGlue
11.3 Enhancing a Standard Control
11.4 Enhancing the RecordSet Class for Interactivity
11.5 Adding Validation to a TextField
11.6 Wrapping Up
Chapter 12. Flash Remoting Best Practices
12.1 Separation of Tasks
12.2 Separation of Functionality
12.3 Server-Proofing the Application
12.4 Component Use
12.5 Clean API
12.6 Loops and Repeated Operations
12.7 OOP or Not OOP
12.8 ColdFusion RecordSets
12.9 Implementing Caching
12.10 What to Walk Away With
12.11 Wrapping Up
Chapter 13. Testing and Debugging
13.1 Debugging Flash Remoting Applications
13.2 Trapping Errors
13.3 The Flash ActionScript Debugger
13.4 NetConnection Debugger
13.5 NetDebug.as
13.6 Trace Debugging
13.7 Testing Server-Side Code
13.8 Using a TCP Trace Utility
13.9 Debugging SQL Code
13.10 Wrapping Up
Chapter 14. Real-World Application
14.1 General Considerations
14.2 Requirements
14.3 Specifications
14.4 The Modules
14.5 Flash Remoting Code
14.6 Testing and Debugging
14.7 Completed Application
14.8 Future Expansion
14.9 Wrapping Up
Chapter 15. Flash Remoting API
15.1 Entry Headings
DataGlue Object
DataGlue.bindFormatFunction( )
DataGlue.bindFormatStrings( )
NetConnection Class
NetConnection.addHeader( )
NetConnection.call( )
NetConnection.clone( )
NetConnection.close( )
NetConnection.connect( )
NetConnection.getDebugConfig( )
NetConnection.getDebugId( )
NetConnection.getService( )
NetConnection.ReplaceGatewayUrl( )
NetConnection.RequestPersistentHeader( )
NetConnection.setCredentials( )
NetConnection.setDebugId( )
NetConnection.trace( )
NetDebug Object
NetDebug.trace( )
NetDebugConfig Class
NetDebugConfig.getDebug( )
NetDebugConfig.setDebug( )
NetServices Object
NetServices.createGatewayConnection( )
NetServices.getVersion( )
NetServices.setDefaultGateway( )
RecordSet Class
RecordSet.addItem( )
RecordSet.addItemAt( )
RecordSet.addView( )
RecordSet.filter( )
RecordSet.getColumnNames( )
RecordSet.getItemAt( )
RecordSet.getItemID( )
RecordSet.getLength( )
RecordSet.getNumberAvailable( )
RecordSet.isFullyPopulated( )
RecordSet.isLocal( )
RecordSet.removeAll( )
RecordSet.removeItemAt( )
RecordSet.replaceItemAt( )
RecordSet.setDeliveryMode( )
RecordSet.setField( )
RecordSet.sort( )
RecordSet.sortItemsBy( )
Part IV: Appendixes
Appendix A. ActionScript Datatype Conversion
A.1 ColdFusion Datatype Conversion
A.2 Java Datatype Conversion
A.3 C# Datatype Conversion
A.4 Visual Basic Datatype Conversion
A.5 PHP Datatype Conversion
A.6 SOAP Datatype Conversion
Appendix B. Books and Online Resources
B.1 Flash Remoting Resources
B.2 Flash and ActionScript Resources
B.3 Other Books of Interest
B.4 Other Links of Interest
Appendix C. Specification and Implementation for a Real-World Application
C.1 Notes from the Designer
Remember the name: eTutorials.org
Copyright eTutorials.org 2008-2024. All rights reserved.