-
Shared Object Location
Hello all, Does anyone know of a way to save a Shared Object to a specific folder? Or even if this is possible?... Just trying to find an alternative to writing to .txt files, because I've learned that you can't with strictly flash...
Thanks in advance for anyones help!
Peace,
~Bill
-
Hi,
Shared object files are not stored as .txt files. They are stored as .sol files and are encrypted. You wont be able to use them in the same manner as a .txt file, even if you could store it in a folder, which you can't do either. The shared object .sol files are automatically saved by the flash player to something like this path.......
C:\WINDOWS\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys
If saving to a .txt file is essential for a single task, you can create a flash 5 movie with the fscommand("save","somefile.txt"). Shared Objects replaced this Flash 5 ability with the release of MX but it still works as a Flash 5 feature.
Hope it helps
NTD
-
Hello,
I would like to ask, why when I m trying to store some data using the SharedObject , if I press DENY on the space allotment question (the classic pop up), the SOL file is being created.
the flush call is : var flushVar = saveUser.flush(1000000);
I would like , when I press Deny not to be created and when I press accept then to be created.
The file being saved is less that 1 mb of caurse. is this why I dont get the behavior I want? and how can I get this kind of behavior?