فرم ها توی فلاش مثل HTML عمل میکنند و در نتیجه میشه توی تمامی تکنولوژی های سرورساید از جمله asp.net این فرم ها رو از سرور گرفت ! خوب خود asp.net کنترل های خودش رو داره که توی فلاش نمیشه ازشون استفاده کرد البته !
برای اینکه ببنید چطور توی فلاش فرم بسازید اینجا رو مطالعه کنید :
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_13919
من تیکه مهمش رو اینجا هم کپی میکنم :
[FONT=Geneva, Arial, Helvetica, sans-serif]
To create a form in Flash do the following:[/FONT]
[FONT=Geneva, Arial, Helvetica, san-serif]1[/FONT][FONT=Geneva, Arial, Helvetica, sans-serif]Select the Text tool and choose the editable text field modifier.[/FONT]
</IMG>[FONT=Geneva, Arial, Helvetica]
[FONT=Geneva, Arial, Helvetica, san-serif]2[/FONT][/FONT][FONT=Geneva, Arial, Helvetica, sans-serif]
Drag a text field onto the stage.[/FONT]
[FONT=Geneva, Arial, Helvetica]
[FONT=Geneva, Arial, Helvetica, san-serif]3[/FONT][/FONT][FONT=Geneva, Arial, Helvetica, sans-serif]
Choose Modify > Text Field to set the variable name of the text field.[/FONT][FONT=Geneva, Arial, Helvetica]
[FONT=Geneva, Arial, Helvetica, san-serif]4[/FONT][/FONT][FONT=Geneva, Arial, Helvetica, sans-serif]
To submit the contents of the text field, first drag a button out onto the stage. Then choose Modify > Instance[/FONT].[FONT=Geneva, Arial, Helvetica]
[FONT=Geneva, Arial, Helvetica, san-serif]5[/FONT][/FONT][FONT=Geneva, Arial, Helvetica, sans-serif]
Select the Actions tab and choose the Get URL action.[/FONT]
</IMG>
[FONT=Geneva, Arial, Helvetica]
[FONT=Geneva, Arial, Helvetica, san-serif]6[/FONT][/FONT][FONT=Geneva, Arial, Helvetica, sans-serif]
Enter the path to the CGI application in the URL field, and choose the method to send the information in the Variables field. The GET method appends the variables to the end of the URL and is used to send a small number of variables. POST sends the variables in a separate header and is capable of sending much longer strings.[/FONT]
برای اینکه توسط asp.net از فرم های HTML اطلاعات رو دریافت کنید از :
کد:
Request.Form["FieldName"]
استفاده کنید که یک مقدار از جنس string بر میگردونه