MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference page 120

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

Advertisement

Example
The following example sets
1.0 Flash Lite 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);
}
}
_capStreamSound
Availability
Flash Lite 1.1.
Usage
_capStreamSound
Description
Numeric variable; indicates whether the device can play streaming (synchronized) sound. If
so, this variable is defined and has a value of 1; if not, this variable is undefined.
Example
The following example plays streaming sound if
on(press) {
canStreamSound = _capStreamSound;
if (canStreamSound) {
// play a streaming sound in a movieclip with this button
tellTarget("music") {
gotoAndPlay(2);
}
}
}
120
Flash Lite Specific Language Elements
to 1 in Flash Lite 1.1, but leaves it undefined in Flash Lite
canSMS
is enabled:
canStreamSound

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Table of Contents