Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Remoting with CFC

    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?C FID=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...

    guitarMB Guest

  2. Similar Questions and Discussions

    1. FMS Remoting
      Hi All, Can anyone please send me an example of FMS Remoting i.e. how to connect to an App Server from FMS. Thanks
    2. Remoting from FMS
      I've been trying to create a NetService object and use that to call and get the reply of my AMFPHP remoting gateway, but for some reason this isn't...
    3. Use flash remoting
      Hi , I am thinking of making Flex application talk to .net dll. Can I use flash remoting to do that? Any idea or suggestions? Thanks in...
    4. SS Remoting
      I am running flash comm 1.5 on one machine and AMFPHP on another machine on the same network. I can get flash com to call methods of the remoting...
    5. ASP.NET Remoting problem
      Hello All, I have written a WebService using ASP.Net. This Service is returning an Object called ModuleVO. I have defined many properties in this...
  3. #2

    Default Re: Remoting with CFC

    I'm not familiar enough with the technologies and techniques you are
    using to fully understand your logic. But the fist thing I thought of
    when you described the process was a bottle neck. Where one process has
    not completed before another is started and the latter request are
    erroring out. Could this be a possibility?
    Ian Skinner Guest

  4. #3

    Default Re: Remoting with CFC

    certainly that type of bottleneck is possible. the processes I'm running are
    not terribly complex so I can't imagine they are stacking up that much, but
    I'll certainly look into it.

    I'm beginning to think more and more I'm missing an obvious ColdFusion server
    setting. Others have suggested modifying the number of simultaneous
    connections as a possibility. I modified this and didn't appear to be any
    difference.

    guitarMB Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139