Re: [Flashcoders] #SharedObject not so shared

2007-09-08 Thread EECOLOR
I remember asking the same question years ago. The answer was something like
this:

SharedObject.getRemote(my_so, rtmp:/./.., /);

I am not completely sure and do not have time to test it. As I forgot my
mailing list password I couldnt search the archives... And next to that, I'm
not sure if it still works in the current players.


Greetz Erik


On 9/8/07, Troy Gardner [EMAIL PROTECTED] wrote:

 We are running into a baffelling behavior using SharedObject.

 We have a a few Desktop Flash applications: One is a main application, the
 other an update utility for the main app. They use a Flash Cookie to find
 each
 other, as the main app could be installed anywhere (USB, C).   The apps
 are
 based in Director using the Flash8 Xtra.

 Say we start with a completely empty SharedObjects  folder

 Running the main app sets a cookie into a folder like

 Flash Player\#SharedObjects\BFYLPV7P\localhost\02000.sol

 via a call like

 var so : SharedObject = SharedObject.getLocal (02000, /);

 where / should see the root of the Flash Cookies.

 then say Pandora (or any other flash based website using cookies) runs it
 generates a new sandbox

 Flash Player\#SharedObjects\2S7GJDMQ\pandora.com

 and then all future read requests are against that new '2S7GJDMQ' folder
 instead of the BFYLPV7P folder, and then neither the app or the updater,
 can
 see the old shared local object folder anymore. Which in the case of it
 containing lots of persistent configuration data, is the equivalent of
 clearing
 the Browser cache and forgetting everything.

 Trying to understand how it's created, I can delete the contents of the
 shared
 Objects folder and then republish in the Flash IDE and get a new hash for
 the
 folder every time so it seems to be either random or time based. It's not
 as
 far as I can tell the behaviour documented, it's certainly not behaving as
 I
 would expect.

 Anybody have any ideas?


___
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] #SharedObject not so shared

2007-09-08 Thread R�kos Attila

Movies running in different sandboxes cannot access shared objects of
each other. The / passed to getLocal() do not mean the root of all
shared objects (#SharedObjects folder), but the root of the domain
where the running SWF is originated from (#SharedObjects\BFYLPV7P\localhost,
#SharedObjects\2S7GJDMQ\pandora.com, etc.)

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Troy Gardner [EMAIL PROTECTED]
To:  flashcoders@chattyfig.figleaf.com flashcoders@chattyfig.figleaf.com
Date:Saturday, September 8, 2007, 12:19:06 AM
Subject: [Flashcoders] #SharedObject not so shared
--===--
We are running into a baffelling behavior using SharedObject. 

We have a a few Desktop Flash applications: One is a main application, the
other an update utility for the main app. They use a Flash Cookie to find each
other, as the main app could be installed anywhere (USB, C).   The apps are
based in Director using the Flash8 Xtra.

Say we start with a completely empty SharedObjects  folder

Running the main app sets a cookie into a folder like

Flash Player\#SharedObjects\BFYLPV7P\localhost\02000.sol

via a call like 

var so : SharedObject = SharedObject.getLocal (02000, /);

where / should see the root of the Flash Cookies.

then say Pandora (or any other flash based website using cookies) runs it
generates a new sandbox

Flash Player\#SharedObjects\2S7GJDMQ\pandora.com

and then all future read requests are against that new '2S7GJDMQ' folder
instead of the BFYLPV7P folder, and then neither the app or the updater, can
see the old shared local object folder anymore. Which in the case of it
containing lots of persistent configuration data, is the equivalent of clearing
the Browser cache and forgetting everything.

Trying to understand how it's created, I can delete the contents of the shared
Objects folder and then republish in the Flash IDE and get a new hash for the
folder every time so it seems to be either random or time based. It's not as
far as I can tell the behaviour documented, it's certainly not behaving as I
would expect. 

Anybody have any ideas?


___
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@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] #SharedObject not so shared

2007-09-07 Thread Troy Gardner
We are running into a baffelling behavior using SharedObject. 

We have a a few Desktop Flash applications: One is a main application, the
other an update utility for the main app. They use a Flash Cookie to find each
other, as the main app could be installed anywhere (USB, C).   The apps are
based in Director using the Flash8 Xtra.

Say we start with a completely empty SharedObjects  folder

Running the main app sets a cookie into a folder like

Flash Player\#SharedObjects\BFYLPV7P\localhost\02000.sol

via a call like 

var so : SharedObject = SharedObject.getLocal (02000, /);

where / should see the root of the Flash Cookies.

then say Pandora (or any other flash based website using cookies) runs it
generates a new sandbox

Flash Player\#SharedObjects\2S7GJDMQ\pandora.com

and then all future read requests are against that new '2S7GJDMQ' folder
instead of the BFYLPV7P folder, and then neither the app or the updater, can
see the old shared local object folder anymore. Which in the case of it
containing lots of persistent configuration data, is the equivalent of clearing
the Browser cache and forgetting everything.

Trying to understand how it's created, I can delete the contents of the shared
Objects folder and then republish in the Flash IDE and get a new hash for the
folder every time so it seems to be either random or time based. It's not as
far as I can tell the behaviour documented, it's certainly not behaving as I
would expect. 

Anybody have any ideas?


___
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