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.onLoad = function() {
eventDate = new Date(this.year, this.month,;

And the date.txt file has this in it:


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

Any help would be awesome :slight_smile: .