Skip navigation
Currently Being Moderated

Flash Remoting Responder

Oct 14, 2010 10:39 AM

I am trying to make different method calls to a coldfusion cfc using flash remoting.  I am having problems calling a different function

with a second responder.  Here is what I am trying to do:


//Flash Remoting
import fl.controls.TextArea;

var gateway:NetConnection = new NetConnection();
var responder:Responder=new Responder(onResult,onFault); 
var responderImgSize:Responder=new Responder(onResultSecondFunction//is this possible???,onFault);


//I have two calls

//Will Work"stream.components.tvcomponent.setHitCount", responder, vID);


//Will NOT work because of the function call is not onResult"stream.components.tvcomponent.getImageSize", responderImgSize, channelID,vID);


I would like to make the second Responder call another function "onResultSecondFunction"  besides onResult.  Is this possible?






More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points