Capemail Property - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Numeric variable; indicates whether Flash Lite can process compound sound data. If so, this
variable is defined and has a value of 1; if not, this variable is undefined. For example, a single
Flash file can contain the same sound represented in both MIDI and MFi formats. The player
will then play back data in the appropriate format based on the format supported by the
device. This variable defines whether the Flash Lite player supports this ability on the current
handset.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
In the following example,
Flash Lite 1.0:
useCompoundSound = _capCompoundSound;
if (useCompoundSound == 1) {
gotoAndPlay("withSound");
} else {
gotoAndPlay("withoutSound");
See also
capabilities (System.capabilities)

_capEmail property

_capEmail
Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the
System.capabilities.hasEmail
Numeric variable; indicates whether the Flash Lite client can send e-mailmessages by using
the
ActionScript command. If so, this variable is defined and has a value of 1; if
GetURL()
not, this variable is undefined.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
If the host application can send e-mail messages by using the
command, the following example sets
canEmail = _capEmail;
if (canEmail == 1) {
getURL("mailto:someone@somewhere.com?subject=foo&body=bar");
}
is set to
useCompoundSound
property.
canEmail()
in Flash Lite 1.1, but is undefined in
1
ActionScript
GetURL()
to
:
1
Global Properties
97

Advertisement

Table of Contents
loading

Table of Contents