macromedia.coldfusion.flash_integration
[Top] [All Lists]

Remoting with CFC

Subject: Remoting with CFC
From: "guitarMB" <webforumsuser@xxxxxxxxxxxxxx>
Date: Fri, 7 Sep 2007 20:28:56 +0000 (UTC)
Newsgroups: macromedia.coldfusion.flash_integration

I'm using Flash remoting to send usage statistics from a movie up to a
 coldfusion component for processing and storage.  System works great -- at
 least the individual calls are working -- but when I try to execute all these
 calls multiple times through the movie, it never gets past two remote calls
 before throwing an "Error Opening URL" error referencing my flashservices
 gateway:
 
http://<host>/flashservices/gateway&CFID=1052&CFTOKEN=c8c5587a8f62a442-E197BB47-
B213-8FBA-0924E5F0BF114A00;jsessionid=2a30fe0e960f21172524?CFID=1052

 I've tried changing names of the instance each time I call a new one -- but
 that doesn't seem to matter.  I'm starting to suspect this is a ColdFusion 
error --
 Anybody have any idea what I'm talking about?  
 I've included the connection code and the general examples of the method calls
 I'm using...


 import mx.remoting.*;
 import mx.rpc.*;
 import mx.services.Log;

  //  connection script
  var trackingService:Service = new
 Service("http://<host>/flashservices/gateway", null, "<cfc>", null, null);

  //  open user tracking tracking session (called once when movie is opened)
  var sessionTrax:PendingCall = trackingService.discStart({cf_macID:xxx,
 cf_projectID:xxx, cf_clientID:xxx });

  //  log user activity (needs to be called numerous times on any button click,
 regardless of amount of clicks)
  var clickTrax:PendingCall = trackingService.contentClick({cf_macID:xxx,
 cf_projectID:xxx, cf_clientID:xxx, cf_content:xxx, cf_contentName:xxx,
 cf_size:xxx });

  //  close user tracking session  (called once)
  var sessionTrax:PendingCall = trackingService.discEnd({cf_macID:xxx,
 cf_projectID:xxx, cf_clientID:xxx });

  Any help would be appreciated... 


<Prev in Thread] Current Thread [Next in Thread>