Dark Bit Factory & Gravity

PROGRAMMING => Other languages => Topic started by: combatking0 on November 15, 2013

Title: Messing with Languages
Post by: combatking0 on November 15, 2013
I've been putting a Flash game together for a Christmas Fayre, and it needed a score table. The easiest way to have done it would have been as follows:

Actionscript sends the High Score data to an ASP page on a local IIS installation, which either saves it to a database or a text file.

However, I didn't want to install a webserver on my laptop, so I have taken the following route:

Actionscript sends the High Score data to JavaScript running in IE8, which uses ActiveX to call a Batch Script which appends the data to a text file.

It involves turning the security off for various things, but it runs only on one computer and can be easily reversed.