A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: A Mailto strange problem....please help

  1. #1
    Senior Member
    Join Date
    Sep 2000
    Posts
    148
    we inserted a mail link inside a flash movie... while previwing inside flash, it opens the mail browser, but when previewing it from the exported swf file....it DONT WORK ...on some computers

    WHY???

    thanks

  2. #2
    newayblue.com
    Join Date
    Jan 2002
    Location
    Leicester, UK
    Posts
    971
    maybe you could show us the script that you used

  3. #3
    Member
    Join Date
    Jun 2001
    Posts
    45

    Smile

    Hi!

    Well, what I think is that you are using a wrong code. I think that you have a button wich launch the e-mail, haven´t you? If yes, try this code:

    on (release) {
    getURL ("mailto:email@domain.xx");
    }

    To put the code you only have to copy this script, click on the button in your flash movie, clear all the scripts (if exist), then press the right button of your mouse and click on actions, then paste the code inside.

    I ever use this and it ever works. I hope you solve it.

    Lester.

  4. #4
    Member
    Join Date
    Dec 2001
    Posts
    56

    no the code is right

    hi, I work along with Houssam
    and the coding is right
    we did put
    on (release) {
    getURL ("mailto:email@domain.xx");
    }

    and i'm telling you, it works fine when you view it from inside flash, or when you embed it in HTML.
    BUT NOT when it is a standalone projector.
    The thing is that it only works if the default email programn is Microsoft OUtlook, but when the default program is OUtlook Express, then the link doesn't open a new message.

    Try it out if you can, and u'll see by yourself.
    Rania

  5. #5
    Member
    Join Date
    Oct 2000
    Posts
    31
    Hi

    I too had a similar problem and some how found a remidy. convert the link to a button and then give this code for the button

    on (release) {
    getURL ("mailto:email@domain.xx");
    }

    donot use the character pallet in Flash to give the mail ID, it doesent work in some systems and in some browsers.
    hope this works

    Sudhir

  6. #6
    Member
    Join Date
    Dec 2001
    Posts
    56
    ok maybe i am not making myself clear
    again, i explain

    i have a button on which the following action is occuring
    on (release) {
    getURL ("mailto:info@orangeclicks.com");
    }
    the button works well
    except for one condition:

    The condition is that instead of embeding the swf file in HTML, I create a projector
    (so it's for offline content)

    so having created my projector I test my button and it works only if my default email is Microsoft Outlook and NOT Outlook Express.
    BUT OTHERWISE it works fine.
    thks

    Originally posted by sudhir75
    Hi

    I too had a similar problem and some how found a remidy. convert the link to a button and then give this code for the button

    on (release) {
    getURL ("mailto:email@domain.xx");
    }

    donot use the character pallet in Flash to give the mail ID, it doesent work in some systems and in some browsers.
    hope this works

    Sudhir

  7. #7
    Owner of the ™ thread tublu's Avatar
    Join Date
    Nov 2000
    Posts
    2,430
    tHE coding seems all rite ... but I am at a cybe cafe rite now , and they don;t have Flash 5 poor souls , don't know what they are missing
    Will go home and check for Projector .
    However , it always worked fine for me with Outlook Express !!

  8. #8
    Member
    Join Date
    Dec 2001
    Posts
    56
    THKS!
    it would be good to hear more of what u have to say

    keep me posted

    Originally posted by tublu
    tHE coding seems all rite ... but I am at a cybe cafe rite now , and they don;t have Flash 5 poor souls , don't know what they are missing
    Will go home and check for Projector .
    However , it always worked fine for me with Outlook Express !!

  9. #9
    newayblue.com
    Join Date
    Jan 2002
    Location
    Leicester, UK
    Posts
    971
    The mailto: is a script, like javascript.. when your form is imbeded in HTML, the browser reads this script, what would be reading it from the projector?

    cant you just put your email address????? if they like your work, surely they wont mind going to the trouble of typing a whole email in!!


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