Save the score

I wonder how I could somehow save the best score in a given project.

I use the variable "score" to count the points and a dynamic text named "textoscore.text =" "+ score.toString ();"

The goal would be getar price highest in the game in the given device and when abandonment, save it, of course.

But I have no idea how can I perform these actions, could someone help me?

If each player has his own high score, you can use the actionscript sharedobject:

to view the high scores:

var so:SharedObject = SharedObject.getLocal ("yourso", "/");

{if (SO. Data.Highscore)}

highscore_tf. Text = so. Data.Highscore.ToString ();

} else {}

None recorded.

}

at the end of the game:

If ((so.data.highscore && score>do.data.highscore) |! so.data.highscore) {}

so. Data .highscore = score;

so. Flush();

}

Tags: Adobe Animate

Similar Questions

  • Save the "recovery partition".

    OK, I write in here as laptop has Vista on it right now, but I want to get rid and move to 7, however before I I want to save the "recovery partition" just in case where for some reason, I want to reset it to factory default.
    Now restart on Vista and using various boot disks I see I have 3 left
    * WinRE (f :)) 1.4 GB)
    * Vista (c :)) 116.2 GB)
    * Data (d :)) 115.1 GB)
    All NTFS incidentally.

    I guess I should save F disc as it is labeled WinRE and there is 3 files, these being 'archive_db' which has a file in there called 'arcdir', 2nd folder called 'sources' and there is a file called 'boot.win' and it is 203MB in size, more we also have the usual System Volume Information folder and finally in the root of the drive F We have a file called boot.sdi file, it is drive F.

    Also, I guess I have to back up a D drive folder as this file is called "HDDRecovery" here, you have 3 files at the root level that are called 'HDDRecovery.tag/ReadMe.html and Toshiba.jpg' and 3 additional folders called "ODDFiles/OriSetenv/swing".

    What I want to do is to save EVERYTHING that is necessary for each DVD or external drive, including the partition information then erase the entire disc or all scores, then start to put Win7, saying I want to make my own kind of recovery partition in an ideal world using option F8 to bring up some sort of option menu reinstall 7 or otherwise I'll just take a picture and then hide this partition of Nosy gits.

    So any advice is more then welcome and if you need more info from me only.

    * APE1 *.

    Hello

    I fear that save only partitions will not help you m.

    The partition contains the image of Toshiba files that use by the Toshiba recovery disc Creator who creates a recovery disk. In addition, the image on another partition files can be used to perform a procedure of recovery of HARD drive, but I n t think that this option is available if you need to run a clean install.

    So if you want to set the laptop back to the settings the factory (in the future) then I advise to use a recovery disc.
    These discs can be created using the recovery disc creator software as mentioned at the beginning

  • The store update will remove old save the State of device during the installation of the new version?

    We will therefore say I installed an app on the app store and it is version 1.0 and it was save States to save my best personal score, that will save the State and score be removed when I install a version update (1.1)?

    I ask because I'm about to start using save States and need to know how to save to keep the original save the State through different versions that could come, so he has not erased each time.

    It'll keep all your saved data, so you don't need to worry.

  • Save the photos after update

    I updated my iphone 5 with the 10.0.2 update of apple's software. Now when I get an email with an attached photo, I don't have this option to save the photo in my camera.

    If you hold your finger on the picture it gives you the option?

  • Save the transitions as elements?

    I have a bunch of movies that will need the same transitions intro and outro, is there a way to save the transitions as an element so I can just copy and past them in quickly?

    Thank you.

    You can save short assemblies and projects with transitions between dummy clips.  You could then copy and paste into a new project and replace the dummy clips without affecting transitions.  Drag the new video on the model so the green '+' sign shows and then select "replace".

    Geoff.

  • How to save the document iWork on iCloud drive?

    I have 4 files in my player to iCloud.  When I create a new document in Pages and save it in the folder of chemistry, I noticed that the Pages also saves a copy in the Pages folder.  So I find myself with two copies of the document.  The same thing happens with Numbers and Keynote.

    Is there a way to save the Pages (and Numbers and Keynote) documents to an iCloud specified by the user folder without copy also end up in the related app?  THX

    When you save Pages documents in iCloud drive, but not in the Pages folder, it will create an alias in the Pages folder pointing to the active page document that you saved in your folder of chemistry. These aliases will be a small vertical arrow under the icon, accompanied by text stating "in iCloud drive." You can right-click on the alias and choose the menu option Show Original.

    The cure is to make your records custom inside the respective iCloud drive: Pages, Numbers and Keynote primary records. These applications have an abbreviation save default Panel. On the right of the Save As the Committee Save: field, you will see a small box with an angle down in it. Click on this button, it will expand your panel Save/Save as and a button new folder will appear on the bottom.

    You select iCloud drive from the Favorites panel column Pages save and then browse the Pages main, numbers, and Keynote files. This is where you click on the button new folder, which will initially show no icons it contains until you save the document. No alias is generated. For existing records outside the above-mentioned applications, you could drag and drop the folder in the respective Pages, numbers and Keynote primary records, and then you can delete the (single) alias files.

  • Why the highlighting of text in a PDF document does not work after you save the file

    Why the highlighting of text in a PDF document does not work after you save the file

    What application you use to highlight?

  • I know not how to save and attachment to my Icoud player, but how to save the body of an email?

    I don't know how to save an attachment to an e-mail to Icloud drive but how do I save the body of an email to ICloud?

    Save it to the place where? For what purpose? As long as you do not remove it, it should remain in your email. You can move it to a folder by tapping on the icon of the folder at the bottom of the screen as you watch the email. You may also copy and paste Notes, take only a screenshot that would be in your Photos. You could transfer to a remark like Evernote service.

  • Save the Wikipedia article gets "garbage" in comparison with Chrome

    Hello

    I can't save "Printable" Wikipedia article (th) using firefox. Save the same URL using chrome no problem. The file is saved by firefox especially resembles a text stream.

    Help? Thank you.

    Link to the printable wikipedia article: https://th.wikipedia.org/w/index.php?title=%E0%B8%AA%E0%B8%96%E0%B8%B2%E0%B8%9A%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%97%E0%B8%84%E0%B9%82%E0%B8%99%E0%B9%82%E0%B8%A5%E0%B8%A2%E0%B8%B5%E0%B9%81%E0%B8%A1%E0%B8%AA%E0%B8%8B%E0%B8%B2%E0%B8%8A%E0%B8%B9%E0%B9%80%E0%B8%8B%E0%B8%95%E0%B8%AA%E0%B9%8C&printable=yes

    COR - el, thanks for the suggestion. Start in safe mode solves the problem of saved to save/load file. I don't know if all Add - ons uses Greasemonkey or not, but the text of garbage has at least a Greasemonkey inside. My problem is "Wikitweak". DOH!

    Wesley, the theme I've used does not seem to be a problem. Start in safe mode using the theme worked flawlessly.

    jscher2000, I use "save the page under", recorded with a repertoire extra and everything.

    Thank you again for your help. Now, I did. I guess the 'safe mode' is the default value at the stage of debugging anyway.

  • The pop-up box to define privacy choices is too small. Only half of the text is available. Unable to access the "EDIT" button to the right to save the settings.

    I can't change any settings that are shown in a popup box. The box is too small to contain the message and cannot be adjusted. I can make changes, but cannot save them. As a result, I am stuck with either save no history, or the history. My problem is to save the cookies but the problem is extensive. I am running Firefox 41.0 2 under Ubuntu LTS 14.04. This problem did not until the 41.x update. At that time, my settings in Firefox are YOU, and I had to reload all the preferences, (several times). Thunderbird doesn't seem to be affected.

    The text seems important enough in the screenshot.

    You have a size of upper text somewhere (Firefox or Linux settings)?

  • Force firefox to open, not save the .url files.

    Hello!

    I need a way to Force Firefox to open, not to save the .url files. These files are generated by an application. The application is listed in the list of software and has the setting to open. But when the. URL link is clicked it will ask only to save. I need to open the file. not to save it.

    Thanks in advance.

    A .url file is a type of special file created by Microsoft.
    Firefox is a cross-platform application and can't stand all the platform-specific files as does a browser that is designed for this platform.

    Try to ask for advice on forum of stack overflow's website to see if they know of an alternative.

  • Firefox will not save the names of user or password

    I have Firefox at work, where they have a policy file that prevents me to set a homepage, by setting Firefox as default and remember history.

    Now, because I used sync at work and at home sync to synchronize my favorites, I can no longer set the homepage to home, put Firefox by default, or save the data of login/password or search history. The only thing that remains is favorite.

    Hi there, please check your preferences. Check if Donot forget not the history is enabled or not.
    If Yes, then firefox behaves as incognito mode, change it to remember the story to solve your problem.

    Hope that helps.
    If the problem persists, please do not hesitate to ask at any time.

  • How can I save the iphoto for flash player library

    How can I save the iphoto for flash player library

    Where is the flash player? It is external, or what?

    Barry

  • other browsers allow to choose from "never save the password 4 this site": do you really think I want to save the password for my paypal, example 4?

    It of a shame that we can choose only beetween "Save password for this site" or "not now", while for certain Web site, we never really want to save the password, generally for sites like paypal...

    Hi, you can do that in firefox so well - click on the dropdown arrow at the bottom left.

  • iPhone: what can I save the deadly reset?

    Then, like many before me, I don't remember password encryption from my iPhone, or I remember ever put a. So I decided to start using iCloud backup instead. I like iCloud backup and everything, but I really want to be able to backup my iPhone on my computer and have this backup set at my disposal when I need it. I know that the only way to remove the encryption "tick" is to reset my phone.

    So I would like to know what kind of things can I have on my phone after a reset. For example, applications that I downloaded on my phone, I have to buy them again, or they are saved somewhere? And what about the data of games and apps, will they be saved in the centre of game or something? Also, is there a way to retrieve texts on my phone by a 3rd party app (of suggestions for this one)?

    I'm not worried about the notes, memos or photos cause all that I already put it on my computer, but what are other things that I can save the fatal reset?

    Thank you!

    Before you try this workaround - a little work but likely to solve your problem with nothing lost.

    To circumvent the problem of encrypted backups always being encryption:

    Backup to iCloud. Then erase the phone. Then backup to iTunes as a non encrypted backup. Then restore the backup to iCloud. Then backup iTunes again.

    From: https://discussions.apple.com/message/30209896?tstart=0#30209896

Maybe you are looking for