_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");
}