create an empty file first before using this. php will make a file for you but im not sure asp does
<%
Dim Stuff, myFSO, WriteStuff
// you will pass a variable from flash instead of this rubbish
Stuff = "Here is some stuff to write in the file."
//this line creates an instance of the File Scripting Object named myFSO
Set myFSO = CreateObject("Scripting.FileSystemObject"

Set WriteStuff = myFSO.OpenTextFile("
8, True)
//this line actually writes STUFF from above to the file
WriteStuff.WriteLine(Stuff)
//this line closes the file
WriteStuff.Close
//this line destroys the instance of the File Scripting Object named WriteStuff
SET WriteStuff = NOTHING
//this line destroys the instance of the File Scripting Object named myFSO
SET myFSO = NOTHING
%>
hope this helps but im more used to php