Oli Burgess
Oli Burgess

Reputation:

How can I export score data from a Flash Game (still in development)

The game will be on a school VLE (virtual learning environment) like 'Moodle'. Can you export to email? Spreasheet? Or can it only be done with php? Do not want to be spending weeks on it!

Upvotes: 0

Views: 935

Answers (1)

ron
ron

Reputation: 9396

You can't send emails directly. From Flash 10, it is possible to save file on the local computer, for this see the livedocs for FileReference class.

The best way for centralized data collection would be sending the data to your server. Here is an example for AS3 to PHP communication - you may have to tailor it a bit, but the basics are in there. You may want to use a database instead of the file in the PHP code, but that's an other question.

Good luck!

Upvotes: 1

Related Questions