Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

SharedObject not creating sol file

Guest
Dec 15, 2013 Dec 15, 2013

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

TOPICS
ActionScript
803
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 15, 2013 Dec 15, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Dec 16, 2013 Dec 16, 2013
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines