First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Roderick | Website: http://www.discmarketing.com

Hey all you flask kit users. After getting advice form the other great contributors to this site for years,I finally have something to give back.

A customer of mine has been driving me crazy with every type of Form and E-Card request under the sun. As you know it's not a simple task to setup a database on a web site to handle submissions from visitors.

That's why I helped the people over at http://www.boomaform.com develop an easier way to do it.

If you take a look at the boomaform_sample_form.fla you'll notice that it calls a Javascript from the html form. That javascript call loads all the variable form the HTML page that are needed to make any form work.

Just load both the files included here to your site, setup a free account for the site at http://www.boomaform.com and give it a try.

Now back to the tutorial.

When the html page loads it gets all the specifics about what server its on, the form to send to you, and the emails to use. It then loads them into the html fields in the form.

As soon as flash loads up it grabs the data by running the javascript with a call to: getURL("javascript:loadVarsFromField();");

The function is called in the browser and it starts loading what ever is in the html to variables named the same in flash.

Thats cool because that lets anyone who can edit html pass variables into your flash movie.

Because the guys over at boomaform have an ecard engine, the form can then load all those values back into the Flash file when the user gets the card.

Their engine stores every variable sent buy the getURL(postURL, "_self", "POST"); thats on the submit button and returns it in the html.

You could use that for just about anything including making games that send themselves and the last players high scores to friends inboxes.

Check it out in action . http://www.boomaform.com/bft/SampleForms/flashtoFlash.html

Roderick

» Level Basic

Added: 2003-06-30
Rating: 4 Votes: 32
(10 being the highest)
» Author
Flash / Director and ASP programmer
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: doc_chin7
» Description:

The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.

Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.