Copy link to clipboard
Copied
What am I using:
Mac OS X version 10.7.5
Flash Pro CC and AIR 14.0.0.78 for iOS
The application works in debug build on my iPad2, everything works great. I am using sharedObject to store the users’ preferences.
On the release build, the application starts up normal. I am able to browse through the different screens and use other parts of the application with no problems. When I get to a configuration screen there is an edit and an add button. When clicking on the Edit button no abnormally occurs, when clicking on the Add button, the application freezes. Adobe community, need help with this issue!
Is there a work around, before I change all the sharedObject codes.
Issues:
This issue is a follow up from this post:
https://forums.adobe.com/message/6336759#6336759
I believe there should be more support from Adobe.
I found the solution, sharedObjects had to be reconfigured and is now working. The app is on the App Store.
Copy link to clipboard
Copied
I found the solution, sharedObjects had to be reconfigured and is now working. The app is on the App Store.
Copy link to clipboard
Copied
Hello, good to know you problem is solved, However adobe recommends not to use Shared Objects instead there are other sophisticated options to save your game data. Reason is shared objects sometimes becomes messy, data lost and the main reason is on app update your won't find your SharedObject and users data will be lost. Search around web and you will find people already experienced these issues. I have also moved by saved data to Files in my two running projects for client. I have just write all of my data in a small .dat file which is saved in applicationStorageDirectory. The plus point is, this directory data won't be lost in case of app update but only be deleted when app is uninstalled/deleted. I recommend you to move away from Shared Object if your data is sensitive and something you cannot tolerate with your users/clients.
Thanks,
Muhammad Faisal Zaheer,
Sr. Software Engineer, Team Lead, Cubix Labs
Copy link to clipboard
Copied
Thanks Faisal,
I have searched around the web and it seems most people don't have problems with Shared Objects on updates, but yes is something we need to keep in mind. I do believe I will be doing all future projects with other saving methods (not so).
Best regards.
Wilson
Copy link to clipboard
Copied
Well, i have the problem when app is updated, and i have seen other have this problem too, anyways good luck,
Thanks.