Flash Lite 2.x and 3.0 ActionScript Language Reference

_capEmail property

_capEmail

Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the System.capabilities.hasEmail property.

Numeric variable; indicates whether the Flash Lite client can send e-mailmessages 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");
} 

See also

capabilities (System.capabilities)