Hi.
I have an application that saves user scores remotely, across the web,
by sending the data to a php script. That script receives the scores and
updates the list in an xml file. The scores are sorted and returned.
That works fine.
When the user runs the SWF locally, on a school network, I would like to
save the scores locally too, so that scores can be compared with other
students working in the same classroom. It will be much more fun to
compete with friends across the room from you.
I had hoped to update a text file, or local shared object, with the
scores and the security limits do seem to allow for this. Trusted
directories may be one part of the answer and using the SWF's source
directory another possibility.
The program can read a named, trusted, directory as a string from
another text file when run and so the network administrator can let the
program know the directory for the SWF to save into.
I believe shared objects are usually inaccessible to other users, i.e.
other client computers logged onto the network because they are stored
in the user's allocated server space.
The best solution would be a shared, trusted and accessible directory on
the server, perhaps even the directory from which the SWFs are served.
Can anyone an advise as to which method will allow this shared access to
a scores file?
Living in hope!
John
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders