SharedObject data loss after reopening my ios app

Hi, I'm developing an app for ios devices and when I tested it on my iPhone the high-score data is lost everytime I restart (close and reopen) the application.
var shared: SharedObject = SharedObject.getLocal("myRecordObject");
if (shared.data.score) {
    record = shared.data.score;
scoreBar.recordField.text = record.toString();
function gameOver() {
    if (score > record) {
        record = score;
        shared.data.record = record;
        shared.flush();
        scoreBar.recordField.text = record.toString();
        scoreBar.adjust();

try:
var shared: SharedObject = SharedObject.getLocal("myRecordObject",'/'); 

Similar Messages

  • Why has my ipad lost connectivity to the AT&T cellular data network after upgrading to iOS 8.1.2?  My iPad is model #MD367LL/A, 32 GB WIFI + Cellular, about 2-1/2 years old.

    Why has my ipad lost connectivity to the AT&T cellular data network after upgrading to iOS 8.1.2?  My iPad is model #MD367LL/A, 32 GB WIFI + Cellular, about 2-1/2 years old. It;s been working perfectly up until now.  I have no problem on my home WIFI, or through personal hotspot working through my iPhone 5.
    I have worked with AT&T, replaced the SIM card with a new one, and done a backup/restore to factory settings, all with the same result that when I turn Cellular
    Data on, with or without Enable LTE, it goes into "searching" mode, or reports "no service".  My iPhone 5 works perfectly on iOS 8.1.2, on Cellular.  I've browsed the blogs and have tried Apple's suggested fix, all to no result. 
    Oddly enough, every once in a while I do get connected to the network for a short ime (minutes), but it always returns to "searching".
    I've filed a report with Apple, along with a request that they contact me, but no results yet.
    Help? (and thank you).

    Hello razmee209.  Thank you for your response.  I spent the better part of yesterday working with Apple Support.  They tried their best, to include backing up photos to my HP laptop, backing up the iPad to iCloud, then resetting the iPad in total.  Same problem.  I restored from the cloud to recover my apps, same problem.
    AT&T installed a new sim card - same problem.  I spent time with AT&T Support yesterday, too.  In both cases, (Apple and AT&T) the support techs who worked with me were extremely polite, courteous and helpful to the best of their abilities, but I think the problem lies deeper, and nobody at Apple is admitting they have a problem with iOS 8, that I'm aware of.
    I didn't have this issue before I upgraded to iOS 8.1.2.
    Everything else with the iPad works fine:  WIFI, Personal Hotspot, email, all my apps, etc.
    In browsing the web for this issue I see that many other folks have the same problem.  I filed a report with Apple this morning, requesting that they contact me, but no word yet.  I was going to go to iPhone 6, and had been considering the iPad Air 2, but I see reports of this problem with those units as well.
    At this point I don't think I'll be spending any more money with Apple, at least not till this issue is resolved.
    Thanks again for your response and suggestions.

  • HT4623 Why I cannot activate cellular data network after updating to iOS 6.0?

    Why I cannot activate cellular data network after updating to iOS 6.0?

    ok have a new Ipad a few weeks did this update and now poof nothing . have wifi but no Cellular Data seems its all ben wiped out, sat for over 1h came home after update and nothing but says i have full digicel  signal in the top courner have looked on net for help nothing has woked and digicel not open now here till monday.lets hope they sort this one soon. anyone else missing info in iPad: Tap Settings > Cellular Data ??????
    thanks

  • IPAD Why I cannot activate cellular data network after updating to iOS 6.0?

    Why I cannot activate cellular data network after updating to iOS 6.0? in fact all info in cellular has been wiped out ???? empty???  and why is it showing full signal in the top ???? any one got any help out there PLEASE      ????

    ok have a new Ipad a few weeks did this update and now poof nothing . have wifi but no Cellular Data seems its all ben wiped out, sat for over 1h came home after update and nothing but says i have full digicel  signal in the top courner have looked on net for help nothing has woked and digicel not open now here till monday.lets hope they sort this one soon. anyone else missing info in iPad: Tap Settings > Cellular Data ??????
    thanks

  • IPhone 4S - No Cellular Data Activity After Updating To iOS 8.0.2

    My phone is unable to activate and/or use cellular data after updating to iOS 8. I have already installed 8.0.2 which promised to fix these issues; and it has not. Google Maps, Chrome, Safari, iMessage...none of these features work unless connected to WiFi. E-mail does not update and the phone is entirely useless without WiFi (even regular phone calls are sporadic). I am at a time in my life where having constant and reliable access to my e-mail, GPS, text messages and phone calls is vital to my daily life, as well as my future (new job application responses, current job responsibilities, etc.) Can anyone help with these issues? If not, Apple has surely lost a customer. Totally unacceptable.
    Thanks in advance to anyone who can help!
    Note- I had NONE of these issues prior to the dreadful update.

    I'm a developer.  I had this problem with my app for about  a week until I found the culprit.  For reasons the are not clear, my Ajax calls came back with an extra "0" on the return, which threw everything off for my app.  This only happened on AT&T.  It worked fine with all other providers.  I found the solution in Stack and then implemented it.  Fixed it for us. 
    Here is the problem & solution for other developers having the same problem.  
    The problem is apparently unique to AT&T, and is described below with a proposed solutuion.  
    http://stackoverflow.com/questions/25922199/php-appends-0-at-the-end-in-mobile-b rowsers/25923471#25923471
    Not sure if this is a result of AT&T throttling, or some other issue unique to them, but I just wanted to make sure other developers were aware of it because my team and I wasted a full week trying to relolve this.

  • Script that will help validate if there is any data loss after a DB restore

    Hi,
    I need to write a single script that will perform the following
    operations:
    1)return me the highy accessed tables across all databases.
    2)List the count, Min and Max system date of the highy accessed tables returned from step 1.
    The idea is to validate if there is any data loss to the highly transactional tables after a database restore operation has been performed.
    Thanks.

    Hello,
    I would also like you to see nice blog by Aron,you can modify the script a bit to change according to your need
    http://sqlblog.com/blogs/aaron_bertrand/archive/2008/05/06/when-was-my-database-table-last-accessed.aspx
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    Hello Shanky,
    The post would not be helpful too much for OP's requirement. The post was talking about when was the database last accessed. DMLs are not capturing in the script and also there will be many variant forms that can be applied for DML. Hence, I do not think,
    the script would help too much. 
    Or Am I missing something? 
    Latheesh as i mentioed OP has to modify the script little bit may be add User_seek,user_update,user_scans.Still IMO there is no *perfect* way to actually analyze this.So I pointed out point in my original post.Also unless he has some timestamp he cannot
    see min time when it was accessed ,max time can be taken from last user seek,scan,lookup time. Motive was to lethim know what he was trying to achieve cannot be axactly obtained by using sys.dm_index_usage_stats.Below query will give most accessed table
    : Source (Query)
    SELECT
    t.name AS 'Table',
    SUM(i.user_seeks + i.user_scans + i.user_lookups)
    AS 'Total accesses',
    SUM(i.user_seeks) AS 'Seeks',
    SUM(i.user_scans) AS 'Scans',
    SUM(i.user_lookups) AS 'Lookups'
    FROM
    sys.dm_db_index_usage_stats i RIGHT OUTER JOIN
    sys.tables t ON (t.object_id = i.object_id)
    GROUP BY
    i.object_id,
    t.name
    ORDER BY [Total accesses] DESC
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Data loss after routine synch with m515

    I just did a hot synch and discovered that almost all of my datebook info has been wiped out from both my handheld & the desktop!!  the synch log contains the following message:  "-- Date Book
       - Some handheld records were not copied to your PC. Your computer may be full or you may have reached the maximum allowed records on the desktop."
    Only about 5% of past calendar entries are still there, and about 10% of current/future entries. 
      I went to the datebook.bak file but it is the same as the data file inspite of the fact I only synched the one time. 
    Can someone please tell me there is hope for retrieving my data?  Should I just throw the Palm pilot out the window and go back to good old fashioned pen & paper?  This is not the first time I have suffered a complete data loss with these things - the last time was when I upgraded to a new palm & in spite of following the directions exactly, everything was lost.
    Thanks much, Janette
    Post relates to: Palm m515

      Thanks a lot for responding, Aeisha.  I did the search & found the largest datebook.bak file.   I opened the palm desktop & used the import option.  I selected the exact location specified by the search results but the files don't match!  For example, the file found by searching is a bak file & its size is 1311 kb, but when I get to the location(thru palm import)  in the folder tree where it's supposed to be, the only datebook file there is labeled "unfiled.dba" and is only 640 kb.  I tried importing that but didn't get back any lost data.
        Is there another way you were thinking I could "import"?  Thank you for your help.  Janette
    Post relates to: Palm m515

  • My iPod touch 5th generation data lost after downgrade from ios 8 to ios 7.1.2

    I have just downgraded my iPod touch 5th generation from ios 8 to ios 7.1.2 . after downgrading, all my data (apps, music, document) in the iPod touch were lost, but photos were manage to recover. when I connect to the computer, it show that others in the capacity column used up almost 18 GB of memory. What is in others? Why it used up so much memory?  How can I recover my lost data?

    You may not be able to restore the data since when you downgrade from a backup made with a new iOS version data does not transfer.
    An "other" larger than about 1 1/2 GB indicates corrupted files.
    What is the Other on my iPhone and How to Remove It
    What is "Other" and What Can I Do About It?
    Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Restoring iOS software

  • Infocube data loss after BW Upgrade to 7.01 (SP 7)

    HI,
    We have recently upgraded from BW version 3.5 to 7.01 SP 7. It has been noticed that the pre-upgrade data from all the Infocubes have been wiped off since the upgrade. Data that were loaded into the cubes post-upgrade are fine though. The "Manage" screen on each of these cubes shows that all the data load requests (pre and post upgrade) are intact, however the underlying F & E tables do not have any of the pre-upgrade data (which sort of means that this data wasn't deleted from a BW transaction). Also, this has happened only for the Cubes - Master Data and DSO data seems to be fine.
    Prior to the BW Upgrade, the underlying OS & DB were upgraded to versions AIX 6.1 and DB2 9.7 FP2 respectively. The data in the cubes existed after this step.
    Has anyone seen or come across this issue before during the actual upgrade or any of the post-processing steps after that? Any help here will be appreciated!
    Thanks
    Anooj

    Hi Anooj,
    The note says that :-
    When a cube in a source system contains no data, a user can set the
    Line Item flag to TRUE for a particular dimension. If the user then
    decides to transport this into a target system in which the target cube
    DOES contain data, the dimension table is dropped and recreated. As a
    result, DIMIDs in the Fact table now point to invalid entries in the
    new Line Item dimension. This change should NOT be permitted and the
    cube activation should be aborted instead.
    Was the Line Item flag set in your infocubes , which may have led to the loss of data.
    becuase SAP seems to be mentioning more on the Line Item flag side , or is it generally for the program for Infocube activation.
    We have found that we lost the data in the CUBE , though there is no line item flag active.
    Regards,
    Hari

  • N95 time and data loss after shutdown

    Hi! I own an unlocked N95 mobile phone with firmware version 12.0.013. The problem is that after shutdown and restarts the time and date is lost. I have disabled the option to get the time from the network operator. I have read on other forums that many other users have this problem too. Is this hardware or a firmware problem? If it's a firmware problem, when can I expect a firmware update that will fix it? My second question: are there different firmware versions for each language, because the T9 dictionary is very unusefull in the Romanian language. Many frequent words are not recognized, other are misspell. Does a firmware include an updated dictionary too? In advance, thank you very match.

    Hi,
    I have the same problem. Am also on firmware V12.0.0.13 (what ever it is).
    I dont know exactly when my problem with lossing the date and time started but I dont think it was after i changed firmware.
    I think the problem started when I had to formated my phone. It was running slow and getting temprimental. In fact am sure the date and time loss thing all started after I formated the phone.
    The date and time is the only info I loss when I remove the battery every thing else is ok.

  • 3G Signal Loss after upgrading to ios 4.0.1 ?

    Hello Everyone,
    I don't think that I am the only one with a 3GS that is having this problem. I have the iphone 3GS, I was very excited to upgrade to ios 4.0. Once the upgrade was complete everything was just fine. Then came along ios 4.0.1, I figured why not. Isn't that what you are supposed to do to keep you phone up to date. Well, ever since I upgraded to ios 4.0.1 I have lost my 3G signal. My wife's phone is the exact same model, purchased at the exact same time. She is still running ios 4.0 and not having any problems. I spoke with Apple Care today and they said that ios 4.0.1 was in no way going to affect the 3G signal strength. Now, if I take my phone and my wife's phone and hold them side by side. She will have full signal and I might have one bar. Then when I go to safari and try to load a web page. Her phone,(with 5 bars) will download twice as fast as mine.
    Is there any way for me to go back to ios 4.0?
    Thanks Apple for fixing all of the iphone4 problems and creating one on the 3GS and then not acknowledging it.
    Any help would be greatly appreciated.
    Thanks,
    Demi

    THERE IS A GROWING AND VERY STRONG DISTASTE AT THE LACK OF SUPPORT AND INTERVENTION BY APPLE IN HELPING THE MANY THOUSANDS OF PAYING CUSTOMERS WHO HAVE PURCHASED IPHONES AND FIND THEY ARE NOT FIT FOR PURPOSE.
    I AM HAPPY TO INVOLVE THE BBC IN THE UK AND OTHER MEDIA SOURCES TO HAVE APPLE SIT UP AND TAKE NOTICE OF THE NUMBER OF DISSATISFIED CUSTOMERS WHO HAVE PAID LARGE SUMS OF HARD EARNED MONEY FOR A PHONE CAPABILITY THAT IS DISGRACEFULLY BAD. LIKE MANY OTHERS THE IPHONE CAN BE PLACED ALONGSIDE OTHER COMPETITOR'S DEVICES WHO HAVE CONTINUALLY GOOD AND CONSTANT SIGNAL STRENGTH WHILST THE IPHONE SHOWS NONE.
    ON A PERSONAL BASIS THIS PHONE HAS CAUSED ME TO LOSE OUT ON A NUMBER OF SIGNIFICANT PHONE CALLS, SOME INVOLVING THE DEMISE OF A RELATIVE - MATTERS THAT CAN NEVER BE REPLACED. AND YET THE ISSUES REMAIN.
    PLEASE, ANYONE, FEEL FREE TO EMAIL ME ON [email protected] WITH CONSTRUCTIVE COMMENTS ABOUT THE POOR QUALITY OF THE PRODUCT (IPHONE 4 OR 3GS) AND THE EXTENT TO WHICH THIS MATTER HAS BEEN OCCURRING AND THE IMPACT IT HAS HAD ON YOU EITHER DOMESTICALLY OR IN BUSINESS. I AM LEAD TO BELIEVE THAT THE FAULT DOES NOT LIE WITH THE NETWORK BEARERS, BUT IN THE APPLE IPHONE DEVICES THEMSELVES
    I CANNOT PROMISE TO DO ANYTHING OTHER THAN COLLATE THE EVIDENCE THAT IS COMING IN FROM SO MANY SOURCES AND PROVIDE IT TO THE MEDIA GIANTS THAT MAY CAUSE APPLE TO DO SOMETHING. FRANKLY I THINK ALL THE DEVICES SHOULD BE REPLACED WITH ONES THAT ARE FIT FOR PURPOSE OR REFUNDS GIVEN. PLEASE GIVE ME YOUR VIEW ON THIS IF WRITING TO ME. THANKS,
    THANK YOU FOR READING THUS FAR. JDMCB

  • PB crash - total data loss after forced restart.

    Hello,
    Ironically I was trying to back up a whole bunch of stuff the other day to and from external hard-drive (inc 5000 photos!) when I decided to start up itunes I had a message in German saying itunes needed to be updated (the OS was accidentally installed in German by technicians after a hard drive replacement last year, but I was running it in English) the thing is I was not online at the time and it wanted to update to a version dated 2007 so the first alarm bells started ringing. I did not allow this weird update of itunes fearing I would lose all my folders etc. and cancelled it. Then thinking I would eradicate the problem by restarting the PB when I tried to restart it wouldn't let me saying 'mirror agent' was preventing a restart. I left it for a while but then forced it to shut down. When I restarted it all my data / software etc was gone - it was all in German and like the 1st day the OS was newly installed!! (Icons huge, screensaver blue swirl etc) Everything except a few folders. Also it said only 5GB of hard drive - and it is 120GB hard drive.
    What should I do?!! Can I try starting it from installation disk and use disk doctor or something or should I head straight to an apple technician?
    I THINK the OS was 10.4.3 or around that mark.
    Any help HUGELY appreciated! Thanks in advance and greetings from Berlin.
    very worried,
    Nicole.

    ok i just remembered that I changed the name of my home folder - seems this was a stupid idea - i changed it from 'admin' to 'nicole'
    I found this:
    http://docs.info.apple.com/article.html?artnum=107854
    and fixed it!!
    phew!!

  • MySQL data loss after installing 10.8

    I have been using MySQL on 10.7 for some time without problems. Since 'upgrading' to 10.8 I have been struck by many problems!
    After the installation on OS x 10.8 I had to spend some time to get my testing environment working again as Apple have removed the Web Sharing by default. Also during the 'update' it changed the configuration of the web server leaving my current setup broken.
    I'm now back up and running with a fully functioning web server and MySQL database system.
    The problem I have now is that the 'update' wiped the database information in the data folder for MySQL. Not a problem I thought, I will use Time Machine to go back and pull up the databases I need. The problem is that some how all the .MYD & .MYI files have gone. No matter how far back I go in the back up, they are all gone, the only files left are the .FRM files.
    This leaves me with months of data input missing...
    Has anyone else had a similar problem and is there a fix I could try?

    I have been using MySQL on 10.7 for some time without problems. Since 'upgrading' to 10.8 I have been struck by many problems!
    After the installation on OS x 10.8 I had to spend some time to get my testing environment working again as Apple have removed the Web Sharing by default. Also during the 'update' it changed the configuration of the web server leaving my current setup broken.
    I'm now back up and running with a fully functioning web server and MySQL database system.
    The problem I have now is that the 'update' wiped the database information in the data folder for MySQL. Not a problem I thought, I will use Time Machine to go back and pull up the databases I need. The problem is that some how all the .MYD & .MYI files have gone. No matter how far back I go in the back up, they are all gone, the only files left are the .FRM files.
    This leaves me with months of data input missing...
    Has anyone else had a similar problem and is there a fix I could try?

  • IPad 2 WiFi Connection Loss After Update To iOS 4.3.2

    I've been watching with growing alarm the explosion of complaints of iPad 2 WiFi connectivity issues since the upgrade to iOS 4.3.2. My iPad is becoming almost unusable because of this issue, and this after flawless performance of the two iPad 2 32GB WiFi-only machines I bought 15 March 2011. All the suggested solutions I've read of do not solve the problem.
    This is very disturbing, and I hope Apple addresses this soon.

    I also left feed back.  I thought apple was also on this did not realize it was just user to user with change.  Thanks Carolyn!
    Russ
    Carolyn Samit wrote:
    Hi,
    Considering this us a user to user forum, not Apple, an alternative is to provide feedback to Apple here.
    http://www.apple.com/feedback/ipad.html
    Carolyn 

  • HT4623 Is there ANYWAY to retrieve data lost after updating to iOS 6? Backup failed.

    I need to know if Apple can retrieve lost data after restoring mi IPhone 4. Backup failed.

    I have it but didnt back up the iPhone 3GS when i updated the iPhone 4G it didnt erase anything off of that so i didnt think it would on the 3GS

Maybe you are looking for

  • Songs deleted on iphone - no longer show up on icloud?

    I have signed up for itunes match and am in the middle of downloading my songs back to my iphone.  While it was plugged in to my Macbook, I went under my iphone in itunes and deleted a couple of songs (wasn't really thinking at the time, and that's h

  • How to select column used in parameter in sql

    Hi, I have one View in which I am calling Function, Below is the part of that Function. I am passing @Column_Name as parameter. I have total 3 Columns which I am using in my view form this function. Now I have one issue in this SQL Query, instead of

  • Generating PDF Dialog

    Hello! Really looking for some help with this random problem I have with Indesign. I'm running Adobe Indesign CS3 on Mac Lion. I've been working on a 84 page magazine all day. I have been exporting random pages and other files from indesign to pdf fo

  • SLD integration server

    Hi, i am not able to select my integration server and my host name as xi1. what is the problem. As i have created a third party TS. and given the host name as xiser0 which is the xi server host name. and selected the softwere component. i have create

  • We want to purchase new server for our server room

    We want to purchase a new server for our server room please let me know how to get it directly from HP. we also want a backup server with that.  Please help us to find out the best option  With Best Regards