First time here? First time here? Newsletter Signup Newsletter
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


» 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!


  • 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: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
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: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.