Flash AS3 Form

I hope someone can help me. I have been searching for a way to do a form in Flash using Action script 3.0. Every single tutorial/reference I have seen is only for AS 2.0 and I can’t seem to figure out how to convert all the lines to AS3. I am quite sure that you can create forms and send the information to a php file in AS3, but I am having no luck finding such a tutorial or reference. Does anyone know how to target AS2 from a AS3 swf file? That is what Flash is telling me to do when I try to add a variable name in the properties window. If you can point me in the right direction I would be most grateful. If anyone has a way that will tell me how to do that then I could just use the AS2 scripting that I have.

These are two of the tutorial I was following but when I try to use either I get so many errors I don’t know what the problem is. I would like to use the second one because it seems easier for me to understand but it doesn’t tell me how to include the .as file. Is there something line of code I need somewhere in an AS layer on my flash file to reference that file?

http://www.kirupa.co…h_php_email.htm

http://www.flepstudi…pt-3-0-php.html

I am new to Action script but I have no problem creating the php file so what I mainly need is some direction as to how to proceed with the AS.

thank you

Source example

This isn’t a tutorial but an example for AS2 and AS3. Also it doesn’t use external files.