03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Numeric variable; indicates whether the Flash Lite client can send e-mailmessages by using<br />

the GetURL() ActionScript comm<strong>and</strong>. If so, this variable is defined <strong>and</strong> has a value of 1; if<br />

not, this variable is undefined.<br />

Example<br />

If the host application can send e-mail messages by using the GetURL() ActionScript<br />

comm<strong>and</strong>, the following example sets canEmail() to 1:<br />

canEmail = _capEmail;<br />

if (canEmail == 1) {<br />

getURL("mailto:someone@somewhere.com?subject=foo&body=bar");<br />

}<br />

See also<br />

capabilities (System.capabilities)<br />

_capLoadData property<br />

_capLoadData<br />

Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the<br />

System.capabilities.hasDataLoading property.<br />

Numeric variable; indicates whether the host application can dynamically load additional data<br />

through calls to the loadMovie(), loadMovieNum(), loadVariables(), <strong>and</strong><br />

loadVariablesNum() functions. If so, this variable is defined <strong>and</strong> has a value of 1; if not, this<br />

variable is undefined.<br />

Example<br />

If the host application can perform dynamic loading of movies <strong>and</strong> variables, the following<br />

example sets CanLoad to 1:<br />

canLoad = _capLoadData;<br />

if (canLoad == 1) {<br />

loadVariables("http://www.somewhere.com/myVars.php", GET);<br />

} else {<br />

trace ("client does not support loading dynamic data");<br />

}<br />

See also<br />

capabilities (System.capabilities)<br />

92 ActionScript language elements

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!