PDA

View Full Version : Converting HTML Forms to Flash


tonyoconnell
02-08-2009, 08:07 PM
Hello...

I've been learning actionscript 3 for the past few days and really enjoying it. However I've spent hours trying to find out how to do something very simple in HTML.

Say I have a very simple HTML Form like this...

<form id="form1" name="form1" method="post" action="http://website.com/form">
<input type="text" name="your-name" id="your-name" />
<input type="text" name="email" id="email" />
<input type="submit" name="submit" id="submit" value="Submit" />
</form>

How do I convert it to flash?

I'd really appreciate if somebody could tell me what AS3 code I should write, what should I call my form text fields and my button instance. Also where if anywhere should I put the equivalent of the <form></form> tags. Any very simple explanation would be very much appreciated.

Best wishes,

Tony

Network One (http://www.one.ie)

tadster
02-16-2009, 07:03 PM
Perfect site for you to see a basic AS3 form example is www.actiontad.com
(look in the examples section)
It has the code and the compiled result also has a complex form example.
hope you get what you need there, you should be able to.