Flash Remoting Documentation

Macromedia Flash Remoting for Flash MX 2004 ActionScript 2.0 Readme

This document contains the latest information on Flash Remoting Components.

System Requirements

Flash MX 2004 (any version) and Flash Player (version 6.0r79 and later, or version 7.0r19 and later) must be installed.
Flash MX Professional 2004 is required for use of the Remoting Connector.

We are no longer translating this product into Korean.

What's New in Flash Remoting for Flash MX 2004 ActionScript 2.0

  • Flash Remoting for Flash MX 2004 ActionScript 2.0 consists of the following two principal features:

    The Remoting Connector component

    The RemotingConnector component is a new component that allows you to work directly with the new data binding features in Flash MX 2004 Professional. Simply drag the RemotingConnector onto the Stage and use the Component inspector to set up schema and bindings. In addition, the RemotingConnector component provides a simple API consistent with other connectors found in Flash MX 2004 Professional.

    ActionScript 2.0 API

    The Flash Remoting ActionScript API has been updated to comply with ActionScript 2.0. The ActionScript 2.0 version of the API consists of the following significant features:

    • Enforcement of strict data typing, which requires you to declare the data types of variables and prohibits you from assigning different types of data to them.
    • Enforcement of case sensitivity, which means that myvar and myVar are two different variables, though they were considered the same variable with different spellings in ActionScript 1.0.
    • A new Service class, which allows you to create a gateway connection and at the same time obtain a reference to a service and its methods. It includes the connection property, which returns the connection and also allows you to set credentials for authorization on the remote server.
    • The NetServices class is still supported but has been deprecated in favor of the new Service and Connection classes
    • A new Connection class that helps you create and use Flash Remoting connections.
    • The Connection class supersedes the former NetConnection class.
    • A new PendingCall object returned on each call to a service method that is invoked using the Service object. The PendingCall object contains the responder property, which you use to specify the methods to handle the results of the service call.
    • A new RelayResponder class, which specifies the methods to which the result and fault outcomes of a service call are relayed.
    • A RecordSet object that contains new properties (columnNames, items, and length), new methods (clear(), contains(), editField(), getEditingData(), getIterator(), getLocalLength(), getRemoteLength(), isEmpty(), and sortItems()), and the new modelChanged event.
    • For more information on the ActionScript 2.0 Flash Remoting API, see Flash Remoting ActionScript Dictionary Help.
  • We have also made significant improvements to the Documentation, including a new format for portions of the Help.
  • New Sample Applications have been included with the release.

Flash Remoting Components Known Issues

  • In some ColdFusion configurations when using session tracking via URL encoding when publihsing to player 7 the remoting client may not respond appropriately.
  • Code hinting for Connector and Service class does not show up when typing a variable:

    var test: <-- Connector and Service class will not show up as possible option.

    You can workaround this issue by typing in the class name instead of selecting it from the drop list:

    var con:Connector;
    var serv:Service;

  • Trigger.xml is not copied to all user folders on multi-user machines. The Trigger.xml file has been updated in this release of Remoting to include the Remoting Connector class. This update modifies the trigger behavior in Flash Authoring to show the Remoting Connector as a new target in addition to the XML Connector and Web Services Connector. This version of the Trigger.xml file is only installed into the administrator's \Behavior folder. If there are multiple users on the same machine this file must manually be copied into the same folder for each user. If Remoting is uninstalled this file will only be removed from the administrators machine. The updated Trigger.xml file does not change existing functionality for Flash Authoring. Therefore, it does not need to be removed.
  • On all Macintosh platforms, the installer does not prompt if you reinstall Flash Remoting.
  • The sample applications require Flash Player 7.0r19 or higher.
  • The Net Connection Debugger should be run outside of Flash for best results.

Top Support Topics


More Flash Remoting Topics

Choose a category to see more topics.

Request Support


Additional Flash Remoting Resources


Flash Remoting Downloads