stringUtils.as- (Found July 2, 2008 ) Simple library that adds useful methods to the String object. You can view the documentation here. This is provided as is, but please post any errors, corrections or suggestions in the comments below.String Utility Component version 1.5Mike Chambersthanks to Branden Hall, Ben Glazer, Christian Cantrell, Nik Schramm This allows user to check from other include files whether or not the stringUtils library has been...http://radio.weblogs.com/0106797/files/stringutils/ Catching server timeout errors when using Flash Remoting- (Found July 2, 2008 ) When calling remote services methods via Flash Remoting, any errors that occur will trigger the onStatus method to be called:onStatus = function(error) trace("Error : " + error.description); However, if Flash cannot connect to the server (network or server is down) onStatus will not be called. Using XML and LoadVars you have to manually keep a timer in order to time out the connection, however you do not have to do this using Flash Remoting. Just create a method like...http://radio.weblogs.com/0106797/categories/examples/2002/04/29.html#a10 Getting Started with ColdFusion MX and Flash Remoting : ServerSide ActionScript- (Found July 2, 2008 ) 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. 1. open the above article in your web browser. 2. download and install the ColdFusion MX preview release. 3. Download and install the Flash Remoting Addons for Flash MX. 4. create HelloWorld.asr (the tutorial will tell you where) and add the following code:function sayHello() return "Hello World"; open the example...http://radio.weblogs.com/0106797/categories/examples/2002/04/29.html#a14 Example : loading data from a data base into Flash MX with Flash Remoting and CF MX- (Found July 2, 2008 ) Below is sample code that shows how to load data from a data base from Flash MX using Flash Remoting and ColdFusion components. Download and install the ColdFusion MX preview release. Download and install the Flash Remoting Addons for Flash MX. You can download the files here. First create a new ColdFusion component, name it DbTest.cfc and save it in wwwrootcommacromediadbtest Here is the component code:<cfcomponent> <cffunction name="getData" access="remote"...http://radio.weblogs.com/0106797/categories/examples/2002/04/29.html#a20 Example : loading data from a data base into Flash MX with Flash Remoting and ServerSide ActionScript- (Found July 2, 2008 ) First, view the following tutorial example: Example : loading data from a data base into Flash MX with Flash Remoting and CF MX we will use the same Flash MX code in that example, and just change the server side code. Instead of creating a ColdFusion component called DbTest.cfc, create a file called DbTest.asr. Make sure that you rename the DbTest.cfc to something else if you did the first tutorial. Add the following to the DbTest.asr file:function getData() create an object to..http://radio.weblogs.com/0106797/categories/examples/2002/04/30.html#a27 Getting Started with Flash Remoting and Java within ColdFusion MX- (Found July 2, 2008 ) This is an addendum to the following article: Getting Started with ColdFusion MX and Flash Remoting article that uses a Java class deployed in ColdFusion MX to create a service that can be called from Flash via Flash Remoting. Note, currently you must have ColdFusion MX installed in order to use Flash Remoting. However, we will be releasing separate versions for Java servers very soon. This article assumes that you are familiar with Java and Java concepts. 1. Open the above article in your web..http://radio.weblogs.com/0106797/categories/examples/2002/05/05.html#a51 Example : Integrating Flash MX and Radio- (Found July 2, 2008 ) This tutorial demonstrates a simple example of integrating Radio with Macromedia Flash MX. If you have visited this site before, you may or may not have noticed that the heading at the top of all of my pages is actually a Flash 6 movie. The movie displays the title (left), data from the Macromedia XML Resource Feed (right), and the date that the site was last updated (center). The last updated information actually comes from a Radio macro, and is a good example of a simple way to integrate data.http://radio.weblogs.com/0106797/categories/examples/2002/05/05.html#a53 Creating a Proxy for Flash using Flash Remoting and ServerSide ActionScript- (Found July 2, 2008 ) This is a simple example that shows how to make a proxy using Flash Remoting and ServerSide ActionScript. The proxy will allow you to load XML and other data into Flash from domains other that the one the Flash movie was loaded from. 1. Download and install the ColdFusion MX preview release. 2. Download and install the Flash Remoting add-ons for Flash MX. Create a file called Proxy.asr in the: <cfhome>wwwrootcommacromediaproxy directory. Add the following code the Proxy.asr filefunction...http://radio.weblogs.com/0106797/categories/examples/2002/05/07.html#a62 Finding more info on the CF object in ServerSide ActionScript- (Found July 2, 2008 ) Joey Lott sent the following information to me. When using ServerSide ActionScript there is an object available called CF with includes methods to make database queries and http requests. However, it also contains a number of other properties and methods which are undocumented, but could prove to be useful. Remember though, use undocumented features at your own risk as they may be changed or removed in future versions of the product. Below is some code that shows how to find all of the...http://radio.weblogs.com/0106797/categories/examples/2002/05/10.html#a70 Flash Remoting and Web Services : Retrieving Stock Quote Information- (Found July 2, 2008 ) This is a simple Flash example that calls a Stock quote web service via Flash Remoting. You can find more info on the web service being used below at xmethods.net. 1. Download and install the ColdFusion MX preview release. 2. Download and install the Flash Remoting add-ons for Flash MX. 3. Create a new Flash movie and enter the the following code in the first frame of the movie.include "NetServices.as"var params = new Object();this is always 0, and is specific to the web...http://radio.weblogs.com/0106797/categories/examples/2002/05/10.html#a72 |