Getting Started with ColdFusion MX and Flash Remoting : ServerSide ActionScript
This is an addendum to the following article: Getting Started with ColdFusion MX and Flash Remoting article that uses ServerSide ActionScript instead of a ColdFusion component.
- open the above article in your web browser.
- download and install the ColdFusion MX preview release.
- Download and install the Flash Remoting Addons for Flash MX.
- create HelloWorld.asr (the tutorial will tell you where) and add the following code:
function sayHello(){
return "Hello World";
}
open the example file in Flash MX and test your movie.
Of course, this is a really simple example. Play around with passing more complex data such as Arrays and RecordSets. Ill post more information later on how to make database calls, and load remote and local files into ServerSide ActionScript.