270 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
magickaito says

Hi Firsh

Wd u mind to share how u did it?

:D

1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

I used 3 domains (for some reason just 2 didn’t work but it was a huge trial and error process it might work on just 2).

Domain A, B, C

domain A and B are the clients domain C is the server

You load an SWF from domain C that handles everything sharedobject related (read/write). In the flash player settings and for the system the sharedobject will be listed on the C domain while actually it’s being used on domain A and B :) You call the read/write functions from the loaded movie on domain A or B. Not so hard after all. Use the security parameters I wrote preivously, the * wildcard seems to be working. I used symmetrical crossdomain meaning I placed the xml on all domains and added the security exception in all SWF ’s. Use flush() and clear() in the sharedobject handler SWF . Only 1 downside: if you have the domain A and domain B opened at the same time on a single computer the sharedobject will be messed up a little bit (data is entered twice etc.). That is not normal usage tho. Or maybe specific to my case..

1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

The downside I mentioned was a little bug in my code it’s working in that ascpect as well. happy

270 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
magickaito says
In the flash player settings and for the system the sharedobject will be listed on the C domain while actually it’s being used on domain A and B :)

Interesting. Thanks!

by
by
by
by
by
by