Using server-side ActionScript in Macromedia JRun 4 with Macromedia Flash Remoting
In this tutorial, you will learn how to build a simple server-side ActionScript file (*.asr) in Macromedia JRun 4. Using server-side ActionScript, you can write ActionScript files that reside on the JRun server. Using the Macromedia Flash Remoting service in JRun 4, you can connect to ASR files, pass parameters, and return results.
The Macromedia Flash Remoting service provides a set of service adaptors in JRun 4, which handle incoming and outgoing communication between Macromedia Flash movies and the Java applications that you build in JRun. In addition to ASR files, the Macromedia Flash Remoting service in JRun 4 supports the following Java technologies:
|
JavaBeans |
|
Java classes |
|
Enterprise JavaBeans |
|
Java Management Extensions (JMX) MBeans |
To build Macromedia Flash movies that interact with JRun, you must install the Macromedia Flash MX authoring environment and JRun 4 on your system. The Macromedia Flash Remoting service in JRun 4 is included in the JRun installation.
You must also install the Macromedia Flash Remoting Components for the Macromedia Flash MX authoring environment, which include the necessary ActionScript classes, NetConnection Debugger, Services Browser, and documentation.
To download the Macromedia Flash Remoting Components, visit the Macromedia Flash Remoting Support Center on the Macromedia website.
- Using the Macromedia Flash Remoting service in JRun
- Starting JRun
- Building the server-side ActionScript file
- Building the Macromedia Flash movie
- Creating ActionScript
- Connecting to the remote service on JRun
- Calling the remote service functions
- Handling the remote service function results
|
|
|
|
|
21 June 2002 |
|
|
Flash Remoting, Flash, JRun, tutorial, server-side ActionScript, ActionScript |
|
|
9044 |
|
|
|
|