Dale Fraser
Dale Fraser

Reputation: 4758

Flash Shared Objects Storage Location Changing Occasionally

When running a flash application that I run locally

ie I get to it from a browser but with a file path

file:///C:/Projects/test/bin-debug/Main.html#

Now, most of the time the shared objects are stored in

%APPDATA%\Macromedia\Flash Player#SharedObjects\XXXX#localWithNet

But occasionally, it reverts and thinks this application is running on localhost

%APPDATA%\Macromedia\Flash Player#SharedObjects\XXXX\localhost

which means all previous saved settings are gone.

I'm wondering if anyone knows how flash decides if the application is infact localhost or localWithNet (local with Network access)

Rebooting can sometimes make it revert, but I've also had it stay localhost for a few days then revert.

Upvotes: 0

Views: 1055

Answers (1)

J_A_X
J_A_X

Reputation: 12847

Normally, it has everything to do with your 'domain'. If you're running in a browser with file://pathToSwf/YourSwf.swf, that's normally localWithNet, if you're doing http://localhost/YourSwf.swf, that's localhost domain. I don't think there's any other way for this to happen unless you're doing something funky, but then I don't know that since I need more details.

Upvotes: 1

Related Questions