Need help - new flash - button submit Simple script

Hi all

New to the world of flash. I'm sure it's simple, but I am unable to understand.

The script:

mySubmit.onRelease = function() {}
mymail = "[email protected]";
userName = name_txt.text;
userEmail = email_txt.text;
userMessage = body_txt.text;
If (_root.userName == "" | == userEmail ' ' | userMessage == "") {}
_root.body_txt. Text = "Please enter the correct information."
} else {}
getURL ("mailTo:" myEmail"? subject = Messageof:"+"name of user + with the Email address:" + userEmail + ", & body ="+ body_txt.text);
}

The error:

(* Error * = 67 exemplary symbol symbol No. 4, layer = Layer 6, setting 1:Line = 9: ')' or ',' EXPECTED
getURL ("mailTo:" myEmail"? subject = Messageof:"+"name of user + with the Email address:" + userEmail + ", & body ="+ body_txt.text);

Total ActionScript errors: 1 reported errors: 1

Can someone give me an idea as to where this elusive comma should be or must be in brackets?

Thank you.

Change the getURL for:

getURL ("mailTo:"+ myEmail +"? subject = Message % 20from: % 20" + userName + "% 20Avec % 20The % 20% 20 a ddress%20of:%20"+userEmail+"&body="+body_txt.text);

The problem is that you forgot to put the symbol of the concatenation in the mymail variable.

The other thing I changed I was urlencoded string subject (each %20 is a space) - this will eliminate problems in other places.

Tags: Adobe Animate

Similar Questions

  • Need help with Flash - really basic!

    Hi, I really need help with Flash and quick. I have to create an auto-run cd, but before I can create that, I have to make everything works! I took a class in College Flash, which up to 1 1/2 ago so im kind of knowledge missing!

    My first problem is as follows:
    I have the homepage, and it contains a button English and french.
    When you click on buttons, it brings you to the next page, either resourcesFr or resourcesEn.
    I tried to use the loadMovie script but and it works but the new page loads on the home page you can still see the English/french under buttons. How can I fix? I know its simple but I am short on time... Should I still use the loadMovie script?

    My other problem is that im trying to have another button to link to a folder. Use the script for getURL for this as well?

    Help!

    I was able to solve my problem... it was only the forward slash that were in the wrong way... so the correct code is:

    on (release) {}
    DRV = _url.substr (8.1);
    getURL (drv + ": / English/brochures");
    }

    Only took me 5 days... I think I need to buy a script book action! Laughing out loud

  • I need help to Flash the bios. I have an Aspire 5810TZ. I start and it just says: "acer".

    I need help to Flash the bios. I have an Aspire 5810TZ. I start and he just says "acer" and goes no further. I went to the download page for BIOS on us.acer.com and it has a zip file with 5 files:
    JM4151135.exe
    IN FLORIDA...
    GPC_V135.bin
    Readme.txt
    FLASH. BAT
    What should I do? I tried to copy the files on a USB key and turn on/off with Fn + ESC key. After the release the power button and pressed Fn - Esc another screen appears after 30 seconds. I gave up and gave her 30 minutes but it does nothing. I read another person that should be flashing power button online. I have to rename one of the files. Help, please!

    Aspire 5810TZ menu of frozen startup.

    I finally understand it.

    I couldn't start a back b/c drive, it me did not start anything.

    I followed this chain of logic:

    -Downloaded the bios (2.35 is the one that worked for me)
    -Find the exe file in the winflash file.
    -Extract the files in archive exe using the 7-Zip program
    -Find the .fd file and rename it to JM41X64. FD (I read in a forum was unique in my laptop)
    -Copied JM41X64. FD and FLASH it is. EXE on a USB
    -A the battery and the hard drive out.
    -With its trendy diet I supported Fn + Esc and that you press the power button once while ensuring that the Fn + Esc has been always held down.
    -J' waited 6 seconds and release the Fn + Esc and seen the flashing flash player
    -After about 10 minutes, restarted the machine and the bios as like new.

    Later, I found that there was a hard drive problem.

    I want you guys should help more. All I needed was the name of the JM41X64 file. FD and you don't know how many hours I put into trying to find how simpy bios flash. It is not that difficult for someone with a b.s. in computer science to learn how. Couldn't we a m.s. back b/c the bios drive was messed up. F12 didn't work.

  • I need help on the matrix of action script 3.0

    I need help on the matrix of action script 3.0

    [Ask in the correct forum allows... Left non-technical Forum Lounge for forum specific program... MOD]

    to apply a matrix for mc mat oppose:

    var mat: Matrix = new Matrix;

    mat.a = Whatever;

    mat.b =

    mat.c =

    mat.d =

    mast. TX =

    mat.Ty =

    MC. Transform.Matrix = Matt;

  • I need help my wifi button won't turn on or turns blue showing that its on... which is wrong?

    I need help my wifi button won't turn on or turns blue showing that its on... And when I try to download a driver for him a box just telling me it can't find the file manager. So I tried to download another, but the site become white after I press the download button.

    its may be driving problem. Contact me {deleted personal information}. I can fix it 4 u

  • NEED HELP WITH FLASH GAME!

    Hi all

    I am brand new to the forums here and I need help!  I'm on a very tight schedule for a flash game project, and can't seem to understand my problem.

    In my game of people shoot 4 different moving images and get points. Simple right? Although images is a question mark that can shoot people and when they do, I need flash to stop the timer game, a new popup window, the multiple choice question appear in the window and wait for the user to respond.

    NOTE: I would also like to be able to customize the size and location of the pop-up window!  Also, the question must be random.  I have a list of questions in a word doc.

    Then, if the answer to the question properly close window award 10 points and continue the game.  If you incorrectly answer the question, saying bad and then display the results of end game.

    Right now I have it to where it opens a pop up in a web browser and askes the question there.  The question is chosen at random from a file called random.html.  But I don't want the game to work this way. I want the game to open the pop in flash.  Can anyone help?  Time is a few hours, SORRY for THE SHORT NOTICE!

    Kapelski

    Everything to do with the movieclip is possible.  You can make sure the questions are changed dynamically whenever he appears... but it is a matter of design to be.  This has nothing to do with the popups... This is a clip that you can control the visibility of and what it contains.  In the Flash file will probably be easier to manage than a popup window outside, as far as the aspect programming and scoring goes.

    Create a movieclip that has a textfield for the question, and all what he needs in the way of user interaction.  Unfortunately, I didn't take the time to give a detailed approach to design.  If you manage to create a shooting game, creating a movieclip which works as you describe should be a fairly simple task for you.

  • Help my Flash buttons

    I use flash buttons in my web site. Instead of text highlighted. Well, they work very well in the development tool, but when I put them on my site they do any work? What could be the problem? I've tried different directories still do not work?
    Mitch

    > what would you suggest in are flash buttons

    Graphics (GIF/JPG/PNG), or CSS style text.

    > Why are they on ly on the hobby sites?

    Car-

    1. those who do not have the plugin installed Flash will not see the link.
    2. those who need occasional on-screen will not see the link.
    3 search engine spiders will not see the link (if your site will not be
    indexed).
    4. If you move or rename a file that this button is bound, the link in
    the button will be automatically updated to reflect the change you just
    do.
    5. they look scary.
    6. I don't remember this one.
    7. it is a problem of maintenance for you (I just added this so that the list would be
    look longer).

    Those who work?

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "Mitch5713" wrote in message
    News:eluqtu$San$1@forums. Macromedia.com...
    > would you suggest to the lie of the flash buttons and why are they on ly
    > hobby sites?

  • Need help with Flash intro

    Hello

    I did a little intro in Flash for a site that I built in Golive. I have no knowledge of Flash what it is, and I need help to ensure that, as soon as the intro ends the visitor is redirected to the home page. I did the intro in Imageready (so all the executives eventually bitmaps in Flash), but I read somewhere that I should use some scripts on the last image. I opened the file in Flash, but I'm not sure of what the script to use and how. Could someone help me here (it is not a commercial site, it's just my own site but any help would be less appreciated!)? And then I also have to add scripts in the html page.

    My site is here: http://www.fdesign.eu/sicilia2007/index.html

    on the last picture set...

    This.Stop ();
    getURL ("home.html");

  • Need help with the button mute on my helmet XL-3000 of Microsoft Chat, please!

    Hi all!  Hope everyone is having a good TGIF!  If you use my helmet even, I need help understanding the region button mute in the middle of the rope.  The red light is on or off?  I suppose that if I hit the curve button with the microphone on this subject, and the red light, I'm turn off my mike?

    I did some tests with others on the phone calls.  Sometimes, some other hear me, sometimes they do not have.  BUT I NEVER HEAR THEM!  FOR MY WORK, IT IS IMPERATIVE THAT I MAKE CALLS TO OTHERS!  HELP PLZ!  Thank you very much and have a great wkend!

    Hello
     
    Please follow the links below to troubleshoot the computer.
     
    Method 1
     
    Connect one microphone, music player or other audio device to your computer

    Method 2

    Step 1

    Troubleshooting: headsets

    Step 2

    Open the troubleshooting of Audio recording

    Method 3

    How to adjust the microphone volume

    a. click Start, type mmsys.cpl in the search box and press ENTER.
    b.
    in the sound dialog box, click the recording tab.
    c. click Microphone, and then click Properties.
    Note Make sure that the work appears under Microphone. If the job does not appear, click Microphone, and then click on set as default.
    d. the Microphone Properties dialog box, click the custom tab.
    e. select or clear the box amp Microphone.
    f. click the levels tab.
    g. set the volume to the desired level, and then click OK.
    h. click OK to close the sound dialog box.
     
    How to adjust the setting of the voice
     
    a. start the game.
    b. connect to LIVE (the Guide).
    c. click personal settings.
    d. click on voice.
    e. make sure that the recording volume level indicator records at a bar when you talk.
    f. click done.

    If you are still facing problems then, I would say that you contact support for Microsoft hardware for more direct intervention.


    I hope this helps.

     
  • need help with flash player

    I have upgraded to windows 10 and you do not have adobe flash on my computer. I tried to download it, but I get a message that says that adobe flash player is built into windows 10 and does not need to be downloaded. How can I fix it?

    @ !

    Hi Donna,.

    Please see the link below, it should help:

    Flash Player issues. Windows 10 | Microsoft edge

    Let us know if that helps.

    Kind regards

    Bani

  • Need help to modify the findchangebylist.jsx script

    I alternate the same script vbs to meet my needs and I was happy about it (likeChild when you give him his favorite toy) but I run into som problems with when I copy and place the script vbs on another computer I want to using it called CS6 instead of CC... I tried everything I could think of but no luck... same thing happens whenever I try to use CS6 open rather CC in which I run it... on the computer I write the script running like charm (on both computers, I have CS6 and CC)... so I decided to use the same script jsx version...

    then, when I try this script:

    1. the dialog box opens only when my cursor is textframe allowing me to select what I want to change the selected item 2. 1 document. 3 selection

    2. when I select 2 blocks of text and document I have 3 or more, the script does not change in 2 pictures selected instead she does in all settings

    I need to rotate this script

    When I select the text block to open dialogbox allow me to take 2/3 of the options mentioned above, the number 2 and 3

    He doesn't find it and change only in blocks of text I selected (when it is selected with the Selection tool) not in all settings

    I tried to do it my self, but a little short of knowledge im

    I tried to switch the dialog case is open, adding the line case 'TextFrame': in this part of the script

    If (app.documents.length > 0) {}

    If (app.selection.length > 0) {}

    {Switch(App.Selection[0].constructor.) Name)}

    case 'PointInsertion ':

    'character ': case

    case "word":

    case 'TextStyleRange ':

    case "line":

    stops of the "Point":

    case "TextColumn":

    case 'text ':

    case "cell":

    case "column":

    case 'Row ':

    case 'Table ':

    myDisplayDialog();

    and it works to call the dialog box when the text block is selected, but then he didn't make changes textframe don't debut not overall selected...

    So I tried to experiment with this line

    if(myResult == true) {}

    {Switch (myRangeButtons.selectedButton)}

    case 0:

    myObject = app.documents.item (0);

    break;

    case 1:

    MyObject = app.selection [0] .parentStory;

    break;

    case 2:

    myObject = app.selection [0];

    break;

    }

    myDialog.destroy ();

    myFindChangeByList (myObject);

    }

    else {}

    myDialog.destroy ();

    }

    by changing the number 1, 2 or 3, but that only the script says that if I have 2 block of selected text to search in the second block of text (incase of number 1) or if I have selected 3 and if numer 2 only script in text 3

    I need help please

    Hello

    I ment something like this:

    //...
    var myResult = myDialog.show();
      if(myResult == true){
           switch(myRangeButtons.selectedButton){
                case 0:
                     myObject = app.documents.item(0);
                     myFindChangeByList(myObject);
                     break;
                case 1:
                     if (app.selection[0].constructor.name == "TextFrame")
                          for (var b = 0; b < app.selection.length; b++)  {
                               myObject = app.selection[b].parentStory;
                               myFindChangeByList(myObject);
                          }
                     else {
                          myObject = app.selection[0].parentStory;
                          myFindChangeByList(myObject);
                          }
                     break;
                case 2:
                     myObject = app.selection[0];
                     myFindChangeByList(myObject);
                     break;
                }
           myDialog.destroy();
           }
           else {
                myDialog.destroy();
           }
    //...
    

    App.Selection is a table, but its length is always a number.

    If the 1st element of selection is a TextFrame (or more) ==>, we get into a loop

    on the other ==> we call a function that had been initially.

    Jarek

  • Need help with some cluster power shell scripts

    Guys,

    I need help with 2 scripts.

    Text 1.

    I need a power shell script that will get all the virtual machine in a specific cluster.  Virtual machine names as well as the number of processors, output allocated RAM and size of CSV file.

    Text 2.

    I need a script that will get all data warehouses in a specific cluster and store name data as well as the amounf of free space for a CSV output.

    Thanks in advance guys.

    Greetings, @peter79 -.

    For the first part:

    Get-Cluster myClusterName | Get-VM | Select-Object Name, MemoryMB, NumCpu | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    And for the second, how about:

    Get-Cluster myClusterName | Get-VMHost | Get-Random | Get-Datastore | Select-Object name, FreeSpaceMB, CapacityMB | Export-Csv -NoTypeInformation c:\temp\myDaterstoreInfo.csv
    

    The first would be quite a bit faster by using Get - view instead of Get - VM.  It would be like:

    ## get an array of VM View objects with just the desired/needed properties
    $arrVMViews = Get-View -ViewType VirtualMachine -SearchRoot (Get-Cluster myClusterName).MoRef -Property Config.Hardware,Name
    ## make the two filters for displaying the desired info
    $hshCPUCountFilter = @{n="NumCPUs"; e={$_.Config.Hardware.NumCPU}}
    $hshMemAmtFilter = @{n="MemoryMB"; e={$_.Config.Hardware.MemoryMB}}
    ## display the info, and export to CSV
    $arrVMViews | Select-Object name, $hshCPUCountFilter, $hshMemAmtFilter | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    Enjoy.

  • Need help with flash player using w/Win7

    OK, here we go. I have - Windows 7 Home Premium 6.1.7601 running service pack 1

    Type of system: x 64-based pc

    Windows Internet Explorer 9 (update version RC) 256-bit

    I use to be able to watch videos on youtube ect. But now flash player does not work. What is the problem? I have Adobe flash player 10 activex and installed shockwave player 11.5 and still it asks me to update my flash player. Need help.

    Hi, thanks. This "Perfect Optimizer" which was found and removed, McAfee did remove or MBAM?

    Is the trial version of MBAM, the free version which is a stand alone, which is run from your desktop or a version installed?

    You see the animation of the Flash Player logo and what version of Flash Player is available on the following site?

    http://www.Adobe.com/software/Flash/about/

    Then check on this Shockwave Flash object in your addons that I mentioned before.

    I want to ensure that a certain number of things and then have another procedure for you and explain once I get an answer from you on the above.

    Thank you

    eidnolb

  • Can someone help me understand this very simple script please?

    I have a simple coding question that frustrates the heck out of me. . Basically, the script below moves button_mc. 100 px when you click top then down to 100px when you click it again. I know that the simple script below works but I do not know why

    It seems that his say if the variable 'jumping' is 'true' move "button_mc" up to 100 px. "The part I do not understand why ' button_mc" move down to 100 px to second click.

    seems to me that it ignores this first function, because 'Skip = false' run the second function and moves to the top of 100px. Then why in the second click it move down? wouldn t it theoretically just skip the first part of the function again?

    I hope this makes sense and someone can help me.

    I'm so frustrated!

    Thank you!!!

    var jump: Boolean = false;

    button_mc.addEventListener (MouseEvent.CLICK, onClick);

    function onClick(event:MouseEvent):void {}
    If (Jumping)
    {
    Event.Target.y += 100;
    jumping = false;
    }
    on the other
    {
    Event.Target.y-= 100;
    jumping = true;
    }
    }

    button_mc.butonMode = true;

    Whenever a movement occurs, the break value is passed to the opposite value.  So if it starts wrong, it moves-100 pixels (which is the direction upwards) and the value is changed to true.  Similarly, when you click again, it moves 100 + in the direction down.

  • Need help from Flash? Animated border will be trust worthy?

    Hello Experts,

    I am new to animation and flash world. Recently, I'm rebuilt a HTML5 with JAVASCRIPT of FLASH project that was written in verse 2004 in ActionScript 1.0

    www.maisondequartier.com - learn french online

    The site basically an interactive learning through simple animations.

    Professional CC since Adobe Flash uses ActionScript 2.0 or higher to convert SWFs in HTML5, so I can't convert the project using Adobe Flash Professional CC. So, I look for alternatives and decide to do so since the beginning of everything. Through research on the different ways to start my project, I have decided to use Edge animate CC to interactivity.


    Once, I spent a month learning different ins and out of this program. Now I hear that they stop for all developing this software. His disagreeable to know that you have spent time learning software.

    I would like to know your valuable suggestion for me on how to go further? (with software problems). It would be great if you could recommend me any other alternative solution (software) to solve my problem. I think that it is not supposed go further with lively CC edge and they change as the CC Professional Flash Adobe animate CC beginning in early 2016.

    Need solutions to choose from.

    If you have started a project in Edge finish on the edge. It won't suddenly stop working.

    Adobe Animate is just Flash CC with canvas Export, export video SWF AND. The name was changed update will be very different. It is not a combination of edge Frankenstein and Flash.

    If you have experience with Flash you can start to learn how canvas export is similar to what you already know. There are snippets of code JS Web useful for interactivity.

    Edited to add if you have a FLA AS1, you should try to convert. You will need to only stop() by this.stop () and use code snippets to add your interactivity back in.

    Flash professional help | Summary of new features

    The type of universal document converter allows conversion of your FLA projects (of any type) to another type of document, such as HTML5 Canvas and WebGL.

    To use this feature, click orders > convert to other Formats of Document and select the target document type and then specify the path of the converted file.

Maybe you are looking for