PDA

View Full Version : Mailto Link within projector .exe file


TheEgo
07-11-2002, 09:21 PM
Okay, i have a problem with using the mailto link, it doesnt work when i publish the file as a .swf or .exe but it will work as a html file.

the code thats not working;
on (release) {
getURL ("mailto:someone@address.com?subject=This is annoying for me!");
}

or

on (release) {
getURL ("mailto:someone@address.com");
}


I have searched the forums and a few people had this problem, but no solutions where posted.

Like i said it will work from within a html document or the flash producer environment but doesn't work as a projector/exe file, and it needs to be a projector file as im using the fscommand exec to open text and ms word files.

Show me the light.

Using;
Flash 5.0
Viewed in Flash Player 5.0
Default e-mail client: Outlook express 6
Running Win 2000
PC decent spec, dual PIII 700mhz, 512mb ram

Abelius
07-11-2002, 10:10 PM
The reason that it won't work in any other environment other than the html document is something I would actually pretty much expect.
But given that you must use the Flash application as an executable, I would suggest you to not to use the "getURL"... Instead I would open the mailing program using fscommand exec, just as you use it to open Word or Access...

TheEgo
07-11-2002, 10:23 PM
any suggestions on how i open the computers default e-mail client, so far i have only used fscommand to open a specific file and let the computer sort out what program to use.

TheEgo
07-11-2002, 10:28 PM
thanks abelius for you suggestion, this is what i did, hopefully it should work on other comps too, i'll test it later on a different operating system and email client.

code;

on (release) {
fscommand ("exec", "start\tcontactme.eml");
fscommand ("exec", "cmd\t/c\tcontactme.eml");
}


that code is from this site on using the fscommand exec, i then just added a blank .eml file in the same directory as the .exe, it has my email address and subject title saved on it and it seems to work.


1 question left to ask, is .eml the standard for saved e-mail files, or is it microsofts own thig, just want to know if it's going to work with other e-mail clients

DiDi
07-13-2002, 11:32 AM
Check this thread:

http://board.flashkit.com/board/showthread.php?threadid=184697

It offers various solutions and it should work on other mail clients too. Thread started with Win 2k problem with "mailto:" but it could be usefull to you.


Hope this helps

DD

TheEgo
07-14-2002, 08:12 PM
okay i think i've found the best solution, and thanks for that link i found some useful info there.

http://flashtools.net
download the FREE app, called
Flash Command Line Tools v5.0


you then just copy the small file 70k i think, to the same directory and you can call a "mailto" command via the "fs command exec"

the flash code you need;
on (release) {
fscommand ("exec", "ftoolapp.exe\tmailto:dave@flashtools.net");
}

and just change the e-mail address to what you want.

now all i have to do is test under all os and flash versions.
any comments or known problems with this, pls let me know

DiDi
07-14-2002, 09:34 PM
Glad to be of help...

As far as I know, "ftooolapp" won't work with MX and it's only PC tool, so if your're doing PC only projector it should do just fine. I used it in the CD project to open Word/Acrobat files from Flash presentation and it worked perfectly (couldn't open Excell files though, but I found other tool for it).


Hope this helps.

DD

narendraviju
07-15-2008, 09:24 AM
thanks abelius for you suggestion, this is what i did, hopefully it should work on other comps too, i'll test it later on a different operating system and email client.

code;

on (release) {
fscommand ("exec", "start\tcontactme.eml");
fscommand ("exec", "cmd\t/c\tcontactme.eml");
}


that code is from this site on using the fscommand exec, i then just added a blank .eml file in the same directory as the .exe, it has my email address and subject title saved on it and it seems to work.


1 question left to ask, is .eml the standard for saved e-mail files, or is it microsofts own thig, just want to know if it's going to work with other e-mail clients
hello
can u pls send me

on (release) {
fscommand ("exec", "start\tcontactme.eml");
fscommand ("exec", "cmd\t/c\tcontactme.eml");
}

this full file & folder
my email ID
panchal.viju@gmail.com
thank you

neilmmm
07-15-2008, 12:38 PM
if you google flash jester they allso have a freebie that you can use with movie projectors... and it is free