Flash Remoting Query is fixed!

The flash remoting issues that I was having is now fixed! The solution was to realize that there is no record set in AS 3, and it is an arrayCollection, and this is why I think that I was getting the [object] returned when I tried to trace the results.

I am so very thankful to flash-db for posting the picture of the Charles debug tool, otherwise I would have never figured this out. I was able to see the name of the headers from their screen shot, but I have yet to figure out Charles myself


As you can see I needed the serverInfo.initialData

Here is my solution

//Import the classes

import flash.net.*;

//connect to the gateway

var gateway:NetConnection = new NetConnection();

var responder:Responder=new Responder(onResult,onFault);

// name the default cf test server on this machine


// name of the cfc and the function

gateway.call("com.cfcs.testing.GetResults", responder);

function onResult(responds:Object):void {

		var recordcount:Number = responds.serverInfo.totalCount

		//display the total records in the database(recordcount)

		trace("There are"+" "+recordcount+" "+"Members of the Hawaii Flash User Group:"+"n");

		//loop through the records in the database

    	for(var i:Number = 0; i<recordcount; i++){

			var query = responds.serverInfo.initialData;

			//display the results from the database




function onFault(responds:Object):void {

	//loop over the fault structure

	for (var i:String in responds) {

		trace( i + ":" + responds[i] );



Leave a Reply

Your email address will not be published. Required fields are marked *