Skip to main content
December 16, 2013
Question

SharedObject not creating sol file

  • December 16, 2013
  • 1 reply
  • 825 views

I am working on adding saving and loading through SharedObject. I create it using:

var saveObject:SharedObject;

saveObject = SharedObject.getLocal("saveFile");

When I close and then re-test my game the saveObject is still null. I went into check if the file was created but it fails to create the .sol file. It goes as far as:

C:\Users\name\AppData\Roaming\Macromedia\Flash Player\#SharedObjects\2Z8NDU4S\localhost\Users\name\Desktop\FlashGames

I have another game that saves the same way and is working fine. The name for this save file is not the same as the one I am trying to make now. the path for this .sol file is:

C:\Users\name\AppData\Roaming\Macromedia\Flash Player\#SharedObjects\2Z8NDU4S\localhost\Users\name\Desktop\FlashGames\SaveAndLoadWorking\Saving and Loading.swf

I have no idea what I am doing wrong. Any help is appreciated

This topic has been closed for replies.

1 reply

December 16, 2013

UPDATE**

Was trying to add this to a another version oof my game in an attempt to not destroy my original. After having no luck I tried on my original and it worked fine. Still looking forward to understanding why this happened in case I run into this problem again

Inspiring
December 16, 2013