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 multiple
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.

We see this behavior with about 30% of the time.

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

_______________________________________________
[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