Countdown to date, loading date from txt

Hey everyone,

I’m working on a Flash movie to countdown to a certain date, and I am wanting to assign that date in a .txt file so it is easy to change the date without modifying the FLA.

Here’s the ActionScript I have for finding the date it’s counting down to from the .txt file:

loadText = new loadVars();
loadText.load(“date.txt”);
loadText.onLoad = function() {
eventDate = new Date(this.year, this.month, this.day);
};

And the date.txt file has this in it:

year=2003&month=12&day=25

It doesn’t seem to be working :-\ .

Any help would be awesome :slight_smile: .

-Nick