Use XML.sendAndLoad.
http://livedocs.macromedia.com/flash/8/main/00002879.html
You will need a server script to receive the XML structure and it depends on
the server scripting language how you obtain that data. Then you can either
populate a database or write to a static file or even email the XML data
received from Flash.
For a basic example, I have two links I use for students in my Flash
courses:
http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLASP/Ex01/XMLASP
EchoEx01_Doc.php
http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHP
EchoEx01_Doc.php

Signature
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
How do I set up my drag and drop questionaire to export to a XML file?
I have a 70 seperate SWF files that pose a question and contain a drag and
drop rank order response of 1,2,3,4.How do I set up a XML file that receives
the responses.I don't understand how to do the Actionscript
and get my responses to connect to the XML.Please Help!Thanks!
Here's an example of my XML.
<assessment>
<sessionid>ffae926ea290ee93c3f26669c6c04a92</sessionid>
<request>save_progress</request>
<question>
<number>1</number>
<slot_a>2</slot_a>
<slot_b>1</slot_b>
<slot_c>4</slot_c>
<slot_d>3</slot_d>
</question>
<question>
<number>2</number>
<slot_a>4</slot_a>
<slot_b>3</slot_b>
<slot_c>2</slot_c>
<slot_d>1</slot_d>
</question>
<question>
<number>3</number>
<slot_a>1</slot_a>
<slot_b>2</slot_b>
<slot_c>3</slot_c>
<slot_d>4</slot_d>
</question>
</assessment>
:confused;