Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SharedObject.getLocal("filename") loads "null_filename"

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
590 Views, 1 Reply

SharedObject.getLocal("filename") loads "null_filename"

We are using SDK 4.2.24 for iOS and using SharedObject.getLocal("filename") and flush() to save it. When we then try to load the save file again it does not find it. I opened up Xcode Organizer and exported the data on the phone. It shows that the file "null_filename.sox" was created. Has anyone else used SharedObjects on iOS successfully?

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Just fixed this issue. SharedObject.getLocal was saving and loading the sox fileproperly. Since we were saving JSON, it would cause the XML parser in FxSharedObjectManager to crap out. I saved the data in base64 and now everything parses fine. I also fixed the "null_filename" issue by just calling SharedObject.getLocal("filename", ""). 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report