Code:
- Code: Select all
//Get today's 10 best scores
_client.bigDB.loadRange("Scores", "ByDate", [new Date().setHours(0,0,0,0)],
null, null, 10,
function(scores:Array):void{
//Display the scores array...
}
);
I can load scores by username, but unfortunately not with loadRange() and using those values.
Here is a screenshot of how my BigDB looks:
http://i55.tinypic.com/m9vpdk.jpg
Here is a screenshot of my score, saved in the BigDB:
http://i56.tinypic.com/14x1bpf.jpg