Problems with the e-mail contact form

Hello

I've tried tutorials about as much as I can find online to create a contact form within my flash who sends me automatically when a person completes the forms, including a very good step by step, to VTC. What I found is that most of these tutorials start with the assumption that you create the contact form on a blank canvas of flash, that is the reality, is not always the case. Although sometimes I'm able to get forms to work if I do it on a brand new Flash animation at the time wherever I try to recreate the form in my current flash file, it stops working. For the most part, I tried to recreate the contact form as a separate film within my flash file on its own layer and tried to place the Submit button in the form of contact and outside it - film or also works of course.

Anyone could guide my in the right direction? With CS3 btw.


Here is the info:

So according to the picture, my contact form is called 'mcForm' which is a clip in the larger .fla on its own layer.

flash1.JPG

The actions that are associated with the 1st image in the layer of "actions" above are as follows:

flash2.JPG

Here is the code itself repasted:


-----------------------------------------------------------

Stop();

var gatherForm:LoadVars = new LoadVars();

Send form


function sendForm (): Void
{
gatherForm.receipient = " " [email protected] "; "
gatherForm.realname = mc_form.txt_name.text;
gatherForm.subject = "form results."
gatherForm.email = mc_form.txt_email.text;
gatherForm.comments = mc_form.txt_comments.text;
gatherForm.send("/cgi-bin/formmail/formmail.pl","blank","POST");
}

End to send the form


Begin button actions
mc_form.btn_submit.onRelease = function (): Void
{
If (mc_form.txt_name.text == "")
{
_root.gotoAndStop ("Error")
}
on the other
{
sendForm();
_root.gotoAndStop ("OK")
}
}
End button actions

----------------------------------------------------------------

Thanks a lot for all the help that can be provided!

It's AS2 code, but you have posted in the forum of AS3.  Which version of actionscript is your file configured to use?

Tags: Adobe Animate

