Copy link to clipboard
Copied
How can this by storing a value of a dynamic text in a database? I have in mind try to make a tactical records, where you will not need to present many made records, only the highest. Can anyone help me?
Copy link to clipboard
Copied
are you trying to compare different users' scores? if yes, you'll need to use a server to store the data.
if no, you can use the flash sharedobject.
Copy link to clipboard
Copied
I'm not looking to buy the score of each player. The goal is how I save only the highest score by a player. In the case, it would only save the highest score.
Not sure if this would be a comparison, but this would be the goal.
Copy link to clipboard
Copied
use the sharedobject:
var so:SharedObject=new SharedObject('highscore','/');
if(!so.data.highscore || currentscore>so.data.highscore){
so.data.highscore=currentscore;
}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now