Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Redundant Remoting Calls

1 view
Skip to first unread message

timtoady42

unread,
Apr 3, 2009, 1:55:47 PM4/3/09
to
I have a large application that makes heavy use of Remoting. I'm using
actionscript 2.0, since my application has to work in the Flash7 player. All
my remoting code seemed to work beautifully, but when I started testing my
movie outside of the Flash authoring environment, I realized from my web server
logs that most of the time I trigger() a remoting connector, the web server
receives the request twice!

The first one sends its results back to the "result" actionscript function as
expected, but the second one does not.
And the frequency of these redundant calls is intermittent-- it seems to
happen about 80-90% of the time, and it never happens on the first time I
trigger() the connector after launching the application-- only on subsequent
triggers.

I think the most important clue here is that the behavior I'm describing never
occurs when testing within the flash authoring environment-- it only happens
when running the swf file embedded in a web page.

I've been debugging this for days, and have tried several approaches to narrow
down where the redundant call could be originating from. It's clear that my
movie's actionscript is not the problem-- it is definitely only executing the
trigger() function once. Any insight would be greatly appreciated!

timtoady42

unread,
Apr 3, 2009, 3:20:51 PM4/3/09
to
Happy to say I solved this-- hopefully the result may be useful to someone else
in the future-- this turned out to be caused by the browser I was using --
Safari 4 beta -- which for whatever reason was generating these redundant
remoting calls to the server.

0 new messages