Capsms 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

Example
The following example sets
Lite 1.0 (however, not all Flash Lite 1.1 phones can send SMAF messages, so this code is still
dependent on the phone):
canSMAF = _capSMAF;
if (canSMAF) {
// send movieclip buttons to frame with buttons that trigger events
sounds
tellTarget("buttons") {
gotoAndPlay(2);
}
}
See also
capabilities (System.capabilities)

_capSMS property

_capSMS
Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the
System.capabilities.hasSMS
Numeric variable; indicates whether Flash Lite can send Short Message Service (SMS)
messages by using the
a value of 1; if not, this variable is undefined.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets
1.0 (however, not all Flash Lite 1.1 phones can send SMS messages, so this code is still
dependent on the phone):
on(release) {
canSMS = _capSMS;
if (canSMS) {
// send an SMS
myMessage = "sms:4156095555?body=sample sms message";
getURL(myMessage);
}
}
to
in Flash Lite 1.1, but leaves it undefined in Flash
canSMAF
1
property.
ActionScript command. If so, this variable is defined and has
GetURL()
to
in Flash Lite 1.1, but leaves it undefined in Flash Lite
canSMS
1
Global Properties
101

Advertisement

Table of Contents
loading

Table of Contents