Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default Email button

    I cant find an email button that will call my email client from a flash
    movie. I can find one that works when the movie is on an html but want it to
    work right from the stand alone movie.
    I also would like to find a close movie button that would close a full
    screen stand alone movie. All the buttons I can find work from html but not
    stand alone movies? Thanks in advance for any help offered. bygeorge


    George Hartshorn Guest

  2. Similar Questions and Discussions

    1. How to sned Email through a Submit button?
      Hi, I have designed a form where user has to send feedback. I dont want to use a cfm code and want to send the mail to gmail / yahoo address when...
    2. best way to make an email button
      What is the best way to create a button that when clicked will bring up the users email program? I've been using the button tool and in the action...
    3. email link button
      hi all how do i set a button to email me? thanks in advance :)
    4. Acrobat 6.0 Pro crashes when trying to use the Email Button
      Acrobat 6.0 Professional crashes every time I have tried to use the Email Button (to send the PDF file as an email attachment). The email client...
    5. Button to email???
      Hey gang - I am really new at this, played with Flash 2 years ago. I am trying to take a button from the library and have it call an email...
  3. #2

    Default Re: Email button

    George Hartshorn wrote:
    > I cant find an email button that will call my email client from a
    > flash movie. I can find one that works when the movie is on an html
    > but want it to work right from the stand alone movie.
    > I also would like to find a close movie button that would close a full
    > screen stand alone movie. All the buttons I can find work from html
    > but not stand alone movies? Thanks in advance for any help offered.
    > bygeorge
    for an Email button use this code:
    getURL("mailto:yourname@yourhost.com");
    for closing your window i guess that you will need javascript but i'm not so
    sure how to do that..


    Kitesmurf Guest

  4. #3

    Default Re: Email button

    wont work in a stand alone swf. I know html code Im looking for help with
    code that works in a stand alone movie. That means no html.....bygeorge



    "Kitesmurf" <none@here.com> wrote in message
    news:w9SQb.739$kg5.186512508@hestia.telenet-ops.be...
    > George Hartshorn wrote:
    > > I cant find an email button that will call my email client from a
    > > flash movie. I can find one that works when the movie is on an html
    > > but want it to work right from the stand alone movie.
    > > I also would like to find a close movie button that would close a full
    > > screen stand alone movie. All the buttons I can find work from html
    > > but not stand alone movies? Thanks in advance for any help offered.
    > > bygeorge
    >
    > for an Email button use this code:
    > getURL("mailto:yourname@yourhost.com");
    > for closing your window i guess that you will need javascript but i'm not
    so
    > sure how to do that..
    >
    >

    George Hartshorn Guest

  5. #4

    Default Re: Email button

    "George Hartshorn" <designbygeorge@charter.net> wrote in
    news:1017svdeojdj947@corp.supernews.com:
    > wont work in a stand alone swf. I know html code Im looking for help
    > with code that works in a stand alone movie. That means no
    > html.....bygeorge
    Not sure there is a simple fix for this...the only thing I can think of is
    to write an external exe that invokes the default mailer and call it via
    fscommand() - not sure if that fits with your scheme but I had to do
    something similiar when I wanted to print a pdf file from my standalone
    exe.

    Anonymoose Guest

  6. #5

    Default Re: Email button

    I used to be able to do this with flash 3 but short of realoading that I was
    hoping someone would have the string I need to get the defalt mailer to
    open.....bygeorge



    "Anonymoose" <Ihatespam> wrote in message
    news:Xns947B921AE7C40Ihatespam@216.196.97.136...
    > "George Hartshorn" <designbygeorge@charter.net> wrote in
    > news:1017svdeojdj947@corp.supernews.com:
    >
    > > wont work in a stand alone swf. I know html code Im looking for help
    > > with code that works in a stand alone movie. That means no
    > > html.....bygeorge
    >
    > Not sure there is a simple fix for this...the only thing I can think of is
    > to write an external exe that invokes the default mailer and call it via
    > fscommand() - not sure if that fits with your scheme but I had to do
    > something similiar when I wanted to print a pdf file from my standalone
    > exe.
    >

    George Hartshorn Guest

  7. #6

    Default Re: Email button

    "George Hartshorn" <designbygeorge@charter.net> wrote in
    news:10187p6apbtou0a@corp.supernews.com:
    > I used to be able to do this with flash 3 but short of realoading that
    > I was hoping someone would have the string I need to get the defalt
    > mailer to open.....bygeorge
    >
    >
    >
    > "Anonymoose" <Ihatespam> wrote in message
    > news:Xns947B921AE7C40Ihatespam@216.196.97.136...
    >> "George Hartshorn" <designbygeorge@charter.net> wrote in
    >> news:1017svdeojdj947@corp.supernews.com:
    >>
    >> > wont work in a stand alone swf. I know html code Im looking for
    >> > help with code that works in a stand alone movie. That means no
    >> > html.....bygeorge
    >>
    >> Not sure there is a simple fix for this...the only thing I can think
    >> of is to write an external exe that invokes the default mailer and
    >> call it via fscommand() - not sure if that fits with your scheme but
    >> I had to do something similiar when I wanted to print a pdf file from
    >> my standalone exe.
    I'm also interested in this so did a little research...looks like mailto is
    unreliable and you have to use fscommand() to avoid the problem entirely.
    This should get you started:

    [url]http://tinyurl.com/yv4so[/url]

    Anonymoose Guest

  8. #7

    Default Re: Email button

    Thanks for the help I may have to go back and dig out my flash 3 I know when
    I moved up to Flash 4 i use to go back to three to do this email button but
    have forgoten when four would not write the code but three would. Again
    thanks for the help ...bygeorge



    "Anonymoose" <Ihatespam> wrote in message
    news:Xns947B9B53216E2Ihatespam@216.196.97.136...
    > "George Hartshorn" <designbygeorge@charter.net> wrote in
    > news:10187p6apbtou0a@corp.supernews.com:
    >
    > > I used to be able to do this with flash 3 but short of realoading that
    > > I was hoping someone would have the string I need to get the defalt
    > > mailer to open.....bygeorge
    > >
    > >
    > >
    > > "Anonymoose" <Ihatespam> wrote in message
    > > news:Xns947B921AE7C40Ihatespam@216.196.97.136...
    > >> "George Hartshorn" <designbygeorge@charter.net> wrote in
    > >> news:1017svdeojdj947@corp.supernews.com:
    > >>
    > >> > wont work in a stand alone swf. I know html code Im looking for
    > >> > help with code that works in a stand alone movie. That means no
    > >> > html.....bygeorge
    > >>
    > >> Not sure there is a simple fix for this...the only thing I can think
    > >> of is to write an external exe that invokes the default mailer and
    > >> call it via fscommand() - not sure if that fits with your scheme but
    > >> I had to do something similiar when I wanted to print a pdf file from
    > >> my standalone exe.
    >
    > I'm also interested in this so did a little research...looks like mailto
    is
    > unreliable and you have to use fscommand() to avoid the problem entirely.
    > This should get you started:
    >
    > [url]http://tinyurl.com/yv4so[/url]
    >

    George Hartshorn Guest

  9. #8

    Default Re: Email button

    Anonymoose <Ihatespam> wrote in
    news:Xns947B9B53216E2Ihatespam@216.196.97.136:
    > "George Hartshorn" <designbygeorge@charter.net> wrote in
    > news:10187p6apbtou0a@corp.supernews.com:
    >
    >> I used to be able to do this with flash 3 but short of realoading
    >> that I was hoping someone would have the string I need to get the
    >> defalt mailer to open.....bygeorge
    >>
    >>
    >>
    >> "Anonymoose" <Ihatespam> wrote in message
    >> news:Xns947B921AE7C40Ihatespam@216.196.97.136...
    >>> "George Hartshorn" <designbygeorge@charter.net> wrote in
    >>> news:1017svdeojdj947@corp.supernews.com:
    >>>
    >>> > wont work in a stand alone swf. I know html code Im looking for
    >>> > help with code that works in a stand alone movie. That means no
    >>> > html.....bygeorge
    >>>
    >>> Not sure there is a simple fix for this...the only thing I can think
    >>> of is to write an external exe that invokes the default mailer and
    >>> call it via fscommand() - not sure if that fits with your scheme but
    >>> I had to do something similiar when I wanted to print a pdf file
    >>> from my standalone exe.
    >
    > I'm also interested in this so did a little research...looks like
    > mailto is unreliable and you have to use fscommand() to avoid the
    > problem entirely. This should get you started:
    >
    > [url]http://tinyurl.com/yv4so[/url]
    >
    >
    BTW, if you don't want to hassle with JEMail, a one function-call c-prog
    will do the same thing:

    #include <windows.h>
    main()
    {
    ShellExecute( 0, "open", "mailto:designbygeorge@charter.net","","",1);
    }
    Anonymoose Guest

  10. #9

    Default Re: Email button

    I would like to find a simple code to put in like your suggesting but what
    you have hear dont work when I simple copy and past it into the action of my
    button...bygeorge




    "Anonymoose" <Ihatespam> wrote in message
    news:Xns947BAFDAFE8F6Ihatespam@216.196.97.136...
    > Anonymoose <Ihatespam> wrote in
    > news:Xns947B9B53216E2Ihatespam@216.196.97.136:
    >
    > > "George Hartshorn" <designbygeorge@charter.net> wrote in
    > > news:10187p6apbtou0a@corp.supernews.com:
    > >
    > >> I used to be able to do this with flash 3 but short of realoading
    > >> that I was hoping someone would have the string I need to get the
    > >> defalt mailer to open.....bygeorge
    > >>
    > >>
    > >>
    > >> "Anonymoose" <Ihatespam> wrote in message
    > >> news:Xns947B921AE7C40Ihatespam@216.196.97.136...
    > >>> "George Hartshorn" <designbygeorge@charter.net> wrote in
    > >>> news:1017svdeojdj947@corp.supernews.com:
    > >>>
    > >>> > wont work in a stand alone swf. I know html code Im looking for
    > >>> > help with code that works in a stand alone movie. That means no
    > >>> > html.....bygeorge
    > >>>
    > >>> Not sure there is a simple fix for this...the only thing I can think
    > >>> of is to write an external exe that invokes the default mailer and
    > >>> call it via fscommand() - not sure if that fits with your scheme but
    > >>> I had to do something similiar when I wanted to print a pdf file
    > >>> from my standalone exe.
    > >
    > > I'm also interested in this so did a little research...looks like
    > > mailto is unreliable and you have to use fscommand() to avoid the
    > > problem entirely. This should get you started:
    > >
    > > [url]http://tinyurl.com/yv4so[/url]
    > >
    > >
    >
    > BTW, if you don't want to hassle with JEMail, a one function-call c-prog
    > will do the same thing:
    >
    > #include <windows.h>
    > main()
    > {
    > ShellExecute( 0, "open", "mailto:designbygeorge@charter.net","","",1);
    > }

    George Hartshorn Guest

  11. #10

    Default Re: Email button

    The code in the SWF file is not the problem .. its how the player
    communicates with the operating system and browser that decides whether
    mailto" works or not

    So, its not the version of Flash you use to author with, or the version you
    export as (as long as its compatible with the player)... what makes a
    difference is the Flash Player version that is inside the projector.

    If you need FP3 to get mailto to work, you can still use a later version of
    Flash, export to version 3, then run the stand-alone player from Flash 3 and
    generate a projector exe from there.


    Artful Guest

  12. #11

    Default Re: Email button

    "George Hartshorn" <designbygeorge@charter.net> wrote in
    news:1018la01e5si3de@corp.supernews.com:
    > I would like to find a simple code to put in like your suggesting but
    > what you have hear dont work when I simple copy and past it into the
    > action of my button...bygeorge
    No-no - that's 'C' code. You'll need a 'C' compiler to make use of it.
    Compile it into an exe (for example: emailer.exe), and put that exe in
    your fscommands folder so that

    fscommand("exec", "emailer.exe");

    would invoke the mail program.

    I'd offer to do the compiling for you, but the recipient of the email has
    to be hardcoded in the exe so if you ever wanted to change it you'ld need a
    compiler again anyway.
    Anonymoose Guest

  13. #12

    Default Re: Email button

    I undersand now and thanks for the offer to compile but I would
    reather find a way to do it with just the stand alone player. I did get the
    jester file to work but like I say I would like to be able to get it to work
    with the projector alone, one single file. Thanks for the feed back and time
    you have spent with me, its been fun. Ill keep after it and let you know if
    I ever get it worked out. Thanks again....bygeorge



    "Anonymoose" <Ihatespam> wrote in message
    news:Xns947BCD097905BIhatespam@216.196.97.136...
    > "George Hartshorn" <designbygeorge@charter.net> wrote in
    > news:1018la01e5si3de@corp.supernews.com:
    >
    > > I would like to find a simple code to put in like your suggesting but
    > > what you have hear dont work when I simple copy and past it into the
    > > action of my button...bygeorge
    >
    > No-no - that's 'C' code. You'll need a 'C' compiler to make use of it.
    > Compile it into an exe (for example: emailer.exe), and put that exe in
    > your fscommands folder so that
    >
    > fscommand("exec", "emailer.exe");
    >
    > would invoke the mail program.
    >
    > I'd offer to do the compiling for you, but the recipient of the email has
    > to be hardcoded in the exe so if you ever wanted to change it you'ld need
    a
    > compiler again anyway.

    George Hartshorn Guest

  14. #13

    Default Re: Email button

    "George Hartshorn" <designbygeorge@charter.net> wrote in
    news:1019rkalcmhu7b4@corp.supernews.com:
    > I undersand now and thanks for the offer to compile but I
    > would
    > reather find a way to do it with just the stand alone player. I did
    > get the jester file to work but like I say I would like to be able to
    > get it to work with the projector alone, one single file. Thanks for
    > the feed back and time you have spent with me, its been fun. Ill keep
    > after it and let you know if I ever get it worked out. Thanks
    > again....bygeorge
    Cool - I will probably do this same thing in my next project so this thread
    has helped me too. I already do something else using fscommand() (print a
    pdf file), as my project exe is distributed on a CD it's no big deal for me
    to do the emailing this way too. But, I understand why you wouldn't want
    that - esp if you're not distributing your exe on a CD and so don't have
    control of from where the exe is run.

    ShellExecute() is also a pretty crude way of implementing it too - it
    invokes a DOS shell to find and execute the default mailer - so you get a
    DOS box that pops up and goes away. It's equivalent to hitting Start->Run
    and typing "mailto:recipient". I'm sure there's a neater way to do it, but
    it would be more than a 1-liner also.
    Anonymoose Guest

  15. #14

    Default email button

    I'm looking for a button that will open viewer's email application to a new message
    aspenski Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139