Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Contributor
Posts: 39
Registered: ‎06-13-2011
My Device: playbook, torch 9810 and Alpha device!
My Carrier: digi
Accepted Solution

implement local highscore

i'm doing this app and now i've run into a bottleneck. Theres this highscore i wishes to implement,where the application will store only a variable to its file system, access it everytime the app starts and overwrite the variable whenever there's a higher score. How cn i do so?
Developer
Posts: 153
Registered: ‎10-26-2010
My Device: Bold 9900
My Carrier: AT&T

Re: implement local highscore

You might want to either specify whether you are using WebWorks or AIR. Then the nasty types can tell you that you are on the wrong forum and which one to use.
--------------
Accepted PlayBook Applications: Marmi-doos, BASIC, Run and Hide, SuperClip
Accepted OS4-7 SmartPhone App: KeepLightOn
Developer
Posts: 1,008
Registered: ‎12-12-2010
My Device: Passport (Red Limited Edition)
My Carrier: Mobile Vikings

Re: implement local highscore

Since he's posting here I assume AIR. I would store an Array in the SharedObject. Are you familiar with that class?

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Contributor
Posts: 39
Registered: ‎06-13-2011
My Device: playbook, torch 9810 and Alpha device!
My Carrier: digi

Re: implement local highscore

That's what exactly I needed! SharedObject!

Highlighted
Retired
Posts: 172
Registered: ‎06-07-2010
My Device: BlackBerry 8520
My Carrier: Rogers

Re: implement local highscore

For a quick run down of SharedObjects for the PlayBook, you could see 

 

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Using-Persistent-Store-via-Shared...

Raihan Masroor
BlackBerry Development Advisor