Similar Questions

  • A problem with the display in a form with a ScatterGraph

    Hi all!
     
    Now, I want to do an image that can be expanded outside and inside with the viewport in a form with a ScatterGraph window. I tried previously to do this picture as a backdrop, but the backgroundpicture cannot be zoomed with the display window. How can I solve this problem?

    Here is the picture:

    Or I have to calculate a large amout of points to sign on the coordination of xy without the image, and how can I register quickly because it takes a long time to calculate.

    Hello

    You can zoom/dΘplacer an image as well as the plot in charts. Here is a snippet of code showing how you can do it.

    Normal
    0

    fake
    fake
    fake

    EN-US
    X NONE
    X NONE

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    MSO-style-priority: 99;
    MSO-style - qformat:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin-top: 0;
    MSO-para-margin-right: 0;
    MSO-para-margin-bottom: 10.0pt;
    MSO-para-margin-left: 0;
    line-height: 115%;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    mso-fareast-font-family: "Times New Roman";
    mso-fareast-theme-make: minor-fareast.
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin ;}
    table. MsoTableGrid
    {mso-style-name: "Table Grid";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style-priority: 59;
    MSO-style-unhide: no;
    black border: solid 1.0pt;
    MSO - border - themecolor:text1;
    MSO-border-alt: solid black .5pt;
    MSO - border - themecolor:text1;
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO - border - black insideh:.5pt United.
    MSO-border-insideh - themecolor:text1;
    MSO - border - black insidev:.5pt United.
    MSO-border-information - themecolor:text1;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin ;}

    Image img =
    Bitmap.FromFile ("myImage.jpg");

    in pixels, this is the place
    where the image will be drawn

    RectangleF initialRectangle = Rectangle.Empty;

    in the data, to map coordinates the
    image

    XRange range;

    Range yRange;

    Private Sub PlotMyData()

    {

    plot your data here

    xData double [] = new double [] {3, 5, 7, 5, 8, 3, 7, 8, 2, 6};

    Double]
    yData = new double [] {9, 1, 2, 6, 8, 3, 3, 6, 2, 2};

    scatterGraph1.PlotXY (xData, yData);

    xRange and yRange define the plot area limits left-top to bottom-right

    xRange = new range (xAxis1.Range.Minimum, xAxis1.Range.Maximum);

    yRange =
    new range (yAxis1.Range.Minimum, yAxis1.Range.Maximum);

    RecalculateImageBounds();

    }

    Simply map the data coordinates
    values in pixels

    posts from the top left and lower right must be mapped.

    Private Sub RecalculateImageBounds()

    {

    PointF
    size = scatterPlot1.MapDataPoint (scatterGraph1.PlotAreaBounds,
    (xRange.Maximum, yRange.Minimum);

    initialRectangle.Location =
    scatterPlot1.MapDataPoint (scatterGraph1.PlotAreaBounds, xRange.Minimum,
    yRange.Maximum);

    initialRectangle.Width = size. X - initialRectangle.Location.X;

    initialRectangle.Height = size. Y - initialRectangle.Location.Y;

    }

    Just draw the image.

    Private Sub scatterGraph1_BeforeDrawPlot (sender As object, BeforeDrawXYPlotEventArgs
    (e)

    {

    RecalculateImageBounds();

    e.Graphics.DrawImage (img, initialRectangle.X, initialRectangle.Y,
    (initialRectangle.Width, initialRectangle.Height);

    }

    Make sure that the image is of good quality so that you can zoom in pretty close.

    I hope this helps.

  • Recent problems with the window mail

    Have used this e-mail as my default for a long time and am very competent until very recently. When you go to the e-mail address it shows, for example '3 new messages', yet alone is perhaps. I don't understand, is that "you want to compact the message box ' means, but I always click"YES "! But the problem which brings me here today is I seem to have lost a folder from the left margin of my email and do not know how to find once again, I do not know I did not remove.  Can someone help, please?

    Hello

    Your email address and the backup settings and then reset Windows Mail, and then reload your email and settings.

    How to fix most of the problems with Windows Vista Mail
    http://www.Vistax64.com/tutorials/62560-Windows-Mail-problems.html

    You can also check with the experts here: (re - ask your question)

    Discussions in microsoft.public.windows.vista.mail
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Windows.Vista.mail

    and:

    Discussions in Windows Live Mail Desktop
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Windows.live.mail.desktop&cat=en_us_95CDB0AB-DBA9-335F-7EFD-A863B73C5B13&lang=en&CR=us

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Problem with the Muse Simple Contact widget - subject changing e-mail address

    Hello

    I built a website for a client, using Adobe Muse, which is hosted by Business Catalyst. On the page of the site contact us I placed an Adobe Muse 'Single Contact' widget/shape with 3 three fields: name, Email and Message. The form worked as expected until the end of December 2014. Since then, the information in the 'Email' field are changed.


    The site has four different e-mail accounts through Business Catalyst. For the sake of discussion to call them:


    [email protected]

    [email protected]

    [email protected]

    [email protected]


    The Messages from the Simple of Muse's Contact form are sent to [email protected] .  When emails are displayed in Business Catalyst "Webmail" e-mail address that was entered in the field "E-mail" from Simple Contact Forms does not appear in the field "from". Instead, the "from" field shows that the e-mail was sent from may[email protected] regardless of what was concluded, by the sender in the Email of the Contact single form field. It don't make any difference this provider of e-mail address is entered in the field - AOL, Yahoo, Hotmail, Gmail, Roadrunner, etc - they are all changed to [email protected]


    Similarly, when the client tries to respond to the request of the customer the field 'To' is filled with Mail-4@website not the sender e-mail address is entered in the field "Email" in the form of Simple Contact of Muse.


    If I changed the form of Simple Contact of Muse so that mail is performed either [email protected] Gold [email protected] the problem exists on these accounts as well.


    I don't know where the problem lies, so I do research here and in the forum Business Catalyst. Does anyone have an idea what could be the cause and how to fix it?


    Is making it too difficult for the customer to meet the needs of their customers. I am really against a wall on that and have an angry customer who is willing to walkaway of Muse and Business Catalyst.

    Hi William,.

    The e-mail field you see in BusinessCatalyst is not filled by the customer in the e-mail of the form field.

    As far as I understand it, it is the e-mail ID used to publish the site through Muse. So change 'to' email field in Muse won't change 'from' email in British Colombia.

    Kind regards

    Neha

  • After the upgrade to El Capitan having problems with the application Mail

    Hello:

    Recently upgraded my Mac mini to El Capitan. Before the upgrade (from Mountain Lion), I got Thunderbird mail application works perfectly access my GMail account and my Hotmail account. Now, I have no problem with Hotmail and Gmail keeps asking for the password to connect to the gmail imap server. I have TBird in my laptop Ubuntu Linux and Windows too and that you have not had any problems like that. Any help to solve this problem is appreciated. Thank you.

    Try this: https://support.google.com/accounts/troubleshooter/3178296?hl=en

  • Problem with the e-mail icon blackBerry Smartphones

    My text messages started showing both text message icon and the icon of e-mail (all). All emails coming through my Blackberry 9320 I can only access once the desktop computer (where of alerts for received text/missed calls / emails shows just under the 'time' at the top of the screen).

    Anyone know what the problem with my camera? and how can I solve this problem?

    Thank you.

    OK, clearer... Thanks for that.

    Did you do a reboot of the device?

    Perform a simple reboot on the BlackBerry this way: with smart BlackBerry poweredphone, remove the battery for a minute and then reinsert the battery to restart. A reboot in this manner is prescribed for most defects and errors of operating system, and you will lose any data on the device doing so.

  • Problems with the registration of Contacts to the allowed senders list.

    Lately, I've seen on this forum where people are struggling to save the contacts to their list of senders allowed to ePrint Center. The problem has been described as one edits the list or it creates for the first time, adds their contact email address, and then it disappears and none of the contacts have been saved.

    Here is the workaround I would use adding and registering on the list of senders allowed in ePrint Center. I had people report success using this method. I hope it helps.

    1. connect to ePrint Center

    2. click on the senders list and add the user as usual.

    3. click on the Save icon after adding the address - do not sign of ePrint Center.

    4. then send an email to the printer from this sender you just added.

    5. once the e-mail has been received by the printer disconnect and then come back in ePrint center and check the list of senders.

    I hope this helps the community!

  • Problems with the application mail in Windows 8

    Original title * app email windows problem 8

    my windows mail 8 app suddenly stopped receiving and sending e-mail, but they are received in the mail from bt

    Hi Neil,

    Thanks for posting your query on the Microsoft Community.

    As described in the question, I understand that you are unable to send and receive emails.

    This issue would have occurred due to corruption Mail app.

    I need some information to move forward.

    1 did you changes to the computer before the show?

    2. which email account you set up with Windows mail app?

    I suggest you follow the methods to check if it solves the problem:

    Method 1: Run the Windows 8 App troubleshooting tool.

    This utility automatically solves some issues that may prevent your running applications, including the suboptimal screen resolution and security or incorrect account settings:

    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    Method 2: Follow the instructions in the link below:

    What to do if you have problems with a soft

    http://Windows.Microsoft.com/en-GB/Windows-8/what-troubleshoot-problems-app

    I hope this helps. Please let us know the results. We will be happy to help you further.

  • Problem with the e-mail software

    Hi, I just bought a new computer with windows 8 on it. The e-mail program installed (do not know exactly what!) seems very basic and does not have any provision to create folders to save, or mail sorting. Is it me or I need to install a different e-mail Manager. Ive mucked all day trying to solve this problem but I am about to give up. I tried to download windows essentials, but used to work either, can not even install! First thoughts is regretting the purchase and to stay with XP, but now that I have? Can anyone help please? Dave.

    Original title: E-mail

    The Mail App is very basic, and there is no POP3 accounts. As you should do if you have Win7, download an e-mail client.
     
     
     
  • Background with the size of Contact form / Scroll together on all screens

    I'm doing a landing page. It's a background image with a contact form and social media icons. I tried so much to make the bottom is fit for different screen sizes or load centered then to scroll vertically to see the bottom. But I can't get the contact form and social media icons is fit to the screen with it or load centered and scroll with the background. I just want him out of the background and objects load and then scroll together or just loading to adapt to any screen. Here is the site: canwetakeajoke.com

    Thank you!

    You can lock the form on the page that will fix the position of the form, based on the reactivity with the current version, we cannot achieve this behavior.

    Thank you

    Sanjit

  • Problem with the use of disabled form elements

    I have a simple form with a file input element and a "submit" button.
    When I hit submit I want to disable the input file so I call a javascript function on the "onClick event" to do.

    The problem is when the javascript disables the file entry, then subsequently Coldfusion cannot use the value of the input file to download the file that he don't think that there is...

    Does anyone know a simple way around this?
    Merci )

    It was a requirement of the user to disable form elements, even if a file has been downloaded.
    I disabled the Send button by using a hidden field as suggested. That should be enough, because even if a user searches for a file to download, they can not cocoralie the form.
    Thanks for your help...

  • BlackBerry smartphones of the problems with the e-mail service?

    Hello

    Is anyone else having problems with receiving emails on their Blackberry this morning?

    Thank you

    No here.

  • problem with the creation of contacts

    When you create a contact, I encountered a bug

    Video sharing is not possible to leave the photo only

    This bug occurs if you enter a phone number keyboard and select 'create contact', enter the name or not enter (not essential) and lock the phone after unlock you will see a bug

    Hello

    If you believe that you have identified a software bug, you can let Apple know here:

    https://www.Apple.com/feedback/iPhone.html

    (This is a supportive community focused on user - you do talk with Apple here).

  • Problems with the e-mails that do not exist

    Hello
    I had a problem when sending many emails. The database of my company that I use is old and often emails that are there do not exist, and when I send the error msg like 300 or more emails any user who does not exist interrupts the transmission. It is therefore worrying.

    How to make Thunderbird to ignore these messages and send mails on another account?

    Thunderbird is not a marketing engine, it is designed for use of personal mail.

    Sending mail in volumes you mention is a violation of the terms of use of almost every ISP in the world and will probably see your black mail server listed.

    As much the corking, Thunderbird wants to make sure that you understand that your mailing list is rubbish. Otherwise, we get complaints that the mail has not been delivered.

    Anyway, to take Thunderbird in offline mode by clicking on the icon in the lower left corner, your mail and then take it online. by clicking on the same icon again.

  • Problems with the e-mails and windows calendar

    Laptop computer Windows on this new calendar is denied access so how do I access and I can't receive emails only to send them. What is this problem?

    Problem must be the wrong configuration. Visit the support for the messaging provider page. You will find all the info on the good account and server configuration.

    You try to configure Windows Mail?
    If you need some useful tips, visit http://www.microsoft.com/windows/products/windowsvista/features/details/mail.mspx

    Good bye

Maybe you are looking for