ActionScript 2.0 :: Verify If User Insert An Email?
Jun 22, 2003I want to verifiy if user insert an email. example:
[Code]...
I want to verifiy if user insert an email. example:
[Code]...
I am 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";
[Code] .....
I have 2 input boxes one i will add an email the second i want it to compare the details.So i add a persons email, the second box the same email would be added and when i press submit it compares the two and if correct goes here... im using something like this.
on(press) {
if( usr==uName && pwd==pWord) {
gotoAndPlay(2);
[code]....
I have used the kirupa tutorial on a flash email form and it works GREAT! The only thing is I want to have required fields that need to be entered in for the form to send. If the user doesn't enter anything, it will ask them to in order to send the email.how I can do this or adapt it to the kirupa tutorial code?
View 1 RepliesI built a Flash email sender, its very simple, it just sends all the variables in the fields, no cross checks or nothing.Problem: here's what the end-user email looks like:
Subject: Message from <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">Smiles</FONT></P></TEXTFORMAT>
Name : <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="14"
[code]....
I am successfully inserted a PHP-script that communicates from the Flash-file. But the tutorial I found doing this, didnt have a guide on how to insert checkboxes in the Flash-file and how to configurate the PHP-script for more input objects.
In the first place I am interested in inserting checkboxes, would be glad if anyone had a good guide on how to further develope a email php script.
I wanted to have 2 email forms in a flash site. One to go to one inbox and another to go to another inbox. That's easy enough to do by editing the PHP, but not the AS3. The following code works for the first email form, but not the 2nd because of duplicate actions."What do I need to edit in the following AS3 code to get it to submit a second form?"
[as]
stop();
contact_name.text = contact_email.text = contact_subject.text = contact_message.text = message_status.text = "";
send_button.addEventListener(MouseEvent.CLICK, submit);reset_button.addEventListener(MouseEvent.CLICK, reset);
[code].....
I created a rigged character in Flash Prof. CS 5.5 that has a mouth that moves when the user types letters. Is there any way I can insert a line of code that will simulate the user hitting a key and thus trigger the functions that I have already written?
View 7 RepliesI know how to use AS3 to record sound from the user and enable them to save it to their computer. However, I would really like instead to allow them to either send it to an email address right after recording (without them having to save it to their computer first and find the file), OR to let them save it so that the site owner can access it (They would know that it was happening.).
View 1 RepliesI am using flash mx I have a form, with a confirmation page that comes up when the user clicks on the submit button.
I want the user to also receive an email confirmation.
I have a php file someone gave me to use for this...
my problem is, when the user clicks on the submit button, it calls the actual php file.... so I know I have coded it wrong in flash..
here is my flash script;
globalStyleFormat.background = 0xCCFFFF;
globalStyleFormat.scrollTrack = "0xCCFFFF";
globalStyleFormat.textSelected = 0xFF0000;
globalStyleFormat.applyChanges();
[Code].....
i have following xml
<?xml version="1.0" encoding="UTF-8" ?>
<Users>
<User>
<ID>SMSUser(63)</ID>
[CODE]...
How can i show Email in textbox when user select any item in the grid?
I have the following which produces a trace if the user does not type an email address when testing locally, but nothing when testing outside of Flash.
[Code]...
i have few button to let user click and the symbol will insert into the input text. i change my input box to 'symbol' but i facing the problem that i can't insert character other than symbol...
View 6 RepliesHow can I send email to several email addresses by clicking the submit button one time. I am using Flash AS-2 .Shall be glad for any reference.
View 6 RepliesI don't know if this is too much to ask but could someone give me a quick overview on how to create an email form that actually sends the information to my email? I have the form created, and I'll post the .fla file (I allow a laugh at my elementary flash movie. This is just a final project for an intro to flash class), and I understand I'll need the .asp file from GoDaddy setup on my hosted space.
View 3 RepliesI want to make a button, when clicked, open a blank email in outlook express to an email, with a subject.i take it you would use:[code] just wanted to show you what i meant! that was just a random stab.
View 3 RepliesI've created a form in flash to for customers to send email from the website. I'm using action script 3 - (mailto: ) There are two problems.
1) It doesn't send. A blank email form comes up that the user has to fill out - doesn't work with their email client.
2) How can I get it to validate?
iam trying to create an email form with flash cs4. so i've designed the layout and i've written a script to check that the details given are correct. but i am having problems while i am trying to sent those details to my email. here is the script after the details were checked:
[Code]...
here is the issue I am having: I have a button in my main movie and after it is pressed i want for it to open a pop up window right next to this button with some information in it. I have a email button so when you click on that button I want another window to open right next to this email button with my email address.
View 14 RepliesHow can I verify an swf has loaded, then tell it to do something?
loadMovie("clip.swf", "mcHolder");
I am making a simple tool for use around the office that takes up to maybe up to 8 inputs (text, combo box, t/f, etc)What is the best way to make sure that each field has something entered or selected? I am not worried about malicious code.
View 1 RepliesI'll make it short: is it possible to get the user's facebook email adress (or a hashed email adress), so I can let's say compare his facebook email with his email in my database? I'm trying to get a FacebookUser and then use facebookUser.email_hash but that returns nothing.
View 1 RepliesI'm currently using Macromedia Flash 8. I'm doing up a website purely on Flash, in of the page it involves a "Contact Us" where there is a Form. I need these informations to be collated and send automatically as an email to my email account. I've tried to follow some scripts from this Forum. But when i click the Submit button, nothing happens and I did not receive any email at all.
[Code]...
I have a file setup that will email name, email, and message when the user inputs it in the appropriate input box. Is there a way to email dynamic text within that same email. Im using php to send the email to myself. if you need more info let me know
View 2 RepliesIs there a class in AS3 that will allow you to check if the pc on which the player resides has a current internet connection?
View 1 RepliesI am working on a CD project in flash. I have a main Projector(.exe) file which call other swf files. I compile all these files(.exe and swf) to installable CD which copy all the files on the local hard disk and make a shortcut on the desktop.
Now the problem is that I want to run my .exe file only if CD is in CDROM otherwise it loads another swf(from the local hard disk) which shows the message "please insert the CD and restart the application".
What I want to do is what parseInt and parseFloat does..basically I want to take ANY string and a radix value from 2->36, and then cut the leading part of the string that makes it a value in that radix.Let's call this method "cutValueFrom( str:String, radix:uint ):String".[code]and yes I could technically bang this out in some long ugly loop... but I want it faster then that. parseInt does it speedy like, I'm looking for something comparable, hence my desire for a good RegularExpressio.
View 2 RepliesI am working on a CD project in flash. I have a main Projector(.exe) file which call other swf files. I compile all these files(.exe and swf) to installable CD which copy all the files on the local hard disk and make a shortcut on the desktop.
Now the problem is that I want to run my .exe file only if CD is in CDROM otherwise it loads another swf(from the local hard disk) which shows the message "please insert the CD and restart the application".
[AS3]
import flash.events.SampleDataEvent;
var data:SampleDataEvent = new SampleDataEvent(SampleDataEvent.SAMPLE_DATA);
[/AS3]
compile it with Flex 3.6 and run local works, then run in browser, works. compile it with Flex 4.5.1 and run local works, then run in browser, throws exception:
[Code]....
I am a total newbie and just learning from resources available here.. Today i was trying If statements to verify if the password entered in input box named "pass" . I code is as following..
on (release){
if (pass =="acc"){
gotoAndPlay(10);
}else{
gotoAndPlay(15);
}}
Even if I enter the correct password it displays the content in frame 15.