HOW TO : Load Email Address From A .txt File For A Mailto Button
I have been trying to do this for a while and have fallen on my face. I can't get my head around loadvars..... can't spot similar anywhere on the board, so here goes....
i wish to have a button which on release loads an email address from a text file, then sends using on(release); "mailto:email@email.com"
So that the recipient can be altered in a text file by changing the variable there, not in the flash file.
any ideas how i do that !?!
thanks very much for any hints in advance.... C
FlashKit > Flash Help > Flash ActionScript
Posted on: 12-19-2006, 09:41 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mailto - Email Address Is A Vairable
Hi There I'm using flash MX
how do i make tyhe mailto command mailto an email addres that is with in a vairable?
the vairable is email_tx
getURL("mailto:+email_tx+"); - doesn't work but does anyone have an idea?
cheers, stu.
Load Variables Email Address From Text File Anyone?
I have the code below attached to a movieclip which i am attempting to use to call in an email address from a text file. The idea being that the textfile can be altered by a luddite, and the recipient email adress changed in the flash file.... but i'm not doing too well...!
The best i have achieved is undefined email or garbage.
all help greatfully received. thanks.
___________________________________
on (rollOver) {
this.gotoAndPlay(2);
}
on (release) {
loadText = function(){
loadText = new LoadVars();
loadText.load("email.txt");
loadText.onLoad = function() {
emailAddress = this.eAddress;
}
}
submit.onRelease = function(){
getURL("mailto:"+emailAddress);
}
}
on (rollout) {
this.gotoAndPlay(1);
Send Email Address Through Flash File Using PHP
Sir,
I want to send my Email address and some other information like name ,comments in a flash file using php and want to get these information at my desire email address.
please give me solution deeply bcoz i am begginer in flash.
Slight Problem With Email (mailto) Button
I have a button with the following Actionscript:
on (release){getURL("mailto:me@myemail.com")};
Problem is that when clicked, the web browser loads a blank page first and then the email package loads. I do not want to load a blank web page. Can anybody advise what I am doing wrong please???
Thanks
Dynamically Add Email Address To Button Script
Hi all,
If I load an email address into a dynamic textbox, is it possible to have that email address dynamically inserted into a mailto: statement?
So, if I have me@thisaddress.com as the email, the button script is dynamically configured to include this button script:
code:
on (release, releaseOutside) {
getURL("mailto:me@thisaddress.com?subject=For more information");
}
Thanks for any ideas, hints, tips on how to do this.
Code For Button To Open Email Address?
I have a button in flash and when click I want it to open for them to send an email:
If you go here and click on a email link it will open the outlook.
http://www.knac.com/help.asp
Subscription Button For Sending Emails To My Email Address Please Help
On my site I would like to develope a subscribtion button where someone can simply put in there email address and It get sent to my email. I am really not sure though how to use php. Could someone be so kind to provide with a fla, where I could just replace some simple email fowarding html onto the auction script to make the feature work.
In the past I have download somone fla's off of flashkit.com but they are a little more advanced and hard for me to work. Any easier systems or fla's would be greatly appreciated.
Mailto: Any Address
I am working on a holiday flash card and the client wants to ad a sent to friend button. I know how to do this if it is going to be sent to just one specific person like to a webmaster but what is the actionscript to make it open a blank email so the user can fill in the email address and send the link to a friend.
Thanx
Send An Email With The Users Email To An Email Address
ok..the subject may be a little confusing but this is what i have...
an input textbox where viewers type in their email address
a submit button
i want it so that when you hit submit after typing in your email address it sends an email to your@address.com providing you with whatever the person typed in the input textbox
is this possible without using php or asp or whatever?
peace
spen
SWF File Attached To Email Won't Load Xml
Hey all,
Any ideas on this - I've attached an swf file, that calls on an XML file from my website, to an email to send out to clients. Unfortunately the SWF when run from inside the message box (as an attachment) doesn't seem to be able to access the address of the xml file, even though the internet is connected and the URL is correct.
this is a bit of a big spanner in the works. I've tried changing the publish settings to both "use network only" and "use local files only" but that doesn't solve the problem unfortunately.
Any help would be greatly appreciated!
Cheers
Pix
Mailto URL Email Formatting
I'd like to know (if possible) how to format the body of an email by using the getURL mailto action.
mailto:test@testing.com?subject=test&body=Name:
I can put a couple of words into the body quite easily but how do I put in Breaks ?
I want to have fields such as
Name:
Position:
etc:
So that the recipient can complete and send back.
Email/mailto Function.
how do i get a button to perform the mailto function so it opens up a blank email addressed to my desired email address?
Email Popup (mailto)
newbie
need to have users email program to popup when selecting an email address.
tried
on (release) {
getURL("mailto:name@domain.com");
}
nothing is happening. assuming there is more to it. cant find much in help files.
thx again
Form To Email Address
I have an swf file, that is loaded (loadmovie) into another swf file. I am wondering how I can make a form submit the users email address (for mailing list) I have it all created, tried about 3 different types, both cgi & asp, and no luck at all. I would appreciate help, because I really need to get this working.
Thanks!
Email Address Submission?
I have an swf file (flashbottom.swf) which is loaded into main.swf. It all loads and everything, and in flashbottom.swf I have a form for mailing list. All they have to enter is their email address then press the submit button. For some reason, it just won't work! I've tried many different tutorials and open source, still no luck. I'd appreciate any help!
P.S. I don't want a mailing list script, just something that sends to my email, because I would like to add addresses manually
Check 2 Email Address
Hello.
I have a recomend bit on my site.
I have the script to check one e-mail but I cannot work out how you can check two.
The script I'm using at the moment is:
on (release, keyPress "<Enter>") {
if ((vemail.indexOf("@") != -1) && (vemail.indexOf(".") != -1) && (length(vemail)>5)) {
action = "Send";
loadVariablesNum("membership.php", 0, "POST");
nextFrame();
} else {
vemail = "PLEASE ENTER EMAIL";
action = "";
stop();
}
}
How can I alter this so it would check two ??
The script above checks the - TEXT BOX: "vemail" but i need it to do the same thing with TEXT BOX: "femail" too.
If you want have a look at what I done so far , check http://www.feneo.com (Its at bottom Left)
I'm so stuck. Pleeeeeeeeeease help
Thanks in advance
Dihan.com
Linking To An Email Address
Hey all, Im pretty new to flash and i am currently working on a flash site that needs to be able to link to an email address. I have tried many things but none work. How would i accomplish this?
Thanks
KaOs
How To Link Email Address
Hi guys...I dont practice much in Flash and now I am trying to create a website.....
Can someone tell me how can I link an email address to a Name? I cannot figure that thing out...
thanks
Malik
Email Address Linkage
hey, i want a link on my website which will enable the user to email me when clicked just like on a normal html site. i tried linking it to go to a webpage then typing "mailto:email@address.com" but the link doesn't work. how can this be done? your help would be much aprepriated
cheers. mark.
Linking To An Email Address? How
Though I am not a newbie... but this IS a newbie question. I cannot figure out how to link to a 'mailto:' address. I want to link a line of text to an email address. I have a line of text I have converted to a button and then with object actions I have added "on mouse event" "get URL", then inthe url box I added the html command 'mailto:name@place.com'
This did not work... what do I need to do?
Email Address In Flash
I have an email address on the stage that when user clicks on it, the mail browser would open up. How would I do this?
Thanks in advance!
Submit To An Email Address [F8]
This is the code I have on my submit button for a email address to be sent for a newsletter subscription to a site the email bit is working but the messages are not poping up in the other field I have vard as EmailStatus i.e "Not valid E-mail address" & "e-mail recorded";
on (release)
{
if (newsletter.length < 7 || newsletter.indexOf("@" == -1 || newsletter.indexOf(".") == -1)
{
EmailStatus = "Not valid E-mail address";
} else
{
loadVariablesNum ("index.php", "0", "POST");
newsletter = "";
EmailStatus = "e-mail recorded";
}
}
any Ideas where im going wrong????
Nuub
[F8] Linking Email Address To Another
Okay, so I know how to make a button that opens up a user's email application with the email address already loaded and ready to send.
What I want to do, is take that email address (the email address I made up for the site I'm working on, lets say "email@working.com") and have it automatically forward to a different email address/account that the user would be unaware of.
This is possible right?
URLRequest With Email Address
I'm assembling a form that is going to be processed by someone else. They told me to change the "action" field of the form (which I'm sending via URLRequestMethod.Post) to an email address instead of the script file they were using. They said they could take the raw POST data and process it as needed.
Assuming this is true, is the syntax just:
URLRequest("name@domain.com");
or do I need to put in a "mailto" or something else because it's an email address instead of a regular URL? Or use some other function?
Thanks,
Bob
Validate An Email Address
Hello
I am using this to validate email addresses and it does not seem to work:
} else if (!email_txt.length || email_txt.indexOf("@") == -1 || email_txt.indexOf(".") == -1) {
status_txt.text = "Invalid Email.";
I would, in any case, prefer to use the following server script for validation purposes:
<%
'Email
re.Pattern = "^w+@w+.w+"
If Not re.Test(email) Then
errorArray(1) = "red"
ErrorMsg = ErrorMsg & "<center>Please type in a valid email address</center>"
end if
%>
If I use this server script, how do I begin to show it in my movie, please? What Action Script do I use to 'pull it in' from the server and show it?
Many thanks
Steve
Asp Script To Email Address
Hello,
I followed the Macromedia tutorial to create a Flash MX form and send the info to an ASP page on the server. I need now to insert the ASP code into the ASP page to send the info to my email
address.
Can anybody help?
Many thanks
Magyar
Email To Certiain Address
This is what I would like to do. I have a flash movie, which will be on the internet, and I have a textbox and a "submit" button. When you type some information into the textbox and hit 'submit' flash automatically emails you the information. I want to do this because: not all people have out look, so if I use the mailto: function it wouldn't work.
Is there any way possible for flash to achieve this?
Zeka
Posting A Email Address
Hi All
I'm trying to place a simple input field and a Submit button into my flash so I can collect addresses for a newsletter but when I do a search online for an example....all I get is massive forms with loads of code I don't need. Please can anybody help me.
Email - Hide Address
How do I hide my email address from spambots using perhaps Javascript?
I want to put in a button with my email on in within my swf. which when clicked on brings up an email page (which I can do!) but then I don't know how to hide it from deviant sources. I've tried fiddling around in the html but I don't quite get it.
Please write to me like I'm truly stupid and know nothing!
cheers kath
Email Address Checker
hi! i downloaded a form from this site & edited it into a subscribe to a newsletter form. the form is working but my problem is how to make the form check whether its a legitimate email address? if its not, the submit process should not be forwarded to the receiving email inbox.
here is the code:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}
hope u can help me with this.
mca_2005
Email Address Grabber
I'm looking for a cut-and-paste solution or a nice tutorial on how to set up a simple email-grabbing operation using an input text field and the Push Button component.
Maybe I'm a bonehead, but this has proven to be a slightly daunting challenge.
Would it be easier to do this simply with an input field and a regular old button instead of the component?
thanks!!
Email Address Link
Hi,
I wanna put an email address link in my flash site. When someone simply clicks on the address, i just want the default software to open (e.g. outlook etc.)
Cheers
Verify Email Address - Help
Hi all,
Im trying to create a form in actiocsript that verifies correct user input before submitting. So far I have the form checking that NewEmail contains characters, an "@" symbol and a "." symbol.
However is there code that can check that the layout of the email is correct before submitting i.e. <"sometext"@"sometext"."sometext">
Also I need to insert a seperate name verifier to check that there are no numbers included in a text box.
This is my code so far:
_global.detailsCheck = function() {
if ( _root.NewEmail.length == 0 | _root.NewEmail.length == "" | _root.NewEmail eq "") {
// Alerts the user that their password is incorrect
_root.Guide2 = "Please Fill All Detail Fields";
// Stops the movie from going to the next frame
stop();
} else if (_root.NewEmail.indexOf("@") == -1) {
_root.Guide2 = "Please Give A Valid Email Address";
stop();
} else if (_root.NewEmail.indexOf(".") == -1) {
_root.Guide2 = "Please Give A Valid Email Address";
stop();
} else {
//submit details
gotoAndPlay ("ExitFrame");
}
}
Any help would be much appreciated...
Asp Script To Email Address
Hello,
I followed the Macromedia tutorial to create a Flash MX form and send the info to an ASP page on the server. I need now to insert the ASP code into the ASP page to send the info to my email
address.
Can anybody help?
Many thanks
Magyar
Email To Certiain Address
This is what I would like to do. I have a flash movie, which will be on the internet, and I have a textbox and a "submit" button. When you type some information into the textbox and hit 'submit' flash automatically emails you the information. I want to do this because: not all people have out look, so if I use the mailto: function it wouldn't work.
Is there any way possible for flash to achieve this?
Zeka
Posting A Email Address
Hi All
I'm trying to place a simple input field and a Submit button into my flash so I can collect addresses for a newsletter but when I do a search online for an example....all I get is massive forms with loads of code I don't need. Please can anybody help me.
Help Set Email Body Content With Mailto:
I'm using getURL(mailto to open up the user's default mail client and I know how to set the email subject and body, but what I dont' know how to do is make a link in the body content.
I want the body content to say:
"Click here to see my drawing"
with "Click here" as the link to the drawing.
All I've been able to do is set static text in the body content, how do I make a link?
Here's my code:
Code:
send_btn.onRelease = function () {
subject= escape(yourName+" has shared their artwork with you!")
linkText.html=true;
linkText.htmlText="<a href='http://www.newyorklife.com'>Click here</a>";
body = escape(linkText+" to see my drawing");
getURL("<A href="mailto:"+sendThis+"?subject="+subject+"&body="+body">mailto:"+sendThis+"?subject="+subject+"&body="+body);
}
I've tried various things with the body variable, but all I get is either plain text, "undefined", or nothing.
Please tell me how to do this!!! Thanks!
Checking Valid Email Address
hey
i'm trying to make a sign up password movie in flash
and i need the code to check if the email address field is a valid email address
eg. bob@bob.com valid
bob@bob not valid
etc etc
thanks
Submit Form To My Email Address
hi!
can any body has a solution of my problem.
i've a form in my flash file. it has fields like 'Name', 'City', 'Country' etc.
now i want that when the user press the 'Submit' button, i recieve that form through my email. i mean how can i submit this form to my email address.
i shall be very thankful if any body can help me.
Using Actionscript To Validate Email Address'?
wotcha,
here's a toughy... how do i get a pretty picture into my flash movie....
ha ha
only joking,
SERIOUSLY
I need to validate that email addresses entered into my flash form are valid, i.e. they have a @ and a .
And also preferably that phone numbers are the right length.
I'm pretty damn good at actionscripting logic and the like, but i'm ****e at bloody maths/variables/arrays etc.
I've got an amazing javascript plugin thing for dreamweaver, but it would be a hell of alot better to do it in Flash.
Many thanks in advance...
Chris
http://www.fumelondon.fsnet.co.uk
Validating Email Address Format
Hi,
I'm writing a user registration form in MX
I can't get my email validation actionscript working.
I am checking the address to be at least 6 characters long and for '@' and at least one '.'
I would also like to make sure it contains just alpha numeric characters + '-' but the first part is enough of a challenge.
Has anyone already written a email validation script
or can you help debug mine.
Thanks for looking
Best Practice To Validate An Email Address?
Hi ppl,
I'm trying to define the requirments for email address validation. From what I have now I know I need to check to see if it contains the "@" and the presence of a dot. However, I'm sure there is some sort of function that does a more reliable validation. I'd appreciate any thoughts or suggestions on the matter.
Cheers,
McMurphy
|