• home
  • forum
  • my
  • kt
  • download
  • Home / 2D Graphics / Flash / Backend /

    Simple forms and ecards

    Author: 2007-06-12 09:23:09 From:

    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.36 Votes: 30
    Hits: 1698
    » Author
    Flash / Director and ASP programmer
    » Download
    Download the files used in this tutorial.
    Download (158 kb)

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      3D (20)
      Math Physics (14)
      3rd Party (5)
      Navigation (60)
      Actionscripting (26)
      Optimization (16)
      Animation (32)
      Projector (9)
      Audio (46)
      Special Effects (112)
      Backend (25)
      Text Effects (65)
      Drawing (18)
      Tips and Techniques (41)
      Dynamic Content (25)
      Tricks (6)
      Games (66)
      Utilities (19)
      Getting Started (71)
      Video (10)
      Interactivity (21)
      Web Design (22)

    New

    Hot