Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > Capabilities > _capEmail | |||
Flash Lite 1.1.
_capEmail
Numeric variable; indicates whether the Flash Lite client can send e-mail messages by using the GetURL() ActionScript command. If so, this variable is defined and has a value of 1; if not, this variable is undefined.
If the host application can send e-mail messages by using the GetURL() ActionScript command, the following example sets canEmail to 1:
canEmail = _capEmail;
if (canEmail == 1) {
getURL("mailto:someone@somewhere.com?subject=foo&body=bar");
}
|
|
|
|