Hi
Is it OK for a Flash game to store an Array ( highscore table ) on the users computer?
Is there a specific location i should store the Array?
Hi
Is it OK for a Flash game to store an Array ( highscore table ) on the users computer?
Is there a specific location i should store the Array?



Yes, data are saved in a specific folder on the user's machine.
Im not sure i understand.
When i save an Array in MMF2, i have to input a filename and a location for the file.
Are you saying that it dont matter what location i use to store the Array?
Or are you saying that my MMF2 Flash app will allways automatically save the Array at a specific location?
In that case, what location?
I notice that when saving an Array to the desktop, it does not get created at that location ( or any other location as i am aware of ) when running the app as Flash, only as EXE.



Yes this is what I mean. In Flash, only the name and extension component of pathname is used. The files are saved in a folder located deep in the system drive (%APPDATA%\Macromedia\Flash Player\#SharedObjects\ for Vista).
Excellent
I understand, thank you very much Francois!
So this means it is possible to use arrays for flash games and not just inis? (I have been told both yes and no a lot). Or will some systems or sites block an atemt to save a file to the harddrive? (I guess it is not possible to save the array to the cookies as the ini does?)









458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
Hi
Ive been working all day on this
I have made an Array represent Players Scores and Names for a game, it works correctly as EXE and also seems to be working correctly in Flash.
However if sites block atempts to save files like this to disk, such a solution is kinda bad and maybe other solution would be better.
Well, i have created a scoreboard using Array for a Flash game, so it works...
But i would also like to know if such conduct is genrally accepted or not among hosting sites.
How should one go about finding this out, contacting different hosting sites maybe?
If anybody knows anything about this, pleace let me/ us know









458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
Unfortunatly i cannot share the file i have been working on
But im more than happy to create a simple example of how a MMF2 Flash App can store values to, and read from an Array
Its pretty straight forward actually
But righ now however, i need to get some sleep