_capEmail

Availability

Flash Lite 1.1.

Usage

_capEmail

Description

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.

Example

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