Mailto problem

Hi there,

I’m having a mystifying problem with sending an email from Flash MX 2004. I have an email button with this code attached directly on the button:

on (release) {
getURL("mailto:[email protected]");
}

but it just won’t work. However, when I preview the swf in a browser it works for some reason. This is a problem, as the finished swf is intended for a CD-Rom presentation which will autorun upon inserting the CD, and the swf will fill the whole screen (again, this works but the email doesn’t!)

I’ve also tried creating a function within the frame such as:

mailbtn.onpress = function() {
getURL("mailto:[email protected]");
};

but this doesn’t work either!

Any suggestions would be greatly appreciated,

Dan

maybe add a _blank ?? dont know if it will work
[AS]getURL("mailto:[email protected]", _blank);[/AS]

Hey there SoloDesignz,

I’ve tried that too but it still doesn’t work. Like I said, the email link works if the swf is previewed in a browser, but doesn’t work if viewed standalone in Flash Player 7. Surely there must be a simple way of doing this…anyone?!

Dan

Try this:

[AS]getURL("mailto:[email protected]", window="_blank");[/AS]

It’s working either way on my computer. Try it on another, maybe it’s your settings or something.
Check if plain html address works with getURL.
Anyway an ugly workaround is to put directly a link (html text).

It wasn’t me who wrote that:)

[AS]on (release) {
getURL("mailto:[email protected]", “_blank”);
}[/AS]