I know Flash makes Data connection kit for this purpose
http://www.macromedia.com/software/dataconnection. The new Flash MX 2004 profressional is suppose to include this.
I have made the connection outside of Flash and imported it in through the source link, I'm not sure how dynamic you need it to be.
VALUE="Flashfile.swf?Counter=1111">
src="Flashfile.swf?Counter=1111"
loadVariablesNum ("counter.asp", 0);
start_Count = int(Counter)
cur_Count = (start_Count + 1)