# \[AS3\] ContactForm

**URL:** <https://forum.kirupa.com/t/as3-contactform/250135>\
**Category:** open source\
**Created:** [January 25, 2008, 9:45pm UTC](https://forum.kirupa.com/t/as3-contactform/250135 "2008-01-25T21:45:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mprzybylski](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mprzybylski/32/613_2.png) [@mprzybylski](https://forum.kirupa.com/u/mprzybylski)\
**Post date:** [January 25, 2008, 9:45pm UTC](https://forum.kirupa.com/t/as3-contactform/250135/1 "2008-01-25T21:45:48Z")

</div>

[View Example](http://evolve.reintroducing.com/_source/classes/as3/ContactForm/ContactFormExample.html)  
[Check out the post](http://evolve.reintroducing.com/2008/01/25/as3/as3-contactform/)

Creates a communication gateway between a contact form and a PHP script that checks for validity and sends the email. The e-mail checking is rudimentary at best, but it gets the job done. If someone will go through the trouble to try and break this e-mail checker, then by all means spam away (at least that’s the way I see it).

This is a direct port of my [AS2 ContactForm with updates to work with AS3. The files come with a ContactFormEvent class which allows me to dispatch events in AS3 with custom parameters based on my [URL=“http://evolve.reintroducing.com/2007/10/23/as3/as3-custom-events/”]AS3 Custom Events](http://evolve.reintroducing.com/2007/10/10/as2/as2-contactform/) model.
