5 Replies Latest reply on Jan 30, 2007 9:10 AM by JeremySeda

    Possible to use the " and ' symbols in a mailto: in AS2?

    JeremySeda Level 1
      Is it possible to use the " and ' symbols in a mailto: in AS2? For example, displaying the following body message:

      "Hello World" from Jeremy's Flash application.

      Here is my code that isn't working, for displaing the message above:

      on (release) {
      getURL("javascript:void(window.location.replace('mailto:?subject="Hello World" from Jeremy's Flash application.&Body="Hello World" from Jeremy's Flash application.'));");

      I've even tried using the following AS2, using the "/" symbol in front of the " and ', but with no avail:

      on (release) {
      getURL("javascript:void(window.location.replace('mailto:?subject=/"Hello World/" from Jeremy/'s Flash application.&Body=/"Hello World/" from Jeremy/'s Flash application.'));");

      Many thanks!