1 Reply Latest reply on Jun 22, 2010 3:50 AM by nishadmusthafa

    Email form help


      Hey guys,


      I have created the following design done in flash catalyst.


      I have a text box and text inside  the text box...also a button beside it.


      Enter  your email here



      I want the  button to redirect he email entered to my email address, also when the user clicks on the text box i  want the "enter your email here" to disappear, so the user can enter  thier email address.


      I have exported the file to FXP so i can edit the code in Flash builder, I am a novice when it comes to coding. Can one of the genius here help me get the

      code for the button to do this.


      Your help is greatly appreciated.




      Thank you



        • 1. Re: Email form help
          nishadmusthafa Level 2



          Assuming that is a text input with the following kind of code.


          <s:TextInput text="Enter your email id here" id="myInput" focusIn="myInput_focusInHandler(event)"/>


          and the handler function looks like this


          protected function myInput_focusInHandler(event:FocusEvent):void
                          // TODO Auto-generated method stub



          Dont think you can send emails like that. You could call a script on your server that does that.


          Hope this helps