Flash Lite 1.x ActionScript 语言参考 |
|
|
|
| 特定于 Flash Lite 的语言元素 > 功能 > _capEmail | |||
Flash Lite 1.1。
_capEmail
数值变量;表明 Flash Lite 客户端是否能通过使用 GetURL() ActionScript 命令发送电子邮件。如果能,则定义此变量并具有值 1;如果不能,则不定义此变量。
如果主机应用程序能够通过使用 GetURL() ActionScript 命令发送电子邮件,则以下示例会将 canEmail 设置为 1:
canEmail = _capEmail;
if (canEmail == 1) {
getURL("mailto:someone@somewhere.com?subject=foo&body=bar");
}
|
|
|
|