I have an interesting problem. 

We have a flash widget that gets embedded by users that contains a
loader that loads an external swf file. Sometimes they decide to embed
duplicate copies of the same widget on the same page.

Unfortunately, what happens is that the first time a user visits a page
where the widget is embedded more than once, multiple requests for the
external swf file are made to our web servers and the swf is actually
downloaded multiple times (http status=200).

It seems that flash loads twice and asks the browser to get the same
external swf file twice and the browser does two simultaneous requests
and since the file isn't in its cache, gets it twice. The second time
the user visits the page isn't a problem since it exists in the browser
cache.

We see this behavior with about 30% of the time which is a good amount
of our bandwidth.

Has anyone else dealt with this problem? Our widget is embedded on
MySpace and other sites which limit Flash with allowScriptAccess=never
and allownetworking=internal. My initial thought was to use the shared
object store as a kind of mutex lock while one of them is loading, but I
thought I'd ask in case someone has a better solution.


Jordan

This e-mail and any attachments are for the authorized use by the intended 
recipient only. It may contain proprietary material, confidential information 
and/or be subject to legal privilege. It should not be copied, disclosed to, 
retained or used by, any other party. If you are not an intended recipient then 
please promptly delete this e-mail and any attachments and all copies and 
inform the sender. Thank you.

_______________________________________________
[email protected]
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

Reply via email to