0

I found several solutions for creating Flash LSOs from JavaScript (for example: http://www.nuff-respec.com/technology/cross-browser-cookies-with-flash ) If Page (www.hostA.com/index.html) and the .swf file are from the same site, everything works fine.

No I'm trying to load the page form www.hostA.com/index.html, which includes www.hostB.com/flashcookie.swf (different sites). But then I cannot read or store the LSO.

I have tried several configurations (crossdomain.xml, Security.allowDomain("...") ), but nothing works.

Is this kind of cross domain access to a LSO possible?

Can a flash based advertisement delivered by a 3rd party save a LSO on my disc?

Thanks -stephan

Jesper Fyhr Knudsen
  • 7,802
  • 2
  • 35
  • 46
user85155
  • 1,370
  • 16
  • 24

2 Answers2

0

I guess it's not possible, at least at adobe docs they say you can't:

You cannot access shared objects across sandbox boundaries.

a--m
  • 4,716
  • 1
  • 39
  • 59
  • I read that too, i think if I embed the .swf, it should be possible to set a LSO for the embedding domain, in the example, for www.hostB.com, this should be inside the sandbox. For example, can the youtube player store a LSO on my computer, if i watch a embedded video in a blog? – user85155 Apr 07 '10 at 14:49
  • Can a flash based advertisement delivered by a 3rd party save a LSO on my disc? – user85155 Apr 07 '10 at 15:16
0

I think most useful information is here: http://magp.ie/2010/10/15/javascript-library-to-manage-flash-local-stored-objects/

user85155
  • 1,370
  • 16
  • 24