-
I've created a button in my flash movie for users to send an email to the link. the actionscript on the instance of the button in my movie is:
on (release) {
getURL ("mailto:xxxx@xxxx.com");
}
When the movie is published, and the button clicked, the mail program opens as it should, but my internet browser opens a new window with the heading "no page to display" Is there anyway to prevent this window opening and just have the email program start???
-
Originally posted by andrewhowson
I've created a button in my flash movie for users to send an email to the link. the actionscript on the instance of the button in my movie is:
on (release) {
getURL ("mailto:xxxx@xxxx.com");
}
When the movie is published, and the button clicked, the mail program opens as it should, but my internet browser opens a new window with the heading "no page to display" Is there anyway to prevent this window opening and just have the email program start???
==============
in the action thing remove blank leave that empty ..
==============
-
FK's Geezer Mod
Try:
Code:
on (release) {
getURL("mailto:you@youraddress.com", "_top");
}
-
THANK YOU!!!
Here's something interesting:
I left the Window option blank on the GetURL line and a browser window DID NOT open up so it worked ok. This was when I was running Windows 98. A recent upgrade to Windows2000Pro, and I find it only works now if I add the "_top" option into the actionscript.
Thanks for your help!
-
FK's Geezer Mod
I'm just learning some action scripting, so I may not have it right, but I think it's required to have two arguments inside the ( ) separated by a comma, after a command like get url, or goto. The url and one of the 4 targets, _top, _blank, etc.
Anyway, the above script always works.
-
subject line
Any ideas about automatically filling the subject line?
andrea_singer@dwainc.com
-
FK's Geezer Mod
Mailto, CC, Subjectline, even the Body:
on (release) {
mailto:"myname@mysite.com"; CC:mybuddy@hissite.com"; subject:"whatever you want"; "add some body text if you want"
}
-
-
subject line...
the subject line is showing in the to line
-
FK's Geezer Mod
Well, sorry, I can get this to work in Swish, using F4, but can't figure out the syntax for MX. But, here is an example, just click on the dot:
http://64.21.153.144/chuck.htm
I know it works, just haven't got the apostrophe's and wigglies in the right spot yet.
-
thanks again
Also,
can a I close a Flash window using the javascript as a frame action rather than a button action
-
FK's Geezer Mod
Man, I just LOVE this stuff.
Here, this code, attached to a button will open an e-mail with the address filled in, the CC filled in, the subject line filled in and text in the body already there.
Code:
on (release) {
getURL("mailto:you@youraddress.com?cc=mack@hisaddy.com&subject=Hey what's up&body=Give me a ring", "_top");
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|