Re: [Flashcoders] Local Connection Object problem
I've also had problems when there's more than one instance of your application active. If the name of the LC is the same across applications it can result in windows stealing LC's from each other. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Local Connection Object problem
LocalConnection is basically instant. I've never seen a delay and I've done quite a bit of work with it, in browser environments, 3rd party wrapper environments, browser to 3rd party wrapper, and back, etc. The only issue I know of is if you try to send a local connection message back to the sender too quickly. Meaning, Transmitter sends message to Receiver. Receiver has to wait a bit (100ms or so, roughly) before sending a message back to Transmitter. ___ This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. All contents are the copyright property of Agency.com Ltd., its affiliates or a client of such agencies. If you are not the intended recipient, you are nevertheless bound to respect the worldwide legal rights of Agency.com, its affiliates and its clients. We require that unintended recipients delete the e-mail and destroy all electronic copies in their system, retaining no copies in any media. If you have received this e-mail in error, please immediately notify us via e-mail to [EMAIL PROTECTED] We appreciate your cooperation. We make no warranties as to the accuracy or completeness of this e-mail and accept no liability for its content or use. Any opinions expressed in this e-mail are those of the author and do not necessarily reflect the opinions of Agency.com or any of its affiliates. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Local Connection Object problem
Hi everyone, I am working on building a multi-window flash application that utilizes Local Connection Objects to communicate between windows. One window acts as a "server" of sorts while all the other windows are its "clients". The idea is that a client window can use an LCO to send a request to the server window. Once received, the server window will respond back to the client window with the requested information. The problem I am having is that it frequently takes a long time for the request to be received by the server window. To clarify, I send a message on the LCO to the server window and print a timestamp. When that message is received by the server window, it prints another timestamp. Sometimes, the difference between these two timestamps is very large. Frequently it is in the range of 15 - 45 seconds but occasionally it takes several minutes. One time it took over 10 minutes! Does anyone have any experience with LCO's taking an abnormally long time to transfer the message between windows? For the record, the app I am building is using the Flash 8 player and is written in AS2.0. I've also built a standalone test app (2 movies that use the same basic code) and cannot reproduce the problem. Jason. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com