Advanced Flex 3 Contact Form

October 26th, 2008 by Biro Barna

To make things a bit different, I decided to create a Flex 3 Contact form just to show all the “anti-Flex” people out there that Flex is not only for hardcore development and ugly graphics. With a bit of effort and time, anyone can produce really good looking applications in Flex Builder too ( and I didn’t even bother using graphics with this example, I only edited the look of the component and I think that the results is quite good ).

Final result ( sneak peek ):

I didn’t want to complicate stuff to badly with this example, my goal was to create a good looking and clean Flex 3 contact form ( I’m sure that many of you guys out there are really bored of all those simple Flash contact forms ) and obviously, to add more “advanced” features. To spice things up a bit, I played around with Shared Objects too. Once the user sends the E-mail he’ll be provided with an option “Save personal information or Not”. Ok, what does this do ? Well, it simply creates a shared object and stores your personal information on your computer for later use. This way, whenever you open your PC and visit this site, you’ll always have certain fields filled out, saving you time.

Obviously, this can be done more complexly too, shared objects aren’t really hard to use but it’s a decent example on how to use them and once you understand how they work then you can experiment with your own stuff ( for example: create a shared object for your games so that when users revisit the game then they’ll already have the Name filled out… or any other features ), it’s really up to everyone’s imagination.

The working example can be viewed here: Working Example
You can download the source files from here: Advanced Flex 3 Contact Form

Of course, the source files contain both .mxml and .php files that were used when I created the example. I really hate downloading examples that are only partially working ( although they have their ups and down ) so I decided to always provide all my files when posting an example so that anyone can easily play around with it and hopefully learn something from my examples.

Enjoy.

Posted in Flex Builder 3 Professional

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.