Highscore table

In AS, how would i export a variable, persay a player score, to an external word document. so i could use this information in a highscore list? Or is there a more efficient way of doing this?