Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / September 2007



Tip: Looking for answers? Try searching our database.

Multiple Remoting calls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
guitarMB - 07 Sep 2007 20:30 GMT
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.

I've tried changing names of the instance each time I call a new one -- but
that doesn't seem to matter.  Is there some maximum number of calls Flash
Remoting can make?  Is it 2?  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...

//  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...
cvbizz - 13 Sep 2007 14:15 GMT
Place a ? after your gateway URL -

http://<host>/flashservices/gateway?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.