Copy link to clipboard
Copied
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 |
Send
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
Jay
Copy link to clipboard
Copied
Hi,
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
event.target.text="";
}
Dont think you can send emails like that. You could call a script on your server that does that.
Hope this helps
Nishad