A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: mail to: don't want to launch web browser - only email.

  1. #1
    Member
    Join Date
    Jul 2002
    Location
    Sydney Australia
    Posts
    31

    mail to: don't want to launch web browser - only email.

    Hi

    I've made an interactive invitation as a flash projector file and included the mail to command to email a response. This causes the web browser to launch (if it's not already running). I don't want this to happen, I onlywant the email program to run. Is there some codong to be more specific to email?? It's only being emailed around the company and everyone uses Microsoft entourage for Mac.

    Thanks

  2. #2
    Member
    Join Date
    Nov 2004
    Posts
    46

    hi

    getURL("mailto:abc@abc.com");

  3. #3
    Member
    Join Date
    Jul 2002
    Location
    Sydney Australia
    Posts
    31
    That's what I've already done and it launches the web browser.

    As it's a stand alone projector file and not being viewed through a web browser I don't want the browser opening up. I only want the email program to launch.

    Summary: Launch email program only. NOT web browser.

    Thanks

  4. #4
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    If you're using MX 2004 then you can try to introduce an external javascript with a function like so:

    Code:
    function getMailProg() {
    void link.href("mailto:abc@abc.com");
    }
    And then use flash and make a button to use the following function:

    Code:
    getUrl("javascript: getMailProg();");
    Hope that helps, later

  5. #5
    Member
    Join Date
    Jul 2002
    Location
    Sydney Australia
    Posts
    31
    OK I'll give that a go - BUT - where do I put the "function" code?

  6. #6
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    The thing is I never really tried it out but I heard that Flash MX 2004 has somekind of internal JavaScript engine which I *think* is supposed to run javascript straight from the flash movie. I'd say check the help files and find how to impliment javascript in flash and then add that code there. Sorry for the lack of experience on the issue

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center