View Full Version : How tell Flash to disable grouping AMF calls?
Seems Flash Player is grouping AMF calls sent in one frame (?) for efficiency's sake. :mad:
Now - is there a way to disable this feature? Make it send requests one by one, instead of two or more in one transmission when they were called in the same render-frame?
Thanks,
Hak
LOLFlash
06-16-2007, 05:33 PM
look for shareConnections properties
look for shareConnections properties
Doh! It's a RemotingConnector object. It's not a class or anything. I don't use Macromedia components. What I did was AMFMonitor class, that dispatches a call ever onEnterFrame event.
I hoped there is some setting in Service class. Seems I might create a new connection for each call, but it's tedious, I prefer to define service just once and use gateway URL.
Any other suggestions?
I have the problem solved, but my solution adds some code and delays calls.
Isn;t there some System.something or Service.something that forces Flash NOT to group calls to the same service?
Best,
Hak
LOLFlash
06-17-2007, 04:37 PM
I google it and nothing good. Not much information to disable sharing for Service call. Im using connector and what I notice it works faster than codding Service, has own dataset, send event. For my applications it easy manage when I have 10 Connectors in it.
the only problem what I have evry time I creating .as file with statment import mx.data.components.RemotingConnector;
it gives me error:
The class or interface 'mx.data.components.RemotingConnector' could not be loaded.
private var updateRecordRc:RemotingConnector;
but it works fine with from fla
Do you know haw get rid from this?
for your question try forum at:
http://www.sephiroth.it/
Hey lads and ladies!
Bit of an old thread, I know, but has anyone found an elegant (read simple) way around this problem? Its driving me nuts!
We have an all Flash website and can only execute one piece of functionality at a time. Very frustrating.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.