1 Reply Latest reply on Dec 5, 2009 8:10 AM by robdillon

    Help with the Flash Form

    fiveflightsup

      Hi-

       

      Can someone please provide some insight into creating a form similar to the one in the link below.

      Any assistance is greatly appreciateed.

       

      http://microsites.audi.com/audir8/html/index.php

      (You'll need to to click on the "Send to A Friend " link to see what I'm referencing.

       

       

      Thanks in advance

        • 1. Re: Help with the Flash Form
          robdillon Most Valuable Participant

          I'm guessing that you mean the animation of the input textFields and the labels for those textFields. Here's my guess:

          1. Create the static textField for the label and put it in a movieClip so that you can attach mouse events.

          2. Create the input textField in a layer below the label layer. Put this textField in a movieClip.

          3. Use a mouse event, the mouseUp event,  to animate the input textField clip down to expose it when the user clicks on the label clip.

          4. Use a key event, the tab key, to animate the input textField up and remove, or hide the label clip.

          5. I'm guessing that there will also be a test in the input textField clip to be sure that the user has actually put some text into the input textField.

           

          Alternately, you could use masks to show and hide the various textFields.